	format	MS COFF
	extrn	_JoyCount
	extrn	___bb_appstub_appstub
	extrn	___bb_astar_astar
	extrn	___bb_audio_audio
	extrn	___bb_bank_bank
	extrn	___bb_bankstream_bankstream
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_bmploader_bmploader
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_gnet_gnet
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_macos_macos
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_pngloader_pngloader
	extrn	___bb_reflection_reflection
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	__brl_linkedlist_TList_AddFirst
	extrn	__brl_linkedlist_TList_AddLast
	extrn	__brl_linkedlist_TList_Clear
	extrn	__brl_linkedlist_TList_Contains
	extrn	__brl_linkedlist_TList_Copy
	extrn	__brl_linkedlist_TList_Count
	extrn	__brl_linkedlist_TList_DataType
	extrn	__brl_linkedlist_TList_Delete
	extrn	__brl_linkedlist_TList_FindLink
	extrn	__brl_linkedlist_TList_First
	extrn	__brl_linkedlist_TList_FirstLink
	extrn	__brl_linkedlist_TList_FromArray
	extrn	__brl_linkedlist_TList_InsertAfterLink
	extrn	__brl_linkedlist_TList_InsertBeforeLink
	extrn	__brl_linkedlist_TList_IsEmpty
	extrn	__brl_linkedlist_TList_Last
	extrn	__brl_linkedlist_TList_LastLink
	extrn	__brl_linkedlist_TList_New
	extrn	__brl_linkedlist_TList_ObjectEnumerator
	extrn	__brl_linkedlist_TList_Remove
	extrn	__brl_linkedlist_TList_RemoveFirst
	extrn	__brl_linkedlist_TList_RemoveLast
	extrn	__brl_linkedlist_TList_Reverse
	extrn	__brl_linkedlist_TList_Reversed
	extrn	__brl_linkedlist_TList_Sort
	extrn	__brl_linkedlist_TList_Swap
	extrn	__brl_linkedlist_TList_ToArray
	extrn	__brl_linkedlist_TList_ValueAtIndex
	extrn	_bbATan2
	extrn	_bbAppTitle
	extrn	_bbArrayNew
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbCos
	extrn	_bbDelay
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbFloatAbs
	extrn	_bbFloatMax
	extrn	_bbFloatMin
	extrn	_bbFloatMod
	extrn	_bbFloatPow
	extrn	_bbFloatSgn
	extrn	_bbFloatToInt
	extrn	_bbGCCollect
	extrn	_bbGCFree
	extrn	_bbIntAbs
	extrn	_bbIntMax
	extrn	_bbIntMin
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbSin
	extrn	_bbSqr
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromCString
	extrn	_bbStringFromChar
	extrn	_bbStringFromInt
	extrn	_bbStringToCString
	extrn	_bbStringToInt
	extrn	_brl_audio_AllocChannel
	extrn	_brl_audio_ChannelPlaying
	extrn	_brl_audio_LoadSound
	extrn	_brl_audio_PauseChannel
	extrn	_brl_audio_PlaySound
	extrn	_brl_audio_SetChannelRate
	extrn	_brl_audio_SetChannelVolume
	extrn	_brl_bank_LoadBank
	extrn	_brl_bank_PeekByte
	extrn	_brl_bank_PeekInt
	extrn	_brl_bank_ResizeBank
	extrn	_brl_bank_SaveBank
	extrn	_brl_bank_TBank
	extrn	_brl_blitz_NullFunctionError
	extrn	_brl_blitz_RuntimeError
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_Graphics
	extrn	_brl_graphics_GraphicsHeight
	extrn	_brl_graphics_GraphicsWidth
	extrn	_brl_linkedlist_ClearList
	extrn	_brl_linkedlist_CompareObjects
	extrn	_brl_linkedlist_CreateList
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_ListRemove
	extrn	_brl_linkedlist_TList
	extrn	_brl_max2d_AutoImageFlags
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawImage
	extrn	_brl_max2d_DrawRect
	extrn	_brl_max2d_DrawText
	extrn	_brl_max2d_ImageHeight
	extrn	_brl_max2d_ImageWidth
	extrn	_brl_max2d_ImagesCollide2
	extrn	_brl_max2d_LoadAnimImage
	extrn	_brl_max2d_LoadImage
	extrn	_brl_max2d_LoadImageFont
	extrn	_brl_max2d_MidHandleImage
	extrn	_brl_max2d_SetAlpha
	extrn	_brl_max2d_SetBlend
	extrn	_brl_max2d_SetClsColor
	extrn	_brl_max2d_SetColor
	extrn	_brl_max2d_SetImageFont
	extrn	_brl_max2d_SetImageHandle
	extrn	_brl_max2d_SetOrigin
	extrn	_brl_max2d_SetRotation
	extrn	_brl_max2d_SetScale
	extrn	_brl_max2d_TextHeight
	extrn	_brl_max2d_TextWidth
	extrn	_brl_polledinput_FlushKeys
	extrn	_brl_polledinput_GetChar
	extrn	_brl_polledinput_KeyDown
	extrn	_brl_polledinput_KeyHit
	extrn	_brl_polledinput_MouseDown
	extrn	_brl_polledinput_MouseHit
	extrn	_brl_polledinput_MouseX
	extrn	_brl_polledinput_MouseY
	extrn	_brl_polledinput_MouseZ
	extrn	_brl_random_Rand
	extrn	_brl_random_Rnd
	extrn	_brl_retro_Instr
	extrn	_brl_retro_Left
	extrn	_brl_retro_Mid
	extrn	_brl_retro_Upper
	extrn	_brl_standardio_Print
	extrn	_brl_stream_CloseStream
	extrn	_brl_stream_Eof
	extrn	_brl_stream_ReadInt
	extrn	_brl_stream_ReadStream
	extrn	_brl_stream_ReadString
	extrn	_brl_stream_WriteInt
	extrn	_brl_stream_WriteStream
	extrn	_brl_stream_WriteString
	extrn	_brl_system_HideMouse
	extrn	_brl_system_ShowMouse
	extrn	_glDisable@4
	extrn	_glLoadIdentity@0
	extrn	_glMatrixMode@4
	extrn	_glOrtho@48
	extrn	_pub_freejoy_JoyDown
	extrn	_pub_freejoy_JoyHit
	extrn	_pub_freejoy_JoyX
	extrn	_pub_freejoy_JoyY
	public	__bb_THiscore_Delete
	public	__bb_THiscore_MySort
	public	__bb_THiscore_New
	public	__bb_angel_Delete
	public	__bb_angel_New
	public	__bb_angel_init
	public	__bb_angel_logic
	public	__bb_anim_Delete
	public	__bb_anim_New
	public	__bb_anim_add
	public	__bb_anim_create
	public	__bb_anim_m_add
	public	__bb_anim_r_add
	public	__bb_anim_sharefile
	public	__bb_anim_toarray
	public	__bb_anim_update
	public	__bb_avatar_Delete
	public	__bb_avatar_New
	public	__bb_avatar_death
	public	__bb_avatar_dist
	public	__bb_avatar_draw
	public	__bb_avatar_gotradio
	public	__bb_avatar_init
	public	__bb_avatar_logic
	public	__bb_avatar_message
	public	__bb_avatar_nearest_baddie
	public	__bb_avatar_pressed
	public	__bb_avatar_pressing
	public	__bb_avatar_radiovolume
	public	__bb_avatar_setchooose
	public	__bb_avatar_update
	public	__bb_baddie_Delete
	public	__bb_baddie_New
	public	__bb_character_Delete
	public	__bb_character_New
	public	__bb_character_logic
	public	__bb_colour_Delete
	public	__bb_colour_New
	public	__bb_colour_def
	public	__bb_colour_set
	public	__bb_colour_setcls
	public	__bb_editor_Create
	public	__bb_editor_Delete
	public	__bb_editor_New
	public	__bb_editor_edinput
	public	__bb_editor_editordraw
	public	__bb_editor_mainloop
	public	__bb_editor_sDrawText
	public	__bb_editor_stiledraw
	public	__bb_editor_tilepage
	public	__bb_fog_Delete
	public	__bb_fog_New
	public	__bb_fog_foglist
	public	__bb_fog_init
	public	__bb_fog_makeall
	public	__bb_fog_update
	public	__bb_fog_updateall
	public	__bb_frame_Delete
	public	__bb_frame_New
	public	__bb_frame_create
	public	__bb_gameobj_Delete
	public	__bb_gameobj_New
	public	__bb_gameobj_attach
	public	__bb_gameobj_bread
	public	__bb_gameobj_bwrite
	public	__bb_gameobj_init
	public	__bb_gameobj_logic
	public	__bb_gameobj_make
	public	__bb_gameobj_notonscreen
	public	__bb_gameobj_reattach
	public	__bb_gameobj_testonscreen
	public	__bb_gameobj_update
	public	__bb_gameobjlist_Count
	public	__bb_gameobjlist_Delete
	public	__bb_gameobjlist_New
	public	__bb_gameobjlist_add
	public	__bb_gameobjlist_bwrite
	public	__bb_gameobjlist_reset
	public	__bb_graph_Compare
	public	__bb_graph_Delete
	public	__bb_graph_New
	public	__bb_graph_animate
	public	__bb_graph_collide
	public	__bb_graph_collideplayer
	public	__bb_graph_create
	public	__bb_graph_draw
	public	__bb_graph_oncollide
	public	__bb_graph_play
	public	__bb_graph_setchoose
	public	__bb_graph_update
	public	__bb_graphq_Delete
	public	__bb_graphq_New
	public	__bb_graphq_add
	public	__bb_graphq_atnum
	public	__bb_graphq_render
	public	__bb_hiscoretable_Delete
	public	__bb_hiscoretable_HISCORES
	public	__bb_hiscoretable_Load
	public	__bb_hiscoretable_New
	public	__bb_hiscoretable_addscore
	public	__bb_hiscoretable_draw
	public	__bb_hiscoretable_enter
	public	__bb_hiscoretable_output
	public	__bb_hiscoretable_setup
	public	__bb_hiscoretable_writescores
	public	__bb_icebit_Delete
	public	__bb_icebit_New
	public	__bb_icebit_generate
	public	__bb_icebit_init
	public	__bb_level_Create
	public	__bb_level_Delete
	public	__bb_level_New
	public	__bb_macro_Delete
	public	__bb_macro_New
	public	__bb_macro_draw
	public	__bb_macro_getmacro
	public	__bb_macro_gettilesetmacro
	public	__bb_main
	public	__bb_map_Create
	public	__bb_map_Delete
	public	__bb_map_New
	public	__bb_map_animtiles
	public	__bb_map_bread
	public	__bb_map_bwrite
	public	__bb_map_camera
	public	__bb_map_camera_world
	public	__bb_map_current_platform
	public	__bb_map_draw
	public	__bb_map_followsx
	public	__bb_map_followsy
	public	__bb_map_loadmap
	public	__bb_map_make
	public	__bb_map_makeplatforms
	public	__bb_map_newplane
	public	__bb_map_platform_count
	public	__bb_map_platforms
	public	__bb_map_platforms_world
	public	__bb_map_savemap
	public	__bb_map_stagebackup
	public	__bb_map_stagerestore
	public	__bb_maploc_Delete
	public	__bb_maploc_New
	public	__bb_maploc_addloc
	public	__bb_maploc_addtext
	public	__bb_maploc_bread
	public	__bb_maploc_bwrite
	public	__bb_maploc_drawsign
	public	__bb_maploc_fliptoggle
	public	__bb_maploc_gettoggle
	public	__bb_maploc_hasloc
	public	__bb_maploc_nextframe
	public	__bb_maploc_read
	public	__bb_maploc_removeloc
	public	__bb_maploc_swaitcheck
	public	__bb_patient_Delete
	public	__bb_patient_New
	public	__bb_patient_bloodgraph
	public	__bb_patient_draw
	public	__bb_patient_init
	public	__bb_patient_logic
	public	__bb_patient_spraygraph
	public	__bb_phypart_Delete
	public	__bb_phypart_New
	public	__bb_phypart_update
	public	__bb_physicsobj_Delete
	public	__bb_physicsobj_New
	public	__bb_physicsobj_cplatwaitget
	public	__bb_physicsobj_cplatwaitset
	public	__bb_physicsobj_cutscene1
	public	__bb_physicsobj_cutscene2
	public	__bb_physicsobj_groundlogic
	public	__bb_physicsobj_logic
	public	__bb_physicsobj_move
	public	__bb_plane_Create
	public	__bb_plane_Delete
	public	__bb_plane_New
	public	__bb_plane_bread
	public	__bb_plane_bwrite
	public	__bb_plane_clear
	public	__bb_plane_macrocreate
	public	__bb_plane_mapat
	public	__bb_plane_saferead
	public	__bb_plane_worldat
	public	__bb_polar_Delete
	public	__bb_polar_New
	public	__bb_polar_createfromvector
	public	__bb_position_Delete
	public	__bb_position_New
	public	__bb_position_create
	public	__bb_psfx_Delete
	public	__bb_psfx_New
	public	__bb_psfx_def
	public	__bb_psfx_play
	public	__bb_psfx_setca
	public	__bb_sfx_Delete
	public	__bb_sfx_New
	public	__bb_sfx_def
	public	__bb_sfx_play
	public	__bb_signloc_Create
	public	__bb_signloc_Delete
	public	__bb_signloc_New
	public	__bb_signloc_addtext
	public	__bb_signloc_bwrite
	public	__bb_signloc_read
	public	__bb_stringoffset_Delete
	public	__bb_stringoffset_New
	public	__bb_switchloc_Create
	public	__bb_switchloc_Delete
	public	__bb_switchloc_New
	public	__bb_switchloc_addloc
	public	__bb_switchloc_attachin
	public	__bb_switchloc_attachout
	public	__bb_switchloc_bwrite
	public	__bb_switchloc_fliptoggle
	public	__bb_switchloc_gettoggle
	public	__bb_switchloc_hasloc
	public	__bb_switchloc_onhit
	public	__bb_switchloc_removeloc
	public	__bb_switchloc_setcombo1
	public	__bb_switchloc_setcombo2
	public	__bb_switchloc_swaitcheck
	public	__bb_tileset_Delete
	public	__bb_tileset_New
	public	__bb_tileset_bread
	public	__bb_tileset_bwrite
	public	__bb_tileset_createall
	public	__bb_tileset_loadall
	public	__bb_tileset_saveall
	public	__bb_tinput_Delete
	public	__bb_tinput_New
	public	__bb_tinput_check
	public	__bb_tinput_make
	public	__bb_vector_Delete
	public	__bb_vector_New
	public	__bb_vector_create
	public	__bb_vector_frompolar
	public	__bb_vector_normalise
	public	_bb_BIG
	public	_bb_BLACK
	public	_bb_BLUE
	public	_bb_BROWN
	public	_bb_CYAN
	public	_bb_GREEN
	public	_bb_HALFTILESIZE
	public	_bb_HUGE
	public	_bb_MAPZ
	public	_bb_MED
	public	_bb_NIGHTMIDSHADE
	public	_bb_NIGHTSHADE
	public	_bb_ORANGE
	public	_bb_PINK
	public	_bb_PLAYERS
	public	_bb_PURPLE
	public	_bb_RED
	public	_bb_SPROPS
	public	_bb_THiscore
	public	_bb_TILES
	public	_bb_TILESETS
	public	_bb_TILESIZE
	public	_bb_WHITE
	public	_bb_YELLOW
	public	_bb_ambient1
	public	_bb_ambient2
	public	_bb_angel
	public	_bb_angelkneel
	public	_bb_angelstand
	public	_bb_anim
	public	_bb_animbutton
	public	_bb_animtilex
	public	_bb_animtiley
	public	_bb_autodraw
	public	_bb_avatar
	public	_bb_bDrawText
	public	_bb_baddie
	public	_bb_baddiechannel
	public	_bb_badlist
	public	_bb_beats
	public	_bb_bg1
	public	_bb_bg2
	public	_bb_blightning
	public	_bb_bloodanim
	public	_bb_bluebox
	public	_bb_bonusmodifier
	public	_bb_bull
	public	_bb_bullist
	public	_bb_button
	public	_bb_centretext
	public	_bb_character
	public	_bb_clickbox
	public	_bb_colour
	public	_bb_controls
	public	_bb_controlset
	public	_bb_debug
	public	_bb_draw_mapsprite
	public	_bb_e
	public	_bb_edit
	public	_bb_editor
	public	_bb_elist
	public	_bb_endtimer
	public	_bb_fire1
	public	_bb_fire2
	public	_bb_fire3
	public	_bb_fog
	public	_bb_fogimage
	public	_bb_fogsound
	public	_bb_forbidden
	public	_bb_frame
	public	_bb_frames
	public	_bb_fruitgot
	public	_bb_fx
	public	_bb_gameobj
	public	_bb_gameobjlist
	public	_bb_gameover
	public	_bb_gameplane
	public	_bb_getkey
	public	_bb_gol
	public	_bb_graph
	public	_bb_graphq
	public	_bb_grq
	public	_bb_gunchannel
	public	_bb_hGH
	public	_bb_hGW
	public	_bb_halfx
	public	_bb_halfy
	public	_bb_hasfireflies
	public	_bb_hasfog
	public	_bb_hbutton
	public	_bb_heart
	public	_bb_heartchannel
	public	_bb_heartgraph
	public	_bb_here
	public	_bb_hiscoretable
	public	_bb_hs
	public	_bb_icebit
	public	_bb_itemchannel
	public	_bb_jc
	public	_bb_jwait
	public	_bb_keyfind
	public	_bb_keylist
	public	_bb_keynames
	public	_bb_lettermusic
	public	_bb_level
	public	_bb_loadworld
	public	_bb_macro
	public	_bb_map
	public	_bb_maploc
	public	_bb_mapsprite
	public	_bb_maptest
	public	_bb_maxcombo
	public	_bb_menu
	public	_bb_music
	public	_bb_musicchannel
	public	_bb_musicfade
	public	_bb_musicfreeze
	public	_bb_musicfreezetype
	public	_bb_mxr
	public	_bb_my_fog
	public	_bb_my_font
	public	_bb_my_grain
	public	_bb_my_kb
	public	_bb_myr
	public	_bb_nextgobj
	public	_bb_nextroom
	public	_bb_nicetext
	public	_bb_night
	public	_bb_nobox
	public	_bb_ns
	public	_bb_p2_sprite
	public	_bb_patient
	public	_bb_patientattack
	public	_bb_patientfall
	public	_bb_patientidle
	public	_bb_patientrecoil
	public	_bb_patientrise
	public	_bb_patientscuttle
	public	_bb_patientwalk
	public	_bb_pchannel
	public	_bb_pdown
	public	_bb_pfirsttime
	public	_bb_pglist
	public	_bb_phypart
	public	_bb_physicsobj
	public	_bb_plane
	public	_bb_planexsize
	public	_bb_planeysize
	public	_bb_plankattack
	public	_bb_plankattackdeep
	public	_bb_planklower
	public	_bb_plankraise
	public	_bb_plankwalkb
	public	_bb_plankwalkf
	public	_bb_player
	public	_bb_pleft
	public	_bb_polar
	public	_bb_portrait
	public	_bb_position
	public	_bb_pright
	public	_bb_psfx
	public	_bb_pup
	public	_bb_quake
	public	_bb_radiochannel
	public	_bb_rain1
	public	_bb_rainimage
	public	_bb_raining
	public	_bb_rainplane1
	public	_bb_rainplane2
	public	_bb_recoil
	public	_bb_redfade
	public	_bb_redout
	public	_bb_resetenvironment
	public	_bb_s
	public	_bb_sInput
	public	_bb_sPeekInt
	public	_bb_screenchange
	public	_bb_screenoffset
	public	_bb_screenyoffset
	public	_bb_set_screen_size
	public	_bb_sfx
	public	_bb_shoot
	public	_bb_shootempty
	public	_bb_signloc
	public	_bb_slowbaddies
	public	_bb_smokey
	public	_bb_sparechannel
	public	_bb_sparky
	public	_bb_splane
	public	_bb_sprayanim
	public	_bb_stage
	public	_bb_stagenames
	public	_bb_stagetext
	public	_bb_stringoffset
	public	_bb_stringread
	public	_bb_stringwrite
	public	_bb_switchloc
	public	_bb_tilefile
	public	_bb_tiles1
	public	_bb_tiles2
	public	_bb_tiles3
	public	_bb_tileset
	public	_bb_tinput
	public	_bb_title
	public	_bb_titles
	public	_bb_titlestart
	public	_bb_tset
	public	_bb_vGH
	public	_bb_vGW
	public	_bb_vector
	public	_bb_walkdleft
	public	_bb_walkdown
	public	_bb_walkleft
	public	_bb_walkuleft
	public	_bb_walkup
	public	_bb_watchfreeze
	public	_bb_watchfreezetype
	public	_bb_whitebox
	public	_bb_whitecirc
	public	_bb_world
	public	_bb_worldmusic
	public	_bb_xstep
	public	_bb_ystep
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	cmp	dword [_2676],0
	je	_2677
	mov	eax,0
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_2677:
	mov	dword [_2676],1
	call	___bb_blitz_blitz
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_bank_bank
	call	___bb_bankstream_bankstream
	call	___bb_basic_basic
	call	___bb_bmploader_bmploader
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_eventqueue_eventqueue
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_jpgloader_jpgloader
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_pngloader_pngloader
	call	___bb_reflection_reflection
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	call	___bb_astar_astar
	push	_bb_graphq
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_graph
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_vector
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_polar
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_colour
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_position
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_frame
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_anim
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_editor
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_tileset
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_plane
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_map
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_signloc
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_switchloc
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_maploc
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_macro
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_level
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_stringoffset
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_gameobjlist
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_gameobj
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_physicsobj
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_avatar
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_baddie
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_patient
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_phypart
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_icebit
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_fog
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_character
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_angel
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_sfx
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_psfx
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_hiscoretable
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_THiscore
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_tinput
	call	_bbObjectRegisterType
	add	esp,4
	mov	ebx,_18
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_2130
	push	eax
	call	_bbGCFree
	add	esp,4
_2130:
	mov	dword [_bbAppTitle],ebx
	push	0
	push	60
	push	32
	push	480
	push	640
	call	_brl_graphics_Graphics
	add	esp,20
	mov	eax,dword [_2133]
	and	eax,1
	cmp	eax,0
	jne	_2134
	push	5
	push	_2131
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_planexsize],eax
	or	dword [_2133],1
_2134:
	mov	eax,dword [_2133]
	and	eax,2
	cmp	eax,0
	jne	_2137
	push	5
	push	_2135
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_planeysize],eax
	or	dword [_2133],2
_2137:
	mov	eax,dword [_2133]
	and	eax,4
	cmp	eax,0
	jne	_2140
	push	dword [_bb_TILESETS]
	push	_2138
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_tset],eax
	or	dword [_2133],4
_2140:
	call	_brl_system_HideMouse
	mov	eax,dword [_2133]
	and	eax,8
	cmp	eax,0
	jne	_2141
	call	_brl_graphics_GraphicsWidth
	mov	dword [_bb_vGW],eax
	or	dword [_2133],8
_2141:
	mov	eax,dword [_2133]
	and	eax,16
	cmp	eax,0
	jne	_2142
	call	_brl_graphics_GraphicsHeight
	mov	dword [_bb_vGH],eax
	or	dword [_2133],16
_2142:
	mov	eax,dword [_2133]
	and	eax,32
	cmp	eax,0
	jne	_2143
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [_bb_hGW],eax
	or	dword [_2133],32
_2143:
	mov	eax,dword [_2133]
	and	eax,64
	cmp	eax,0
	jne	_2144
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [_bb_hGH],eax
	or	dword [_2133],64
_2144:
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_hGW]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
	push	1
	call	_brl_max2d_AutoImageFlags
	add	esp,4
	mov	eax,dword [_2133]
	and	eax,128
	cmp	eax,0
	jne	_2147
	push	10
	push	_737
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],0
	mov	dword [eax+28],1
	mov	dword [eax+32],1
	mov	dword [eax+36],2
	mov	dword [eax+40],2
	mov	dword [eax+44],3
	mov	dword [eax+48],1
	mov	dword [eax+52],3
	mov	dword [eax+56],2
	mov	dword [eax+60],3
	inc	dword [eax+4]
	mov	dword [_bb_animtilex],eax
	or	dword [_2133],128
_2147:
	mov	eax,dword [_2133]
	and	eax,256
	cmp	eax,0
	jne	_2150
	push	10
	push	_737
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],0
	mov	dword [eax+28],1
	mov	dword [eax+32],2
	mov	dword [eax+36],1
	mov	dword [eax+40],2
	mov	dword [eax+44],1
	mov	dword [eax+48],3
	mov	dword [eax+52],2
	mov	dword [eax+56],3
	mov	dword [eax+60],3
	inc	dword [eax+4]
	mov	dword [_bb_animtiley],eax
	or	dword [_2133],256
_2150:
	mov	eax,dword [_2133]
	and	eax,512
	cmp	eax,0
	jne	_2156
	push	3
	push	_831
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [_bb_tiles1]
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,dword [_bb_tiles2]
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,dword [_bb_tiles3]
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	inc	dword [eax+4]
	mov	dword [_bb_tilefile],eax
	or	dword [_2133],512
_2156:
	call	dword [_bb_tileset+48]
	mov	eax,dword [_2133]
	and	eax,1024
	cmp	eax,0
	jne	_2158
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5600]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5601]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_RED],eax
	or	dword [_2133],1024
_2158:
	mov	eax,dword [_2133]
	and	eax,2048
	cmp	eax,0
	jne	_2160
	fld	qword [_5602]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5603]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5604]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_YELLOW],eax
	or	dword [_2133],2048
_2160:
	mov	eax,dword [_2133]
	and	eax,4096
	cmp	eax,0
	jne	_2162
	fld	qword [_5605]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5606]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5607]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_GREEN],eax
	or	dword [_2133],4096
_2162:
	mov	eax,dword [_2133]
	and	eax,8192
	cmp	eax,0
	jne	_2164
	fld	qword [_5608]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5609]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5610]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_BLUE],eax
	or	dword [_2133],8192
_2164:
	mov	eax,dword [_2133]
	and	eax,16384
	cmp	eax,0
	jne	_2166
	fld	qword [_5611]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5612]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5613]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_ORANGE],eax
	or	dword [_2133],16384
_2166:
	mov	eax,dword [_2133]
	and	eax,32768
	cmp	eax,0
	jne	_2168
	fld	qword [_5614]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5615]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5616]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_PURPLE],eax
	or	dword [_2133],32768
_2168:
	mov	eax,dword [_2133]
	and	eax,65536
	cmp	eax,0
	jne	_2170
	fld	qword [_5617]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5618]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5619]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_PINK],eax
	or	dword [_2133],65536
_2170:
	mov	eax,dword [_2133]
	and	eax,131072
	cmp	eax,0
	jne	_2172
	fld	qword [_5620]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5621]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5622]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_WHITE],eax
	or	dword [_2133],131072
_2172:
	mov	eax,dword [_2133]
	and	eax,262144
	cmp	eax,0
	jne	_2174
	fld	qword [_5623]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5624]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5625]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_CYAN],eax
	or	dword [_2133],262144
_2174:
	mov	eax,dword [_2133]
	and	eax,524288
	cmp	eax,0
	jne	_2176
	fld	qword [_5626]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5627]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5628]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_BROWN],eax
	or	dword [_2133],524288
_2176:
	mov	eax,dword [_2133]
	and	eax,1048576
	cmp	eax,0
	jne	_2178
	fld	qword [_5629]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5630]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5631]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_BLACK],eax
	or	dword [_2133],1048576
_2178:
	mov	eax,dword [_2133]
	and	eax,2097152
	cmp	eax,0
	jne	_2180
	fld	qword [_5632]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5633]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5634]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_NIGHTSHADE],eax
	or	dword [_2133],2097152
_2180:
	mov	eax,dword [_2133]
	and	eax,4194304
	cmp	eax,0
	jne	_2182
	fld	qword [_5635]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5636]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5637]
	sub	esp,8
	fstp	qword [esp]
	call	dword [_bb_colour+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_NIGHTMIDSHADE],eax
	or	dword [_2133],4194304
_2182:
	push	1
	call	_brl_max2d_AutoImageFlags
	add	esp,4
	mov	eax,dword [_2133]
	and	eax,8388608
	cmp	eax,0
	jne	_2184
	push	-1
	push	64
	push	0
	push	8
	push	8
	push	_489
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_my_font],eax
	or	dword [_2133],8388608
_2184:
	mov	eax,dword [_2133]
	and	eax,16777216
	cmp	eax,0
	jne	_2186
	push	-1
	push	16
	push	0
	push	10
	push	10
	push	_490
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_my_kb],eax
	or	dword [_2133],16777216
_2186:
	mov	eax,dword [_2133]
	and	eax,33554432
	cmp	eax,0
	jne	_2188
	push	-1
	push	_491
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_my_grain],eax
	or	dword [_2133],33554432
_2188:
	mov	eax,dword [_2133]
	and	eax,67108864
	cmp	eax,0
	jne	_2190
	push	-1
	push	_492
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_my_fog],eax
	or	dword [_2133],67108864
_2190:
	push	dword [_bb_my_grain]
	call	_brl_max2d_MidHandleImage
	add	esp,4
	mov	eax,dword [_2133]
	and	eax,134217728
	cmp	eax,0
	jne	_2192
	push	-1
	push	_507
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_mapsprite],eax
	or	dword [_2133],134217728
_2192:
	mov	eax,dword [_2133]
	and	eax,268435456
	cmp	eax,0
	jne	_2193
	call	_JoyCount
	mov	dword [_bb_jc],eax
	or	dword [_2133],268435456
_2193:
	mov	eax,dword [_2133]
	and	eax,536870912
	cmp	eax,0
	jne	_2195
	push	4
	push	45
	push	_508
	call	_brl_max2d_LoadImageFont
	add	esp,12
	inc	dword [eax+4]
	mov	dword [_bb_HUGE],eax
	or	dword [_2133],536870912
_2195:
	mov	eax,dword [_2133]
	and	eax,1073741824
	cmp	eax,0
	jne	_2197
	push	4
	push	26
	push	_508
	call	_brl_max2d_LoadImageFont
	add	esp,12
	inc	dword [eax+4]
	mov	dword [_bb_BIG],eax
	or	dword [_2133],1073741824
_2197:
	mov	eax,dword [_2133]
	and	eax,-2147483648
	cmp	eax,0
	jne	_2199
	push	4
	push	18
	push	_508
	call	_brl_max2d_LoadImageFont
	add	esp,12
	inc	dword [eax+4]
	mov	dword [_bb_MED],eax
	or	dword [_2133],-2147483648
_2199:
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	mov	eax,dword [_2201]
	and	eax,1
	cmp	eax,0
	jne	_2202
	push	-1
	push	_509
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_sparky],eax
	or	dword [_2201],1
_2202:
	mov	eax,dword [_2201]
	and	eax,2
	cmp	eax,0
	jne	_2204
	push	-1
	push	4
	push	0
	push	64
	push	64
	push	_510
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_smokey],eax
	or	dword [_2201],2
_2204:
	mov	eax,dword [_2201]
	and	eax,4
	cmp	eax,0
	jne	_2206
	push	-1
	push	2
	push	0
	push	32
	push	32
	push	_511
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_bull],eax
	or	dword [_2201],4
_2206:
	mov	eax,dword [_2201]
	and	eax,8
	cmp	eax,0
	jne	_2208
	push	-1
	push	_512
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_fire1],eax
	or	dword [_2201],8
_2208:
	mov	eax,dword [_2201]
	and	eax,16
	cmp	eax,0
	jne	_2210
	push	-1
	push	_513
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_fire2],eax
	or	dword [_2201],16
_2210:
	mov	eax,dword [_2201]
	and	eax,32
	cmp	eax,0
	jne	_2212
	push	-1
	push	_514
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_fire3],eax
	or	dword [_2201],32
_2212:
	mov	eax,dword [_2201]
	and	eax,64
	cmp	eax,0
	jne	_2214
	push	-1
	push	_515
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_rain1],eax
	or	dword [_2201],64
_2214:
	mov	eax,dword [_2201]
	and	eax,128
	cmp	eax,0
	jne	_2216
	push	-1
	push	_516
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_whitecirc],eax
	or	dword [_2201],128
_2216:
	mov	eax,dword [_2201]
	and	eax,256
	cmp	eax,0
	jne	_2223
	push	2
	push	_889
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	push	6
	push	_737
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],37
	mov	dword [eax+28],39
	mov	dword [eax+32],38
	mov	dword [eax+36],40
	mov	dword [eax+40],90
	mov	dword [eax+44],160
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	6
	push	_737
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],65
	mov	dword [eax+28],68
	mov	dword [eax+32],87
	mov	dword [eax+36],83
	mov	dword [eax+40],160
	mov	dword [eax+44],162
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	inc	dword [ebx+4]
	mov	dword [_bb_controlset],ebx
	or	dword [_2201],256
_2223:
	mov	eax,dword [_2201]
	and	eax,512
	cmp	eax,0
	jne	_2226
	push	4
	push	_2224
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_heart],eax
	or	dword [_2201],512
_2226:
	push	1
	push	16
	push	16
	push	16
	push	_517
	call	dword [_bb_anim+48]
	add	esp,20
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2230
	push	eax
	call	_bbGCFree
	add	esp,4
_2230:
	mov	eax,dword [_bb_heart]
	mov	dword [eax+24],ebx
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	dec	dword [eax+4]
	jnz	_2234
	push	eax
	call	_bbGCFree
	add	esp,4
_2234:
	mov	eax,dword [_bb_heart]
	mov	dword [eax+4+24],ebx
	mov	eax,dword [_bb_heart]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [_bb_heart]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+8+24]
	dec	dword [eax+4]
	jnz	_2239
	push	eax
	call	_bbGCFree
	add	esp,4
_2239:
	mov	eax,dword [_bb_heart]
	mov	dword [eax+8+24],ebx
	mov	eax,dword [_bb_heart]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [_bb_heart]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	dec	dword [eax+4]
	jnz	_2244
	push	eax
	call	_bbGCFree
	add	esp,4
_2244:
	mov	eax,dword [_bb_heart]
	mov	dword [eax+12+24],ebx
	mov	eax,dword [_bb_heart]
	mov	edx,dword [eax+12+24]
	mov	eax,dword [_bb_heart]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+24]
	push	1
	push	9
	push	1
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+24]
	push	1
	push	9
	push	1
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+24]
	push	0
	push	80
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	push	1
	push	8
	push	2
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	push	0
	push	8
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	push	1
	push	8
	push	2
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	push	0
	push	60
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+4+24]
	push	0
	push	3
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	1
	push	3
	push	3
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	0
	push	3
	push	1
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	1
	push	3
	push	3
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+8+24]
	push	0
	push	30
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+8+24]
	push	0
	push	4
	push	1
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	1
	push	3
	push	3
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	0
	push	3
	push	1
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	1
	push	3
	push	3
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	0
	push	10
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_heart]
	mov	eax,dword [eax+12+24]
	push	0
	push	3
	push	1
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_2201]
	and	eax,1024
	cmp	eax,0
	jne	_2265
	push	_bb_graph
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_heartgraph],eax
	or	dword [_2201],1024
_2265:
	mov	edx,dword [_bb_heartgraph]
	mov	eax,48
	sub	eax,dword [_bb_hGW]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [edx+8]
	mov	edx,dword [_bb_heartgraph]
	mov	eax,64
	sub	eax,dword [_bb_hGH]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [edx+12]
	mov	eax,dword [_bb_heartgraph]
	fld1
	fstp	dword [eax+40]
	mov	eax,dword [_bb_heartgraph]
	mov	dword [eax+100],1
	mov	eax,dword [_bb_heartgraph]
	fld	dword [_5638]
	fstp	dword [eax+32]
	mov	eax,dword [_bb_heartgraph]
	fld	dword [_5639]
	fstp	dword [eax+36]
	mov	edx,dword [_bb_heartgraph]
	mov	eax,dword [_bb_heart]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [_2201]
	and	eax,2048
	cmp	eax,0
	jne	_2268
	push	-1
	push	2
	push	0
	push	48
	push	48
	push	_518
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_portrait],eax
	or	dword [_2201],2048
_2268:
	mov	eax,dword [_2201]
	and	eax,4096
	cmp	eax,0
	jne	_2270
	push	1
	push	64
	push	32
	push	32
	push	_519
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_walkleft],eax
	or	dword [_2201],4096
_2270:
	push	1107296256
	push	1094713344
	mov	eax,dword [_bb_walkleft]
	push	dword [eax+16]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_2201]
	and	eax,8192
	cmp	eax,0
	jne	_2272
	push	-1
	push	20
	push	0
	push	64
	push	48
	push	_520
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_p2_sprite],eax
	or	dword [_2201],8192
_2272:
	push	1115684864
	push	1103101952
	push	dword [_bb_p2_sprite]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_2201]
	and	eax,16384
	cmp	eax,0
	jne	_2274
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_shoot],eax
	or	dword [_2201],16384
_2274:
	mov	eax,dword [_2201]
	and	eax,32768
	cmp	eax,0
	jne	_2276
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_walkdleft],eax
	or	dword [_2201],32768
_2276:
	mov	eax,dword [_2201]
	and	eax,65536
	cmp	eax,0
	jne	_2278
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_walkuleft],eax
	or	dword [_2201],65536
_2278:
	mov	eax,dword [_2201]
	and	eax,131072
	cmp	eax,0
	jne	_2280
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_walkup],eax
	or	dword [_2201],131072
_2280:
	mov	eax,dword [_2201]
	and	eax,262144
	cmp	eax,0
	jne	_2282
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_walkdown],eax
	or	dword [_2201],262144
_2282:
	mov	eax,dword [_2201]
	and	eax,524288
	cmp	eax,0
	jne	_2284
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_shootempty],eax
	or	dword [_2201],524288
_2284:
	mov	eax,dword [_2201]
	and	eax,1048576
	cmp	eax,0
	jne	_2286
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_recoil],eax
	or	dword [_2201],1048576
_2286:
	mov	eax,dword [_2201]
	and	eax,2097152
	cmp	eax,0
	jne	_2288
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_plankraise],eax
	or	dword [_2201],2097152
_2288:
	mov	eax,dword [_2201]
	and	eax,4194304
	cmp	eax,0
	jne	_2290
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_plankwalkf],eax
	or	dword [_2201],4194304
_2290:
	mov	eax,dword [_2201]
	and	eax,8388608
	cmp	eax,0
	jne	_2292
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_plankwalkb],eax
	or	dword [_2201],8388608
_2292:
	mov	eax,dword [_2201]
	and	eax,16777216
	cmp	eax,0
	jne	_2294
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_planklower],eax
	or	dword [_2201],16777216
_2294:
	mov	eax,dword [_2201]
	and	eax,33554432
	cmp	eax,0
	jne	_2296
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_plankattack],eax
	or	dword [_2201],33554432
_2296:
	mov	eax,dword [_2201]
	and	eax,67108864
	cmp	eax,0
	jne	_2298
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_plankattackdeep],eax
	or	dword [_2201],67108864
_2298:
	mov	eax,dword [_bb_shoot]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_walkuleft]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_walkdleft]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_walkup]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_walkdown]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_recoil]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_plankraise]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_plankwalkf]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_plankwalkb]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_planklower]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_plankattack]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_plankattackdeep]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_planklower]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_shootempty]
	push	dword [_bb_walkleft]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_planklower]
	mov	dword [eax+8],0
	mov	eax,dword [_bb_walkleft]
	push	0
	push	6
	push	15
	push	8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_walkdleft]
	push	0
	push	6
	push	23
	push	16
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_walkuleft]
	push	0
	push	6
	push	31
	push	24
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_plankwalkf]
	push	0
	push	12
	push	55
	push	52
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_plankwalkb]
	push	0
	push	12
	push	52
	push	55
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_shoot]
	push	0
	push	5
	push	13
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_shoot]
	push	0
	push	5
	push	12
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_shoot]
	push	0
	push	5
	push	11
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_shoot]
	push	0
	push	5
	push	10
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkup]
	push	0
	push	9
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkup]
	push	0
	push	9
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkup]
	push	0
	push	9
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkup]
	push	0
	push	9
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkdown]
	push	0
	push	9
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkdown]
	push	0
	push	9
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkdown]
	push	0
	push	9
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_walkdown]
	push	0
	push	9
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_recoil]
	push	0
	push	9
	push	56
	push	63
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_recoil]
	push	0
	push	4
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankraise]
	push	0
	push	2
	push	46
	push	40
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_plankraise]
	push	0
	push	6000000
	push	47
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_planklower]
	push	0
	push	2
	push	40
	push	46
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,20
	mov	eax,dword [_bb_planklower]
	push	0
	push	6
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_planklower]
	push	0
	push	6
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	0
	push	6
	push	47
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	0
	push	6
	push	48
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	1
	push	6
	push	50
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	0
	push	6
	push	49
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	0
	push	6
	push	48
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattack]
	push	0
	push	6000000
	push	47
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6
	push	47
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6
	push	49
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	1
	push	9
	push	51
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6
	push	50
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6
	push	49
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6
	push	48
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_plankattackdeep]
	push	0
	push	6000000
	push	47
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2201]
	and	eax,134217728
	cmp	eax,0
	jne	_2351
	push	1
	push	16
	push	32
	push	32
	push	_521
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_angelstand],eax
	or	dword [_2201],134217728
_2351:
	mov	eax,dword [_bb_angelstand]
	push	0
	push	10
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	10
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	10
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	10
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	10
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	120
	push	8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelstand]
	push	0
	push	60000
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2201]
	and	eax,268435456
	cmp	eax,0
	jne	_2360
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_angelkneel],eax
	or	dword [_2201],268435456
_2360:
	mov	eax,dword [_bb_angelkneel]
	push	dword [_bb_angelstand]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	13
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	13
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	13
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	13
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	13
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_angelkneel]
	push	0
	push	6000000
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2201]
	and	eax,536870912
	cmp	eax,0
	jne	_2369
	push	1
	push	25
	push	24
	push	24
	push	_522
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientidle],eax
	or	dword [_2201],536870912
_2369:
	push	1103101952
	push	1098907648
	mov	eax,dword [_bb_patientidle]
	push	dword [eax+16]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_bb_patientidle]
	push	0
	push	9
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientidle]
	push	0
	push	9
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientidle]
	push	0
	push	9
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientidle]
	push	0
	push	9
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2201]
	and	eax,1073741824
	cmp	eax,0
	jne	_2375
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientwalk],eax
	or	dword [_2201],1073741824
_2375:
	mov	eax,dword [_bb_patientwalk]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientwalk]
	push	0
	push	9
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientwalk]
	push	0
	push	9
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientwalk]
	push	0
	push	9
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientwalk]
	push	0
	push	9
	push	7
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2201]
	and	eax,-2147483648
	cmp	eax,0
	jne	_2382
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientattack],eax
	or	dword [_2201],-2147483648
_2382:
	mov	eax,dword [_bb_patientattack]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	9
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	10
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	11
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	10
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	11
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	10
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	11
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	10
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	9
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	9
	push	8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientattack]
	push	0
	push	200
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2397]
	and	eax,1
	cmp	eax,0
	jne	_2398
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientrecoil],eax
	or	dword [_2397],1
_2398:
	mov	eax,dword [_bb_patientrecoil]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	6
	push	19
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	6
	push	18
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	4
	push	17
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	9
	push	18
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	9
	push	19
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientrecoil]
	push	0
	push	9
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2397]
	and	eax,2
	cmp	eax,0
	jne	_2407
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientfall],eax
	or	dword [_2397],2
_2407:
	mov	eax,dword [_bb_patientfall]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientfall]
	push	0
	push	6
	push	15
	push	12
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_patientfall]
	push	0
	push	60
	push	21
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2397]
	and	eax,4
	cmp	eax,0
	jne	_2412
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientrise],eax
	or	dword [_2397],4
_2412:
	mov	eax,dword [_bb_patientrise]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientrise]
	push	0
	push	6
	push	20
	push	15
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,20
	mov	eax,dword [_bb_patientrise]
	push	0
	push	6
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2397]
	and	eax,8
	cmp	eax,0
	jne	_2417
	push	1
	push	0
	push	0
	push	0
	push	_1
	call	dword [_bb_anim+48]
	add	esp,20
	inc	dword [eax+4]
	mov	dword [_bb_patientscuttle],eax
	or	dword [_2397],8
_2417:
	mov	eax,dword [_bb_patientscuttle]
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [_bb_patientscuttle]
	push	0
	push	6
	push	21
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientscuttle]
	push	0
	push	6
	push	22
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientscuttle]
	push	0
	push	6
	push	23
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_bb_patientscuttle]
	push	0
	push	6
	push	24
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,16
	mov	eax,dword [_2397]
	and	eax,16
	cmp	eax,0
	jne	_2424
	push	-1
	push	8
	push	0
	push	32
	push	32
	push	_523
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_sprayanim],eax
	or	dword [_2397],16
_2424:
	push	1107296256
	push	1107296256
	push	dword [_bb_sprayanim]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_2397]
	and	eax,32
	cmp	eax,0
	jne	_2426
	push	-1
	push	8
	push	0
	push	16
	push	32
	push	_524
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_bloodanim],eax
	or	dword [_2397],32
_2426:
	push	1086324736
	push	1098907648
	push	dword [_bb_bloodanim]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_2397]
	and	eax,64
	cmp	eax,0
	jne	_2429
	push	2
	push	_2427
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_gunchannel],eax
	or	dword [_2397],64
_2429:
	call	_brl_audio_AllocChannel
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gunchannel]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2433
	push	eax
	call	_bbGCFree
	add	esp,4
_2433:
	mov	eax,dword [_bb_gunchannel]
	mov	dword [eax+24],ebx
	call	_brl_audio_AllocChannel
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gunchannel]
	mov	eax,dword [eax+4+24]
	dec	dword [eax+4]
	jnz	_2437
	push	eax
	call	_bbGCFree
	add	esp,4
_2437:
	mov	eax,dword [_bb_gunchannel]
	mov	dword [eax+4+24],ebx
	mov	eax,dword [_2397]
	and	eax,128
	cmp	eax,0
	jne	_2440
	push	2
	push	_2438
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_pchannel],eax
	or	dword [_2397],128
_2440:
	call	_brl_audio_AllocChannel
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_pchannel]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2444
	push	eax
	call	_bbGCFree
	add	esp,4
_2444:
	mov	eax,dword [_bb_pchannel]
	mov	dword [eax+24],ebx
	call	_brl_audio_AllocChannel
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_pchannel]
	mov	eax,dword [eax+4+24]
	dec	dword [eax+4]
	jnz	_2448
	push	eax
	call	_bbGCFree
	add	esp,4
_2448:
	mov	eax,dword [_bb_pchannel]
	mov	dword [eax+4+24],ebx
	mov	eax,dword [_2397]
	and	eax,256
	cmp	eax,0
	jne	_2450
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_itemchannel],eax
	or	dword [_2397],256
_2450:
	mov	eax,dword [_2397]
	and	eax,512
	cmp	eax,0
	jne	_2452
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_baddiechannel],eax
	or	dword [_2397],512
_2452:
	mov	eax,dword [_2397]
	and	eax,1024
	cmp	eax,0
	jne	_2454
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_sparechannel],eax
	or	dword [_2397],1024
_2454:
	mov	eax,dword [_2397]
	and	eax,2048
	cmp	eax,0
	jne	_2456
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_musicchannel],eax
	or	dword [_2397],2048
_2456:
	mov	eax,dword [_2397]
	and	eax,4096
	cmp	eax,0
	jne	_2459
	push	2
	push	_2457
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_player],eax
	or	dword [_2397],4096
_2459:
	mov	eax,dword [_2397]
	and	eax,8192
	cmp	eax,0
	jne	_2461
	push	1
	push	_525
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_lettermusic],eax
	or	dword [_2397],8192
_2461:
	mov	eax,dword [_2397]
	and	eax,16384
	cmp	eax,0
	jne	_2463
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_ambient1],eax
	or	dword [_2397],16384
_2463:
	mov	eax,dword [_2397]
	and	eax,32768
	cmp	eax,0
	jne	_2465
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_ambient2],eax
	or	dword [_2397],32768
_2465:
	push	1050253722
	push	dword [_bb_ambient2]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	push	1045220557
	push	dword [_bb_ambient1]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [_2397]
	and	eax,65536
	cmp	eax,0
	jne	_2467
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_radiochannel],eax
	or	dword [_2397],65536
_2467:
	push	1065353216
	push	dword [_bb_radiochannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [_2397]
	and	eax,131072
	cmp	eax,0
	jne	_2469
	call	_brl_audio_AllocChannel
	inc	dword [eax+4]
	mov	dword [_bb_heartchannel],eax
	or	dword [_2397],131072
_2469:
	push	1065353216
	push	dword [_bb_radiochannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	push	1065353216
	push	dword [_bb_musicchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [_2397]
	and	eax,262144
	cmp	eax,0
	jne	_2471
	push	1065353216
	push	1065353216
	push	1036831949
	push	1
	push	dword [_bb_ambient1]
	push	_526
	call	dword [_bb_sfx+48]
	add	esp,24
	inc	dword [eax+4]
	mov	dword [_bb_fogsound],eax
	or	dword [_2397],262144
_2471:
	mov	eax,dword [_2397]
	and	eax,524288
	cmp	eax,0
	jne	_2474
	push	31
	push	_2472
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_fx],eax
	or	dword [_2397],524288
_2474:
	mov	ebx,2
	jmp	_2476
_529:
	cmp	ebx,12
	jge	_2477
	push	1065353216
	push	1065353216
	push	1056964608
	push	0
	push	dword [_bb_ambient2]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2481
	push	eax
	call	_bbGCFree
	add	esp,4
_2481:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
	jmp	_2482
_2477:
	cmp	ebx,18
	jge	_2483
	push	1065353216
	push	1065353216
	push	1065353216
	push	1
	push	dword [_bb_musicchannel]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2487
	push	eax
	call	_bbGCFree
	add	esp,4
_2487:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
	jmp	_2488
_2483:
	cmp	ebx,18
	jne	_2489
	push	1065353216
	push	1065353216
	push	1082130432
	push	1
	push	dword [_bb_radiochannel]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2493
	push	eax
	call	_bbGCFree
	add	esp,4
_2493:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
	jmp	_2494
_2489:
	cmp	ebx,25
	jge	_2495
	push	1065353216
	push	1065353216
	push	1073741824
	push	0
	push	dword [_bb_baddiechannel]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2499
	push	eax
	call	_bbGCFree
	add	esp,4
_2499:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
	jmp	_2500
_2495:
	cmp	ebx,29
	jge	_2501
	push	1065353216
	push	1065353216
	push	1073741824
	push	0
	mov	eax,dword [_bb_pchannel]
	push	dword [eax+24]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2505
	push	eax
	call	_bbGCFree
	add	esp,4
_2505:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
	jmp	_2506
_2501:
	push	1065353216
	push	1065353216
	push	1073741824
	push	0
	push	dword [_bb_heartchannel]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_530
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	dword [_bb_sfx+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_2510
	push	eax
	call	_bbGCFree
	add	esp,4
_2510:
	mov	eax,dword [_bb_fx]
	mov	dword [eax+ebx*4+24],esi
_2506:
_2500:
_2494:
_2488:
_2482:
_527:
	add	ebx,1
_2476:
	cmp	ebx,30
	jle	_529
_528:
	push	dword [_bb_vGH]
	push	dword [_bb_vGW]
	call	_bb_set_screen_size
	add	esp,8
	mov	eax,dword [_2397]
	and	eax,1048576
	cmp	eax,0
	jne	_2511
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,15
	add	eax,edx
	sar	eax,4
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [_bb_xstep]
	or	dword [_2397],1048576
_2511:
	mov	eax,dword [_2397]
	and	eax,2097152
	cmp	eax,0
	jne	_2512
	mov	ecx,12
	mov	eax,dword [_bb_vGH]
	cdq
	idiv	ecx
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [_bb_ystep]
	or	dword [_2397],2097152
_2512:
	mov	eax,dword [_2397]
	and	eax,4194304
	cmp	eax,0
	jne	_2513
	mov	eax,dword [_bb_vGW]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [ebp-12]
	call	_brl_graphics_GraphicsWidth
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp-12]
	fdivrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [_bb_mxr]
	or	dword [_2397],4194304
_2513:
	mov	eax,dword [_2397]
	and	eax,8388608
	cmp	eax,0
	jne	_2514
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [ebp-16]
	call	_brl_graphics_GraphicsHeight
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp-16]
	fdivrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-16]
	fstp	dword [_bb_myr]
	or	dword [_2397],8388608
_2514:
	mov	eax,dword [_2397]
	and	eax,16777216
	cmp	eax,0
	jne	_2516
	call	dword [_bb_editor+48]
	inc	dword [eax+4]
	mov	dword [_bb_e],eax
	or	dword [_2397],16777216
_2516:
	mov	eax,dword [_2397]
	and	eax,33554432
	cmp	eax,0
	jne	_2518
	push	_bb_map
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_here],eax
	or	dword [_2397],33554432
_2518:
	mov	eax,dword [_2397]
	and	eax,67108864
	cmp	eax,0
	jne	_2520
	mov	eax,dword [_bb_my_fog]
	inc	dword [eax+4]
	mov	dword [_bb_fogimage],eax
	or	dword [_2397],67108864
_2520:
	push	1122500608
	push	1124073472
	push	dword [_bb_fogimage]
	call	_brl_max2d_SetImageHandle
	add	esp,12
	mov	eax,dword [_2397]
	and	eax,134217728
	cmp	eax,0
	jne	_2522
	push	-1
	push	_531
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_rainimage],eax
	or	dword [_2397],134217728
_2522:
	mov	eax,dword [_2397]
	and	eax,268435456
	cmp	eax,0
	jne	_2524
	call	dword [_bb_hiscoretable+48]
	inc	dword [eax+4]
	mov	dword [_bb_hs],eax
	or	dword [_2397],268435456
_2524:
	mov	eax,dword [_2397]
	and	eax,536870912
	cmp	eax,0
	jne	_2527
	push	80
	push	_737
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],0
	mov	dword [eax+28],38
	mov	dword [eax+32],40
	mov	dword [eax+36],37
	mov	dword [eax+40],39
	mov	dword [eax+44],49
	mov	dword [eax+48],50
	mov	dword [eax+52],51
	mov	dword [eax+56],52
	mov	dword [eax+60],53
	mov	dword [eax+64],54
	mov	dword [eax+68],55
	mov	dword [eax+72],56
	mov	dword [eax+76],57
	mov	dword [eax+80],48
	mov	dword [eax+84],189
	mov	dword [eax+88],187
	mov	dword [eax+92],9
	mov	dword [eax+96],81
	mov	dword [eax+100],87
	mov	dword [eax+104],69
	mov	dword [eax+108],82
	mov	dword [eax+112],84
	mov	dword [eax+116],89
	mov	dword [eax+120],85
	mov	dword [eax+124],73
	mov	dword [eax+128],79
	mov	dword [eax+132],80
	mov	dword [eax+136],219
	mov	dword [eax+140],221
	mov	dword [eax+144],162
	mov	dword [eax+148],65
	mov	dword [eax+152],83
	mov	dword [eax+156],68
	mov	dword [eax+160],70
	mov	dword [eax+164],71
	mov	dword [eax+168],72
	mov	dword [eax+172],74
	mov	dword [eax+176],75
	mov	dword [eax+180],76
	mov	dword [eax+184],186
	mov	dword [eax+188],222
	mov	dword [eax+192],226
	mov	dword [eax+196],13
	mov	dword [eax+200],160
	mov	dword [eax+204],90
	mov	dword [eax+208],88
	mov	dword [eax+212],67
	mov	dword [eax+216],86
	mov	dword [eax+220],66
	mov	dword [eax+224],78
	mov	dword [eax+228],77
	mov	dword [eax+232],188
	mov	dword [eax+236],190
	mov	dword [eax+240],191
	mov	dword [eax+244],161
	mov	dword [eax+248],164
	mov	dword [eax+252],32
	mov	dword [eax+256],165
	mov	dword [eax+260],163
	mov	dword [eax+264],36
	mov	dword [eax+268],33
	mov	dword [eax+272],46
	mov	dword [eax+276],35
	mov	dword [eax+280],34
	mov	dword [eax+284],96
	mov	dword [eax+288],97
	mov	dword [eax+292],98
	mov	dword [eax+296],99
	mov	dword [eax+300],100
	mov	dword [eax+304],101
	mov	dword [eax+308],102
	mov	dword [eax+312],103
	mov	dword [eax+316],104
	mov	dword [eax+320],105
	mov	dword [eax+324],106
	mov	dword [eax+328],111
	mov	dword [eax+332],107
	mov	dword [eax+336],109
	mov	dword [eax+340],110
	inc	dword [eax+4]
	mov	dword [_bb_keylist],eax
	or	dword [_2397],536870912
_2527:
	mov	eax,dword [_2397]
	and	eax,1073741824
	cmp	eax,0
	jne	_2610
	push	80
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_532
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_533
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_534
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_535
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_536
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_537
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_538
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_539
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	edx,_540
	inc	dword [edx+4]
	mov	dword [eax+56],edx
	mov	edx,_541
	inc	dword [edx+4]
	mov	dword [eax+60],edx
	mov	edx,_542
	inc	dword [edx+4]
	mov	dword [eax+64],edx
	mov	edx,_543
	inc	dword [edx+4]
	mov	dword [eax+68],edx
	mov	edx,_544
	inc	dword [edx+4]
	mov	dword [eax+72],edx
	mov	edx,_545
	inc	dword [edx+4]
	mov	dword [eax+76],edx
	mov	edx,_546
	inc	dword [edx+4]
	mov	dword [eax+80],edx
	mov	edx,_547
	inc	dword [edx+4]
	mov	dword [eax+84],edx
	mov	edx,_548
	inc	dword [edx+4]
	mov	dword [eax+88],edx
	mov	edx,_549
	inc	dword [edx+4]
	mov	dword [eax+92],edx
	mov	edx,_550
	inc	dword [edx+4]
	mov	dword [eax+96],edx
	mov	edx,_551
	inc	dword [edx+4]
	mov	dword [eax+100],edx
	mov	edx,_552
	inc	dword [edx+4]
	mov	dword [eax+104],edx
	mov	edx,_553
	inc	dword [edx+4]
	mov	dword [eax+108],edx
	mov	edx,_554
	inc	dword [edx+4]
	mov	dword [eax+112],edx
	mov	edx,_555
	inc	dword [edx+4]
	mov	dword [eax+116],edx
	mov	edx,_556
	inc	dword [edx+4]
	mov	dword [eax+120],edx
	mov	edx,_557
	inc	dword [edx+4]
	mov	dword [eax+124],edx
	mov	edx,_558
	inc	dword [edx+4]
	mov	dword [eax+128],edx
	mov	edx,_559
	inc	dword [edx+4]
	mov	dword [eax+132],edx
	mov	edx,_560
	inc	dword [edx+4]
	mov	dword [eax+136],edx
	mov	edx,_561
	inc	dword [edx+4]
	mov	dword [eax+140],edx
	mov	edx,_562
	inc	dword [edx+4]
	mov	dword [eax+144],edx
	mov	edx,_563
	inc	dword [edx+4]
	mov	dword [eax+148],edx
	mov	edx,_564
	inc	dword [edx+4]
	mov	dword [eax+152],edx
	mov	edx,_565
	inc	dword [edx+4]
	mov	dword [eax+156],edx
	mov	edx,_566
	inc	dword [edx+4]
	mov	dword [eax+160],edx
	mov	edx,_567
	inc	dword [edx+4]
	mov	dword [eax+164],edx
	mov	edx,_568
	inc	dword [edx+4]
	mov	dword [eax+168],edx
	mov	edx,_569
	inc	dword [edx+4]
	mov	dword [eax+172],edx
	mov	edx,_570
	inc	dword [edx+4]
	mov	dword [eax+176],edx
	mov	edx,_571
	inc	dword [edx+4]
	mov	dword [eax+180],edx
	mov	edx,_572
	inc	dword [edx+4]
	mov	dword [eax+184],edx
	mov	edx,_573
	inc	dword [edx+4]
	mov	dword [eax+188],edx
	mov	edx,_574
	inc	dword [edx+4]
	mov	dword [eax+192],edx
	mov	edx,_575
	inc	dword [edx+4]
	mov	dword [eax+196],edx
	mov	edx,_576
	inc	dword [edx+4]
	mov	dword [eax+200],edx
	mov	edx,_577
	inc	dword [edx+4]
	mov	dword [eax+204],edx
	mov	edx,_578
	inc	dword [edx+4]
	mov	dword [eax+208],edx
	mov	edx,_579
	inc	dword [edx+4]
	mov	dword [eax+212],edx
	mov	edx,_580
	inc	dword [edx+4]
	mov	dword [eax+216],edx
	mov	edx,_581
	inc	dword [edx+4]
	mov	dword [eax+220],edx
	mov	edx,_582
	inc	dword [edx+4]
	mov	dword [eax+224],edx
	mov	edx,_583
	inc	dword [edx+4]
	mov	dword [eax+228],edx
	mov	edx,_584
	inc	dword [edx+4]
	mov	dword [eax+232],edx
	mov	edx,_585
	inc	dword [edx+4]
	mov	dword [eax+236],edx
	mov	edx,_586
	inc	dword [edx+4]
	mov	dword [eax+240],edx
	mov	edx,_587
	inc	dword [edx+4]
	mov	dword [eax+244],edx
	mov	edx,_588
	inc	dword [edx+4]
	mov	dword [eax+248],edx
	mov	edx,_589
	inc	dword [edx+4]
	mov	dword [eax+252],edx
	mov	edx,_590
	inc	dword [edx+4]
	mov	dword [eax+256],edx
	mov	edx,_591
	inc	dword [edx+4]
	mov	dword [eax+260],edx
	mov	edx,_592
	inc	dword [edx+4]
	mov	dword [eax+264],edx
	mov	edx,_593
	inc	dword [edx+4]
	mov	dword [eax+268],edx
	mov	edx,_594
	inc	dword [edx+4]
	mov	dword [eax+272],edx
	mov	edx,_595
	inc	dword [edx+4]
	mov	dword [eax+276],edx
	mov	edx,_596
	inc	dword [edx+4]
	mov	dword [eax+280],edx
	mov	edx,_597
	inc	dword [edx+4]
	mov	dword [eax+284],edx
	mov	edx,_598
	inc	dword [edx+4]
	mov	dword [eax+288],edx
	mov	edx,_599
	inc	dword [edx+4]
	mov	dword [eax+292],edx
	mov	edx,_600
	inc	dword [edx+4]
	mov	dword [eax+296],edx
	mov	edx,_601
	inc	dword [edx+4]
	mov	dword [eax+300],edx
	mov	edx,_602
	inc	dword [edx+4]
	mov	dword [eax+304],edx
	mov	edx,_603
	inc	dword [edx+4]
	mov	dword [eax+308],edx
	mov	edx,_604
	inc	dword [edx+4]
	mov	dword [eax+312],edx
	mov	edx,_605
	inc	dword [edx+4]
	mov	dword [eax+316],edx
	mov	edx,_606
	inc	dword [edx+4]
	mov	dword [eax+320],edx
	mov	edx,_607
	inc	dword [edx+4]
	mov	dword [eax+324],edx
	mov	edx,_608
	inc	dword [edx+4]
	mov	dword [eax+328],edx
	mov	edx,_609
	inc	dword [edx+4]
	mov	dword [eax+332],edx
	mov	edx,_610
	inc	dword [edx+4]
	mov	dword [eax+336],edx
	mov	edx,_611
	inc	dword [edx+4]
	mov	dword [eax+340],edx
	inc	dword [eax+4]
	mov	dword [_bb_keynames],eax
	or	dword [_2397],1073741824
_2610:
	push	60
	call	dword [_bb_fog+84]
	add	esp,4
_614:
	push	_bb_graphq
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_grq]
	dec	dword [eax+4]
	jnz	_2614
	push	eax
	call	_bbGCFree
	add	esp,4
_2614:
	mov	dword [_bb_grq],ebx
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_2618
	push	eax
	call	_bbGCFree
	add	esp,4
_2618:
	mov	dword [_bb_gol],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_bullist]
	dec	dword [eax+4]
	jnz	_2622
	push	eax
	call	_bbGCFree
	add	esp,4
_2622:
	mov	dword [_bb_bullist],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_badlist]
	dec	dword [eax+4]
	jnz	_2626
	push	eax
	call	_bbGCFree
	add	esp,4
_2626:
	mov	dword [_bb_badlist],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_pglist]
	dec	dword [eax+4]
	jnz	_2630
	push	eax
	call	_bbGCFree
	add	esp,4
_2630:
	mov	dword [_bb_pglist],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_elist]
	dec	dword [eax+4]
	jnz	_2634
	push	eax
	call	_bbGCFree
	add	esp,4
_2634:
	mov	dword [_bb_elist],ebx
	mov	dword [_bb_fruitgot],0
	mov	dword [_bb_maxcombo],0
	mov	dword [_bb_bonusmodifier],0
	fld1
	fstp	dword [_bb_slowbaddies]
	push	_bb_avatar
	push	0
	push	0
	push	0
	push	0
	push	_79
	call	dword [_bb_gameobj+84]
	add	esp,20
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2638
	push	eax
	call	_bbGCFree
	add	esp,4
_2638:
	mov	eax,dword [_bb_player]
	mov	dword [eax+24],ebx
	push	_bb_avatar
	push	0
	push	1
	push	0
	push	0
	push	_79
	call	dword [_bb_gameobj+84]
	add	esp,20
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	dec	dword [eax+4]
	jnz	_2642
	push	eax
	call	_bbGCFree
	add	esp,4
_2642:
	mov	eax,dword [_bb_player]
	mov	dword [eax+4+24],ebx
	call	_bb_loadworld
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmulp	st1,st0
	fstp	dword [_bb_halfx]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmulp	st1,st0
	fstp	dword [_bb_halfy]
	push	-1
	push	_615
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+68+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	push	ebx
	call	_brl_max2d_MidHandleImage
	add	esp,4
_618:
	push	1082130432
	push	1082130432
	call	_brl_max2d_SetScale
	add	esp,8
	call	_brl_max2d_Cls
	push	0
	push	0
	push	0
	push	ebx
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1028443341
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	0
	push	0
	push	0
	push	dword [_bb_my_grain]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1
	call	_brl_graphics_Flip
	add	esp,4
_616:
	call	_bb_button
	cmp	eax,0
	je	_618
_617:
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+56+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_621:
	fld	dword [_bb_musicfade]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2647
	fld	dword [_bb_musicfade]
	fsub	dword [_5640]
	fstp	dword [_bb_musicfade]
	push	dword [_bb_musicfade]
	push	dword [_bb_musicchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
_2647:
	mov	esi,0
	call	_brl_max2d_Cls
	fld1
	fstp	dword [_bb_s]
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	69
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_2649
	mov	eax,dword [_bb_debug]
	cmp	eax,10
	sete	al
	movzx	eax,al
_2649:
	cmp	eax,0
	je	_2651
	mov	eax,dword [_bb_gol]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
	mov	dword [_bb_edit],1
	mov	eax,dword [_bb_e]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_2651:
	cmp	dword [_bb_quake],0
	je	_2654
	sub	dword [_bb_quake],1
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	qword [ebp-8]
	fld	qword [_5641]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_5642]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_screenyoffset],eax
_2654:
	push	80
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_2655
_624:
_622:
	push	80
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_624
_623:
_2655:
	mov	eax,dword [_bb_debug]
	cmp	eax,10
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2656
	push	164
	call	_brl_polledinput_KeyDown
	add	esp,4
_2656:
	cmp	eax,0
	je	_2658
	push	88
	call	_brl_polledinput_KeyHit
	add	esp,4
_2658:
	cmp	eax,0
	je	_2660
	mov	ebx,0
_627:
	call	_brl_max2d_Cls
	mov	dword [_bb_screenchange],1
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1065353216
	push	-50
	push	_628
	push	dword [_bb_YELLOW]
	call	_bb_centretext
	add	esp,16
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_62
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_63
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	push	0
	push	0
	push	0
	push	0
	push	eax
	push	ebx
	call	_bb_menu
	add	esp,24
	mov	ebx,eax
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_625:
	call	_bb_button
	cmp	eax,0
	je	_627
_626:
	cmp	ebx,0
	jne	_2666
	call	_bb_nextroom
_2666:
	mov	dword [_bb_screenchange],0
	mov	dword [_bb_jwait],20
_2660:
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	call	_bb_title
	push	1028443341
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	0
	push	0
	push	0
	push	dword [_bb_my_grain]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	5
	call	_brl_max2d_SetBlend
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	call	_bbGCCollect
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	push	27
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_2667
	mov	ebx,0
_631:
	call	_brl_max2d_Cls
	mov	dword [_bb_screenchange],1
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1065353216
	push	-50
	push	_632
	push	dword [_bb_YELLOW]
	call	_bb_centretext
	add	esp,16
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_62
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_63
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	push	0
	push	0
	push	0
	push	0
	push	eax
	push	ebx
	call	_bb_menu
	add	esp,24
	mov	ebx,eax
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_629:
	call	_bb_button
	cmp	eax,0
	je	_631
_630:
	cmp	ebx,0
	jne	_2673
	call	_bbEnd
	mov	esi,1
_2673:
	mov	dword [_bb_screenchange],0
	mov	dword [_bb_jwait],20
_2667:
_619:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+248]
	cmp	eax,0
	setle	al
	movzx	eax,al
	cmp	eax,0
	jne	_2674
	mov	eax,esi
_2674:
	cmp	eax,0
	je	_621
_620:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+248],100
	fldz
	fstp	dword [_bb_redfade]
	call	_bb_redout
	call	_bb_button
	push	0
	push	0
	push	1
	push	200
	push	340
	push	-100
	push	-170
	push	_633
	call	_bb_clickbox
	add	esp,32
	mov	dword [_bb_stage],1
_612:
	xor	eax,eax
	cmp	eax,0
	je	_614
_613:
	call	_bbEnd
	mov	eax,0
_1149:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graphq_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_graphq
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	dword [ebx+28],0
	mov	dword [ebx+32],0
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	eax,0
_1152:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graphq_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1155:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2681
	push	eax
	call	_bbGCFree
	add	esp,4
_2681:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2679:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graphq_render:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	cmp	dword [eax+8],_bbNullObject
	je	_2682
	mov	eax,dword [ebp+8]
	cmp	dword [eax+40],0
	jne	_2683
	mov	ecx,360
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	add	eax,5
	cdq
	idiv	ecx
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+28],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+28],90
	jne	_2684
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],1
_2684:
_2683:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+40],1
	jne	_2685
	mov	ecx,360
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	add	eax,5
	cdq
	idiv	ecx
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+32],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+32],90
	jne	_2686
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],2
_2686:
_2685:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+40],2
	jne	_2687
	mov	ecx,360
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	add	eax,5
	cdq
	idiv	ecx
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+36],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2688
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	cmp	eax,2
	sete	al
	movzx	eax,al
_2688:
	cmp	eax,0
	je	_2690
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],0
_2690:
_2687:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	_brl_linkedlist_CompareObjects
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	dword [ebp-16],_bbNullObject
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+8]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_19
_21:
	mov	eax,edi
	push	_bb_graph
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_19
	cmp	esi,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_2699
	mov	eax,dword [esi+92]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2699:
	cmp	eax,0
	je	_2701
	fld	dword [esi+40]
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2703
	fstp	st0
	fld	dword [ebp+16]
	fdiv	dword [_5761]
	fstp	dword [esi+40]
	cmp	dword [_bb_screenchange],2
	jne	_2704
	fld	dword [ebp+16]
	fdiv	dword [_5762]
	fmul	dword [_5763]
	fstp	dword [esi+80]
	fld	dword [ebp+16]
	fdiv	dword [_5764]
	fstp	dword [esi+36]
	fld	dword [_5765]
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2705
	fldz
	fstp	dword [esi+80]
_2705:
_2704:
	jmp	_2706
_2703:
	fstp	dword [esi+40]
_2706:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_2701:
	cmp	dword [esi+92],0
	je	_2708
	mov	eax,dword [_bb_gol]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	cmp	eax,0
	je	_2710
	push	esi
	push	dword [_bb_gol]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	_bb_gameobj
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	push	dword [eax+116]
	push	_22
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2710:
	cmp	dword [_bb_debug],7
	jne	_2712
	push	dword [esi+52]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_23
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2712:
	mov	dword [ebp-16],esi
_2708:
_19:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_21
_20:
	cmp	dword [ebp-16],_bbNullObject
	je	_2713
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+8]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_24
_26:
	mov	eax,ebx
	push	_bb_graph
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_24
	cmp	dword [eax+92],0
	jne	_2722
	push	eax
	push	edi
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_2722:
_24:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_26
_25:
	mov	esi,dword [_bb_gol]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_27
_29:
	mov	eax,ebx
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_27
	cmp	dword [eax+92],0
	jne	_2729
	push	eax
	push	dword [ebp-12]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_2729:
_27:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_29
_28:
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	add	eax,1
	mov	dword [_bb_nextgobj],eax
	mov	ebx,edi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_2734
	push	eax
	call	_bbGCFree
	add	esp,4
_2734:
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],ebx
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_2738
	push	eax
	call	_bbGCFree
	add	esp,4
_2738:
	mov	dword [_bb_gol],ebx
	cmp	dword [_bb_debug],7
	jne	_2739
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+8]
	mov	eax,dword [_bb_gol]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_31
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_30
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2739:
_2713:
	cmp	dword [_bb_edit],0
	jne	_2742
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2743
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2743:
	cmp	eax,0
	je	_2745
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+148]
	fmul	dword [_5766]
	fdiv	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+16],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+12],edx
	jle	_2746
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	sub	eax,3
	mov	dword [edx+12],eax
_2746:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+12],edx
	jg	_2747
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	add	eax,3
	mov	dword [edx+12],eax
_2747:
	jmp	_2748
_2745:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	dword [_bb_screenoffset],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	dword [_bb_screenyoffset],eax
	fld	dword [_5767]
	fstp	dword [ebp-8]
	fld	dword [_5768]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [_5769]
	fstp	dword [ebp-4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	fdiv	dword [_5770]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fmul	dword [_5771]
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [_bb_ns]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_5772]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_2749
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_5773]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_2749:
	cmp	eax,0
	je	_2751
	fld	dword [_bb_ns]
	fld	dword [_5774]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_2751:
	cmp	eax,0
	je	_2753
	mov	eax,dword [ebp+8]
	mov	dword [eax+20],0
	mov	eax,dword [ebp+8]
	mov	dword [eax+24],0
_2753:
_2748:
_2742:
_2682:
	mov	eax,0
_1160:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graphq_atnum:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,_bbNullObject
	mov	esi,dword [eax+8]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_32
_34:
	mov	eax,ebx
	push	_bb_graph
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_32
	mov	edx,dword [ebp+12]
	cmp	dword [eax+52],edx
	jne	_2761
	mov	edi,eax
_2761:
_32:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_34
_33:
	mov	eax,edi
_1164:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graphq_add:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	cmp	dword [esi+8],_bbNullObject
	jne	_2762
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2766
	push	eax
	call	_bbGCFree
	add	esp,4
_2766:
	mov	dword [esi+8],ebx
_2762:
	fld1
	fstp	dword [edi+40]
	push	edi
	push	dword [esi+8]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_bb_gameobj
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_2767
	mov	ebx,dword [_bb_gol]
	push	_bb_gameobj
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+156]
	add	esp,8
_2767:
	mov	eax,0
_1168:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_graph
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	mov	dword [ebx+44],0
	mov	dword [ebx+48],0
	mov	dword [ebx+52],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	mov	dword [ebx+60],0
	mov	dword [ebx+64],0
	mov	dword [ebx+68],0
	mov	dword [ebx+72],0
	mov	dword [ebx+76],0
	fldz
	fstp	dword [ebx+80]
	fldz
	fstp	dword [ebx+84]
	fldz
	fstp	dword [ebx+88]
	mov	dword [ebx+92],0
	mov	dword [ebx+96],0
	mov	dword [ebx+100],0
	mov	eax,0
_1171:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1174:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2774
	push	eax
	call	_bbGCFree
	add	esp,4
_2774:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2776
	push	eax
	call	_bbGCFree
	add	esp,4
_2776:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2778
	push	eax
	call	_bbGCFree
	add	esp,4
_2778:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2772:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+20]
	mov	edi,dword [ebp+36]
	push	_bb_graph
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	cmp	dword [ebp+32],0
	jne	_2780
	push	-1
	push	esi
	push	_35
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2784
	push	eax
	call	_bbGCFree
	add	esp,4
_2784:
	mov	dword [ebx+24],esi
	jmp	_2785
_2780:
	push	-1
	mov	eax,dword [ebp+32]
	add	eax,1
	push	eax
	push	0
	push	dword [ebp+40]
	push	edi
	push	esi
	push	_35
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2789
	push	eax
	call	_bbGCFree
	add	esp,4
_2789:
	mov	dword [ebx+24],esi
	mov	eax,dword [ebp+32]
	mov	dword [ebx+64],eax
_2785:
	mov	eax,dword [ebp+8]
	mov	dword [ebx+52],eax
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2793
	push	eax
	call	_bbGCFree
	add	esp,4
_2793:
	mov	dword [ebx+56],esi
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+8]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+12]
	fld	dword [ebp+44]
	fstp	dword [ebx+32]
	fld	dword [ebp+48]
	fstp	dword [ebx+36]
	mov	eax,dword [ebp+24]
	mov	dword [ebx+16],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebx+20],eax
	cmp	dword [ebx+24],_bbNullObject
	je	_2794
	cmp	dword [ebp+24],-1
	jne	_2795
	push	dword [ebx+24]
	call	_brl_max2d_ImageWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebx+16],eax
_2795:
	cmp	dword [ebp+28],-1
	jne	_2796
	push	dword [ebx+24]
	call	_brl_max2d_ImageHeight
	add	esp,4
	mov	dword [ebx+20],eax
_2796:
	mov	eax,dword [ebx+20]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+24]
	call	_brl_max2d_SetImageHandle
	add	esp,12
_2794:
	mov	eax,dword [_bb_grq]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,ebx
_1187:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	mov	eax,0
_1190:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_animate:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	cmp	dword [esi+56],_bbNullObject
	je	_2802
	mov	eax,dword [esi+56]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	jmp	_2804
_2802:
	mov	ebx,dword [esi+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_2808
	push	eax
	call	_bbGCFree
	add	esp,4
_2808:
	mov	dword [esi+28],ebx
	mov	eax,dword [esi+64]
	mov	dword [esi+60],eax
_2804:
	mov	eax,0
_1193:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_draw:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	cmp	dword [_bb_night],0
	je	_2809
	mov	eax,dword [_bb_NIGHTMIDSHADE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_2811
_2809:
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_2811:
	cmp	dword [edi+44],0
	jne	_2813
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	jmp	_2814
_2813:
	push	dword [edi+44]
	call	_brl_max2d_SetBlend
	add	esp,4
_2814:
	fld	dword [edi+36]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edi+32]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	push	dword [edi+40]
	call	_brl_max2d_SetAlpha
	add	esp,4
	cmp	dword [_bb_debug],2
	jne	_2815
	push	dword [edi+60]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_36
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2815:
	fld	dword [_5833]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [edi+80]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	fstp	dword [edi+80]
	fld	dword [edi+80]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_2816
	push	dword [edi+80]
	call	_brl_max2d_SetRotation
	add	esp,4
_2816:
	fld	dword [edi+88]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_2817
	push	_bb_polar
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	fld	dword [edi+80]
	fstp	dword [esi+8]
	fld	dword [edi+88]
	fstp	dword [esi+12]
	push	_bb_vector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld	dword [edi+8]
	fsub	dword [ebx+8]
	fstp	dword [edi+8]
	fld	dword [edi+12]
	fsub	dword [ebx+12]
	fstp	dword [edi+12]
_2817:
	fld	dword [edi+80]
	fadd	dword [edi+84]
	fstp	dword [edi+80]
	cmp	dword [edi+100],0
	je	_2821
	push	dword [edi+60]
	push	dword [edi+12]
	push	dword [edi+8]
	push	dword [edi+28]
	call	_brl_max2d_DrawImage
	add	esp,16
	jmp	_2822
_2821:
	push	dword [edi+60]
	fld	dword [edi+12]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edi+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+28]
	call	_brl_max2d_DrawImage
	add	esp,16
_2822:
	push	0
	call	_brl_max2d_SetRotation
	add	esp,4
	mov	eax,0
_1196:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_oncollide:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1199:
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_setchoose:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1202:
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_play:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+56]
	cmp	eax,edi
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_2823
	mov	eax,dword [esi+56]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_2823:
	cmp	eax,0
	je	_2825
	cmp	edi,_bbNullObject
	setne	al
	movzx	eax,al
_2825:
	cmp	eax,0
	je	_2827
	mov	eax,edi
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_2831
	push	eax
	call	_bbGCFree
	add	esp,4
_2831:
	mov	dword [esi+56],ebx
	mov	dword [esi+72],0
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+24]
	push	_bb_frame
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,dword [eax+12]
	mov	dword [esi+68],edx
	mov	edx,dword [eax+8]
	mov	dword [esi+60],edx
	mov	eax,dword [eax+16]
	mov	dword [esi+76],eax
	mov	eax,dword [esi+56]
	mov	ebx,dword [eax+16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_2837
	push	eax
	call	_bbGCFree
	add	esp,4
_2837:
	mov	dword [esi+28],ebx
_2827:
	mov	eax,0
_1206:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_collideplayer:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,0
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+36]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+32]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+80]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+60]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	fld	dword [eax+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	fld	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+28]
	push	dword [esi+36]
	push	dword [esi+32]
	push	dword [esi+80]
	push	dword [esi+60]
	fld	dword [esi+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [esi+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [esi+28]
	call	_brl_max2d_ImagesCollide2
	add	esp,56
	cmp	eax,0
	je	_2839
	mov	eax,ebx
	add	eax,1
	mov	edi,eax
_2839:
	mov	eax,edi
_1210:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_collide:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	dword [esi+36]
	push	dword [esi+32]
	push	dword [esi+80]
	push	dword [esi+60]
	fld	dword [esi+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [esi+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [esi+28]
	push	dword [ebx+36]
	push	dword [ebx+32]
	push	dword [ebx+80]
	push	dword [ebx+60]
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebx+28]
	call	_brl_max2d_ImagesCollide2
	add	esp,56
_1214:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_graph_Compare:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_bb_graph
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	fld	dword [eax+12]
	fstp	dword [ebp-4]
	push	_bb_graph
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+48]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebx+12]
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	faddp	st1,st0
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2841
	mov	eax,1
	jmp	_1218
_2841:
	mov	eax,-1
_1218:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_vector_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_vector
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
_1221:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_vector_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1224:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2843:
	mov	esp,ebp
	pop	ebp
	ret
__bb_vector_create:
	push	ebp
	mov	ebp,esp
	push	_bb_vector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
_1228:
	mov	esp,ebp
	pop	ebp
	ret
__bb_vector_normalise:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	dword [_bb_polar+48]
	add	esp,4
	fld1
	fstp	dword [eax+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
_1231:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_vector_frompolar:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	dword [ebx+12]
	fmulp	st1,st0
	fstp	dword [esi+8]
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fchs
	fld	dword [ebx+12]
	fmulp	st1,st0
	fstp	dword [esi+12]
	mov	eax,0
_1235:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_polar_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_polar
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
_1238:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_polar_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1241:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2847:
	mov	esp,ebp
	pop	ebp
	ret
__bb_polar_createfromvector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_bb_polar
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fstp	dword [esi+8]
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [esi+12]
	mov	eax,esi
_1244:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_colour_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_colour
	fldz
	fstp	qword [ebx+8]
	fldz
	fstp	qword [ebx+16]
	fldz
	fstp	qword [ebx+24]
	mov	eax,0
_1247:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_colour_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1250:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2849:
	mov	esp,ebp
	pop	ebp
	ret
__bb_colour_def:
	push	ebp
	mov	ebp,esp
	push	_bb_colour
	call	_bbObjectNew
	add	esp,4
	fld	qword [ebp+8]
	fstp	qword [eax+8]
	fld	qword [ebp+16]
	fstp	qword [eax+16]
	fld	qword [ebp+24]
	fstp	qword [eax+24]
_1255:
	mov	esp,ebp
	pop	ebp
	ret
__bb_colour_setcls:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	qword [ebx+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	qword [ebx+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	qword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_brl_max2d_SetClsColor
	add	esp,12
	mov	eax,0
_1258:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_colour_set:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	qword [ebx+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	qword [ebx+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	qword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,0
_1261:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_position_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_position
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	eax,0
_1264:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_position_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1267:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2851:
	mov	esp,ebp
	pop	ebp
	ret
__bb_position_create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],esi
	mov	dword [eax+12],ebx
_1271:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_frame_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_frame
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	eax,0
_1274:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_frame_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1277:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2853:
	mov	esp,ebp
	pop	ebp
	ret
__bb_frame_create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_bb_frame
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],esi
	mov	dword [eax+12],ebx
	mov	dword [eax+16],edi
_1282:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_anim
	mov	dword [ebx+8],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	dword [ebx+20],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,0
_1285:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1288:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2860
	push	eax
	call	_bbGCFree
	add	esp,4
_2860:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2862
	push	eax
	call	_bbGCFree
	add	esp,4
_2862:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2864
	push	eax
	call	_bbGCFree
	add	esp,4
_2864:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2858:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	push	_bb_anim
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	push	-1
	push	dword [ebp+20]
	push	0
	push	dword [ebp+16]
	push	edi
	push	dword [ebp+8]
	push	_35
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_2869
	push	eax
	call	_bbGCFree
	add	esp,4
_2869:
	mov	dword [esi+16],ebx
	cmp	dword [esi+16],_bbNullObject
	je	_2870
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+16]
	call	_brl_max2d_SetImageHandle
	add	esp,12
_2870:
	mov	eax,dword [esi+16]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_2871
	push	dword [ebp+8]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2871:
	push	dword [ebp+20]
	push	dword [esi+16]
	call	_bb_autodraw
	add	esp,8
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2875
	push	eax
	call	_bbGCFree
	add	esp,4
_2875:
	mov	dword [esi+12],ebx
	mov	eax,dword [ebp+24]
	mov	dword [esi+8],eax
	mov	dword [esi+20],0
	mov	eax,esi
_1295:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_sharefile:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [ebx+16]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_2879
	push	eax
	call	_bbGCFree
	add	esp,4
_2879:
	mov	dword [esi+16],edi
	mov	eax,dword [ebx+8]
	mov	dword [esi+8],eax
	mov	eax,0
_1299:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_toarray:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2884
	push	eax
	call	_bbGCFree
	add	esp,4
_2884:
	mov	dword [ebx+24],esi
	mov	eax,0
_1302:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	sub	dword [edi+68],1
	cmp	dword [edi+68],1
	jge	_2885
	add	dword [edi+72],1
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	dword [edi+72],eax
	jle	_2886
	mov	eax,dword [esi+8]
	cmp	dword [esi+8],eax
	jne	_2887
	mov	dword [edi+72],0
	jmp	_2888
_2887:
	cmp	dword [esi+8],2
	jne	_2889
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	dword [edi+72]
	call	_bbIntMin
	add	esp,8
	mov	dword [edi+72],eax
	jmp	_2890
_2889:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+56]
	dec	dword [eax+4]
	jnz	_2894
	push	eax
	call	_bbGCFree
	add	esp,4
_2894:
	mov	dword [edi+56],ebx
_2890:
_2888:
_2886:
	cmp	dword [_bb_debug],2
	jne	_2895
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_2895:
	mov	edx,dword [esi+24]
	mov	eax,dword [edi+72]
	mov	eax,dword [edx+eax*4+24]
	push	_bb_frame
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	mov	dword [edi+68],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [edi+60],eax
	mov	ebx,dword [esi+16]
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_2901
	push	eax
	call	_bbGCFree
	add	esp,4
_2901:
	mov	dword [edi+28],ebx
	mov	eax,dword [_bb_player]
	cmp	edi,dword [eax+24]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2920
	mov	eax,dword [edi+60]
	cmp	eax,25
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_2902
	mov	eax,dword [edi+60]
	cmp	eax,29
	sete	al
	movzx	eax,al
_2902:
	cmp	eax,0
	jne	_2904
	mov	eax,dword [edi+60]
	cmp	eax,17
	sete	al
	movzx	eax,al
_2904:
	cmp	eax,0
	jne	_2906
	mov	eax,dword [edi+60]
	cmp	eax,21
	sete	al
	movzx	eax,al
_2906:
	cmp	eax,0
	jne	_2908
	mov	eax,dword [edi+60]
	cmp	eax,9
	sete	al
	movzx	eax,al
_2908:
	cmp	eax,0
	jne	_2910
	mov	eax,dword [edi+60]
	cmp	eax,13
	sete	al
	movzx	eax,al
_2910:
	cmp	eax,0
	jne	_2912
	mov	eax,dword [edi+60]
	cmp	eax,2
	sete	al
	movzx	eax,al
_2912:
	cmp	eax,0
	jne	_2914
	mov	eax,dword [edi+60]
	cmp	eax,3
	sete	al
	movzx	eax,al
_2914:
	cmp	eax,0
	jne	_2916
	mov	eax,dword [edi+60]
	cmp	eax,5
	sete	al
	movzx	eax,al
_2916:
	cmp	eax,0
	jne	_2918
	mov	eax,dword [edi+60]
	cmp	eax,6
	sete	al
	movzx	eax,al
_2918:
_2920:
	cmp	eax,0
	je	_2922
	cmp	dword [_bb_stage],3
	jge	_2923
	mov	ebx,dword [_bb_fx]
	push	11
	push	7
	call	_brl_random_Rand
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_2923:
	cmp	dword [_bb_stage],2
	jle	_2925
	mov	ebx,dword [_bb_fx]
	push	6
	push	2
	call	_brl_random_Rand
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_2925:
_2922:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	mov	dword [edi+76],eax
_2885:
	mov	eax,0
_1306:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_add:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	push	eax
	push	edx
	push	ecx
	call	dword [_bb_frame+48]
	add	esp,12
	push	eax
	push	dword [ebx+12]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1312:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_m_add:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	esi,dword [ebp+24]
	mov	ebx,eax
	mov	dword [ebp-4],edx
	jmp	_2930
_40:
	push	esi
	push	dword [ebp+20]
	push	ebx
	call	dword [_bb_frame+48]
	add	esp,12
	cmp	esi,0
	je	_2933
	mov	esi,0
_2933:
	push	eax
	push	dword [edi+12]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_38:
	add	ebx,1
_2930:
	cmp	ebx,dword [ebp-4]
	jle	_40
_39:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1319:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_anim_r_add:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	esi,dword [ebp+24]
	mov	ebx,eax
	mov	dword [ebp-4],edx
	jmp	_2936
_43:
	push	esi
	push	dword [ebp+20]
	push	ebx
	call	dword [_bb_frame+48]
	add	esp,12
	cmp	esi,0
	je	_2939
	mov	esi,0
_2939:
	push	eax
	push	dword [edi+12]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_41:
	add	ebx,-1
_2936:
	cmp	ebx,dword [ebp-4]
	jge	_43
_42:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1326:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_editor
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	dword [ebx+44],0
	mov	dword [ebx+48],1
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	mov	dword [ebx+64],0
	mov	dword [ebx+68],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+72],eax
	mov	dword [ebx+76],0
	mov	dword [ebx+80],0
	mov	dword [ebx+84],0
	mov	dword [ebx+88],0
	mov	dword [ebx+92],0
	mov	dword [ebx+96],0
	mov	dword [ebx+100],0
	mov	dword [ebx+104],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+108],eax
	mov	dword [ebx+112],0
	mov	dword [ebx+116],0
	mov	eax,0
_1329:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1332:
	mov	eax,dword [ebx+108]
	dec	dword [eax+4]
	jnz	_2955
	push	eax
	call	_bbGCFree
	add	esp,4
_2955:
	mov	eax,dword [ebx+72]
	dec	dword [eax+4]
	jnz	_2957
	push	eax
	call	_bbGCFree
	add	esp,4
_2957:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_2959
	push	eax
	call	_bbGCFree
	add	esp,4
_2959:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2961
	push	eax
	call	_bbGCFree
	add	esp,4
_2961:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_2963
	push	eax
	call	_bbGCFree
	add	esp,4
_2963:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_2965
	push	eax
	call	_bbGCFree
	add	esp,4
_2965:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2967
	push	eax
	call	_bbGCFree
	add	esp,4
_2967:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2969
	push	eax
	call	_bbGCFree
	add	esp,4
_2969:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2971
	push	eax
	call	_bbGCFree
	add	esp,4
_2971:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2973
	push	eax
	call	_bbGCFree
	add	esp,4
_2973:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2975
	push	eax
	call	_bbGCFree
	add	esp,4
_2975:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2977
	push	eax
	call	_bbGCFree
	add	esp,4
_2977:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_2953:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	_bb_editor
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	push	5
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,_44
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_45
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_46
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_47
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_48
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2988
	push	eax
	call	_bbGCFree
	add	esp,4
_2988:
	mov	dword [esi+8],ebx
	push	5
	push	_845
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	push	10
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_49
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_50
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_51
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_52
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_53
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_54
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_55
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_56
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	edx,_57
	inc	dword [edx+4]
	mov	dword [eax+56],edx
	mov	edx,_58
	inc	dword [edx+4]
	mov	dword [eax+60],edx
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	3
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_59
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_60
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_61
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_62
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_63
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	push	10
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_64
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_65
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_66
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_67
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_68
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_69
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_70
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_71
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	edx,_72
	inc	dword [edx+4]
	mov	dword [eax+56],edx
	mov	edx,_73
	inc	dword [edx+4]
	mov	dword [eax+60],edx
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	5
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_74
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_75
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_76
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_77
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_78
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_3033
	push	eax
	call	_bbGCFree
	add	esp,4
_3033:
	mov	dword [esi+12],ebx
	push	12
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,_79
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_80
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_81
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_82
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_83
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	eax,_84
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	mov	eax,_85
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	mov	eax,_86
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	mov	eax,_87
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	mov	eax,_88
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	mov	eax,_89
	inc	dword [eax+4]
	mov	dword [ebx+64],eax
	mov	eax,_90
	inc	dword [eax+4]
	mov	dword [ebx+68],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_3050
	push	eax
	call	_bbGCFree
	add	esp,4
_3050:
	mov	dword [esi+16],ebx
	push	12
	push	_845
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_91
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_92
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_93
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_94
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	push	4
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_95
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_96
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_97
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_98
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	3
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_99
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_100
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_101
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_102
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_103
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_104
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_105
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	push	3
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_106
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_107
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_108
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	push	4
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_109
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_110
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_111
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_112
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	inc	dword [eax+4]
	mov	dword [ebx+64],eax
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_113
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	inc	dword [eax+4]
	mov	dword [ebx+68],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3102
	push	eax
	call	_bbGCFree
	add	esp,4
_3102:
	mov	dword [esi+20],ebx
	push	4
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,_114
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_115
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_116
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_117
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3111
	push	eax
	call	_bbGCFree
	add	esp,4
_3111:
	mov	dword [esi+24],ebx
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,_118
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_119
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_3118
	push	eax
	call	_bbGCFree
	add	esp,4
_3118:
	mov	dword [esi+28],ebx
	push	4
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,_64
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_120
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_121
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_122
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_3127
	push	eax
	call	_bbGCFree
	add	esp,4
_3127:
	mov	dword [esi+32],ebx
	mov	dword [esi+36],0
	mov	dword [esi+40],0
	mov	dword [_bb_splane],1
	mov	dword [esi+48],1
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+52]
	dec	dword [eax+4]
	jnz	_3131
	push	eax
	call	_bbGCFree
	add	esp,4
_3131:
	mov	dword [esi+52],ebx
	mov	eax,dword [esi+52]
	mov	dword [eax+8],0
	mov	eax,dword [esi+52]
	mov	dword [eax+12],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_3135
	push	eax
	call	_bbGCFree
	add	esp,4
_3135:
	mov	dword [esi+56],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+60]
	dec	dword [eax+4]
	jnz	_3139
	push	eax
	call	_bbGCFree
	add	esp,4
_3139:
	mov	dword [esi+60],ebx
	mov	dword [esi+64],0
	mov	dword [esi+68],0
	mov	dword [esi+76],0
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+72]
	dec	dword [eax+4]
	jnz	_3143
	push	eax
	call	_bbGCFree
	add	esp,4
_3143:
	mov	dword [esi+72],ebx
	mov	dword [_bb_edit],0
	mov	eax,esi
_1334:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_mainloop:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	2896
	call	_glDisable@4
	call	_brl_system_ShowMouse
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	cmp	dword [_bb_gol],_bbNullObject
	je	_3145
	mov	eax,dword [_bb_gol]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,4
_3145:
_125:
	call	_brl_max2d_Cls
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	cmp	dword [_bb_edit],0
	je	_3148
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	jmp	_3152
_3148:
_3152:
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
_123:
	push	69
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_125
_124:
	mov	dword [_bb_edit],0
	mov	eax,dword [_bb_gameplane]
	mov	dword [_bb_splane],eax
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	cmp	dword [_bb_debug],1
	jne	_3154
	push	_126
	call	_brl_standardio_Print
	add	esp,4
_3154:
	call	_brl_system_HideMouse
	mov	eax,0
_1337:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_edinput:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	push	82
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3155
	mov	dword [_bb_screenoffset],0
	mov	dword [_bb_screenyoffset],0
_3155:
	push	48
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3156
	push	160
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3157
	call	dword [_bb_tileset+60]
	jmp	_3158
_3157:
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
_3158:
_3156:
	push	49
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3160
	mov	ebx,0
_129:
	call	_brl_max2d_Cls
	mov	dword [_bb_screenchange],1
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1065353216
	push	-50
	push	_130
	push	dword [_bb_YELLOW]
	call	_bb_centretext
	add	esp,16
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_62
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_63
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	push	0
	push	0
	push	0
	push	0
	push	eax
	push	ebx
	call	_bb_menu
	add	esp,24
	mov	ebx,eax
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_127:
	call	_bb_button
	cmp	eax,0
	je	_129
_128:
	mov	dword [_bb_screenchange],0
	mov	dword [_bb_jwait],20
	cmp	ebx,0
	jne	_3166
	push	160
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3167
	call	dword [_bb_tileset+64]
	jmp	_3168
_3167:
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
_3168:
_3166:
_3160:
	push	56
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3170
	push	_bb_graphq
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_grq]
	dec	dword [eax+4]
	jnz	_3174
	push	eax
	call	_bbGCFree
	add	esp,4
_3174:
	mov	dword [_bb_grq],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_grq]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3178
	push	eax
	call	_bbGCFree
	add	esp,4
_3178:
	mov	eax,dword [_bb_grq]
	mov	dword [eax+8],ebx
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_3182
	push	eax
	call	_bbGCFree
	add	esp,4
_3182:
	mov	dword [_bb_gol],ebx
	push	_131
	call	_bb_sInput
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	push	_134
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_133
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_132
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_bank_LoadBank
	add	esp,4
	cmp	eax,_bbNullObject
	je	_3185
	call	_brl_max2d_Cls
	push	1120403456
	push	1120403456
	push	_135
	call	_brl_max2d_DrawText
	add	esp,12
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	push	1000
	call	_bbDelay
	add	esp,4
	jmp	_3186
_3185:
	mov	dword [_bb_stage],ebx
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
_3186:
_3170:
	push	51
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3188
	push	_136
	call	_bb_sInput
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	push	_134
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_133
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_132
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_bank_LoadBank
	add	esp,4
	cmp	eax,_bbNullObject
	je	_3191
	push	_bb_graphq
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_grq]
	dec	dword [eax+4]
	jnz	_3195
	push	eax
	call	_bbGCFree
	add	esp,4
_3195:
	mov	dword [_bb_grq],esi
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_grq]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3199
	push	eax
	call	_bbGCFree
	add	esp,4
_3199:
	mov	eax,dword [_bb_grq]
	mov	dword [eax+8],esi
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_3203
	push	eax
	call	_bbGCFree
	add	esp,4
_3203:
	mov	dword [_bb_gol],esi
	mov	dword [_bb_stage],ebx
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
_3191:
_3188:
	push	37
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3205
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [_5958]
	fdiv	dword [_bb_s]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_screenoffset],eax
_3205:
	push	39
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3206
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [_5959]
	fdiv	dword [_bb_s]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_screenoffset],eax
_3206:
	push	38
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3207
	sub	dword [_bb_screenyoffset],10
_3207:
	push	40
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3208
	add	dword [_bb_screenyoffset],10
_3208:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	ebx,dword [edx+eax*4+24]
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_myr]
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	fdiv	dword [_bb_s]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_mxr]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	fdiv	dword [_bb_s]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_3213
	push	eax
	call	_bbGCFree
	add	esp,4
_3213:
	mov	eax,dword [ebp+8]
	mov	dword [eax+52],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	edi,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+12]
	mov	dword [ebp-16],eax
	push	84
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3216
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	2896
	call	_glDisable@4
_3216:
	push	dword [_bb_MED]
	call	_brl_max2d_SetImageFont
	add	esp,4
	mov	eax,dword [_bb_edit]
	cmp	eax,1
	je	_3220
	cmp	eax,2
	je	_3221
	cmp	eax,3
	je	_3222
	cmp	eax,4
	je	_3223
	jmp	_3219
_3220:
	push	0
	push	100
	push	-300
	push	_137
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	0
	push	100
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_138
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	push	dword [eax+8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	30
	push	100
	push	_140
	mov	eax,dword [ebp+8]
	push	dword [eax+76]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_139
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	130
	push	-300
	push	_141
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	160
	push	-300
	push	_142
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	180
	push	-300
	push	_143
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	200
	push	-300
	push	_144
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	220
	push	-300
	mov	eax,dword [_bb_here]
	push	dword [eax+28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_146
	mov	eax,dword [_bb_here]
	push	dword [eax+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_145
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	81
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3224
	mov	edx,dword [_bb_here]
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+24]
	sub	eax,1
	mov	dword [edx+24],eax
_3224:
	push	87
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3225
	mov	edx,dword [_bb_here]
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	dword [edx+24],eax
_3225:
	push	67
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3226
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
_3226:
	push	68
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3228
	mov	eax,dword [_bb_gameplane]
	cmp	eax,0
	setg	al
	movzx	eax,al
_3228:
	cmp	eax,0
	je	_3230
	sub	dword [_bb_gameplane],1
_3230:
	push	70
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3231
	mov	edx,dword [_bb_gameplane]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	cmp	edx,eax
	setl	al
	movzx	eax,al
_3231:
	cmp	eax,0
	je	_3233
	add	dword [_bb_gameplane],1
_3233:
	push	1
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_3234
	push	162
	call	_brl_polledinput_KeyDown
	add	esp,4
_3234:
	cmp	eax,0
	je	_3236
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_3236:
	cmp	eax,0
	je	_3238
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_3238:
	cmp	eax,0
	je	_3240
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+52]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_3244
	push	eax
	call	_bbGCFree
	add	esp,4
_3244:
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+80]
	add	eax,1
	mov	dword [edx+80],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+80]
	mov	eax,dword [ebp+8]
	mov	dword [eax+76],edx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	push	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	push	dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	push	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	push	dword [eax+8]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	push	dword [edx+eax*4+24]
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+80]
	call	dword [_bb_macro+48]
	add	esp,28
	mov	ebx,eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_3249
	push	eax
	call	_bbGCFree
	add	esp,4
_3249:
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],esi
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_3253
	push	eax
	call	_bbGCFree
	add	esp,4
_3253:
	mov	eax,dword [ebp+8]
	mov	dword [eax+56],esi
	push	ebx
	mov	eax,dword [ebp+8]
	push	dword [eax+72]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_149:
_147:
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	jne	_149
_148:
_3240:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	ebx,dword [edx+eax*4+28]
	push	_bb_signloc
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_3255
	push	0
	push	-190
	push	-200
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	push	_150
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	-160
	push	-200
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	push	_151
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	-130
	push	-200
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	push	_152
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	89
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3259
	push	0
	push	_153
	call	_bb_sInput
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
_3259:
	push	85
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3261
	push	1
	push	_154
	call	_bb_sInput
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
_3261:
	push	73
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3263
	push	2
	push	_155
	call	_bb_sInput
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
_3263:
_3255:
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_3265
	push	160
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3266
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+52]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_3270
	push	eax
	call	_bbGCFree
	add	esp,4
_3270:
	mov	eax,dword [ebp+8]
	mov	dword [eax+56],ebx
	jmp	_3271
_3266:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+76],0
	jne	_3272
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebx+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,dword [ebx+8]
	cmp	dword [edx+eax*4+28],3
	jne	_3273
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	ecx,dword [ebp+8]
	add	eax,dword [ecx+36]
	cmp	dword [edx+eax*4+28],3
	je	_3274
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	eax,dword [esi+eax*4+28]
	dec	dword [eax+4]
	jnz	_3279
	push	eax
	call	_bbGCFree
	add	esp,4
_3279:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	dword [esi+eax*4+28],ebx
_3274:
_3273:
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	ecx,dword [ebp+8]
	add	eax,dword [ecx+36]
	cmp	dword [edx+eax*4+28],3
	jne	_3280
	push	_bb_signloc
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	eax,dword [esi+eax*4+28]
	dec	dword [eax+4]
	jnz	_3285
	push	eax
	call	_bbGCFree
	add	esp,4
_3285:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	dword [esi+eax*4+28],ebx
_3280:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	mov	dword [edx+8],eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [edx+12],eax
	jmp	_3286
_3272:
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+72]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_156
_158:
	mov	eax,ebx
	push	_bb_macro
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_156
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+76]
	cmp	dword [eax+20],edx
	jne	_3293
	mov	ecx,eax
	mov	eax,dword [ebp+8]
	push	dword [eax+52]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+56]
	add	esp,12
_3293:
_156:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_158
_157:
_3286:
_3271:
_3265:
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_3295
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+28]
	mov	dword [eax+8],0
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+28]
	mov	dword [eax+12],0
_3295:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+80],0
	jle	_3296
	push	74
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3297
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+76]
	sub	eax,1
	mov	dword [edx+76],eax
	mov	eax,dword [ebp+8]
	push	dword [eax+76]
	push	0
	call	_bbIntMax
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+76],eax
_3297:
	push	75
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3298
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+76]
	add	eax,1
	mov	dword [edx+76],eax
	mov	eax,dword [ebp+8]
	push	dword [eax+76]
	mov	eax,dword [ebp+8]
	push	dword [eax+80]
	call	_bbIntMin
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+76],eax
_3298:
_3296:
	call	_brl_polledinput_MouseZ
	mov	edx,dword [ebp+8]
	mov	dword [edx+64],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+68]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+64],edx
	jge	_3299
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	sub	eax,1
	mov	dword [edx+36],eax
_3299:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+68]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+64],edx
	jle	_3300
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	add	eax,1
	mov	dword [edx+36],eax
_3300:
	mov	ecx,255
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+36],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+64]
	mov	eax,dword [ebp+8]
	mov	dword [eax+68],edx
	jmp	_3219
_3221:
	push	0
	push	0
	push	-300
	push	_159
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	30
	push	-300
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	push	dword [edx+eax*4+24]
	push	_160
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	60
	push	-300
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	push	dword [edx+eax*4+24]
	push	_162
	mov	eax,dword [ebp+8]
	push	dword [eax+96]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_161
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3301
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	add	eax,1
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+84],eax
_3301:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+20]
	sub	edx,1
	mov	eax,dword [ebp+8]
	cmp	dword [eax+96],edx
	jle	_3302
	mov	eax,dword [ebp+8]
	mov	dword [eax+96],0
_3302:
	push	83
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3303
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	ecx,dword [edx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	add	eax,1
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+96],eax
_3303:
	push	68
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3304
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	sub	eax,1
	mov	dword [edx+96],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+96],-1
	jne	_3305
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+20]
	sub	edx,1
	mov	eax,dword [ebp+8]
	mov	dword [eax+96],edx
_3305:
_3304:
	push	70
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3306
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	ecx,dword [edx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	add	eax,10
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+96],eax
_3306:
	push	71
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3307
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+96]
	sub	eax,10
	mov	dword [edx+96],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+96],0
	jge	_3308
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+20]
	sub	edx,1
	mov	eax,dword [ebp+8]
	mov	dword [eax+96],edx
_3308:
_3307:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_mxr]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	fdiv	dword [_bb_s]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp-8]
	mov	dword [edx+8],eax
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_myr]
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	fdiv	dword [_bb_s]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp-8]
	mov	dword [edx+12],eax
	push	1
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_3310
	mov	dword [ebp-12],1
	mov	dword [ebp-4],_bbNullObject
	mov	eax,dword [_bb_gol]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,0
	jne	_3314
	mov	ebx,dword [_bb_gol]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_163
_165:
	mov	eax,edi
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_163
	fld	dword [esi+8]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_3321
	fld	dword [esi+12]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3321:
	cmp	eax,0
	je	_3323
	mov	dword [ebp-12],0
	push	160
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3324
	mov	dword [esi+92],1
	mov	dword [ebp-4],esi
	jmp	_3325
_3324:
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	dec	dword [eax+4]
	jnz	_3329
	push	eax
	call	_bbGCFree
	add	esp,4
_3329:
	mov	eax,dword [ebp+8]
	mov	dword [eax+108],esi
_3325:
_3323:
_163:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_165
_164:
_3314:
	cmp	dword [ebp-4],_bbNullObject
	je	_3330
	mov	eax,dword [ebp-4]
	push	dword [eax+116]
	push	_166
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	dword [ebp-4]
	mov	eax,dword [_bb_grq]
	push	dword [eax+8]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	dword [ebp-4]
	push	dword [_bb_gol]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,dword [_bb_gol]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	cmp	eax,0
	je	_3332
	push	_167
	call	_brl_blitz_RuntimeError
	add	esp,4
_3332:
	mov	eax,dword [_bb_grq]
	mov	eax,dword [eax+8]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	cmp	eax,0
	je	_3334
	push	_167
	call	_brl_blitz_RuntimeError
	add	esp,4
_3334:
	call	_bbGCCollect
_3330:
	cmp	dword [ebp-12],0
	je	_3335
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	mov	edx,dword [_bb_HALFTILESIZE]
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	imul	edx,dword [ecx+8]
	add	eax,edx
	cdq
	idiv	dword [_bb_TILESIZE]
	imul	eax,dword [_bb_TILESIZE]
	mov	edx,dword [_bb_here]
	mov	ecx,dword [edx+8]
	mov	edx,dword [_bb_splane]
	mov	edx,dword [ecx+edx*4+24]
	mov	edx,dword [edx+8]
	imul	edx,dword [_bb_HALFTILESIZE]
	sub	eax,edx
	add	eax,dword [_bb_HALFTILESIZE]
	mov	edx,dword [ebp-8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_HALFTILESIZE]
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	imul	edx,dword [ecx+12]
	add	eax,edx
	cdq
	idiv	dword [_bb_TILESIZE]
	imul	eax,dword [_bb_TILESIZE]
	mov	edx,dword [_bb_here]
	mov	ecx,dword [edx+8]
	mov	edx,dword [_bb_splane]
	mov	edx,dword [ecx+edx*4+24]
	mov	edx,dword [edx+12]
	imul	edx,dword [_bb_HALFTILESIZE]
	sub	eax,edx
	add	eax,dword [_bb_TILESIZE]
	mov	edx,dword [ebp-8]
	mov	dword [edx+12],eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+96]
	mov	eax,dword [ebp-8]
	push	dword [eax+12]
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+84]
	push	dword [edx+eax*4+24]
	call	dword [_bb_gameobj+84]
	add	esp,20
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	dec	dword [eax+4]
	jnz	_3339
	push	eax
	call	_bbGCFree
	add	esp,4
_3339:
	mov	eax,dword [ebp+8]
	mov	dword [eax+108],ebx
	push	150
	call	_bbDelay
	add	esp,4
_3335:
_3310:
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	jne	_3344
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_3342
	push	162
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	jne	_3340
	push	164
	call	_brl_polledinput_KeyDown
	add	esp,4
_3340:
_3342:
_3344:
	cmp	eax,0
	je	_3346
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+108]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_3346:
	cmp	eax,0
	je	_3348
	push	164
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	jne	_3349
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	mov	edx,dword [_bb_HALFTILESIZE]
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	imul	edx,dword [ecx+8]
	add	eax,edx
	cdq
	idiv	dword [_bb_TILESIZE]
	imul	eax,dword [_bb_TILESIZE]
	mov	edx,dword [_bb_here]
	mov	ecx,dword [edx+8]
	mov	edx,dword [_bb_splane]
	mov	edx,dword [ecx+edx*4+24]
	mov	edx,dword [edx+8]
	imul	edx,dword [_bb_HALFTILESIZE]
	sub	eax,edx
	add	eax,dword [_bb_HALFTILESIZE]
	mov	edx,dword [ebp-8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_HALFTILESIZE]
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	imul	edx,dword [ecx+12]
	add	eax,edx
	cdq
	idiv	dword [_bb_TILESIZE]
	imul	eax,dword [_bb_TILESIZE]
	mov	edx,dword [_bb_here]
	mov	ecx,dword [edx+8]
	mov	edx,dword [_bb_splane]
	mov	edx,dword [ecx+edx*4+24]
	mov	edx,dword [edx+12]
	imul	edx,dword [_bb_HALFTILESIZE]
	sub	eax,edx
	add	eax,dword [_bb_TILESIZE]
	mov	edx,dword [ebp-8]
	mov	dword [edx+12],eax
_3349:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+108]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [edx+8]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+108]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [edx+12]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+108]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	mov	dword [edx+120],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+108]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12]
	mov	dword [edx+124],eax
_3348:
	jmp	_3219
_3222:
	push	0
	push	0
	push	-300
	push	_168
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	30
	push	-300
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+88]
	push	dword [edx+eax*4+24]
	push	_169
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	60
	push	-300
	push	_170
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	90
	push	-300
	push	_171
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3350
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+88]
	add	eax,1
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+88],eax
	push	_bb_switchloc
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_3351
	push	_bb_switchloc
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+88]
	mov	dword [eax+20],edx
_3351:
_3350:
	push	1
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_3353
	push	162
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
_3353:
	cmp	eax,0
	je	_3355
	push	_bb_switchloc
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_3356
	mov	eax,dword [ebp+8]
	mov	dword [eax+100],edi
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-16]
	mov	dword [edx+104],eax
	push	_bb_switchloc
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp+8]
	mov	dword [eax+88],edx
	jmp	_3357
_3356:
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+88]
	call	dword [_bb_switchloc+96]
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+88]
	mov	dword [eax+20],edx
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	eax,dword [esi+eax*4+28]
	dec	dword [eax+4]
	jnz	_3362
	push	eax
	call	_bbGCFree
	add	esp,4
_3362:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	dword [esi+eax*4+28],ebx
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	mov	dword [edx+8],eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	ebx,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp+8]
	mov	dword [eax+100],edi
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-16]
	mov	dword [edx+104],eax
	push	150
	call	_bbDelay
	add	esp,4
_3357:
_3355:
	push	2
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	jne	_3363
	push	162
	call	_brl_polledinput_KeyHit
	add	esp,4
_3363:
	cmp	eax,0
	je	_3365
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],edi
	mov	eax,dword [ebp-16]
	mov	dword [ebx+12],eax
	push	_bb_switchloc
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	push	dword [esi+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_3367
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	dword [eax+12],edx
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+36]
	mov	dword [eax+8],edx
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	eax,dword [esi+eax*4+28]
	dec	dword [eax+4]
	jnz	_3372
	push	eax
	call	_bbGCFree
	add	esp,4
_3372:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	esi,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [esi+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	dword [edx+eax*4+28],ebx
	jmp	_3373
_3367:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+100]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	mov	edx,dword [ebp+8]
	add	eax,dword [edx+104]
	mov	eax,dword [esi+eax*4+28]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	cmp	eax,0
	je	_3375
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+100]
	mov	ecx,dword [_bb_here]
	mov	esi,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [esi+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [ebp+8]
	add	eax,dword [ecx+104]
	mov	eax,dword [edx+eax*4+28]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
	jmp	_3377
_3375:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,edi
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [ebp-16]
	mov	edx,dword [esi+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	mov	dword [edx+8],eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,edi
	mov	ecx,dword [_bb_here]
	mov	esi,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [esi+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-16]
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [edx+12],eax
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+100]
	mov	ecx,dword [_bb_here]
	mov	esi,dword [ecx+8]
	mov	ecx,dword [_bb_splane]
	mov	ecx,dword [esi+ecx*4+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [ebp+8]
	add	eax,dword [ecx+104]
	mov	eax,dword [edx+eax*4+28]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_3377:
_3373:
_3365:
	jmp	_3219
_3223:
	push	0
	push	0
	push	-300
	push	_172
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	30
	push	-300
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+92]
	push	dword [edx+eax*4+24]
	push	_173
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	60
	push	-300
	mov	eax,dword [ebp+8]
	push	dword [eax+112]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_174
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	90
	push	-300
	push	_175
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	120
	push	-300
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+32]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+116]
	push	dword [edx+eax*4+24]
	push	_176
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	150
	push	-300
	mov	eax,dword [_bb_here]
	push	dword [eax+40]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_177
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3379
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+92]
	add	eax,1
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+92],eax
	mov	eax,dword [ebp+8]
	mov	dword [eax+112],0
_3379:
	push	83
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3380
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+32]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+116]
	add	eax,1
	cdq
	idiv	dword [ecx+20]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+116],eax
	mov	edx,dword [_bb_here]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+116]
	mov	dword [edx+36],eax
_3380:
	push	76
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3381
	mov	ebx,dword [_bb_here]
	mov	ecx,5
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+40]
	add	eax,1
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebx+40],eax
_3381:
	push	78
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3382
	mov	eax,1
	cdq
	idiv	dword [__bb_map_platform_count]
	mov	eax,edx
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+112]
	add	edx,eax
	mov	dword [ecx+112],edx
_3382:
	push	1
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_3383
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],edi
	mov	eax,dword [ebp-16]
	mov	dword [ebx+12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+92]
	cmp	eax,0
	je	_3387
	cmp	eax,1
	je	_3388
	jmp	_3386
_3387:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+112],39
	jge	_3389
	inc	dword [ebx+4]
	mov	edx,dword [__bb_map_platforms]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3393
	push	eax
	call	_bbGCFree
	add	esp,4
_3393:
	mov	edx,dword [__bb_map_platforms]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	mov	dword [edx+eax*4+24],ebx
	mov	edx,dword [__bb_map_platform_count]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+112],edx
	jne	_3394
	add	dword [__bb_map_platform_count],1
_3394:
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	add	eax,1
	mov	dword [edx+112],eax
_3389:
	jmp	_3386
_3388:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+112],39
	jge	_3395
	inc	dword [ebx+4]
	mov	edx,dword [__bb_map_camera]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3399
	push	eax
	call	_bbGCFree
	add	esp,4
_3399:
	mov	edx,dword [__bb_map_camera]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	mov	dword [edx+eax*4+24],ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+112]
	add	eax,1
	mov	dword [edx+112],eax
_3395:
_3386:
_3383:
	push	2
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_3400
	mov	dword [__bb_map_platform_count],0
	mov	eax,dword [ebp+8]
	mov	dword [eax+112],0
_3400:
_3219:
	push	77
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3401
	add	dword [_bb_edit],1
	cmp	dword [_bb_edit],5
	jne	_3402
	mov	dword [_bb_edit],1
_3402:
_3401:
	push	80
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3403
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	cmp	eax,0
	sete	al
	movzx	eax,al
	mov	edx,dword [ebp+8]
	mov	dword [edx+48],eax
_3403:
	push	188
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3404
	mov	eax,dword [_bb_splane]
	cmp	eax,0
	setg	al
	movzx	eax,al
_3404:
	cmp	eax,0
	je	_3406
	sub	dword [_bb_splane],1
_3406:
	push	190
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3407
	mov	edx,dword [_bb_splane]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	cmp	edx,eax
	setl	al
	movzx	eax,al
_3407:
	cmp	eax,0
	je	_3409
	add	dword [_bb_splane],1
_3409:
	push	9
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3410
	fld	dword [_bb_ns]
	fld	dword [_5960]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3411
	fld1
	fstp	dword [_bb_ns]
	jmp	_3412
_3411:
	fld	dword [_5961]
	fstp	dword [_bb_ns]
_3412:
_3410:
	push	79
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3413
	fld	dword [_bb_ns]
	fld	dword [_5962]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3414
	fld	dword [_5963]
	fstp	dword [_bb_ns]
	jmp	_3415
_3414:
	fld	dword [_5964]
	fstp	dword [_bb_ns]
_3415:
_3413:
	fld	dword [_bb_ns]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_3416
	fld	dword [_bb_ns]
	fld	dword [_bb_s]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_3417
	fld	dword [_bb_s]
	fadd	dword [_5965]
	fstp	dword [_bb_s]
_3417:
	fld	dword [_bb_ns]
	fld	dword [_bb_s]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3418
	fld	dword [_bb_s]
	fsub	dword [_5966]
	fstp	dword [_bb_s]
_3418:
_3416:
	mov	eax,0
_1340:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_editordraw:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	1058642330
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	200
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	esi,0
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_3420
_180:
	mov	ebx,_1
	cmp	esi,dword [_bb_splane]
	jne	_3423
	mov	ebx,_2
_3423:
	push	1073741824
	push	1073741824
	call	_brl_max2d_SetScale
	add	esp,8
	cmp	esi,dword [_bb_gameplane]
	jne	_3424
	push	0
	mov	eax,esi
	imul	eax,30
	add	eax,-230
	push	eax
	push	-280
	push	_181
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [edi]
	call	dword [eax+72]
	add	esp,16
	jmp	_3425
_3424:
	push	0
	mov	eax,esi
	imul	eax,30
	add	eax,-230
	push	eax
	push	-280
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [edi]
	call	dword [eax+72]
	add	esp,16
_3425:
	cmp	esi,dword [_bb_splane]
	jne	_3426
	push	1060320051
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	200
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
_3426:
_178:
	add	esi,1
_3420:
	cmp	esi,dword [ebp-4]
	jle	_180
_179:
	mov	eax,0
_1343:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_stiledraw:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1067869798
	push	1067869798
	call	_brl_max2d_SetScale
	add	esp,8
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1128792064
	push	1134559232
	call	_brl_max2d_DrawRect
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	dword [ebx+36]
	push	1129119744
	push	1134723072
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebx+40]
	mov	eax,dword [edx+eax*4+24]
	push	dword [eax+8]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	eax,0
_1346:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_tilepage:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-16],0
	push	2896
	call	_glDisable@4
	call	_brl_system_ShowMouse
_184:
	call	_brl_max2d_Cls
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-4],eax
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-8],eax
	mov	edi,0
	jmp	_3431
_187:
	mov	esi,0
	jmp	_3433
_190:
	mov	eax,edi
	shl	eax,4
	add	eax,esi
	mov	ebx,eax
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1073741824
	push	1073741824
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,edi
	shl	eax,4
	add	eax,esi
	push	eax
	mov	eax,dword [ebp-8]
	neg	eax
	mov	edx,edi
	imul	edx,dword [_bb_HALFTILESIZE]
	add	eax,edx
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-4]
	neg	eax
	mov	edx,esi
	imul	edx,dword [_bb_HALFTILESIZE]
	add	eax,edx
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	push	dword [eax+8]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	eax,dword [ebp+8]
	cmp	ebx,dword [eax+36]
	jne	_3435
	push	150
	push	150
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1050253722
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-8]
	neg	eax
	mov	edx,edi
	imul	edx,dword [_bb_HALFTILESIZE]
	add	eax,edx
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-4]
	neg	eax
	mov	edx,esi
	imul	edx,dword [_bb_HALFTILESIZE]
	add	eax,edx
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3435:
_188:
	add	esi,1
_3433:
	cmp	esi,15
	jle	_190
_189:
_185:
	add	edi,1
_3431:
	cmp	edi,15
	jle	_187
_186:
	push	1050253722
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	100
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_mxr]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	idiv	dword [_bb_HALFTILESIZE]
	mov	edi,eax
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_myr]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	idiv	dword [_bb_HALFTILESIZE]
	mov	dword [ebp-12],eax
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-12]
	imul	eax,dword [_bb_HALFTILESIZE]
	sub	eax,dword [ebp-8]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	imul	eax,dword [_bb_HALFTILESIZE]
	sub	eax,dword [ebp-4]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_mxr]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3438
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_myr]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3438:
	cmp	eax,0
	je	_3440
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_mxr]
	fld	dword [_6082]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3440:
	cmp	eax,0
	je	_3442
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_bb_myr]
	fld	dword [_6083]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3442:
	cmp	eax,0
	je	_3444
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_3445
	push	160
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_3446
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+36]
	mov	edx,edi
	mov	eax,dword [ebp-12]
	shl	eax,4
	add	edx,eax
	cmp	ecx,edx
	setne	al
	movzx	eax,al
_3446:
	cmp	eax,0
	je	_3448
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+80]
	add	eax,1
	mov	dword [edx+80],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+80]
	mov	eax,dword [ebp+8]
	mov	dword [eax+76],edx
	mov	edx,edi
	mov	eax,dword [ebp-12]
	shl	eax,4
	add	edx,eax
	push	edx
	mov	eax,dword [ebp+8]
	push	dword [eax+36]
	mov	eax,dword [ebp+8]
	push	dword [eax+80]
	call	dword [_bb_macro+52]
	add	esp,12
	mov	ebx,eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_3453
	push	eax
	call	_bbGCFree
	add	esp,4
_3453:
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],esi
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_3457
	push	eax
	call	_bbGCFree
	add	esp,4
_3457:
	mov	eax,dword [ebp+8]
	mov	dword [eax+56],esi
	push	ebx
	mov	eax,dword [ebp+8]
	push	dword [eax+72]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	dword [ebp-16],1
	jmp	_3458
_3448:
	mov	edx,edi
	mov	eax,dword [ebp-12]
	shl	eax,4
	add	edx,eax
	mov	eax,dword [ebp+8]
	mov	dword [eax+36],edx
_3458:
_3445:
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	jne	_3459
	push	162
	call	_brl_polledinput_KeyDown
	add	esp,4
_3459:
	cmp	eax,0
	je	_3461
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+36]
	mov	eax,edi
	mov	ecx,dword [ebp-12]
	shl	ecx,4
	add	eax,ecx
	mov	dword [edx+ebx*4+24],eax
_3461:
_3444:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	dword [_bb_MED]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	0
	push	80
	push	-290
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	mov	ecx,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	edx,dword [ecx+edx*4+24]
	mov	ecx,dword [edx+12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+36]
	mov	edx,dword [ecx+edx*4+28]
	push	dword [eax+edx*4+24]
	push	_192
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [eax+24]
	push	_191
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	110
	push	-290
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+4+24]
	mov	ecx,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	edx,dword [ecx+edx*4+24]
	mov	edx,dword [edx+12]
	mov	ebx,dword [_bb_tset]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+40]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+12]
	mov	ebx,dword [ecx+24]
	mov	ecx,dword [ebp+8]
	add	ebx,dword [ecx+36]
	mov	edx,dword [edx+ebx*4+28]
	push	dword [eax+edx*4+24]
	push	_192
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [eax+4+24]
	push	_193
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	140
	push	-290
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+8+24]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	ebx,dword [ebp+8]
	add	eax,dword [ebx+36]
	mov	eax,dword [edx+eax*4+28]
	push	dword [ecx+eax*4+24]
	push	_192
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [eax+8+24]
	push	_194
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	170
	push	-290
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+12+24]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	ebx,dword [ebp+8]
	add	eax,dword [ebx+36]
	mov	eax,dword [edx+eax*4+28]
	push	dword [ecx+eax*4+24]
	push	_192
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [eax+12+24]
	push	_195
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	200
	push	-290
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+16+24]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	ebx,dword [ebp+8]
	add	eax,dword [ebx+36]
	mov	eax,dword [edx+eax*4+28]
	push	dword [ecx+eax*4+24]
	push	_192
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [eax+16+24]
	push	_196
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	0
	push	200
	push	30
	push	_197
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	push	1061997773
	push	1061997773
	call	_brl_max2d_SetScale
	add	esp,8
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	push	dword [edx+eax*4+24]
	push	1127809024
	push	1132068864
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	push	dword [eax+8]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	push	90
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3463
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+36]
	mov	ebx,dword [_bb_tset]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+40]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ebx,dword [ecx+12]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+36]
	mov	ecx,dword [ebx+ecx*4+28]
	add	ecx,1
	mov	dword [eax+edx*4+28],ecx
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+16]
	cdq
	mov	ecx,eax
	mov	eax,edx
	and	eax,3
	add	ecx,eax
	sar	ecx,2
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+36]
	mov	eax,dword [eax+edx*4+28]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [esi+ebx*4+28],eax
	push	10
	call	_bbDelay
	add	esp,4
_3463:
	push	88
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3464
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	ecx,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+8]
	add	edx,dword [eax+36]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	ebx,dword [ebx+esi*4+24]
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp+8]
	add	esi,dword [ebx+36]
	mov	eax,dword [eax+esi*4+28]
	add	eax,1
	mov	dword [ecx+edx*4+28],eax
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ebx,dword [eax+24]
	mov	eax,dword [ebp+8]
	add	ebx,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+4+24]
	mov	eax,dword [eax+16]
	cdq
	and	edx,3
	add	eax,edx
	mov	ecx,eax
	sar	ecx,2
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	edx,dword [edx+esi*4+24]
	mov	edx,dword [edx+12]
	mov	esi,dword [edx+24]
	mov	edx,dword [ebp+8]
	add	esi,dword [edx+36]
	mov	eax,dword [eax+esi*4+28]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [edi+ebx*4+28],eax
	push	10
	call	_bbDelay
	add	esp,4
_3464:
	push	67
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3465
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	ecx,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [eax+24]
	shl	edx,1
	mov	eax,dword [ebp+8]
	add	edx,dword [eax+36]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	ebx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	esi,dword [ebp+8]
	add	eax,dword [esi+36]
	mov	eax,dword [ebx+eax*4+28]
	add	eax,1
	mov	dword [ecx+edx*4+28],eax
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	add	ebx,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+8+24]
	mov	eax,dword [eax+16]
	cdq
	and	edx,3
	add	eax,edx
	mov	ecx,eax
	sar	ecx,2
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	edx,dword [edx+esi*4+24]
	mov	edx,dword [edx+12]
	mov	edx,dword [edx+24]
	shl	edx,1
	mov	esi,edx
	mov	edx,dword [ebp+8]
	add	esi,dword [edx+36]
	mov	eax,dword [eax+esi*4+28]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [edi+ebx*4+28],eax
	push	10
	call	_bbDelay
	add	esp,4
_3465:
	push	86
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3466
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	ecx,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [eax+24]
	imul	edx,3
	mov	eax,dword [ebp+8]
	add	edx,dword [eax+36]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	ebx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	esi,dword [ebp+8]
	add	eax,dword [esi+36]
	mov	eax,dword [ebx+eax*4+28]
	add	eax,1
	mov	dword [ecx+edx*4+28],eax
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	add	ebx,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+12+24]
	mov	eax,dword [eax+16]
	cdq
	and	edx,3
	add	eax,edx
	mov	ecx,eax
	sar	ecx,2
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	edx,dword [edx+esi*4+24]
	mov	edx,dword [edx+12]
	mov	edx,dword [edx+24]
	imul	edx,3
	mov	esi,edx
	mov	edx,dword [ebp+8]
	add	esi,dword [edx+36]
	mov	eax,dword [eax+esi*4+28]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [edi+ebx*4+28],eax
	push	10
	call	_bbDelay
	add	esp,4
_3466:
	push	66
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3467
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	ecx,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [eax+24]
	shl	edx,2
	mov	eax,dword [ebp+8]
	add	edx,dword [eax+36]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [ebx+eax*4+24]
	mov	ebx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	esi,dword [ebp+8]
	add	eax,dword [esi+36]
	mov	eax,dword [ebx+eax*4+28]
	add	eax,1
	mov	dword [ecx+edx*4+28],eax
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	add	ebx,dword [eax+36]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16+24]
	mov	eax,dword [eax+16]
	cdq
	and	edx,3
	add	eax,edx
	mov	ecx,eax
	sar	ecx,2
	mov	eax,dword [_bb_tset]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+40]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [_bb_tset]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+40]
	mov	edx,dword [edx+esi*4+24]
	mov	edx,dword [edx+12]
	mov	edx,dword [edx+24]
	shl	edx,2
	mov	esi,edx
	mov	edx,dword [ebp+8]
	add	esi,dword [edx+36]
	mov	eax,dword [eax+esi*4+28]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [edi+ebx*4+28],eax
	push	10
	call	_bbDelay
	add	esp,4
_3467:
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3468
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	add	eax,1
	mov	dword [edx+40],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	cdq
	idiv	dword [_bb_TILESETS]
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+40],eax
_3468:
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
_182:
	push	84
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	jne	_3469
	mov	eax,dword [ebp-16]
_3469:
	cmp	eax,0
	je	_184
_183:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	mov	dword [eax+28],0
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	mov	dword [edx+eax*4+28],0
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,1
	mov	dword [edx+eax*4+28],0
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	dword [edx+eax*4+28],0
	cmp	dword [_bb_edit],0
	jne	_3471
	call	_brl_system_HideMouse
_3471:
	mov	eax,0
_1349:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_editor_sDrawText:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	1053609165
	call	_brl_max2d_SetAlpha
	add	esp,4
	cmp	dword [ebp+20],0
	jne	_3472
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	jmp	_3473
_3472:
	fld	dword [_bb_s]
	fdiv	dword [_6104]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_bb_s]
	fdiv	dword [_6105]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
_3473:
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	cmp	dword [ebp+20],0
	jne	_3474
	mov	eax,edi
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ebx
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	jmp	_3475
_3474:
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	fld	dword [_6106]
	fmul	dword [_bb_s]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	fld	dword [_6107]
	fmul	dword [_bb_s]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
_3475:
	push	1061997773
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,edi
	sub	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ebx
	sub	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,0
_1355:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_tileset
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,0
_1358:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1361:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3481
	push	eax
	call	_bbGCFree
	add	esp,4
_3481:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3483
	push	eax
	call	_bbGCFree
	add	esp,4
_3483:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3485
	push	eax
	call	_bbGCFree
	add	esp,4
_3485:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_3479:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_createall:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,0
	mov	eax,dword [_bb_TILESETS]
	sub	eax,1
	mov	edi,eax
	jmp	_3487
_200:
	push	_bb_tileset
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3492
	push	eax
	call	_bbGCFree
	add	esp,4
_3492:
	mov	eax,dword [_bb_tset]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [_bb_tilefile]
	mov	eax,dword [eax+ebx*4+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3496
	push	eax
	call	_bbGCFree
	add	esp,4
_3496:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+8],esi
	push	256
	push	dword [_bb_SPROPS]
	push	2
	push	_3497
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3501
	push	eax
	call	_bbGCFree
	add	esp,4
_3501:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+12],esi
	push	256
	push	_3502
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3506
	push	eax
	call	_bbGCFree
	add	esp,4
_3506:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+16],esi
_198:
	add	ebx,1
_3487:
	cmp	ebx,edi
	jle	_200
_199:
	mov	eax,0
_1363:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_bwrite:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	mov	dword [ebp-4],0
	mov	eax,dword [_bb_SPROPS]
	mov	dword [ebp-8],eax
	jmp	_3508
_203:
	mov	ebx,0
	jmp	_3511
_206:
	mov	ecx,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+12]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	and	eax,0xff
	mov	eax,eax
	push	eax
	push	edi
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+88]
	add	esp,12
	add	edi,1
_204:
	add	ebx,1
_3511:
	cmp	ebx,256
	jl	_206
_205:
_201:
	add	dword [ebp-4],1
_3508:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jl	_203
_202:
	mov	ebx,0
	jmp	_3514
_209:
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+16]
	mov	edx,dword [edx+ebx*4+24]
	and	edx,0xff
	mov	edx,edx
	push	edx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	edi,1
_207:
	add	ebx,1
_3514:
	cmp	ebx,256
	jl	_209
_208:
	mov	eax,edi
_1368:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_bread:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-4],0
	mov	eax,dword [_bb_SPROPS]
	mov	dword [ebp-8],eax
	jmp	_3517
_212:
	mov	edi,0
	jmp	_3520
_215:
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	esi,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+12]
	imul	eax,dword [ecx+24]
	mov	ebx,eax
	add	ebx,edi
	push	dword [ebp+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,8
	mov	dword [esi+ebx*4+28],eax
	add	dword [ebp+16],1
_213:
	add	edi,1
_3520:
	cmp	edi,256
	jl	_215
_214:
_210:
	add	dword [ebp-4],1
_3517:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jl	_212
_211:
	mov	esi,0
	jmp	_3523
_218:
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+16]
	push	dword [ebp+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,8
	mov	dword [ebx+esi*4+24],eax
	add	dword [ebp+16],1
_216:
	add	esi,1
_3523:
	cmp	esi,256
	jl	_218
_217:
	mov	eax,dword [ebp+16]
_1373:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_saveall:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	1000000
	call	dword [_brl_bank_TBank+140]
	add	esp,4
	mov	edi,eax
	mov	esi,0
	mov	eax,edi
	push	dword [_bb_TILESETS]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	esi,4
	mov	eax,edi
	push	dword [_bb_SPROPS]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	esi,1024
	mov	ebx,0
	mov	eax,dword [_bb_TILESETS]
	mov	dword [ebp-4],eax
	jmp	_3530
_221:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	esi,eax
_219:
	add	ebx,1
_3530:
	cmp	ebx,dword [ebp-4]
	jl	_221
_220:
	mov	eax,esi
	add	eax,1
	push	eax
	push	edi
	call	_brl_bank_ResizeBank
	add	esp,8
	push	_223
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_222
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	edi
	call	_brl_bank_SaveBank
	add	esp,8
	cmp	eax,0
	jne	_3534
	push	_224
	call	_brl_blitz_RuntimeError
	add	esp,4
_3534:
	mov	eax,0
_1375:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tileset_loadall:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_223
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_222
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_bank_LoadBank
	add	esp,4
	mov	edi,eax
	cmp	edi,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_3536
	call	dword [_bb_tileset+48]
	jmp	_3537
_3536:
	mov	eax,1024
	mov	esi,0
	mov	edx,dword [_bb_TILESETS]
	sub	edx,2
	mov	ebx,edx
	jmp	_3540
_227:
	mov	edx,dword [_bb_tset]
	mov	edx,dword [edx+esi*4+24]
	push	eax
	push	edi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,12
_225:
	add	esi,1
_3540:
	cmp	esi,ebx
	jl	_227
_226:
_3537:
	mov	eax,0
_1377:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_plane
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,0
_1380:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1383:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3546
	push	eax
	call	_bbGCFree
	add	esp,4
_3546:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_3544:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	mov	esi,dword [ebp+20]
	mov	ebx,dword [ebp+24]
	push	_bb_plane
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	push	ebx
	push	edi
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-12],eax
	push	dword [ebp+28]
	push	esi
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-8],eax
	push	ebx
	push	edi
	call	_bbIntMax
	add	esp,8
	sub	eax,dword [ebp-12]
	add	eax,1
	mov	edi,eax
	push	dword [ebp+28]
	push	esi
	call	_bbIntMax
	add	esp,8
	sub	eax,dword [ebp-8]
	add	eax,1
	mov	esi,eax
	cmp	dword [ebp+12],_bbNullObject
	jne	_3552
	mov	edx,dword [_bb_planeysize]
	mov	eax,dword [ebp+8]
	push	dword [edx+eax*4+24]
	mov	edx,dword [_bb_planexsize]
	mov	eax,dword [ebp+8]
	push	dword [edx+eax*4+24]
	push	2
	push	_3553
	call	_bbArrayNew
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3557
	push	eax
	call	_bbGCFree
	add	esp,4
_3557:
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],ebx
	mov	edx,dword [_bb_planexsize]
	mov	eax,dword [ebp+8]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,dword [_bb_planeysize]
	mov	eax,dword [ebp+8]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	edi,dword [eax+8]
	mov	eax,dword [ebp-4]
	mov	esi,dword [eax+12]
	jmp	_3558
_3552:
	push	esi
	push	edi
	push	2
	push	_3559
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3563
	push	eax
	call	_bbGCFree
	add	esp,4
_3563:
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],ebx
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edi
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],esi
_3558:
	mov	eax,dword [ebp-4]
	push	dword [ebp+12]
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,24
	mov	eax,dword [ebp-4]
_1391:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_macrocreate:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	ecx,dword [ebp+12]
	cmp	dword [ebp+8],ecx
	jle	_3565
	mov	eax,ecx
	mov	ecx,dword [ebp+8]
	mov	dword [ebp+8],eax
_3565:
	mov	ebx,16
	mov	eax,dword [ebp+8]
	cdq
	idiv	ebx
	mov	eax,edx
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	cdq
	and	edx,15
	add	eax,edx
	sar	eax,4
	mov	dword [ebp-16],eax
	mov	ebx,16
	mov	eax,ecx
	cdq
	idiv	ebx
	mov	eax,edx
	mov	ebx,eax
	mov	eax,ecx
	cdq
	and	edx,15
	add	eax,edx
	sar	eax,4
	mov	esi,eax
	push	_bb_plane
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	push	ebx
	push	dword [ebp-12]
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-20],eax
	push	esi
	push	dword [ebp-16]
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-8],eax
	push	ebx
	push	dword [ebp-12]
	call	_bbIntMax
	add	esp,8
	sub	eax,dword [ebp-20]
	add	eax,1
	mov	ebx,eax
	push	esi
	push	dword [ebp-16]
	call	_bbIntMax
	add	esp,8
	sub	eax,dword [ebp-8]
	add	eax,1
	mov	dword [ebp-28],eax
	push	dword [ebp-28]
	push	ebx
	push	2
	push	_3576
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	dec	dword [eax+4]
	jnz	_3580
	push	eax
	call	_bbGCFree
	add	esp,4
_3580:
	mov	dword [edi+16],esi
	mov	dword [edi+8],ebx
	mov	eax,dword [ebp-28]
	mov	dword [edi+12],eax
	mov	ebx,dword [edi+8]
	mov	eax,dword [edi+12]
	mov	dword [ebp-28],eax
	mov	eax,edi
	push	_bbNullObject
	push	dword [ebp-8]
	push	dword [ebp-20]
	push	dword [ebp-28]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,24
	mov	edx,0
	mov	dword [ebp-24],ebx
	jmp	_3583
_230:
	mov	eax,0
	mov	ecx,dword [ebp-28]
	mov	dword [ebp-4],ecx
	jmp	_3586
_233:
	mov	esi,dword [edi+16]
	mov	ebx,edx
	mov	ecx,dword [edi+16]
	imul	ebx,dword [ecx+24]
	mov	ecx,ebx
	add	ecx,eax
	mov	ecx,dword [esi+ecx*4+28]
	mov	ebx,dword [_bb_e]
	mov	ebx,dword [ebx+40]
	mov	dword [ecx+12],ebx
	mov	esi,dword [edi+16]
	mov	ebx,edx
	mov	ecx,dword [edi+16]
	imul	ebx,dword [ecx+24]
	mov	ecx,ebx
	add	ecx,eax
	mov	esi,dword [esi+ecx*4+28]
	mov	ebx,dword [ebp+8]
	mov	ecx,eax
	shl	ecx,4
	add	ebx,ecx
	mov	ecx,ebx
	add	ecx,edx
	mov	dword [esi+8],ecx
_231:
	add	eax,1
_3586:
	cmp	eax,dword [ebp-4]
	jl	_233
_232:
_228:
	add	edx,1
_3583:
	cmp	edx,dword [ebp-24]
	jl	_230
_229:
	mov	eax,edi
_1395:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_clear:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,-1
	jne	_3588
	mov	edx,dword [edi+8]
	mov	eax,dword [edi+12]
	mov	dword [ebp+16],eax
_3588:
	mov	dword [ebp-4],0
	mov	dword [ebp-12],edx
	jmp	_3590
_236:
	mov	ebx,0
	mov	eax,dword [ebp+16]
	mov	dword [ebp-8],eax
	jmp	_3593
_239:
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	ecx,dword [edi+16]
	mov	edx,dword [ebp-4]
	mov	eax,dword [edi+16]
	imul	edx,dword [eax+24]
	mov	eax,edx
	add	eax,ebx
	mov	eax,dword [ecx+eax*4+28]
	dec	dword [eax+4]
	jnz	_3598
	push	eax
	call	_bbGCFree
	add	esp,4
_3598:
	mov	ecx,dword [edi+16]
	mov	edx,dword [ebp-4]
	mov	eax,dword [edi+16]
	imul	edx,dword [eax+24]
	mov	eax,edx
	add	eax,ebx
	mov	dword [ecx+eax*4+28],esi
	cmp	dword [ebp+28],_bbNullObject
	je	_3599
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [edi+16]
	imul	eax,dword [ecx+24]
	add	eax,ebx
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+28]
	mov	eax,dword [eax+16]
	mov	ecx,dword [ebp-4]
	add	ecx,dword [ebp+20]
	mov	esi,dword [ebp+28]
	mov	esi,dword [esi+16]
	imul	ecx,dword [esi+24]
	mov	esi,ecx
	mov	ecx,ebx
	add	ecx,dword [ebp+24]
	add	esi,ecx
	mov	eax,dword [eax+esi*4+28]
	mov	eax,dword [eax+8]
	mov	dword [edx+8],eax
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [edi+16]
	imul	eax,dword [ecx+24]
	add	eax,ebx
	mov	edx,dword [edx+eax*4+28]
	mov	eax,dword [ebp+28]
	mov	eax,dword [eax+16]
	mov	ecx,dword [ebp-4]
	add	ecx,dword [ebp+20]
	mov	esi,dword [ebp+28]
	mov	esi,dword [esi+16]
	imul	ecx,dword [esi+24]
	mov	esi,ecx
	mov	ecx,ebx
	add	ecx,dword [ebp+24]
	add	esi,ecx
	mov	eax,dword [eax+esi*4+28]
	mov	eax,dword [eax+12]
	mov	dword [edx+12],eax
_3599:
_237:
	add	ebx,1
_3593:
	cmp	ebx,dword [ebp-8]
	jl	_239
_238:
_234:
	add	dword [ebp-4],1
_3590:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jl	_236
_235:
	mov	eax,0
_1403:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_mapat:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+8]
	imul	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	faddp	st1,st0
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,dword [esi+12]
	imul	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	faddp	st1,st0
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,dword [esi+8]
	sub	eax,1
	push	eax
	push	dword [ebx+8]
	push	0
	call	_bbIntMax
	add	esp,8
	push	eax
	call	_bbIntMin
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,dword [esi+12]
	sub	eax,1
	push	eax
	push	dword [ebx+12]
	push	0
	call	_bbIntMax
	add	esp,8
	push	eax
	call	_bbIntMin
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,ebx
_1408:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_worldat:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [esi+8]
	imul	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [esi+12]
	imul	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,dword [_bb_HALFTILESIZE]
	add	dword [ebx+8],eax
	mov	eax,dword [_bb_HALFTILESIZE]
	add	dword [ebx+12],eax
	mov	eax,ebx
_1413:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_saferead:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_3602
	cmp	edx,0
	setge	al
	movzx	eax,al
_3602:
	cmp	eax,0
	je	_3604
	cmp	ecx,dword [ebx+8]
	setl	al
	movzx	eax,al
_3604:
	cmp	eax,0
	je	_3606
	cmp	edx,dword [ebx+12]
	setl	al
	movzx	eax,al
_3606:
	cmp	eax,0
	je	_3608
	mov	eax,dword [ebx+16]
	mov	ebx,dword [ebx+16]
	imul	ecx,dword [ebx+24]
	add	ecx,edx
	mov	eax,dword [eax+ecx*4+28]
	jmp	_1418
_3608:
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+12],0
	mov	dword [eax+8],0
_1418:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_bwrite:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ecx,dword [ebp+16]
	mov	dword [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [ebp-8],eax
	jmp	_3612
_242:
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	edi,dword [eax+12]
	jmp	_3615
_245:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	push	ecx
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	ecx,eax
_243:
	add	ebx,1
_3615:
	cmp	ebx,edi
	jl	_245
_244:
_240:
	add	dword [ebp-4],1
_3612:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jl	_242
_241:
	mov	eax,ecx
_1423:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_plane_bread:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [ebp-20],eax
	jmp	_3619
_248:
	mov	dword [ebp-8],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-16],eax
	jmp	_3622
_251:
	mov	eax,dword [ebp+12]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	cmp	eax,255
	je	_3628
	cmp	eax,254
	je	_3629
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-8]
	mov	eax,dword [ecx+eax*4+28]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,12
	mov	dword [ebp+16],eax
	jmp	_3627
_3628:
	push	0
	push	0
	call	dword [_bb_switchloc+96]
	add	esp,8
	mov	dword [ebp-4],eax
	add	dword [ebp+16],1
	mov	eax,dword [ebp-4]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,12
	mov	dword [ebp+16],eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_brl_bank_PeekByte
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	mov	eax,dword [ebp+16]
	add	eax,1
	push	eax
	push	dword [ebp+12]
	call	_brl_bank_PeekByte
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	add	dword [ebp+16],2
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_brl_bank_PeekByte
	add	esp,8
	add	dword [ebp+16],1
	cmp	eax,0
	jle	_3634
	mov	esi,0
	mov	edi,eax
	jmp	_3636
_254:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,dword [ebp+16]
	add	eax,4
	push	eax
	push	dword [ebp+12]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [ebx+12],eax
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+36]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	add	dword [ebp+16],8
_252:
	add	esi,1
_3636:
	cmp	esi,edi
	jl	_254
_253:
_3634:
	mov	ebx,dword [ebp-4]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	dec	dword [eax+4]
	jnz	_3642
	push	eax
	call	_bbGCFree
	add	esp,4
_3642:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-8]
	mov	dword [edx+eax*4+28],ebx
	jmp	_3627
_3629:
	call	dword [_bb_signloc+96]
	mov	ebx,eax
	add	dword [ebp+16],1
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,12
	mov	dword [ebp+16],eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_bb_stringread
	add	esp,8
	mov	edx,dword [eax+8]
	mov	dword [ebp+16],edx
	mov	esi,dword [eax+12]
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3649
	push	eax
	call	_bbGCFree
	add	esp,4
_3649:
	mov	dword [ebx+16],esi
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_bb_stringread
	add	esp,8
	mov	edx,dword [eax+8]
	mov	dword [ebp+16],edx
	mov	esi,dword [eax+12]
	inc	dword [esi+4]
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3653
	push	eax
	call	_bbGCFree
	add	esp,4
_3653:
	mov	dword [ebx+20],esi
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_bb_stringread
	add	esp,8
	mov	edx,dword [eax+8]
	mov	dword [ebp+16],edx
	mov	esi,dword [eax+12]
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3657
	push	eax
	call	_bbGCFree
	add	esp,4
_3657:
	mov	dword [ebx+24],esi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+28]
	dec	dword [eax+4]
	jnz	_3661
	push	eax
	call	_bbGCFree
	add	esp,4
_3661:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-8]
	mov	dword [edx+eax*4+28],ebx
_3627:
_249:
	add	dword [ebp-8],1
_3622:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-8],eax
	jl	_251
_250:
_246:
	add	dword [ebp-12],1
_3619:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-12],eax
	jl	_248
_247:
	mov	eax,dword [ebp+16]
_1428:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_map
	push	dword [_bb_MAPZ]
	push	_3662
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	fldz
	fstp	dword [ebx+20]
	mov	dword [ebx+24],0
	mov	dword [ebx+28],0
	mov	dword [ebx+32],0
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	eax,0
_1431:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1434:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3667
	push	eax
	call	_bbGCFree
	add	esp,4
_3667:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3669
	push	eax
	call	_bbGCFree
	add	esp,4
_3669:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_3665:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	_bb_map
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	mov	eax,ebx
_1436:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_make:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	dword [_bb_MAPZ]
	push	_3672
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_3676
	push	eax
	call	_bbGCFree
	add	esp,4
_3676:
	mov	dword [edi+8],ebx
	mov	dword [__bb_map_platform_count],0
	mov	ebx,0
	mov	eax,dword [_bb_MAPZ]
	mov	dword [ebp-4],eax
	jmp	_3678
_257:
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	push	ebx
	call	dword [_bb_plane+48]
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3683
	push	eax
	call	_bbGCFree
	add	esp,4
_3683:
	mov	eax,dword [edi+8]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_planexsize]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [edx+8],eax
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_planeysize]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [edx+12],eax
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	push	2
	push	_3684
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3688
	push	eax
	call	_bbGCFree
	add	esp,4
_3688:
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+16],esi
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	_bbNullObject
	push	0
	push	0
	push	-1
	push	-1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,24
	cmp	ebx,dword [_bb_gameplane]
	jne	_3690
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	push	ebx
	call	dword [_bb_plane+48]
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	dec	dword [eax+4]
	jnz	_3694
	push	eax
	call	_bbGCFree
	add	esp,4
_3694:
	mov	dword [edi+16],esi
_3690:
_255:
	add	ebx,1
_3678:
	cmp	ebx,dword [ebp-4]
	jl	_257
_256:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1439:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_makeplatforms:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	40
	push	_3696
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_platforms]
	dec	dword [eax+4]
	jnz	_3700
	push	eax
	call	_bbGCFree
	add	esp,4
_3700:
	mov	dword [__bb_map_platforms],ebx
	push	40
	push	_3701
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_platforms_world]
	dec	dword [eax+4]
	jnz	_3705
	push	eax
	call	_bbGCFree
	add	esp,4
_3705:
	mov	dword [__bb_map_platforms_world],ebx
	mov	esi,0
	jmp	_3707
_260:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_platforms]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3711
	push	eax
	call	_bbGCFree
	add	esp,4
_3711:
	mov	eax,dword [__bb_map_platforms]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,dword [__bb_map_platforms]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+8],esi
	mov	eax,dword [__bb_map_platforms]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+12],10
_258:
	add	esi,1
_3707:
	cmp	esi,40
	jl	_260
_259:
	mov	esi,0
	jmp	_3713
_263:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_platforms_world]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3717
	push	eax
	call	_bbGCFree
	add	esp,4
_3717:
	mov	eax,dword [__bb_map_platforms_world]
	mov	dword [eax+esi*4+24],ebx
_261:
	add	esi,1
_3713:
	cmp	esi,40
	jl	_263
_262:
	push	40
	push	_3718
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_camera]
	dec	dword [eax+4]
	jnz	_3722
	push	eax
	call	_bbGCFree
	add	esp,4
_3722:
	mov	dword [__bb_map_camera],ebx
	push	40
	push	_3723
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_camera_world]
	dec	dword [eax+4]
	jnz	_3727
	push	eax
	call	_bbGCFree
	add	esp,4
_3727:
	mov	dword [__bb_map_camera_world],ebx
	mov	esi,0
	jmp	_3729
_266:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_camera]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3733
	push	eax
	call	_bbGCFree
	add	esp,4
_3733:
	mov	eax,dword [__bb_map_camera]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,dword [__bb_map_camera]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+8],esi
	mov	eax,dword [__bb_map_camera]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+12],10
_264:
	add	esi,1
_3729:
	cmp	esi,40
	jl	_266
_265:
	mov	esi,0
	jmp	_3735
_269:
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_map_camera_world]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3739
	push	eax
	call	_bbGCFree
	add	esp,4
_3739:
	mov	eax,dword [__bb_map_camera_world]
	mov	dword [eax+esi*4+24],ebx
_267:
	add	esi,1
_3735:
	cmp	esi,40
	jl	_269
_268:
	mov	eax,0
_1442:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_newplane:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	add	dword [_bb_MAPZ],1
	push	dword [_bb_MAPZ]
	push	0
	push	dword [ebx+8]
	push	_917
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3743
	push	eax
	call	_bbGCFree
	add	esp,4
_3743:
	mov	dword [ebx+8],esi
	push	_bb_plane
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebx+8]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3747
	push	eax
	call	_bbGCFree
	add	esp,4
_3747:
	mov	edx,dword [ebx+8]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	push	eax
	call	dword [_bb_plane+48]
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebx+8]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3751
	push	eax
	call	_bbGCFree
	add	esp,4
_3751:
	mov	edx,dword [ebx+8]
	mov	eax,dword [_bb_MAPZ]
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	add	dword [_bb_gameplane],1
	push	200
	call	_bbDelay
	add	esp,4
	mov	eax,0
_1445:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_draw:
	push	ebp
	mov	ebp,esp
	sub	esp,112
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-84],0
	push	_bb_position
	call	_bbObjectNew
	add	esp,4
	mov	dword [__bb_map_current_platform],0
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	add	eax,1
	mov	dword [edx+12],eax
	mov	ecx,26
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	edx,dword [ebp+8]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3754
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,12
	sete	al
	movzx	eax,al
_3754:
	cmp	eax,0
	jne	_3756
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,18
	sete	al
	movzx	eax,al
_3756:
	cmp	eax,0
	jne	_3758
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,24
	sete	al
	movzx	eax,al
_3758:
	cmp	eax,0
	je	_3760
	mov	dword [ebp-84],1
_3760:
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	cmp	dword [_bb_bg1],_bbNullObject
	je	_3761
	push	1090519040
	push	1090519040
	call	_brl_max2d_SetScale
	add	esp,8
	push	0
	push	0
	push	0
	push	dword [_bb_bg1]
	call	_brl_max2d_DrawImage
	add	esp,16
_3761:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	imul	eax,dword [_bb_HALFTILESIZE]
	add	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fdivp	st1,st0
	fstp	dword [ebp-96]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	imul	eax,dword [_bb_HALFTILESIZE]
	add	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fdivp	st1,st0
	fstp	dword [ebp-104]
	mov	eax,dword [ebp+8]
	fld	dword [eax+20]
	mov	eax,dword [_bb_vGW]
	add	eax,dword [_bb_TILESIZE]
	add	eax,20
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_3764
	fldz
	mov	eax,dword [ebp+8]
	fstp	dword [eax+20]
_3764:
	mov	dword [ebp-52],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp-108],eax
	jmp	_3766
_272:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3768
	mov	eax,dword [ebp-52]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3768:
	cmp	eax,0
	je	_3770
	push	0
	call	dword [_bb_fog+88]
	add	esp,4
_3770:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+8]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [ebp-96]
	fstp	dword [ebp-68]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [ebp-104]
	fstp	dword [ebp-16]
	fld	dword [ebp-68]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-80],eax
	fld	dword [ebp-16]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-92],eax
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3778
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3779
_3778:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3779:
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3780
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3780:
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_3781
	fld	dword [ebp+16]
	fdiv	dword [_6182]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetAlpha
	add	esp,4
_3781:
	cmp	dword [_bb_night],0
	je	_3782
	mov	eax,dword [_bb_NIGHTSHADE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_3782:
	push	3
	fld	dword [_6183]
	fdiv	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbIntMax
	add	esp,8
	mov	dword [ebp-76],eax
	push	2
	fld	dword [_6184]
	fdiv	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbIntMax
	add	esp,8
	mov	dword [ebp-88],eax
	mov	dword [ebp-60],0
	mov	dword [ebp-56],0
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3788
	mov	eax,dword [_bb_screenchange]
	cmp	eax,2
	sete	al
	movzx	eax,al
_3788:
	cmp	eax,0
	je	_3790
	fld	dword [ebp+16]
	fdiv	dword [_6185]
	fmul	dword [_6186]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetRotation
	add	esp,4
	jmp	_3791
_3790:
	push	0
	call	_brl_max2d_SetRotation
	add	esp,4
_3791:
	mov	eax,dword [ebp-52]
	cmp	eax,dword [_bb_splane]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3794
	mov	eax,dword [__bb_map_followsx]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	jne	_3792
	mov	eax,dword [__bb_map_followsy]
	cmp	eax,0
	setg	al
	movzx	eax,al
_3792:
_3794:
	cmp	eax,0
	je	_3796
	cmp	dword [ebp-84],0
	je	_3797
	mov	dword [ebp-64],0
	cmp	dword [_bb_debug],1
	jne	_3799
	push	dword [ebp-52]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_273
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	push	_276
	push	dword [__bb_map_followsy]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_275
	push	dword [__bb_map_followsx]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_274
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_3799:
	push	_bb_switchloc
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [__bb_map_followsx]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [__bb_map_followsy]
	push	dword [ecx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_3800
	push	_bb_switchloc
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [__bb_map_followsx]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [__bb_map_followsy]
	push	dword [ecx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,0
	jne	_3803
	cmp	dword [_bb_debug],1
	jne	_3804
	push	_277
	call	_brl_standardio_Print
	add	esp,4
_3804:
	mov	eax,dword [ebx+36]
	mov	dword [ebp-44],eax
	mov	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-48],eax
	jmp	_278
_280:
	mov	eax,dword [ebp-48]
	push	_bb_position
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_278
	mov	eax,dword [ebp+8]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	imul	eax,3
	mov	ecx,eax
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	add	ecx,dword [eax+8]
	cmp	dword [edi+ecx*4+28],0
	je	_3812
	mov	dword [ebp-64],1
_3812:
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	edi,dword [eax+12]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	mov	ecx,eax
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebx+8]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebx+12]
	mov	eax,dword [edx+eax*4+28]
	add	ecx,dword [eax+8]
	cmp	dword [edi+ecx*4+28],1
	jne	_3813
_3813:
_278:
	mov	eax,dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_280
_279:
	cmp	dword [ebp-64],0
	jne	_3814
	mov	dword [__bb_map_followsx],0
	mov	dword [__bb_map_followsy],0
_3814:
_3803:
_3800:
_3797:
_3796:
	fld	dword [_bb_s]
	fmul	dword [_6187]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_bb_s]
	fmul	dword [_6188]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,dword [ebp-80]
	sub	eax,dword [ebp-76]
	push	eax
	push	0
	call	_bbIntMax
	add	esp,8
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-80]
	add	eax,dword [ebp-76]
	push	eax
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+8]
	sub	eax,1
	push	eax
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-100],eax
	jmp	_3816
_283:
	mov	eax,dword [ebp-36]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-68]
	fmul	dword [_bb_s]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-92]
	sub	eax,dword [ebp-88]
	push	eax
	push	0
	call	_bbIntMax
	add	esp,8
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-92]
	add	eax,dword [ebp-88]
	push	eax
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	sub	eax,1
	push	eax
	call	_bbIntMin
	add	esp,8
	mov	dword [ebp-72],eax
	jmp	_3820
_286:
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	fld	dword [_6189]
	mov	eax,dword [_bb_edit]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3824
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ebx,dword [ebp-40]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+24]
	shl	ecx,2
	mov	eax,dword [ebp-40]
	mov	ebx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ebx+eax*4+28]
	add	ecx,dword [eax+8]
	mov	eax,dword [edx+ecx*4+28]
	cmp	eax,2
	sete	al
	movzx	eax,al
_3824:
	cmp	eax,0
	je	_3826
	fstp	st0
	fld	dword [_bb_s]
	mov	eax,dword [ebp+8]
	fld	dword [eax+20]
	fchs
	fmulp	st1,st0
	fld	dword [ebp-12]
	fadd	st0,st1
	mov	eax,dword [_bb_HALFTILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	faddp	st1,st0
	fadd	dword [_6190]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [_bb_s]
	fchs
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3827
	mov	eax,dword [_bb_vGW]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [_bb_s]
	mov	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	faddp	st1,st0
	faddp	st1,st0
_3827:
_3826:
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+8]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_3840
	mov	eax,dword [_bb_edit]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3838
	mov	eax,dword [ebp-60]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3828
	mov	eax,dword [ebp-56]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3828:
	cmp	eax,0
	jne	_3830
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+52]
	mov	eax,dword [ebp-36]
	cmp	eax,dword [edx+8]
	setl	al
	movzx	eax,al
_3830:
	cmp	eax,0
	jne	_3832
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	add	eax,dword [ebp-60]
	sub	eax,1
	mov	edx,dword [ebp-36]
	cmp	edx,eax
	setg	al
	movzx	eax,al
_3832:
	cmp	eax,0
	jne	_3834
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+52]
	mov	eax,dword [ebp-24]
	cmp	eax,dword [edx+12]
	setl	al
	movzx	eax,al
_3834:
	cmp	eax,0
	jne	_3836
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+12]
	add	eax,dword [ebp-56]
	sub	eax,1
	mov	edx,dword [ebp-24]
	cmp	edx,eax
	setg	al
	movzx	eax,al
_3836:
_3838:
_3840:
	cmp	eax,0
	jne	_6317
	fstp	st0
	fstp	st0
	jmp	_3842
_6317:
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	push	dword [eax+8]
	sub	esp,4
	fxch	st1
	fstp	dword [esp]
	fld	dword [ebp-12]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	push	dword [eax+8]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ebx,dword [ebp-40]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ebx,dword [eax+24]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	add	ebx,dword [eax+8]
	mov	edx,dword [edx+ebx*4+28]
	mov	eax,dword [_bb_edit]
	cmp	eax,-100
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3845
	mov	eax,dword [ebp-84]
_3845:
	cmp	eax,0
	je	_3857
	cmp	edx,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3851
	cmp	edx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3849
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,12
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3847
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,24
	sete	al
	movzx	eax,al
_3847:
_3849:
_3851:
	cmp	eax,0
	jne	_3855
	cmp	edx,2
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3853
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	eax,12
	sete	al
	movzx	eax,al
_3853:
_3855:
_3857:
	cmp	eax,0
	je	_3859
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ebx,dword [ebp-40]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+24]
	imul	ecx,3
	mov	eax,dword [ebp-40]
	mov	ebx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ebx+eax*4+28]
	add	ecx,dword [eax+8]
	mov	eax,dword [edx+ecx*4+28]
	cmp	eax,0
	setg	al
	movzx	eax,al
_3859:
	cmp	eax,0
	je	_3866
	mov	eax,dword [__bb_map_followsx]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3861
	mov	eax,dword [__bb_map_followsy]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3861:
	cmp	eax,0
	jne	_3864
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [__bb_map_followsx]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [__bb_map_followsy]
	mov	eax,dword [ecx+eax*4+28]
	push	dword [ebp-24]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	cmp	eax,0
	sete	al
	movzx	eax,al
_3864:
_3866:
	cmp	eax,0
	je	_3868
	mov	eax,dword [ebp+8]
	push	dword [ebp-24]
	push	dword [ebp-36]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ebx,dword [ebp-40]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+24]
	shl	ecx,2
	mov	eax,dword [ebp-40]
	mov	ebx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ebx+eax*4+28]
	add	ecx,dword [eax+8]
	cmp	dword [edx+ecx*4+28],1
	jne	_3870
_3870:
_3868:
	push	_bb_switchloc
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	push	dword [ecx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_3871
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+8]
	cmp	eax,0
	setne	al
	movzx	eax,al
_3871:
	cmp	eax,0
	je	_3873
	cmp	dword [_bb_edit],0
	je	_3874
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	mov	edx,dword [ecx+eax*4+28]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_287
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
_3874:
	mov	eax,dword [ebp-40]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [ecx+eax*4+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	cmp	eax,0
	je	_3877
	mov	ebx,0
	mov	edi,dword [_bb_PLAYERS]
	jmp	_3879
_290:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_3881
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+36]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+32]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+80]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+60]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	fld	dword [eax+12]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	fld	dword [eax+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+28]
	push	1065353216
	push	1065353216
	push	0
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ecx,dword [ebp-40]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+28]
	push	dword [eax+8]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	esi,dword [ebp-40]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	push	dword [eax+8]
	call	_brl_max2d_ImagesCollide2
	add	esp,56
_3881:
	cmp	eax,0
	je	_3883
	push	_bb_switchloc
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ecx,dword [ebp-40]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-24]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,eax
	mov	eax,dword [edx+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3885
	mov	eax,dword [edx+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3885:
	cmp	eax,0
	je	_3887
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-36]
	mov	ecx,dword [ebp-40]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	eax,dword [ebp-36]
	mov	dword [__bb_map_followsx],eax
	mov	eax,dword [ebp-24]
	mov	dword [__bb_map_followsy],eax
_3887:
_3883:
_288:
	add	ebx,1
_3879:
	cmp	ebx,edi
	jle	_290
_289:
_3877:
_3873:
_3842:
	cmp	dword [_bb_edit],0
	je	_3889
	mov	dword [__bb_map_current_platform],0
	mov	ebx,dword [__bb_map_platform_count]
	jmp	_3890
_293:
	mov	edx,dword [__bb_map_platforms]
	mov	eax,dword [__bb_map_current_platform]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	cmp	eax,dword [ebp-36]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3892
	mov	edx,dword [__bb_map_platforms]
	mov	eax,dword [__bb_map_current_platform]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	cmp	eax,dword [ebp-24]
	sete	al
	movzx	eax,al
_3892:
	cmp	eax,0
	je	_3894
	push	255
	push	255
	push	220
	call	_brl_max2d_SetColor
	add	esp,12
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_bbNullObject
	push	1
	push	18
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-12]
	fsub	dword [_6191]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [__bb_map_current_platform]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_bb_bDrawText
	add	esp,24
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3895
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3896
_3895:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3896:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3897
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3897:
_3894:
	mov	edx,dword [__bb_map_camera]
	mov	eax,dword [__bb_map_current_platform]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	cmp	eax,dword [ebp-36]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3898
	mov	edx,dword [__bb_map_camera]
	mov	eax,dword [__bb_map_current_platform]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	cmp	eax,dword [ebp-24]
	sete	al
	movzx	eax,al
_3898:
	cmp	eax,0
	je	_3900
	push	255
	push	210
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_bbNullObject
	push	1
	push	18
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-12]
	fsub	dword [_6192]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [__bb_map_current_platform]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_bb_bDrawText
	add	esp,24
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3901
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3902
_3901:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3902:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3903
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3903:
_3900:
_291:
	add	dword [__bb_map_current_platform],1
_3890:
	cmp	dword [__bb_map_current_platform],ebx
	jl	_293
_292:
_3889:
	mov	eax,dword [__bb_map_platforms]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+8]
	cmp	eax,dword [ebp-36]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3904
	mov	eax,dword [__bb_map_platforms]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	cmp	eax,dword [ebp-24]
	sete	al
	movzx	eax,al
_3904:
	cmp	eax,0
	je	_3906
_3906:
	mov	eax,dword [_bb_edit]
	cmp	eax,0
	je	_3907
	mov	eax,dword [ebp-52]
	cmp	eax,dword [_bb_splane]
	sete	al
	movzx	eax,al
_3907:
	cmp	eax,0
	je	_3909
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+100]
	cmp	eax,0
	jne	_3910
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+104]
_3910:
	cmp	eax,0
	je	_3912
	mov	edx,dword [_bb_e]
	mov	eax,dword [ebp-36]
	cmp	eax,dword [edx+100]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3913
	mov	edx,dword [_bb_e]
	mov	eax,dword [ebp-24]
	cmp	eax,dword [edx+104]
	sete	al
	movzx	eax,al
_3913:
	cmp	eax,0
	je	_3915
	push	255
	push	255
	push	150
	call	_brl_max2d_SetColor
	add	esp,12
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3916
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3917
_3916:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3917:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3918
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3918:
_3915:
_3912:
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+100]
	cmp	eax,0
	jne	_3919
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+104]
_3919:
	cmp	eax,0
	je	_3921
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+100]
	mov	ecx,dword [ebp-40]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [_bb_e]
	add	eax,dword [ecx+104]
	mov	eax,dword [edx+eax*4+28]
	push	dword [ebp-24]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	cmp	eax,0
	je	_3923
	push	255
	push	100
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1050253722
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3924
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3925
_3924:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3925:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3926
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3926:
_3923:
_3921:
	mov	eax,dword [_bb_e]
	cmp	dword [eax+56],_bbNullObject
	je	_3927
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+56]
	mov	eax,dword [ebp-36]
	cmp	eax,dword [edx+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3928
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+56]
	mov	eax,dword [ebp-24]
	cmp	eax,dword [edx+12]
	sete	al
	movzx	eax,al
_3928:
	cmp	eax,0
	je	_3930
	push	150
	push	255
	push	150
	call	_brl_max2d_SetColor
	add	esp,12
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3931
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3932
_3931:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3932:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3933
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3933:
_3930:
_3927:
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+52]
	mov	eax,dword [ebp-36]
	cmp	eax,dword [edx+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3934
	mov	eax,dword [_bb_e]
	mov	edx,dword [eax+52]
	mov	eax,dword [ebp-24]
	cmp	eax,dword [edx+12]
	sete	al
	movzx	eax,al
_3934:
	cmp	eax,0
	je	_3936
	mov	eax,dword [_bb_e]
	cmp	dword [eax+76],0
	jne	_3937
	push	150
	push	150
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1056964608
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_e]
	cmp	dword [eax+48],0
	je	_3938
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	jmp	_3939
_3938:
	push	1045220557
	call	_brl_max2d_SetAlpha
	add	esp,4
_3939:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,dword [_bb_splane]
	cmp	dword [ebp-52],eax
	jne	_3940
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3940:
	jmp	_3941
_3937:
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+72]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-32],eax
	jmp	_294
_296:
	mov	eax,dword [ebp-32]
	push	_bb_macro
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_294
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax+76]
	cmp	dword [edi+20],eax
	jne	_3948
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp-60],eax
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-56],eax
	mov	dword [ebp-4],0
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp-20],eax
	jmp	_3950
_299:
	mov	ebx,0
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-8],eax
	jmp	_3953
_302:
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [edi+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	cmp	dword [eax+8],0
	jle	_3955
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [edi+24]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	push	dword [eax+8]
	mov	eax,dword [ebp-24]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fsub	dword [ebp-16]
	fmul	dword [_bb_s]
	mov	eax,ebx
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [_bb_s]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-12]
	mov	eax,dword [ebp-4]
	imul	eax,dword [_bb_TILESIZE]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fmul	dword [_bb_s]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edi+24]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ecx+eax*4+24]
	push	dword [eax+8]
	call	_brl_max2d_DrawImage
	add	esp,16
_3955:
_300:
	add	ebx,1
_3953:
	cmp	ebx,dword [ebp-8]
	jl	_302
_301:
_297:
	add	dword [ebp-4],1
_3950:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-4],eax
	jl	_299
_298:
_3948:
_294:
	mov	eax,dword [ebp-32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_296
_295:
_3941:
_3936:
_3909:
_284:
	add	dword [ebp-24],1
_3820:
	mov	eax,dword [ebp-72]
	cmp	dword [ebp-24],eax
	jle	_286
_285:
_281:
	add	dword [ebp-36],1
_3816:
	mov	eax,dword [ebp-100]
	cmp	dword [ebp-36],eax
	jle	_283
_282:
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebp-52]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3957
	fld	dword [_bb_blightning]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3957:
	cmp	eax,0
	je	_3959
	fld	dword [_bb_blightning]
	fsub	dword [_6193]
	fstp	dword [_bb_blightning]
	push	dword [_bb_blightning]
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGW]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGH]
	neg	eax
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGW]
	neg	eax
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
_3959:
	mov	eax,dword [ebp-52]
	cmp	eax,dword [_bb_gameplane]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3963
	mov	eax,dword [_bb_edit]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3961
	mov	eax,dword [_bb_edit]
	cmp	eax,2
	sete	al
	movzx	eax,al
_3961:
_3963:
	cmp	eax,0
	je	_3965
	mov	eax,dword [ebp+12]
	cmp	eax,1
	sete	al
	movzx	eax,al
_3965:
	cmp	eax,0
	je	_3967
	mov	eax,dword [_bb_grq]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,12
_3967:
	mov	eax,dword [_bb_stage]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3969
	mov	eax,dword [ebp-52]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3969:
	cmp	eax,0
	je	_3971
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	fld	dword [_6194]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3971:
	cmp	eax,0
	je	_3973
	mov	ebx,0
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+60]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_3975
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+60]
	cmp	eax,4
	setl	al
	movzx	eax,al
_3975:
	cmp	eax,0
	je	_3977
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	ebx,dword [eax+60]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+60],4
_3977:
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	fsub	dword [_6195]
	fstp	dword [edx+8]
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fsub	dword [_6196]
	fstp	dword [edx+12]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	fadd	dword [_6197]
	fstp	dword [edx+8]
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fadd	dword [_6198]
	fstp	dword [edx+12]
	cmp	ebx,0
	je	_3979
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+60],ebx
_3979:
_3973:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+36],1
	jne	_3980
	mov	eax,dword [_bb_stage]
	cmp	eax,2
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_3981
	mov	edx,dword [_bb_MAPZ]
	sub	edx,1
	mov	eax,dword [ebp-52]
	cmp	eax,edx
	sete	al
	movzx	eax,al
_3981:
	cmp	eax,0
	je	_3983
	push	1
	call	dword [_bb_fog+88]
	add	esp,4
_3983:
	mov	eax,dword [_bb_stage]
	cmp	eax,2
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3984
	mov	eax,dword [ebp-52]
	cmp	eax,dword [_bb_gameplane]
	sete	al
	movzx	eax,al
_3984:
	cmp	eax,0
	je	_3986
	push	1
	call	dword [_bb_fog+88]
	add	esp,4
_3986:
_3980:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	cmp	eax,3
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3987
	mov	eax,dword [ebp-52]
	cmp	eax,dword [_bb_gameplane]
	sete	al
	movzx	eax,al
_3987:
	cmp	eax,0
	je	_3989
	push	1
	call	dword [_bb_fog+88]
	add	esp,4
_3989:
	cmp	dword [_bb_night],0
	je	_3990
	mov	eax,dword [_bb_NIGHTSHADE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_3990:
_270:
	add	dword [ebp-52],1
_3766:
	mov	eax,dword [ebp-108]
	cmp	dword [ebp-52],eax
	jl	_272
_271:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3993
_3993:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3994
_3994:
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	cmp	dword [_bb_edit],0
	je	_3995
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp+8]
	mov	dword [eax+32],edx
	jmp	_3996
_3995:
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	sub	eax,1
	mov	dword [edx+32],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+32],0
	jne	_3997
	push	1
	push	0
	push	0
	push	0
	push	_303
	call	dword [_bb_gameobj+84]
	add	esp,20
_3997:
_3996:
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1450:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_animtiles:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [ebp+12]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	esi,dword [ebp+12]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	ecx,dword [eax+24]
	imul	ecx,3
	mov	eax,dword [ebp+12]
	mov	ebx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	esi,dword [ebp+12]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ebx+eax*4+28]
	add	ecx,dword [eax+8]
	mov	eax,dword [edx+ecx*4+28]
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],0
	jne	_4000
	mov	dword [ebp-20],1
_4000:
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [ebp+12]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [ebp+12]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ecx+eax*4+28]
	mov	eax,dword [eax+8]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [ebp+12]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,dword [ebp+20]
	mov	eax,dword [ecx+eax*4+28]
	sub	edx,dword [eax+8]
	mov	dword [ebp-12],edx
	mov	dword [ebp-4],1
	mov	edx,dword [_bb_animtilex]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-16],eax
	jmp	_4003
_306:
	mov	edi,1
	mov	edx,dword [_bb_animtiley]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-8],eax
	jmp	_4006
_309:
	mov	eax,dword [ebp+12]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	ecx,dword [ebp-4]
	sub	ecx,1
	add	eax,ecx
	mov	ecx,dword [ebp+12]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ebx,dword [ebp+20]
	mov	ecx,edi
	sub	ecx,1
	add	ebx,ecx
	add	eax,ebx
	mov	esi,dword [edx+eax*4+28]
	mov	eax,dword [ebp+12]
	mov	ebx,dword [eax+16]
	mov	eax,dword [ebp+16]
	mov	edx,dword [ebp-4]
	sub	edx,1
	add	eax,edx
	mov	edx,dword [ebp+12]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	mov	ecx,eax
	mov	edx,dword [ebp+20]
	mov	eax,edi
	sub	eax,1
	add	edx,eax
	add	ecx,edx
	mov	eax,dword [ebx+ecx*4+28]
	mov	eax,dword [eax+8]
	add	eax,dword [ebp-12]
	mov	dword [esi+8],eax
_307:
	add	edi,1
_4006:
	cmp	edi,dword [ebp-8]
	jle	_309
_308:
_304:
	add	dword [ebp-4],1
_4003:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-4],eax
	jle	_306
_305:
	mov	eax,0
_1456:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_bwrite:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	ebx,0
	mov	edx,dword [_bb_MAPZ]
	mov	dword [ebp-4],edx
	jmp	_4009
_312:
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+ebx*4+24]
	push	eax
	push	edi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+72]
	add	esp,12
_310:
	add	ebx,1
_4009:
	cmp	ebx,dword [ebp-4]
	jl	_312
_311:
_1461:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_bread:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	ebx,0
	mov	edx,dword [_bb_MAPZ]
	mov	dword [ebp-4],edx
	jmp	_4013
_315:
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+ebx*4+24]
	push	eax
	push	edi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+76]
	add	esp,12
_313:
	add	ebx,1
_4013:
	cmp	ebx,dword [ebp-4]
	jl	_315
_314:
_1466:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_savemap:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	1000000
	call	dword [_brl_bank_TBank+140]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,edi
	push	dword [_bb_MAPZ]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	esi,edi
	mov	eax,dword [_bb_gol]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	push	eax
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	esi,0
	mov	eax,dword [_bb_MAPZ]
	mov	dword [ebp-4],eax
	jmp	_4022
_318:
	mov	eax,edi
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+12]
	mov	edx,ebx
	add	edx,4
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,8
_316:
	add	esi,1
_4022:
	cmp	esi,dword [ebp-4]
	jl	_318
_317:
	mov	eax,edi
	push	dword [_bb_gameplane]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,edi
	mov	edx,dword [ebp+8]
	push	dword [edx+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,edi
	mov	edx,dword [ebp+8]
	push	dword [edx+28]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,edi
	push	dword [__bb_map_platform_count]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,edi
	mov	edx,dword [ebp+8]
	push	dword [edx+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,edi
	mov	edx,dword [ebp+8]
	push	dword [edx+40]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	ebx,1024
	mov	eax,dword [ebp+8]
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	mov	ebx,eax
	mov	eax,dword [_bb_gol]
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,12
	mov	ebx,eax
	cmp	dword [__bb_map_platform_count],0
	jle	_4034
	mov	esi,0
	mov	eax,dword [__bb_map_platform_count]
	mov	dword [ebp-8],eax
	jmp	_4036
_321:
	mov	eax,edi
	mov	edx,dword [__bb_map_platforms]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [__bb_map_platforms]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+12]
	mov	edx,ebx
	add	edx,4
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [__bb_map_camera]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+8]
	mov	edx,ebx
	add	edx,8
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [__bb_map_camera]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+12]
	mov	edx,ebx
	add	edx,12
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,16
_319:
	add	esi,1
_4036:
	cmp	esi,dword [ebp-8]
	jl	_321
_320:
_4034:
	mov	eax,ebx
	add	eax,1
	push	eax
	push	edi
	call	_brl_bank_ResizeBank
	add	esp,8
	push	_134
	push	dword [_bb_stage]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_133
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_132
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	edi
	call	_brl_bank_SaveBank
	add	esp,8
	cmp	eax,0
	jne	_4043
	push	_322
	call	_brl_blitz_RuntimeError
	add	esp,4
_4043:
	mov	eax,0
_1469:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_loadmap:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_4047
	push	eax
	call	_bbGCFree
	add	esp,4
_4047:
	mov	dword [_bb_gol],ebx
	push	_bb_graphq
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_grq]
	dec	dword [eax+4]
	jnz	_4051
	push	eax
	call	_bbGCFree
	add	esp,4
_4051:
	mov	dword [_bb_grq],ebx
	push	_134
	push	dword [_bb_stage]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_133
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_132
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_bank_LoadBank
	add	esp,4
	mov	dword [ebp-16],eax
	push	_134
	push	dword [_bb_stage]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_133
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_132
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,dword [ebp-16]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_4053
	push	_323
	call	_bb_sInput
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [_bb_MAPZ],eax
	mov	esi,0
	mov	edi,dword [_bb_MAPZ]
	jmp	_4055
_326:
	mov	ebx,dword [_bb_planexsize]
	push	_328
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_327
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_sInput
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+esi*4+24],eax
_324:
	add	esi,1
_4055:
	cmp	esi,edi
	jl	_326
_325:
	mov	esi,0
	mov	edi,dword [_bb_MAPZ]
	jmp	_4058
_331:
	mov	ebx,dword [_bb_planeysize]
	push	_332
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_327
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_sInput
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+esi*4+24],eax
_329:
	add	esi,1
_4058:
	cmp	esi,edi
	jl	_331
_330:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	push	dword [_bb_gameplane]
	call	dword [_bb_plane+48]
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4064
	push	eax
	call	_bbGCFree
	add	esp,4
_4064:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_4053:
	mov	edi,0
	cmp	dword [ebp-16],_bbNullObject
	je	_4068
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [_bb_MAPZ],eax
	mov	dword [_bb_MAPZ],3
	push	_334
	push	dword [_bb_MAPZ]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_333
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [ebp-20],eax
	push	_335
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_333
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	add	edi,4
	push	dword [_bb_MAPZ]
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	_917
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4073
	push	eax
	call	_bbGCFree
	add	esp,4
_4073:
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],ebx
	mov	ebx,0
	mov	eax,dword [_bb_MAPZ]
	mov	dword [ebp-12],eax
	jmp	_4075
_338:
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	push	ebx
	call	dword [_bb_plane+48]
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4080
	push	eax
	call	_bbGCFree
	add	esp,4
_4080:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	esi,dword [eax+ebx*4+24]
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+8],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	esi,dword [eax+ebx*4+24]
	mov	eax,edi
	add	eax,4
	push	eax
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+12],eax
	mov	eax,dword [_bb_planexsize]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	mov	dword [eax+ebx*4+24],edx
	mov	eax,dword [_bb_planeysize]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+12]
	mov	dword [eax+ebx*4+24],edx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	push	2
	push	_4081
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4085
	push	eax
	call	_bbGCFree
	add	esp,4
_4085:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+16],esi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	_bbNullObject
	push	0
	push	0
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+12]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,24
	add	edi,8
_336:
	add	ebx,1
_4075:
	cmp	ebx,dword [ebp-12]
	jl	_338
_337:
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [_bb_gameplane],eax
	push	dword [_bb_gameplane]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_339
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,dword [_bb_gameplane]
	mov	dword [_bb_splane],eax
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+24],eax
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+28],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp+8]
	mov	dword [eax+32],edx
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [__bb_map_platform_count],eax
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+36],eax
	add	edi,4
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	edx,dword [ebp+8]
	mov	dword [edx+40],eax
	add	edi,4
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_340
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	edi,1024
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_341
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,dword [ebp+8]
	push	edi
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	mov	edi,eax
	cmp	dword [_bb_gol],_bbNullObject
	je	_4088
	mov	esi,dword [_bb_gol]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_342
_344:
	mov	eax,ebx
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_342
	mov	dword [eax+92],1
_342:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_344
_343:
	cmp	dword [_bb_grq],_bbNullObject
	je	_4095
	mov	eax,dword [_bb_grq]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,12
_4095:
_4088:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_4101
	push	eax
	call	_bbGCFree
	add	esp,4
_4101:
	mov	dword [_bb_gol],ebx
	push	_bb_gameobj
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	ebx,1
	mov	eax,dword [ebp-20]
	mov	dword [ebp-8],eax
	jmp	_4104
_347:
	mov	eax,esi
	push	edi
	push	dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,12
	mov	edi,eax
	push	_1
	push	dword [esi+116]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_4107
	push	0
	push	dword [esi+128]
	push	dword [esi+124]
	push	dword [esi+120]
	push	dword [esi+116]
	call	dword [_bb_gameobj+84]
	add	esp,20
_4107:
_345:
	add	ebx,1
_4104:
	cmp	ebx,dword [ebp-8]
	jle	_347
_346:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	dword [__bb_map_platform_count],0
	jle	_4109
	mov	ebx,0
	mov	eax,dword [__bb_map_platform_count]
	mov	dword [ebp-4],eax
	jmp	_4111
_350:
	mov	eax,dword [__bb_map_platforms]
	mov	esi,dword [eax+ebx*4+24]
	push	edi
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+8],eax
	mov	eax,dword [__bb_map_platforms]
	mov	esi,dword [eax+ebx*4+24]
	mov	eax,edi
	add	eax,4
	push	eax
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+12],eax
	mov	eax,dword [__bb_map_camera]
	mov	esi,dword [eax+ebx*4+24]
	mov	eax,edi
	add	eax,8
	push	eax
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+8],eax
	mov	eax,dword [__bb_map_camera]
	mov	esi,dword [eax+ebx*4+24]
	mov	eax,edi
	add	eax,12
	push	eax
	push	dword [ebp-16]
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+12],eax
	add	edi,16
_348:
	add	ebx,1
_4111:
	cmp	ebx,dword [ebp-4]
	jl	_350
_349:
_4109:
_4068:
	mov	eax,0
_1472:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_stagebackup:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	push	0
	push	0
	push	0
	push	0
	push	_bbNullObject
	push	dword [_bb_gameplane]
	call	dword [_bb_plane+48]
	add	esp,24
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4116
	push	eax
	call	_bbGCFree
	add	esp,4
_4116:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
	mov	dword [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp-12],eax
	jmp	_4118
_353:
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-8],eax
	jmp	_4121
_356:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,edi
	mov	esi,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	ebx,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,edi
	mov	eax,dword [ebx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	dword [esi+12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ecx,dword [ebp+8]
	mov	ecx,dword [ecx+16]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	add	eax,edi
	mov	esi,dword [edx+eax*4+28]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	ebx,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,edi
	mov	eax,dword [ebx+eax*4+28]
	mov	eax,dword [eax+8]
	mov	dword [esi+8],eax
_354:
	add	edi,1
_4121:
	cmp	edi,dword [ebp-8]
	jl	_356
_355:
_351:
	add	dword [ebp-4],1
_4118:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jl	_353
_352:
	mov	eax,0
_1475:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_map_stagerestore:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	dword [ebp-4],0
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp-12],eax
	jmp	_4124
_359:
	mov	ebx,0
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-8],eax
	jmp	_4127
_362:
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,ebx
	mov	ecx,dword [esi+eax*4+28]
	mov	eax,dword [edi+16]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edi+16]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	dword [ecx+12],eax
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,ebx
	mov	ecx,dword [esi+eax*4+28]
	mov	eax,dword [edi+16]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edi+16]
	mov	esi,dword [esi+16]
	imul	eax,dword [esi+24]
	add	eax,ebx
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+8]
	mov	dword [ecx+8],eax
	push	_bb_switchloc
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,ebx
	push	dword [esi+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4129
	push	_bb_switchloc
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+16]
	mov	ecx,dword [ebp-4]
	mov	edx,dword [edi+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,ebx
	push	dword [esi+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [eax+16],0
_4129:
_360:
	add	ebx,1
_4127:
	cmp	ebx,dword [ebp-8]
	jl	_362
_361:
_357:
	add	dword [ebp-4],1
_4124:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jl	_359
_358:
	mov	eax,0
_1478:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_maploc_New
	add	esp,4
	mov	dword [ebx],_bb_signloc
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,0
_1481:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1484:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4136
	push	eax
	call	_bbGCFree
	add	esp,4
_4136:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4138
	push	eax
	call	_bbGCFree
	add	esp,4
_4138:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4140
	push	eax
	call	_bbGCFree
	add	esp,4
_4140:
	mov	dword [ebx],_bb_maploc
	push	ebx
	call	__bb_maploc_Delete
	add	esp,4
	mov	eax,0
_4134:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_Create:
	push	ebp
	mov	ebp,esp
	push	_bb_signloc
	call	_bbObjectNew
	add	esp,4
_1486:
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_read:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,_bbEmptyString
	cmp	edx,0
	je	_4145
	cmp	edx,1
	je	_4146
	cmp	edx,2
	je	_4147
	jmp	_4144
_4145:
	mov	eax,dword [ecx+16]
	jmp	_4144
_4146:
	mov	eax,dword [ecx+20]
	jmp	_4144
_4147:
	mov	eax,dword [ecx+24]
_4144:
_1490:
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_addtext:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	cmp	esi,_bbNullObject
	je	_4148
	cmp	eax,0
	je	_4151
	cmp	eax,1
	je	_4152
	cmp	eax,2
	je	_4153
	jmp	_4150
_4151:
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4157
	push	eax
	call	_bbGCFree
	add	esp,4
_4157:
	mov	dword [esi+16],ebx
	jmp	_4150
_4152:
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4161
	push	eax
	call	_bbGCFree
	add	esp,4
_4161:
	mov	dword [esi+20],ebx
	jmp	_4150
_4153:
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4165
	push	eax
	call	_bbGCFree
	add	esp,4
_4165:
	mov	dword [esi+24],ebx
_4150:
_4148:
	mov	eax,0
_1495:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_signloc_bwrite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	eax,esi
	push	254
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	ebx,1
	push	ebx
	push	esi
	push	edi
	call	__bb_maploc_bwrite
	add	esp,12
	mov	ebx,eax
	push	ebx
	push	esi
	push	dword [edi+16]
	call	_bb_stringwrite
	add	esp,12
	mov	ebx,eax
	push	ebx
	push	esi
	push	dword [edi+20]
	call	_bb_stringwrite
	add	esp,12
	mov	ebx,eax
	push	ebx
	push	esi
	push	dword [edi+24]
	call	_bb_stringwrite
	add	esp,12
	mov	ebx,eax
	mov	eax,ebx
_1500:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_maploc_New
	add	esp,4
	mov	dword [ebx],_bb_switchloc
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	mov	dword [ebx+48],0
	mov	eax,0
_1503:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1506:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_4174
	push	eax
	call	_bbGCFree
	add	esp,4
_4174:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_4176
	push	eax
	call	_bbGCFree
	add	esp,4
_4176:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_4178
	push	eax
	call	_bbGCFree
	add	esp,4
_4178:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4180
	push	eax
	call	_bbGCFree
	add	esp,4
_4180:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4182
	push	eax
	call	_bbGCFree
	add	esp,4
_4182:
	mov	dword [ebx],_bb_maploc
	push	ebx
	call	__bb_maploc_Delete
	add	esp,4
	mov	eax,0
_4172:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bb_switchloc
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+20],esi
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4187
	push	eax
	call	_bbGCFree
	add	esp,4
_4187:
	mov	dword [ebx+28],esi
	push	_bb_maploc
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4191
	push	eax
	call	_bbGCFree
	add	esp,4
_4191:
	mov	dword [ebx+32],esi
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_4195
	push	eax
	call	_bbGCFree
	add	esp,4
_4195:
	mov	dword [ebx+36],esi
	mov	dword [ebx+24],edi
	mov	dword [ebx+16],0
	mov	eax,ebx
_1510:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_hasloc:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,0
	mov	eax,dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,0
	jne	_4198
	mov	esi,dword [ebx+36]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_363
_365:
	mov	eax,ebx
	push	_bb_position
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,eax
	cmp	edx,_bbNullObject
	je	_363
	mov	eax,dword [edx+8]
	cmp	eax,dword [ebp+12]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4205
	mov	eax,dword [edx+12]
	cmp	eax,dword [ebp+16]
	sete	al
	movzx	eax,al
_4205:
	cmp	eax,0
	je	_4207
	mov	edi,1
_4207:
_363:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_365
_364:
_4198:
	mov	eax,edi
_1515:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_removeloc:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,0
	jne	_4209
	mov	esi,dword [edi+36]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_366
_368:
	mov	eax,ebx
	push	_bb_position
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edx,eax
	cmp	edx,_bbNullObject
	je	_366
	mov	eax,dword [edx+8]
	cmp	eax,dword [ebp+12]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4216
	mov	eax,dword [edx+12]
	cmp	eax,dword [ebp+16]
	sete	al
	movzx	eax,al
_4216:
	cmp	eax,0
	je	_4218
	push	edx
	push	dword [edi+36]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_4218:
_366:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_368
_367:
_4209:
	mov	eax,0
_1520:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_addloc:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	dword [edx+36]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
_1524:
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_attachin:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_4222
	push	eax
	call	_bbGCFree
	add	esp,4
_4222:
	mov	dword [esi+40],ebx
	mov	eax,0
_1528:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_attachout:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_4226
	push	eax
	call	_bbGCFree
	add	esp,4
_4226:
	mov	dword [esi+44],ebx
	mov	eax,0
_1532:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_setcombo1:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4230
	push	eax
	call	_bbGCFree
	add	esp,4
_4230:
	mov	dword [esi+28],ebx
	mov	eax,0
_1536:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_setcombo2:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4234
	push	eax
	call	_bbGCFree
	add	esp,4
_4234:
	mov	dword [esi+32],ebx
	mov	eax,0
_1540:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_onhit:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [eax+36]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_369
_371:
	mov	eax,dword [ebp-4]
	push	_bb_position
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_369
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	ebx,dword [eax+16]
	mov	ecx,dword [esi+8]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	imul	ecx,dword [eax+24]
	mov	eax,ecx
	add	eax,dword [esi+12]
	mov	eax,dword [ebx+eax*4+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
_369:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_371
_370:
	mov	eax,0
_1543:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_fliptoggle:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4242
	mov	eax,dword [ebx+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
_4242:
	cmp	eax,0
	je	_4244
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	mov	eax,1
	sub	eax,dword [ebx+16]
	mov	dword [ebx+16],eax
	mov	dword [ebx+48],50
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,4
_4244:
	mov	eax,0
_1546:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_gettoggle:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
_1549:
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_swaitcheck:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	dword [eax+48],0
	jle	_4247
	sub	dword [eax+48],1
_4247:
	mov	eax,dword [eax+48]
	cmp	eax,0
	setle	al
	movzx	eax,al
_1552:
	mov	esp,ebp
	pop	ebp
	ret
__bb_switchloc_bwrite:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	eax,edi
	push	255
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	ebx,1
	push	ebx
	push	edi
	push	esi
	call	__bb_maploc_bwrite
	add	esp,12
	mov	ebx,eax
	mov	eax,edi
	mov	edx,dword [esi+20]
	and	edx,0xff
	mov	edx,edx
	push	edx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [esi+24]
	and	edx,0xff
	mov	edx,edx
	push	edx
	mov	edx,ebx
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	ebx,2
	mov	eax,dword [esi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	mov	edx,edi
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	push	eax
	push	ebx
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,12
	add	ebx,1
	mov	eax,dword [esi+36]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_372
_374:
	mov	eax,dword [ebp-8]
	push	_bb_position
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_372
	mov	eax,edi
	push	dword [esi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	mov	eax,edi
	push	dword [esi+12]
	mov	edx,ebx
	add	edx,4
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,8
_372:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_374
_373:
	mov	eax,ebx
_1557:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_maploc
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	eax,0
_1560:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1563:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_4262:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_fliptoggle:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1566:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_gettoggle:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1569:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_removeloc:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1574:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_read:
	push	ebp
	mov	ebp,esp
	mov	eax,_1
_1578:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_addloc:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1582:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_addtext:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1587:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_drawsign:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1592:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_hasloc:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1597:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_swaitcheck:
	push	ebp
	mov	ebp,esp
	mov	eax,1
_1600:
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_nextframe:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ecx,dword [ebp+8]
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ecx+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ecx+8]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ecx+8],eax
	mov	edx,dword [_bb_tset]
	mov	eax,dword [ecx+12]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+12]
	mov	ebx,dword [_bb_tset]
	mov	eax,dword [ecx+12]
	mov	eax,dword [ebx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+24]
	shl	eax,2
	add	eax,dword [ecx+8]
	cmp	dword [edx+eax*4+28],1
	jne	_4263
_4263:
	mov	eax,0
_1603:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_bwrite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	eax,esi
	mov	edx,dword [edi+12]
	and	edx,0xff
	mov	edx,edx
	push	edx
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,esi
	mov	edx,dword [edi+8]
	and	edx,0xff
	mov	edx,edx
	push	edx
	mov	edx,ebx
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	ebx,2
	mov	eax,ebx
_1608:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_maploc_bread:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	dword [edi+12],eax
	mov	eax,esi
	mov	edx,ebx
	add	edx,1
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	dword [edi+8],eax
	add	ebx,2
	mov	eax,ebx
_1613:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_macro_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_macro
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,0
_1616:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_macro_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1619:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4271
	push	eax
	call	_bbGCFree
	add	esp,4
_4271:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_4269:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_macro_getmacro:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+20]
	mov	edi,dword [ebp+24]
	push	_bb_macro
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+32]
	push	dword [ebp+28]
	push	edi
	push	esi
	push	dword [ebp+16]
	push	0
	call	dword [_bb_plane+48]
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4276
	push	eax
	call	_bbGCFree
	add	esp,4
_4276:
	mov	dword [ebx+24],esi
	mov	eax,dword [ebp+12]
	mov	dword [ebx+8],eax
	mov	eax,dword [ebp+8]
	mov	dword [ebx+20],eax
	mov	eax,ebx
_1628:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_macro_gettilesetmacro:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_bb_macro
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	edi
	push	esi
	call	dword [_bb_plane+52]
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4281
	push	eax
	call	_bbGCFree
	add	esp,4
_4281:
	mov	dword [ebx+24],esi
	mov	dword [ebx+8],2
	mov	eax,dword [ebp+8]
	mov	dword [ebx+20],eax
	mov	eax,ebx
_1633:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_macro_draw:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp-12],eax
	jmp	_4283
_377:
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp-8],eax
	jmp	_4286
_380:
	mov	eax,dword [ebp+12]
	mov	esi,dword [eax+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+8]
	sub	eax,1
	push	eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp+16]
	add	edx,dword [eax+8]
	push	edx
	call	_bbIntMin
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+12]
	sub	eax,1
	push	eax
	mov	edx,edi
	mov	eax,dword [ebp+16]
	add	edx,dword [eax+12]
	push	edx
	call	_bbIntMin
	add	esp,8
	add	ebx,eax
	mov	ecx,dword [esi+ebx*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [ebp+8]
	mov	ebx,dword [ebx+24]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,edi
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+8]
	mov	dword [ecx+8],eax
	mov	eax,dword [ebp+12]
	mov	esi,dword [eax+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+8]
	sub	eax,1
	push	eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp+16]
	add	edx,dword [eax+8]
	push	edx
	call	_bbIntMin
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	edx,dword [edx+16]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+12]
	sub	eax,1
	push	eax
	mov	edx,edi
	mov	eax,dword [ebp+16]
	add	edx,dword [eax+12]
	push	edx
	call	_bbIntMin
	add	esp,8
	add	ebx,eax
	mov	ecx,dword [esi+ebx*4+28]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [ebp+8]
	mov	ebx,dword [ebx+24]
	mov	ebx,dword [ebx+16]
	imul	eax,dword [ebx+24]
	add	eax,edi
	mov	eax,dword [edx+eax*4+28]
	mov	eax,dword [eax+12]
	mov	dword [ecx+12],eax
_378:
	add	edi,1
_4286:
	cmp	edi,dword [ebp-8]
	jl	_380
_379:
_375:
	add	dword [ebp-4],1
_4283:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jl	_377
_376:
	mov	eax,0
_1638:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_level_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_level
	mov	dword [ebx+8],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
_1641:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_level_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1644:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4291
	push	eax
	call	_bbGCFree
	add	esp,4
_4291:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_4289:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_level_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_bb_level
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	mov	edx,0
	jmp	_4294
_383:
_381:
	add	edx,1
_4294:
	cmp	edx,ebx
	jl	_383
_382:
_1647:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_stringwrite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+16]
	mov	eax,dword [ebp+8]
	mov	edi,dword [eax+8]
	mov	eax,dword [ebp+12]
	push	edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	add	esi,1
	mov	ebx,0
	jmp	_4299
_386:
	push	dword [ebp+8]
	call	_bbStringToCString
	add	esp,4
	mov	edx,dword [ebp+12]
	movzx	eax,byte [eax+ebx]
	mov	eax,eax
	push	eax
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,12
	add	esi,1
_384:
	add	ebx,1
_4299:
	cmp	ebx,edi
	jle	_386
_385:
	mov	ecx,32
	mov	eax,esi
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,0
	je	_4303
	mov	ecx,32
	mov	ebx,32
	mov	eax,esi
	cdq
	idiv	ebx
	mov	eax,edx
	sub	ecx,eax
	add	esi,ecx
_4303:
	mov	eax,esi
_1652:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_stringoffset_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_stringoffset
	mov	dword [ebx+8],0
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
_1655:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_stringoffset_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1658:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4307
	push	eax
	call	_bbGCFree
	add	esp,4
_4307:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_4305:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_stringread:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bb_stringoffset
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],edi
	push	dword [ebx+8]
	push	esi
	call	_brl_bank_PeekByte
	add	esp,8
	mov	edi,eax
	add	dword [ebx+8],1
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	add	eax,dword [ebx+8]
	push	eax
	call	_bbStringFromCString
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4315
	push	eax
	call	_bbGCFree
	add	esp,4
_4315:
	mov	dword [ebx+12],esi
	push	dword [ebx+12]
	push	_387
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,edi
	add	eax,1
	add	dword [ebx+8],eax
	mov	ecx,32
	mov	eax,dword [ebx+8]
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,0
	je	_4316
	mov	ecx,32
	mov	esi,32
	mov	eax,dword [ebx+8]
	cdq
	idiv	esi
	mov	eax,edx
	sub	ecx,eax
	add	dword [ebx+8],ecx
_4316:
	mov	eax,ebx
_1662:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_sPeekInt:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	_brl_bank_PeekInt
	add	esp,8
_1666:
	mov	esp,ebp
	pop	ebp
	ret
_bb_autodraw:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ebx,0
	mov	edi,eax
	jmp	_4319
_390:
	push	ebx
	push	0
	push	0
	push	esi
	call	_brl_max2d_DrawImage
	add	esp,16
_388:
	add	ebx,1
_4319:
	cmp	ebx,edi
	jl	_390
_389:
	mov	eax,0
_1670:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_linkedlist_TList_New
	add	esp,4
	mov	dword [ebx],_bb_gameobjlist
	mov	eax,0
_1673:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1676:
	mov	dword [eax],_brl_linkedlist_TList
	push	eax
	call	__brl_linkedlist_TList_Delete
	add	esp,4
	mov	eax,0
_4321:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_bwrite:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	eax,dword [_bb_gol]
	push	_392
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_391
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-4],eax
	jmp	_393
_395:
	mov	eax,dword [ebp-4]
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_393
	cmp	dword [esi+92],0
	jne	_4329
	mov	eax,esi
	push	edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,12
	mov	edi,eax
	push	dword [esi+116]
	push	_396
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_4329:
_393:
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_395
_394:
	mov	eax,edi
_1681:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_Count:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_linkedlist_TList_Count
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_397
_399:
	mov	eax,edi
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_397
	cmp	dword [eax+92],0
	je	_4339
	add	esi,1
_4339:
_397:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_399
_398:
	sub	dword [ebp-4],esi
	mov	eax,dword [ebp-4]
_1684:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_add:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
_1688:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobjlist_reset:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	ebx,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_400
_402:
	mov	eax,edi
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_400
	mov	dword [esi+104],0
	mov	dword [esi+60],0
	mov	eax,esi
	push	dword [esi+136]
	push	dword [esi+128]
	push	dword [esi+124]
	push	dword [esi+120]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,20
	cmp	dword [esi+136],0
	je	_4347
	mov	dword [esi+92],1
	mov	eax,dword [_bb_grq]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,12
_4347:
	push	dword [esi+92]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_405
	push	dword [esi+116]
	push	_404
	push	dword [esi+132]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_403
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_400:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_402
_401:
	mov	eax,0
_1691:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_graph_New
	add	esp,4
	mov	dword [ebx],_bb_gameobj
	mov	dword [ebx+104],0
	mov	dword [ebx+108],0
	mov	dword [ebx+112],0
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+116],eax
	mov	dword [ebx+120],0
	mov	dword [ebx+124],0
	mov	dword [ebx+128],0
	mov	dword [ebx+132],0
	mov	dword [ebx+136],0
	mov	dword [ebx+140],0
	mov	dword [ebx+144],0
	mov	eax,0
_1694:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1697:
	mov	eax,dword [ebx+116]
	dec	dword [eax+4]
	jnz	_4352
	push	eax
	call	_bbGCFree
	add	esp,4
_4352:
	mov	dword [ebx],_bb_graph
	push	ebx
	call	__bb_graph_Delete
	add	esp,4
	mov	eax,0
_4350:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_make:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+20]
	mov	ebx,_bbNullObject
	cmp	dword [ebp+24],0
	jne	_4354
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_408
	push	dword [ebp+8]
	push	_407
	push	dword [_bb_nextgobj]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_406
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_4354:
	mov	esi,dword [ebp+8]
	push	_79
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_4357
	push	_409
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_4358
	push	_80
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_4359
	push	_81
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_4360
	jmp	_4356
_4357:
	mov	esi,edi
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+esi*4+24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_4362
	push	_bb_avatar
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4366
	push	eax
	call	_bbGCFree
	add	esp,4
_4366:
	mov	eax,dword [_bb_player]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+248],100
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+144],0
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [eax+240],0
	jmp	_4367
_4362:
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [edx+8]
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [edx+12]
_4367:
	mov	eax,dword [_bb_player]
	mov	ebx,dword [eax+esi*4+24]
	jmp	_4356
_4358:
	push	_bb_icebit
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	jmp	_4356
_4359:
	push	_bb_angel
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	jmp	_4356
_4360:
	push	_bb_patient
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
_4356:
	cmp	ebx,_bbNullObject
	je	_4371
	mov	eax,ebx
	push	dword [ebp+24]
	push	edi
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,20
	mov	eax,dword [ebp+8]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+116]
	dec	dword [eax+4]
	jnz	_4376
	push	eax
	call	_bbGCFree
	add	esp,4
_4376:
	mov	dword [ebx+116],esi
	mov	eax,dword [ebp+12]
	mov	dword [ebx+120],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebx+124],eax
	mov	dword [ebx+128],edi
	mov	eax,dword [ebp+24]
	mov	dword [ebx+136],eax
	mov	eax,dword [_bb_nextgobj]
	mov	dword [ebx+132],eax
	add	dword [_bb_nextgobj],1
	mov	eax,dword [_bb_grq]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
_4371:
	mov	eax,ebx
_1704:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_init:
	push	ebp
	mov	ebp,esp
	push	_410
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,0
_1711:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_logic:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1714:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_attach:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1718:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_reattach:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1721:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+104],10
	je	_4378
	cmp	dword [ebx+108],0
	jle	_4379
	sub	dword [ebx+108],1
_4379:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebx+96],1
	mov	eax,dword [ebx+96]
	cmp	eax,0
	je	_4381
	mov	eax,dword [ebx+104]
	cmp	eax,9
	setne	al
	movzx	eax,al
_4381:
	cmp	eax,0
	je	_4383
	mov	eax,dword [_bb_screenchange]
	cmp	eax,0
	sete	al
	movzx	eax,al
_4383:
	cmp	eax,0
	je	_4385
	cmp	dword [_bb_edit],0
	jne	_4386
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,4
_4386:
	push	ebx
	call	__bb_graph_update
	add	esp,4
	mov	eax,dword [_bb_edit]
	cmp	eax,0
	je	_4388
	mov	eax,dword [_bb_e]
	cmp	ebx,dword [eax+108]
	sete	al
	movzx	eax,al
_4388:
	cmp	eax,0
	je	_4390
	push	0
	fld	dword [ebx+12]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebx+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_411
	mov	eax,dword [_bb_e]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
_4390:
_4385:
	cmp	dword [ebx+96],0
	jne	_4391
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,4
_4391:
_4378:
	cmp	dword [_bb_screenchange],1
	jne	_4393
	push	ebx
	call	__bb_graph_update
	add	esp,4
_4393:
	mov	eax,0
_1724:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_notonscreen:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1727:
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_testonscreen:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [_bb_vGW]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fdiv	dword [_bb_s]
	fdiv	dword [_6541]
	fadd	dword [_6542]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fdiv	dword [_bb_s]
	fdiv	dword [_6543]
	fadd	dword [_6544]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,eax
	fld	dword [esi+8]
	mov	eax,dword [_bb_screenoffset]
	sub	eax,ebx
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4396
	fld	dword [esi+8]
	mov	eax,dword [_bb_screenoffset]
	add	eax,ebx
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4396:
	cmp	eax,0
	jne	_4398
	fld	dword [esi+12]
	mov	eax,dword [_bb_screenyoffset]
	sub	eax,edx
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4398:
	cmp	eax,0
	jne	_4400
	fld	dword [esi+12]
	fstp	dword [ebp-4]
	fld	dword [_bb_halfy]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_screenyoffset]
	add	eax,edx
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4400:
	cmp	eax,0
	je	_4402
	mov	dword [esi+96],0
	jmp	_4403
_4402:
	mov	dword [esi+96],1
_4403:
	mov	eax,0
_1730:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_bwrite:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	push	ebx
	push	esi
	push	dword [edi+116]
	call	_bb_stringwrite
	add	esp,12
	mov	ebx,eax
	mov	eax,esi
	push	dword [edi+120]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,esi
	push	dword [edi+124]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,esi
	push	dword [edi+128]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,12
	add	ebx,4
	mov	eax,ebx
_1735:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_gameobj_bread:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	push	ebx
	push	edi
	call	_bb_stringread
	add	esp,8
	mov	ebx,dword [eax+8]
	mov	eax,dword [eax+12]
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+116]
	dec	dword [eax+4]
	jnz	_4411
	push	eax
	call	_bbGCFree
	add	esp,4
_4411:
	mov	eax,dword [ebp-4]
	mov	dword [esi+116],eax
	push	ebx
	push	edi
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+120],eax
	add	ebx,4
	push	ebx
	push	edi
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+124],eax
	add	ebx,4
	push	ebx
	push	edi
	call	_bb_sPeekInt
	add	esp,8
	mov	dword [esi+128],eax
	add	ebx,4
	mov	eax,ebx
_1740:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_maptest:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+20]
	mov	esi,dword [ebp+24]
	cmp	esi,-1
	jne	_4412
	mov	esi,dword [_bb_gameplane]
_4412:
	mov	ecx,dword [_bb_here]
	mov	ecx,dword [ecx+8]
	mov	ecx,dword [ecx+esi*4+24]
	push	eax
	push	edx
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+60]
	add	esp,12
	mov	edx,dword [_bb_here]
	mov	edx,dword [edx+8]
	mov	edx,dword [edx+esi*4+24]
	push	dword [eax+12]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+68]
	add	esp,12
	mov	edx,eax
	mov	ecx,dword [_bb_tset]
	mov	eax,dword [edx+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+12]
	mov	esi,ebx
	mov	ebx,dword [_bb_tset]
	mov	ecx,dword [edx+12]
	mov	ecx,dword [ebx+ecx*4+24]
	mov	ecx,dword [ecx+12]
	imul	esi,dword [ecx+24]
	mov	ecx,esi
	add	ecx,dword [edx+8]
	mov	eax,dword [eax+ecx*4+28]
	cmp	eax,edi
	sete	al
	movzx	eax,al
_1747:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_gameobj_New
	add	esp,4
	mov	dword [ebx],_bb_physicsobj
	fldz
	fstp	dword [ebx+148]
	fldz
	fstp	dword [ebx+152]
	fldz
	fstp	dword [ebx+156]
	mov	dword [ebx+160],0
	fldz
	fstp	dword [ebx+164]
	mov	dword [ebx+168],0
	mov	dword [ebx+172],0
	mov	dword [ebx+176],0
	mov	dword [ebx+180],0
	mov	dword [ebx+184],0
	mov	dword [ebx+188],0
	mov	dword [ebx+192],0
	mov	dword [ebx+196],0
	mov	dword [ebx+200],0
	mov	dword [ebx+204],0
	mov	dword [ebx+208],0
	mov	dword [ebx+212],0
	mov	eax,0
_1750:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1753:
	mov	dword [eax],_bb_gameobj
	push	eax
	call	__bb_gameobj_Delete
	add	esp,4
	mov	eax,0
_4417:
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_groundlogic:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1758:
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_cplatwaitset:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1762:
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_cplatwaitget:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1765:
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_logic:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	cmp	dword [eax+208],0
	je	_4418
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+208]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
_4418:
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-44],eax
	mov	eax,dword [__bb_map_platforms]
	mov	dword [ebp-32],eax
	mov	edi,dword [__bb_map_platforms_world]
	mov	eax,dword [__bb_map_camera]
	mov	dword [ebp-40],eax
	mov	eax,dword [__bb_map_camera_world]
	mov	dword [ebp-24],eax
	cmp	dword [_bb_screenchange],0
	jne	_4426
	mov	ebx,0
	push	0
	push	dword [__bb_map_platform_count]
	call	_bbIntMax
	add	esp,8
	mov	dword [ebp-48],eax
	jmp	_4428
_414:
	mov	eax,dword [ebp-44]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+12]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4434
	push	eax
	call	_bbGCFree
	add	esp,4
_4434:
	mov	dword [edi+ebx*4+24],esi
	mov	edx,dword [edi+ebx*4+24]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+8]
	add	eax,dword [_bb_HALFTILESIZE]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-44]
	mov	ecx,ebx
	add	ecx,1
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ecx*4+24]
	push	dword [edx+12]
	mov	ecx,ebx
	add	ecx,1
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ecx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	dec	dword [eax+4]
	jnz	_4439
	push	eax
	call	_bbGCFree
	add	esp,4
_4439:
	mov	eax,ebx
	add	eax,1
	mov	dword [edi+eax*4+24],esi
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	edx,ebx
	add	edx,1
	mov	edx,dword [edi+edx*4+24]
	mov	edx,dword [edx+8]
	add	edx,dword [_bb_HALFTILESIZE]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_4440
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4440:
	cmp	eax,0
	je	_4442
	mov	eax,dword [_bb_here]
	cmp	dword [eax+40],0
	jne	_4443
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	fdivp	st1,st0
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	fmulp	st1,st0
	faddp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
_4443:
	push	_bb_avatar
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4444
	mov	eax,dword [ebp-44]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+12]
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4449
	push	eax
	call	_bbGCFree
	add	esp,4
_4449:
	mov	eax,dword [ebp-24]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [ebp-44]
	mov	ecx,ebx
	add	ecx,1
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+ecx*4+24]
	push	dword [edx+12]
	mov	ecx,ebx
	add	ecx,1
	mov	edx,dword [ebp-40]
	mov	edx,dword [edx+ecx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,ebx
	add	edx,1
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_4454
	push	eax
	call	_bbGCFree
	add	esp,4
_4454:
	mov	edx,ebx
	add	edx,1
	mov	eax,dword [ebp-24]
	mov	dword [eax+edx*4+24],esi
	mov	edx,ebx
	add	edx,1
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+edx*4+24]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+ebx*4+24]
	sub	edx,dword [eax+8]
	mov	ecx,ebx
	add	ecx,1
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+ecx*4+24]
	mov	eax,dword [eax+12]
	mov	ecx,dword [ebp-32]
	mov	ecx,dword [ecx+ebx*4+24]
	sub	eax,dword [ecx+12]
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+164]
	mov	eax,dword [ebp+8]
	fld	dword [eax+164]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [_6572]
	fmulp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+156]
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	mov	eax,ebx
	add	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	edx,dword [eax+8]
	mov	eax,dword [edi+ebx*4+24]
	sub	edx,dword [eax+8]
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	fdivp	st1,st0
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	edx,ebx
	add	edx,1
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+edx*4+24]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	sub	edx,dword [eax+8]
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	fmul	dword [ebp-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_screenoffset],eax
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	edx,ebx
	add	edx,1
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+edx*4+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	sub	edx,dword [eax+12]
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	fmul	dword [ebp-20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_screenyoffset],eax
_4444:
_4442:
_412:
	add	ebx,1
_4428:
	cmp	ebx,dword [ebp-48]
	jl	_414
_413:
_4426:
	cmp	dword [__bb_map_platform_count],0
	jle	_4458
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+8]
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [__bb_map_platform_count]
	sub	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+8]
	mov	eax,dword [_bb_here]
	cmp	dword [eax+40],0
	jle	_4459
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+40]
	imul	eax,dword [_bb_TILESIZE]
	sub	edx,eax
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [__bb_map_platform_count]
	sub	eax,1
	mov	eax,dword [edi+eax*4+24]
	mov	edx,dword [eax+12]
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+40]
	imul	eax,dword [_bb_TILESIZE]
	add	edx,eax
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
_4459:
_4458:
	mov	ebx,dword [ebp-44]
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	dword [ebp-28],eax
	mov	eax,dword [__bb_physicsobj_cutscene1]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4462
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+8]
	cmp	eax,107
	sete	al
	movzx	eax,al
_4462:
	cmp	eax,0
	je	_4464
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+12]
	cmp	eax,10
	sete	al
	movzx	eax,al
_4464:
	cmp	eax,0
	je	_4466
	mov	dword [__bb_physicsobj_cutscene1],1
	mov	dword [_bb_screenchange],1
	mov	eax,dword [ebp+8]
	push	dword [_bb_walkup]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	ebx,1
	jmp	_4469
_417:
	push	0
	call	_bb_frames
	add	esp,4
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fsub	dword [_6573]
	fstp	dword [edx+12]
	fld	dword [_bb_musicfade]
	fadd	dword [_6574]
	fstp	dword [_bb_musicfade]
_415:
	add	ebx,1
_4469:
	cmp	ebx,44
	jle	_417
_416:
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_4473
	push	eax
	call	_bbGCFree
	add	esp,4
_4473:
	mov	eax,dword [ebp+8]
	mov	dword [eax+56],ebx
	mov	eax,dword [ebp+8]
	mov	dword [eax+64],7
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],7
	push	0
	push	0
	push	0
	fld	dword [_6575]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6576]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_418
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6577]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6578]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_419
	call	_bb_clickbox
	add	esp,32
	fld1
	fstp	dword [_bb_musicfade]
	push	0
	push	0
	push	0
	fld	dword [_6579]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6580]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_420
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6581]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6582]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_421
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6583]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6584]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_422
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6585]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6586]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_423
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6587]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6588]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_424
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6589]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6590]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_425
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6591]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6592]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_426
	call	_bb_clickbox
	add	esp,32
	push	dword [_bb_musicchannel]
	push	dword [_bb_lettermusic]
	call	_brl_audio_PlaySound
	add	esp,8
	push	0
	push	0
	push	0
	fld	dword [_6593]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6594]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_427
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6595]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6596]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_428
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6597]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6598]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_429
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6599]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6600]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_430
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6601]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6602]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_431
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6603]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6604]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_432
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6605]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6606]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_433
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6607]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6608]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_434
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6609]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6610]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_435
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6611]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6612]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_436
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6613]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6614]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_437
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6615]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6616]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_438
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_6617]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6618]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_439
	call	_bb_clickbox
	add	esp,32
	mov	eax,dword [ebp+8]
	push	dword [_bb_walkdown]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	dword [_bb_screenchange],1
	mov	ebx,1
	jmp	_4476
_442:
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fadd	dword [_6619]
	fstp	dword [edx+12]
	push	0
	call	_bb_frames
	add	esp,4
_440:
	add	ebx,1
_4476:
	cmp	ebx,44
	jle	_442
_441:
	mov	eax,dword [ebp+8]
	mov	dword [eax+64],4
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],4
	mov	dword [_bb_screenchange],0
_4466:
	push	_bb_avatar
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4477
	push	_bb_signloc
	mov	eax,dword [ebp-44]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+8]
	mov	ecx,dword [ebp-44]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [ebp-28]
	add	eax,dword [ecx+12]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4478
	push	_bb_signloc
	mov	eax,dword [ebp-44]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+8]
	mov	ecx,dword [ebp-44]
	mov	ecx,dword [ecx+16]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [ebp-28]
	add	eax,dword [ecx+12]
	push	dword [edx+eax*4+28]
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	push	dword [edi+16]
	call	_bbStringToInt
	add	esp,4
	cmp	eax,0
	jle	_4480
	mov	esi,dword [ebp-44]
	mov	ebx,dword [ebp-44]
	push	dword [edi+16]
	call	_bbStringToInt
	add	esp,4
	sub	eax,1
	push	eax
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+12]
	sub	eax,5
	push	eax
	mov	eax,dword [ebp-28]
	push	dword [eax+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,12
	mov	eax,dword [eax+12]
	sub	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+12]
	sub	eax,5
	push	eax
	mov	eax,dword [ebp-28]
	push	dword [eax+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,12
	mov	eax,dword [eax+8]
	sub	eax,dword [_bb_HALFTILESIZE]
	sub	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bb_animbutton
	add	esp,12
	cmp	eax,0
	je	_4484
	push	_1
	push	dword [edi+24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_4485
	push	1
	push	_443
	push	dword [edi+20]
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	je	_4486
	push	1
	push	_443
	push	dword [edi+20]
	call	_brl_retro_Instr
	add	esp,12
	sub	eax,1
	push	eax
	push	dword [edi+20]
	call	_brl_retro_Left
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebp-36],eax
	push	-1
	push	1
	push	_443
	push	dword [edi+20]
	call	_brl_retro_Instr
	add	esp,12
	add	eax,1
	push	eax
	push	dword [edi+20]
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	dword [ebp-36],0
	jle	_4489
	push	dword [edi+16]
	call	_bbStringToInt
	add	esp,4
	cmp	eax,3
	jne	_4490
	mov	dword [_bb_screenchange],1
	mov	eax,dword [ebp+8]
	push	dword [_bb_walkup]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	esi,1
	jmp	_4493
_446:
	push	0
	call	_bb_frames
	add	esp,4
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fsub	dword [_6620]
	fstp	dword [edx+12]
_444:
	add	esi,1
_4493:
	cmp	esi,16
	jle	_446
_445:
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_4497
	push	eax
	call	_bbGCFree
	add	esp,4
_4497:
	mov	eax,dword [ebp+8]
	mov	dword [eax+56],esi
	mov	eax,dword [ebp+8]
	mov	dword [eax+64],7
	mov	eax,dword [ebp+8]
	mov	dword [eax+60],7
	mov	dword [_bb_screenchange],0
_4490:
	mov	eax,dword [ebp-36]
	mov	dword [_bb_stage],eax
	push	_449
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_448
	push	dword [ebp-36]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_447
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	call	_bb_nextroom
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_gameplane]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-44],eax
	mov	eax,dword [__bb_map_platforms]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-44]
	mov	edx,dword [_bb_player]
	mov	esi,dword [edx+24]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+12]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	mov	eax,dword [eax+8]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fstp	dword [esi+8]
	mov	eax,dword [ebp-44]
	mov	edx,dword [_bb_player]
	mov	esi,dword [edx+24]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+12]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ebx*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	mov	eax,dword [eax+12]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fstp	dword [esi+12]
	mov	ebx,dword [__bb_fog_foglist]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_450
_452:
	mov	eax,edi
	push	_bb_fog
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_450
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	fstp	qword [ebp-8]
	mov	eax,dword [_bb_hGW]
	add	eax,128
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_hGW]
	add	eax,128
	neg	eax
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fstp	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fstp	qword [ebp-16]
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_hGH]
	neg	eax
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	dword [esi+12]
_450:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_452
_451:
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	0
	push	0
	push	0
	call	_brl_max2d_SetClsColor
	add	esp,12
	call	_brl_max2d_Cls
	mov	eax,dword [_bb_here]
	cmp	dword [eax+36],1
	jne	_4507
	push	32
	push	32
	push	32
	call	_brl_max2d_SetClsColor
	add	esp,12
_4507:
_4489:
_4486:
	jmp	_4508
_4485:
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_4512
	push	eax
	call	_bbGCFree
	add	esp,4
_4512:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+56],ebx
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],1
	push	0
	push	0
	push	0
	fld	dword [_6621]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_6622]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	dword [edi+24]
	call	_bb_clickbox
	add	esp,32
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],0
_4508:
_4484:
_4480:
_4478:
_4477:
	mov	eax,dword [ebp+8]
	fld	dword [eax+148]
	fld	dword [_6623]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4513
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4513:
	cmp	eax,0
	je	_4515
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fchs
	mov	eax,dword [ebp+8]
	fstp	dword [eax+32]
_4515:
	mov	eax,dword [ebp+8]
	fld	dword [eax+148]
	fld	dword [_6624]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_4516
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4516:
	cmp	eax,0
	je	_4518
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	fchs
	mov	eax,dword [ebp+8]
	fstp	dword [eax+32]
_4518:
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	imul	eax,dword [_bb_HALFTILESIZE]
	sub	eax,8
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4519
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+12]
	imul	eax,dword [_bb_HALFTILESIZE]
	sub	eax,8
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
_4519:
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	imul	eax,dword [_bb_HALFTILESIZE]
	sub	eax,8
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4520
	mov	eax,dword [ebp+8]
	fld	dword [eax+148]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4520:
	cmp	eax,0
	je	_4522
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_4523
	fld	dword [_6625]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+148]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+148]
	jmp	_4524
_4523:
	fld	dword [_6626]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+148]
_4524:
_4522:
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	mov	eax,dword [_bb_here]
	mov	edx,dword [eax+8]
	mov	eax,dword [_bb_splane]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	neg	eax
	imul	eax,dword [_bb_HALFTILESIZE]
	add	eax,8
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_4525
	mov	eax,dword [ebp+8]
	fld	dword [eax+148]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4525:
	cmp	eax,0
	je	_4527
	mov	eax,dword [ebp+8]
	cmp	dword [eax+180],0
	je	_4528
	fld	dword [_6627]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+148]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+148]
	jmp	_4529
_4528:
	fld	dword [_6628]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+148]
_4529:
_4527:
	mov	eax,dword [ebp+8]
	fld	dword [eax+148]
	fmul	dword [_6629]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+148]
	mov	eax,dword [ebp+8]
	fld	dword [eax+152]
	fmul	dword [_6630]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+152]
	mov	eax,dword [ebp+8]
	cmp	dword [eax+208],0
	je	_4530
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+208]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fsubp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+12]
_4530:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	eax,0
_1768:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_physicsobj_move:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [edx+8]
	fld	dword [_6666]
	fmul	dword [edx+148]
	faddp	st1,st0
	fstp	dword [edx+8]
	mov	eax,dword [_bb_here]
	cmp	dword [eax+40],0
	jle	_4532
	fld	dword [edx+12]
	fld	dword [_6667]
	fmul	dword [edx+152]
	faddp	st1,st0
	fstp	dword [edx+12]
_4532:
	mov	eax,0
_1771:
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_physicsobj_New
	add	esp,4
	mov	dword [ebx],_bb_avatar
	mov	dword [ebx+216],0
	mov	dword [ebx+220],0
	mov	dword [ebx+224],0
	mov	dword [ebx+228],0
	mov	dword [ebx+232],0
	mov	dword [ebx+236],0
	mov	dword [ebx+240],0
	mov	dword [ebx+244],0
	mov	dword [ebx+248],0
	mov	dword [ebx+252],0
	mov	dword [ebx+256],0
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+260],eax
	mov	dword [ebx+264],0
	mov	dword [ebx+268],0
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+272],eax
	mov	dword [ebx+276],0
	mov	dword [ebx+280],0
	mov	dword [ebx+284],0
	push	6
	push	_4535
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+288],eax
	mov	dword [ebx+292],0
	mov	dword [ebx+296],0
	mov	dword [ebx+300],0
	mov	eax,0
_1774:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1777:
	mov	eax,dword [ebx+288]
	dec	dword [eax+4]
	jnz	_4539
	push	eax
	call	_bbGCFree
	add	esp,4
_4539:
	mov	eax,dword [ebx+272]
	dec	dword [eax+4]
	jnz	_4541
	push	eax
	call	_bbGCFree
	add	esp,4
_4541:
	mov	eax,dword [ebx+260]
	dec	dword [eax+4]
	jnz	_4543
	push	eax
	call	_bbGCFree
	add	esp,4
_4543:
	mov	dword [ebx],_bb_physicsobj
	push	ebx
	call	__bb_physicsobj_Delete
	add	esp,4
	mov	eax,0
_4537:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_init:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [_bb_walkleft]
	mov	eax,dword [eax+16]
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4547
	push	eax
	call	_bbGCFree
	add	esp,4
_4547:
	mov	eax,dword [ebp-4]
	mov	dword [esi+24],eax
	mov	dword [esi+64],0
	mov	dword [esi+52],0
	mov	dword [ebp+-8],ebx
	fild	dword [ebp+-8]
	fstp	dword [esi+8]
	mov	dword [ebp+-8],edi
	fild	dword [ebp+-8]
	fstp	dword [esi+12]
	fld	dword [_6675]
	fstp	dword [esi+32]
	fld	dword [_6676]
	fstp	dword [esi+36]
	mov	dword [esi+104],0
	mov	ebx,dword [esi+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4551
	push	eax
	call	_bbGCFree
	add	esp,4
_4551:
	mov	dword [esi+28],ebx
	mov	dword [esi+96],1
	mov	dword [esi+176],1
	mov	eax,dword [ebp+20]
	mov	dword [esi+292],eax
	mov	dword [esi+220],150
	mov	edx,dword [_bb_controlset]
	mov	eax,dword [esi+292]
	mov	ebx,dword [edx+eax*4+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+288]
	dec	dword [eax+4]
	jnz	_4555
	push	eax
	call	_bbGCFree
	add	esp,4
_4555:
	mov	dword [esi+288],ebx
	fldz
	fstp	dword [esi+148]
	fldz
	fstp	dword [esi+152]
	mov	dword [esi+232],0
	mov	dword [esi+296],0
	mov	dword [__bb_avatar_gotradio],1
	mov	eax,0
_1784:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_message:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+260]
	dec	dword [eax+4]
	jnz	_4559
	push	eax
	call	_bbGCFree
	add	esp,4
_4559:
	mov	dword [esi+260],ebx
	mov	dword [esi+264],100
	mov	eax,0
_1788:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_setchooose:
	push	ebp
	mov	ebp,esp
	mov	eax,0
_1791:
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_draw:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	__bb_graph_draw
	add	esp,4
	mov	eax,0
_1794:
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_pressing:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,0
	mov	eax,ebx
	cmp	eax,0
	je	_4563
	cmp	eax,1
	je	_4564
	cmp	eax,2
	je	_4565
	cmp	eax,3
	je	_4566
	cmp	eax,4
	je	_4567
	cmp	eax,5
	je	_4568
	jmp	_4562
_4563:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4569
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6685]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4569:
	cmp	eax,0
	je	_4571
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6686]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4571:
	cmp	eax,0
	jne	_4573
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4573:
	cmp	eax,0
	je	_4575
	mov	edi,1
_4575:
	jmp	_4562
_4564:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4576
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6687]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4576:
	cmp	eax,0
	je	_4578
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_4578:
	cmp	eax,0
	jne	_4580
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4580:
	cmp	eax,0
	je	_4582
	mov	edi,1
_4582:
	jmp	_4562
_4565:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4583
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6688]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4583:
	cmp	eax,0
	je	_4585
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6689]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4585:
	cmp	eax,0
	jne	_4587
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4587:
	cmp	eax,0
	je	_4589
	mov	edi,1
_4589:
	jmp	_4562
_4566:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4590
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6690]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4590:
	cmp	eax,0
	je	_4592
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_4592:
	cmp	eax,0
	jne	_4594
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4594:
	cmp	eax,0
	je	_4596
	mov	edi,1
_4596:
	jmp	_4562
_4567:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4597
	push	dword [esi+292]
	push	0
	call	_pub_freejoy_JoyDown
	add	esp,8
_4597:
	cmp	eax,0
	jne	_4599
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4599:
	cmp	eax,0
	je	_4601
	mov	edi,1
_4601:
	jmp	_4562
_4568:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4602
	push	dword [esi+292]
	push	1
	call	_pub_freejoy_JoyDown
	add	esp,8
_4602:
	cmp	eax,0
	jne	_4604
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
_4604:
	cmp	eax,0
	je	_4606
	mov	edi,1
_4606:
_4562:
	mov	eax,edi
_1798:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_pressed:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,0
	mov	eax,ebx
	cmp	eax,0
	je	_4610
	cmp	eax,1
	je	_4611
	cmp	eax,2
	je	_4612
	cmp	eax,3
	je	_4613
	cmp	eax,4
	je	_4614
	cmp	eax,5
	je	_4615
	jmp	_4609
_4610:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4616
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6722]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4616:
	cmp	eax,0
	je	_4618
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6723]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4618:
	cmp	eax,0
	jne	_4620
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4620:
	cmp	eax,0
	je	_4622
	mov	edi,1
_4622:
	jmp	_4609
_4611:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4623
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld	dword [_6724]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4623:
	cmp	eax,0
	je	_4625
	push	dword [esi+292]
	call	_pub_freejoy_JoyX
	add	esp,4
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_4625:
	cmp	eax,0
	jne	_4627
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4627:
	cmp	eax,0
	je	_4629
	mov	edi,1
_4629:
	jmp	_4609
_4612:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4630
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6725]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4630:
	cmp	eax,0
	je	_4632
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6726]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4632:
	cmp	eax,0
	jne	_4634
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4634:
	cmp	eax,0
	je	_4636
	mov	edi,1
_4636:
	jmp	_4609
_4613:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4637
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld	dword [_6727]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4637:
	cmp	eax,0
	je	_4639
	push	dword [esi+292]
	call	_pub_freejoy_JoyY
	add	esp,4
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_4639:
	cmp	eax,0
	jne	_4641
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4641:
	cmp	eax,0
	je	_4643
	mov	edi,1
_4643:
	jmp	_4609
_4614:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4644
	push	dword [esi+292]
	push	0
	call	_pub_freejoy_JoyHit
	add	esp,8
_4644:
	cmp	eax,0
	jne	_4646
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4646:
	cmp	eax,0
	je	_4648
	mov	edi,1
_4648:
	jmp	_4609
_4615:
	mov	edx,dword [_bb_jc]
	mov	eax,dword [esi+292]
	add	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4649
	push	dword [esi+292]
	push	1
	call	_pub_freejoy_JoyHit
	add	esp,8
_4649:
	cmp	eax,0
	jne	_4651
	mov	eax,dword [esi+288]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyHit
	add	esp,4
_4651:
	cmp	eax,0
	je	_4653
	mov	edi,1
_4653:
_4609:
	mov	eax,edi
_1802:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_logic:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_physicsobj_logic
	add	esp,4
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,4
	mov	esi,eax
	fldz
	fstp	dword [__bb_avatar_radiovolume]
	cmp	esi,_bbNullObject
	je	_4656
	mov	eax,ebx
	fld	qword [_6759]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6760]
	fstp	qword [ebp-20]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-20]
	fdivrp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	fstp	dword [__bb_avatar_radiovolume]
	mov	eax,dword [__bb_avatar_gotradio]
	cmp	eax,0
	je	_4658
	push	dword [_bb_radiochannel]
	call	_brl_audio_ChannelPlaying
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
_4658:
	cmp	eax,0
	je	_4660
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+72+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4660:
_4656:
	push	dword [__bb_avatar_radiovolume]
	push	dword [_bb_radiochannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [ebx+300]
	cmp	eax,0
	je	_4664
	cmp	eax,1
	je	_4665
	cmp	eax,2
	je	_4666
	cmp	eax,3
	je	_4667
	cmp	eax,4
	je	_4668
	cmp	eax,5
	je	_4669
	jmp	_4663
_4664:
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-24],eax
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4678
	cmp	esi,_bbNullObject
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4674
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fld	dword [_6761]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4674:
	cmp	eax,0
	jne	_4676
	fld	dword [esi+8]
	fld	dword [ebx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4676:
_4678:
	cmp	eax,0
	je	_4680
	fld	dword [ebx+8]
	fsub	dword [ebx+156]
	fstp	dword [ebx+8]
	mov	eax,dword [_bb_walkleft]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4684
	push	eax
	call	_bbGCFree
	add	esp,4
_4684:
	mov	dword [ebx+56],esi
	fld	dword [ebx+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fmul	dword [_6762]
	fstp	dword [ebx+32]
	jmp	_4685
_4680:
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4692
	cmp	esi,_bbNullObject
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4688
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fld	dword [_6763]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4688:
	cmp	eax,0
	jne	_4690
	fld	dword [esi+8]
	fld	dword [ebx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4690:
_4692:
	cmp	eax,0
	je	_4694
	fld	dword [ebx+8]
	fadd	dword [ebx+156]
	fstp	dword [ebx+8]
	mov	eax,dword [_bb_walkleft]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4698
	push	eax
	call	_bbGCFree
	add	esp,4
_4698:
	mov	dword [ebx+56],esi
	fld	dword [ebx+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebx+32]
	jmp	_4699
_4694:
	mov	eax,dword [_bb_here]
	mov	eax,dword [eax+40]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_4701
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_4701:
	cmp	eax,0
	je	_4704
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_4704:
	cmp	eax,0
	je	_4706
	mov	eax,ebx
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4708
	fld	dword [ebx+12]
	fsub	dword [_6764]
	fstp	dword [ebx+12]
	mov	eax,dword [_bb_walkup]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4712
	push	eax
	call	_bbGCFree
	add	esp,4
_4712:
	mov	dword [ebx+56],esi
_4708:
	mov	eax,ebx
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4714
	fld	dword [ebx+12]
	fadd	dword [_6765]
	fstp	dword [ebx+12]
	mov	eax,dword [_bb_walkdown]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4718
	push	eax
	call	_bbGCFree
	add	esp,4
_4718:
	mov	dword [ebx+56],esi
_4714:
	jmp	_4719
_4706:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4723
	push	eax
	call	_bbGCFree
	add	esp,4
_4723:
	mov	dword [ebx+56],esi
_4719:
_4699:
_4685:
	mov	dword [ebp+-28],edi
	fild	dword [ebp+-28]
	fld	dword [ebx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_4724
	mov	eax,dword [ebp-24]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fld	dword [ebx+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_4724:
	cmp	eax,0
	je	_4726
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4730
	push	eax
	call	_bbGCFree
	add	esp,4
_4730:
	mov	dword [ebx+56],esi
_4726:
	cmp	dword [ebx+56],_bbNullObject
	je	_4731
	fld	dword [ebx+164]
	fld	dword [_6766]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4732
	fld	dword [ebx+164]
	fld	dword [_6767]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4732:
	cmp	eax,0
	je	_4734
	mov	eax,dword [_bb_walkleft]
	cmp	dword [ebx+56],eax
	jne	_4735
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4736
	mov	esi,dword [_bb_walkuleft]
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4740
	push	eax
	call	_bbGCFree
	add	esp,4
_4740:
	mov	dword [ebx+56],esi
	jmp	_4741
_4736:
	mov	esi,dword [_bb_walkdleft]
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4745
	push	eax
	call	_bbGCFree
	add	esp,4
_4745:
	mov	dword [ebx+56],esi
_4741:
_4735:
	jmp	_4746
_4734:
	fld	dword [ebx+164]
	fld	dword [_6768]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4747
	fld	dword [ebx+164]
	fld	dword [_6769]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4747:
	cmp	eax,0
	je	_4749
	mov	eax,dword [_bb_walkleft]
	cmp	dword [ebx+56],eax
	jne	_4750
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4751
	mov	esi,dword [_bb_walkdleft]
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4755
	push	eax
	call	_bbGCFree
	add	esp,4
_4755:
	mov	dword [ebx+56],esi
	jmp	_4756
_4751:
	mov	esi,dword [_bb_walkuleft]
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4760
	push	eax
	call	_bbGCFree
	add	esp,4
_4760:
	mov	dword [ebx+56],esi
_4756:
_4750:
	jmp	_4761
_4749:
	mov	eax,dword [ebx+56]
	cmp	eax,dword [_bb_walkdleft]
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4762
	mov	eax,dword [ebx+56]
	cmp	eax,dword [_bb_walkuleft]
	sete	al
	movzx	eax,al
_4762:
	cmp	eax,0
	je	_4764
	mov	esi,dword [_bb_walkleft]
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4768
	push	eax
	call	_bbGCFree
	add	esp,4
_4768:
	mov	dword [ebx+56],esi
_4764:
_4761:
_4746:
_4731:
	mov	eax,ebx
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	je	_4770
	mov	eax,dword [ebx+144]
	cmp	eax,0
	je	_4773
	jmp	_4772
_4773:
	mov	dword [ebx+300],3
	mov	eax,ebx
	push	dword [_bb_plankraise]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
_4772:
_4770:
	jmp	_4663
_4665:
	mov	eax,ebx
	push	dword [_bb_recoil]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	fld	dword [ebx+8]
	fstp	dword [ebp-4]
	fld	dword [ebx+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [ebx+8]
	cmp	dword [ebx+60],0
	jne	_4776
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4780
	push	eax
	call	_bbGCFree
	add	esp,4
_4780:
	mov	dword [ebx+56],esi
	mov	dword [ebx+64],0
	mov	dword [ebx+300],0
	mov	dword [ebx+256],0
_4776:
	jmp	_4663
_4666:
	mov	eax,ebx
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	jne	_4782
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4784
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4784:
	cmp	eax,0
	jne	_4789
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4787
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4787:
_4789:
	cmp	eax,0
	je	_4791
	mov	eax,dword [ebx+56]
	cmp	eax,dword [_bb_plankraise]
	setne	al
	movzx	eax,al
_4791:
	cmp	eax,0
	je	_4793
	mov	eax,ebx
	push	dword [_bb_plankwalkb]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	fld	dword [ebx+8]
	fstp	dword [ebp-8]
	fld	dword [ebx+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebx+8]
	jmp	_4795
_4793:
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4797
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4797:
	cmp	eax,0
	jne	_4802
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4800
	fld	dword [ebx+32]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4800:
_4802:
	cmp	eax,0
	je	_4804
	mov	eax,dword [ebx+56]
	cmp	eax,dword [_bb_plankraise]
	setne	al
	movzx	eax,al
_4804:
	cmp	eax,0
	je	_4806
	mov	eax,ebx
	push	dword [_bb_plankwalkf]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	fld	dword [ebx+8]
	fstp	dword [ebp-12]
	fld	dword [ebx+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebx+8]
	jmp	_4808
_4806:
	mov	eax,dword [ebx+60]
	cmp	eax,51
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_4809
	mov	eax,dword [ebx+60]
	cmp	eax,56
	setl	al
	movzx	eax,al
_4809:
	cmp	eax,0
	je	_4811
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4815
	push	eax
	call	_bbGCFree
	add	esp,4
_4815:
	mov	dword [ebx+56],esi
	mov	dword [ebx+64],47
_4811:
_4808:
_4795:
_4782:
	mov	eax,ebx
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	je	_4817
	mov	eax,ebx
	push	dword [_bb_planklower]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	dword [ebx+300],4
	mov	dword [ebx+64],0
	jmp	_4819
_4817:
	mov	eax,ebx
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4821
	mov	eax,ebx
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	je	_4823
	mov	eax,ebx
	push	dword [_bb_plankattackdeep]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	jmp	_4825
_4823:
	mov	eax,ebx
	push	dword [_bb_plankattack]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
_4825:
	mov	dword [ebx+300],5
	mov	dword [ebx+108],10
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+100+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	jmp	_4828
_4821:
_4828:
_4819:
	jmp	_4663
_4667:
	cmp	dword [ebx+60],47
	jne	_4829
	mov	dword [ebx+300],2
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4833
	push	eax
	call	_bbGCFree
	add	esp,4
_4833:
	mov	dword [ebx+56],esi
	mov	dword [ebx+64],47
_4829:
	jmp	_4663
_4668:
	cmp	dword [ebx+60],0
	jne	_4834
	mov	dword [ebx+300],0
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4838
	push	eax
	call	_bbGCFree
	add	esp,4
_4838:
	mov	dword [ebx+56],esi
	mov	dword [ebx+64],0
_4834:
	jmp	_4663
_4669:
	mov	eax,dword [ebx+108]
	cmp	eax,1
	setl	al
	movzx	eax,al
	cmp	eax,0
	je	_4839
	mov	eax,dword [ebx+60]
	cmp	eax,47
	sete	al
	movzx	eax,al
_4839:
	cmp	eax,0
	je	_4841
	mov	dword [ebx+300],2
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4845
	push	eax
	call	_bbGCFree
	add	esp,4
_4845:
	mov	dword [ebx+56],esi
	mov	dword [ebx+256],0
	mov	dword [ebx+64],47
_4841:
_4663:
	cmp	dword [ebx+228],0
	jle	_4846
	sub	dword [ebx+228],1
_4846:
	cmp	dword [ebx+252],0
	je	_4847
	sub	dword [ebx+252],1
_4847:
	mov	eax,0
_1805:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_dist:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,8
	fld	qword [_6832]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebx+8]
	fsub	dword [esi+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fstp	qword [ebp-8]
	fld	qword [_6833]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebx+12]
	fsub	dword [esi+12]
	mov	dword [ebp+-12],edi
	fild	dword [ebp+-12]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
_1809:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_nearest_baddie:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	dword [ebp-8],_bbNullObject
	mov	eax,dword [_bb_gol]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-16],eax
	jmp	_453
_455:
	mov	eax,dword [ebp-16]
	push	_bb_gameobj
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_453
	push	_bb_baddie
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_4856
	push	_bb_baddie
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	mov	eax,dword [ebp-8]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4860
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fstp	dword [ebp-4]
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+152]
	add	esp,8
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4860:
	cmp	eax,0
	je	_4862
	mov	eax,dword [edi+216]
	cmp	eax,-1
	setne	al
	movzx	eax,al
_4862:
	cmp	eax,0
	je	_4864
	mov	dword [ebp-8],edi
_4864:
_4856:
_453:
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_455
_454:
	mov	eax,dword [ebp-8]
_1812:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+244]
	cmp	eax,0
	setle	al
	movzx	eax,al
	cmp	eax,0
	je	_4865
	mov	eax,dword [ebx+220]
	cmp	eax,0
	setg	al
	movzx	eax,al
_4865:
	cmp	eax,0
	je	_4867
	mov	eax,dword [ebx+292]
	cmp	eax,dword [_bb_PLAYERS]
	setle	al
	movzx	eax,al
_4867:
	cmp	eax,0
	je	_4869
	push	ebx
	call	__bb_gameobj_update
	add	esp,4
	jmp	_4870
_4869:
	sub	dword [ebx+244],1
_4870:
	cmp	dword [ebx+244],0
	jge	_4871
	mov	dword [ebx+244],0
_4871:
	mov	eax,0
_1815:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_avatar_death:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	sub	dword [edx+220],1
	mov	dword [edx+244],200
	mov	eax,dword [edx+120]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [edx+8]
	mov	eax,dword [edx+124]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [edx+12]
	fldz
	fstp	dword [edx+148]
	fldz
	fstp	dword [edx+152]
	mov	eax,0
_1818:
	mov	esp,ebp
	pop	ebp
	ret
__bb_baddie_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_physicsobj_New
	add	esp,4
	mov	dword [ebx],_bb_baddie
	mov	dword [ebx+216],0
	mov	dword [ebx+220],100
	mov	eax,0
_1821:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_baddie_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1824:
	mov	dword [eax],_bb_physicsobj
	push	eax
	call	__bb_physicsobj_Delete
	add	esp,4
	mov	eax,0
_4872:
	mov	esp,ebp
	pop	ebp
	ret
__bb_patient_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_baddie_New
	add	esp,4
	mov	dword [ebx],_bb_patient
	mov	dword [ebx+224],0
	mov	dword [ebx+228],0
	mov	dword [ebx+232],0
	mov	dword [ebx+236],0
	mov	dword [ebx+240],0
	mov	eax,0
_1827:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_patient_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1830:
	mov	dword [eax],_bb_baddie
	push	eax
	call	__bb_baddie_Delete
	add	esp,4
	mov	eax,0
_4873:
	mov	esp,ebp
	pop	ebp
	ret
__bb_patient_init:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [_bb_patientidle]
	mov	eax,dword [eax+16]
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4877
	push	eax
	call	_bbGCFree
	add	esp,4
_4877:
	mov	eax,dword [ebp-4]
	mov	dword [esi+24],eax
	mov	dword [esi+64],0
	mov	dword [esi+52],0
	mov	dword [ebp+-8],ebx
	fild	dword [ebp+-8]
	fstp	dword [esi+8]
	mov	dword [ebp+-8],edi
	fild	dword [ebp+-8]
	fstp	dword [esi+12]
	fld	dword [_6862]
	fstp	dword [esi+32]
	fld	dword [_6863]
	fstp	dword [esi+36]
	mov	dword [esi+104],0
	mov	ebx,dword [esi+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4881
	push	eax
	call	_bbGCFree
	add	esp,4
_4881:
	mov	dword [esi+28],ebx
	push	_bb_graph
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_patient_spraygraph]
	dec	dword [eax+4]
	jnz	_4885
	push	eax
	call	_bbGCFree
	add	esp,4
_4885:
	mov	dword [__bb_patient_spraygraph],ebx
	mov	ebx,dword [_bb_sprayanim]
	inc	dword [ebx+4]
	mov	eax,dword [__bb_patient_spraygraph]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_4889
	push	eax
	call	_bbGCFree
	add	esp,4
_4889:
	mov	eax,dword [__bb_patient_spraygraph]
	mov	dword [eax+28],ebx
	mov	eax,dword [__bb_patient_spraygraph]
	fld	dword [_6864]
	fstp	dword [eax+32]
	mov	eax,dword [__bb_patient_spraygraph]
	fld	dword [_6865]
	fstp	dword [eax+36]
	mov	eax,dword [__bb_patient_spraygraph]
	fld1
	fstp	dword [eax+40]
	mov	dword [esi+228],0
	mov	dword [esi+224],0
	push	_bb_graph
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_patient_bloodgraph]
	dec	dword [eax+4]
	jnz	_4893
	push	eax
	call	_bbGCFree
	add	esp,4
_4893:
	mov	dword [__bb_patient_bloodgraph],ebx
	mov	ebx,dword [_bb_bloodanim]
	inc	dword [ebx+4]
	mov	eax,dword [__bb_patient_bloodgraph]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_4897
	push	eax
	call	_bbGCFree
	add	esp,4
_4897:
	mov	eax,dword [__bb_patient_bloodgraph]
	mov	dword [eax+28],ebx
	mov	eax,dword [__bb_patient_bloodgraph]
	fld	dword [_6866]
	fstp	dword [eax+32]
	mov	eax,dword [__bb_patient_bloodgraph]
	fld	dword [_6867]
	fstp	dword [eax+36]
	mov	eax,dword [__bb_patient_bloodgraph]
	fld1
	fstp	dword [eax+40]
	mov	dword [esi+236],0
	mov	dword [esi+232],0
	push	10
	push	-10
	call	_brl_random_Rand
	add	esp,8
	mov	dword [esi+48],eax
	mov	eax,0
_1837:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_patient_logic:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [esi+240],eax
	mov	eax,dword [esi+216]
	cmp	eax,0
	je	_4901
	cmp	eax,1
	je	_4902
	cmp	eax,3
	je	_4903
	cmp	eax,2
	je	_4904
	cmp	eax,4
	je	_4905
	cmp	eax,6
	je	_4906
	cmp	eax,5
	je	_4907
	cmp	eax,-1
	je	_4908
	jmp	_4900
_4901:
	mov	eax,dword [esi+240]
	shl	eax,2
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fstp	dword [esi+32]
	mov	eax,esi
	push	dword [_bb_patientidle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	cmp	ebx,400
	setl	al
	movzx	eax,al
	cmp	eax,0
	je	_4910
	cmp	ebx,128
	setg	al
	movzx	eax,al
_4910:
	cmp	eax,0
	je	_4912
	mov	dword [esi+216],1
	push	1
	push	500
	call	_brl_random_Rand
	add	esp,8
	cmp	eax,1
	jne	_4913
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+92+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4913:
_4912:
	cmp	ebx,128
	setle	al
	movzx	eax,al
	cmp	eax,0
	je	_4915
	push	1
	push	300
	call	_brl_random_Rand
	add	esp,8
	cmp	eax,1
	sete	al
	movzx	eax,al
_4915:
	cmp	eax,0
	je	_4917
	mov	dword [esi+216],3
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+88+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	dword [esi+108],10
_4917:
	jmp	_4900
_4902:
	mov	eax,esi
	push	dword [_bb_patientwalk]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fld	dword [esi+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4920
	fld	dword [esi+12]
	fadd	dword [_6870]
	fstp	dword [esi+12]
	jmp	_4921
_4920:
	fld	dword [esi+12]
	fsub	dword [_6871]
	fstp	dword [esi+12]
_4921:
	cmp	ebx,400
	setl	al
	movzx	eax,al
	cmp	eax,0
	je	_4922
	cmp	ebx,128
	setg	al
	movzx	eax,al
_4922:
	cmp	eax,0
	je	_4924
	fld	dword [esi+8]
	mov	eax,dword [esi+240]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fsubp	st1,st0
	fstp	dword [esi+8]
	mov	eax,dword [esi+240]
	shl	eax,2
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fstp	dword [esi+32]
	jmp	_4925
_4924:
	mov	dword [esi+216],0
	cmp	ebx,128
	setle	al
	movzx	eax,al
	cmp	eax,0
	je	_4926
	push	1
	push	5
	call	_brl_random_Rand
	add	esp,8
	cmp	eax,1
	sete	al
	movzx	eax,al
_4926:
	cmp	eax,0
	je	_4928
	mov	dword [esi+216],3
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+88+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	dword [esi+108],10
_4928:
_4925:
	jmp	_4900
_4903:
	mov	eax,esi
	push	dword [_bb_patientattack]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [esi+60]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4931
	mov	eax,dword [esi+108]
	cmp	eax,0
	setle	al
	movzx	eax,al
_4931:
	cmp	eax,0
	je	_4933
	mov	dword [esi+224],0
	mov	dword [esi+228],0
	mov	dword [esi+216],0
	mov	dword [esi+64],0
_4933:
	jmp	_4900
_4904:
	mov	eax,esi
	push	dword [_bb_patientrecoil]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	fld	dword [_6872]
	fstp	dword [ebp-4]
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	dword [ebp-4]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [esi+32]
	cmp	dword [esi+60],0
	jne	_4935
	mov	dword [esi+216],0
_4935:
	jmp	_4900
_4905:
	cmp	dword [esi+60],21
	jne	_4936
	mov	dword [esi+216],6
_4936:
	jmp	_4900
_4906:
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4937
	mov	eax,esi
	push	dword [_bb_patientscuttle]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	push	dword [_bb_baddiechannel]
	call	_brl_audio_ChannelPlaying
	add	esp,4
	cmp	eax,0
	jne	_4939
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+96+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4939:
	push	esi
	call	__bb_physicsobj_logic
	add	esp,4
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_6873]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4942
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fld	dword [_6874]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4942:
	cmp	eax,0
	je	_4944
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+300]
	cmp	eax,1
	setne	al
	movzx	eax,al
_4944:
	cmp	eax,0
	je	_4946
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fstp	dword [ebp-20]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+8]
	fsub	dword [esi+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_4946:
	cmp	eax,0
	je	_4948
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+300],1
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	dword [_bb_recoil]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [_bb_player]
	mov	edx,dword [eax+24]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+248]
	sub	eax,10
	mov	dword [edx+248],eax
_4948:
	jmp	_4950
_4937:
	fldz
	fstp	dword [esi+152]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_4954
	push	eax
	call	_bbGCFree
	add	esp,4
_4954:
	mov	dword [esi+56],ebx
	mov	dword [esi+60],15
	mov	dword [esi+64],15
	mov	ebx,500
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	eax,edx
	cmp	eax,250
	jge	_4955
	mov	dword [esi+60],21
	mov	dword [esi+64],21
_4955:
_4950:
	push	1
	push	50
	call	_brl_random_Rand
	add	esp,8
	cmp	eax,1
	jne	_4956
_458:
	fld	qword [_6875]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6876]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [esi+148]
	fldz
	fstp	dword [esi+152]
_456:
	fld	dword [esi+148]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_458
_457:
_4956:
	fld	dword [esi+148]
	fstp	dword [ebp-8]
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fmul	dword [_6877]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [esi+148]
	fld	dword [esi+152]
	fstp	qword [ebp-16]
	fld	qword [_6878]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6879]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	dword [esi+152]
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fstp	dword [ebp-24]
	fld	dword [esi+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fchs
	fld	dword [ebp-24]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4957
	fld	dword [esi+12]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fld	dword [eax+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4958
	fld	dword [esi+152]
	fadd	dword [_6880]
	fstp	dword [esi+152]
	jmp	_4959
_4958:
	fld	dword [esi+152]
	fsub	dword [_6881]
	fstp	dword [esi+152]
_4959:
_4957:
	fld	dword [_6882]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	fstp	dword [esi+148]
	fld	dword [_6883]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+148]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	fstp	dword [esi+148]
	fld	dword [_6884]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+152]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMin
	add	esp,16
	fstp	dword [esi+152]
	fld	dword [_6885]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+152]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	fstp	dword [esi+152]
	push	1
	push	2500
	call	_brl_random_Rand
	add	esp,8
	cmp	eax,1
	jne	_4960
	mov	dword [esi+216],5
	mov	eax,esi
	push	dword [_bb_patientrise]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	push	100
	push	55
	call	_brl_random_Rand
	add	esp,8
	mov	dword [esi+220],eax
_4960:
	fld	dword [esi+148]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4962
	fld	dword [_6886]
	fstp	dword [esi+32]
	jmp	_4963
_4962:
	fld	dword [_6887]
	fstp	dword [esi+32]
_4963:
	jmp	_4900
_4907:
	cmp	dword [esi+60],0
	jne	_4964
	mov	dword [esi+216],0
_4964:
	jmp	_4900
_4908:
	mov	eax,dword [esi+236]
	mov	dword [esi+60],eax
	mov	eax,dword [esi+236]
	mov	dword [esi+64],eax
	add	dword [esi+232],1
	mov	eax,dword [esi+232]
	cmp	eax,20
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4965
	mov	eax,dword [esi+236]
	cmp	eax,3
	setl	al
	movzx	eax,al
_4965:
	cmp	eax,0
	je	_4967
	mov	dword [esi+232],0
	add	dword [esi+236],1
_4967:
_4900:
	mov	eax,dword [esi+216]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4968
	mov	eax,dword [esi+216]
	cmp	eax,0
	sete	al
	movzx	eax,al
_4968:
	cmp	eax,0
	je	_4970
	fld	dword [esi+12]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+12]
	fld	dword [_6888]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	push	eax
	call	_bbIntAbs
	add	esp,4
_4970:
	cmp	eax,0
	je	_4972
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+76]
_4972:
	cmp	eax,0
	je	_4975
	mov	eax,esi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_4975:
	cmp	eax,0
	je	_4977
	mov	dword [esi+216],2
	sub	dword [esi+220],35
	mov	dword [esi+232],0
	mov	dword [esi+236],4
	cmp	dword [esi+220],0
	jge	_4978
	mov	dword [esi+216],4
	mov	eax,esi
	push	dword [_bb_patientfall]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
_4978:
	mov	ebx,dword [_bb_fx]
	push	21
	push	19
	call	_brl_random_Rand
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4977:
	mov	eax,dword [esi+216]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4981
	fld	dword [esi+12]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+12]
	fld	dword [_6889]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	push	eax
	call	_bbIntAbs
	add	esp,4
_4981:
	cmp	eax,0
	je	_4983
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+76]
_4983:
	cmp	eax,0
	je	_4985
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+56]
	cmp	eax,dword [_bb_plankattackdeep]
	sete	al
	movzx	eax,al
_4985:
	cmp	eax,0
	je	_4988
	mov	eax,esi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_4988:
	cmp	eax,0
	je	_4990
	mov	dword [esi+232],0
	mov	dword [esi+236],0
	mov	ebx,dword [_bb_bloodanim]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4994
	push	eax
	call	_bbGCFree
	add	esp,4
_4994:
	mov	dword [esi+24],ebx
	mov	ebx,dword [_bb_bloodanim]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4998
	push	eax
	call	_bbGCFree
	add	esp,4
_4998:
	mov	dword [esi+28],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_5002
	push	eax
	call	_bbGCFree
	add	esp,4
_5002:
	mov	dword [esi+56],ebx
	mov	dword [esi+60],0
	mov	dword [esi+64],0
	mov	dword [esi+216],-1
	sub	dword [esi+220],35
	mov	ebx,dword [_bb_fx]
	push	21
	push	19
	call	_brl_random_Rand
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4990:
	mov	eax,0
_1840:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_patient_draw:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	__bb_graph_draw
	add	esp,4
	mov	eax,dword [esi+216]
	cmp	eax,3
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5004
	mov	eax,dword [esi+60]
	cmp	eax,9
	setg	al
	movzx	eax,al
_5004:
	cmp	eax,0
	je	_5006
	add	dword [esi+224],1
	cmp	dword [esi+224],5
	jne	_5007
	mov	dword [esi+224],0
	add	dword [esi+228],1
_5007:
	mov	edx,dword [__bb_patient_spraygraph]
	mov	eax,dword [esi+228]
	mov	dword [edx+60],eax
	mov	eax,dword [__bb_patient_spraygraph]
	cmp	dword [eax+60],8
	jge	_5008
	mov	eax,dword [__bb_patient_spraygraph]
	fld	dword [esi+8]
	fld	dword [esi+32]
	fmul	dword [_6939]
	fsubp	st1,st0
	fstp	dword [eax+8]
	mov	eax,dword [__bb_patient_spraygraph]
	fld	dword [esi+12]
	fadd	dword [_6940]
	fstp	dword [eax+12]
	mov	eax,dword [__bb_patient_spraygraph]
	fld	dword [esi+32]
	fstp	dword [eax+32]
	mov	eax,dword [__bb_patient_spraygraph]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fld	dword [_6941]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_5011
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+300]
	cmp	eax,1
	setne	al
	movzx	eax,al
_5011:
	cmp	eax,0
	je	_5013
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+300],1
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	dword [_bb_recoil]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	edx,dword [_bb_player]
	mov	ebx,dword [edx+24]
	mov	edx,dword [_bb_player]
	mov	edx,dword [edx+24]
	mov	edx,dword [edx+248]
	mov	dword [ebp+-16],edx
	fild	dword [ebp+-16]
	fstp	dword [ebp-8]
	fld	dword [_6942]
	fstp	dword [ebp-12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fdiv	dword [_6943]
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+248],eax
_5013:
_5008:
_5006:
	cmp	dword [esi+216],2
	jne	_5016
	add	dword [esi+232],1
	cmp	dword [esi+232],5
	jne	_5017
	mov	dword [esi+232],0
	add	dword [esi+236],1
_5017:
	mov	edx,dword [__bb_patient_bloodgraph]
	mov	eax,dword [esi+236]
	mov	dword [edx+60],eax
	mov	eax,dword [__bb_patient_bloodgraph]
	cmp	dword [eax+60],8
	jge	_5018
	mov	ebx,dword [__bb_patient_bloodgraph]
	fld	dword [esi+8]
	fstp	dword [ebp-4]
	fld	dword [esi+32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fmul	dword [_6944]
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [ebx+8]
	mov	eax,dword [__bb_patient_bloodgraph]
	fld	dword [esi+12]
	fsub	dword [_6945]
	fstp	dword [eax+12]
	mov	eax,dword [__bb_patient_bloodgraph]
	fld	dword [esi+32]
	fstp	dword [eax+32]
	mov	eax,dword [__bb_patient_bloodgraph]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
_5018:
_5016:
	mov	eax,0
_1843:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_phypart_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_physicsobj_New
	add	esp,4
	mov	dword [ebx],_bb_phypart
	mov	dword [ebx+216],0
	fldz
	fstp	dword [ebx+220]
	mov	eax,0
_1846:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_phypart_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1849:
	mov	dword [eax],_bb_physicsobj
	push	eax
	call	__bb_physicsobj_Delete
	add	esp,4
	mov	eax,0
_5020:
	mov	esp,ebp
	pop	ebp
	ret
__bb_phypart_update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_gameobj_update
	add	esp,4
	sub	dword [ebx+216],1
	cmp	dword [ebx+216],0
	jg	_5021
	mov	dword [ebx+92],1
_5021:
	cmp	dword [ebx+216],50
	jge	_5022
	mov	eax,dword [ebx+216]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_6961]
	fmul	dword [ebx+220]
	fstp	dword [ebx+40]
_5022:
	fld	dword [ebx+84]
	fmul	dword [_6962]
	fstp	dword [ebx+84]
	mov	eax,0
_1852:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_icebit_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_phypart_New
	add	esp,4
	mov	dword [ebx],_bb_icebit
	mov	eax,0
_1855:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_icebit_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1858:
	mov	dword [eax],_bb_phypart
	push	eax
	call	__bb_phypart_Delete
	add	esp,4
	mov	eax,0
_5023:
	mov	esp,ebp
	pop	ebp
	ret
__bb_icebit_init:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+20]
	push	dword [esi+24]
	call	_brl_max2d_MidHandleImage
	add	esp,4
	push	8
	push	0
	call	_brl_random_Rand
	add	esp,8
	mov	dword [esi+64],eax
	mov	dword [esi+52],0
	mov	eax,dword [ebp+12]
	sub	eax,24
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [esi+8]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	fstp	dword [esi+12]
	fld	qword [_6971]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6972]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [esi+148]
	fld	qword [_6973]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6974]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [esi+152]
	fld1
	fstp	dword [esi+32]
	fld1
	fstp	dword [esi+36]
	cmp	edi,3
	jge	_5024
	fld	qword [_6975]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_6976]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [esi+84]
_5024:
	mov	dword [esi+104],0
	mov	ebx,dword [esi+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5028
	push	eax
	call	_bbGCFree
	add	esp,4
_5028:
	mov	dword [esi+28],ebx
	mov	dword [esi+96],1
	mov	dword [esi+180],1
	mov	dword [esi+176],1
	mov	dword [esi+136],1
	mov	dword [esi+216],120
	fld1
	fstp	dword [esi+40]
	fld	dword [esi+40]
	fstp	dword [esi+220]
	mov	eax,0
_1865:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_icebit_generate:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+16]
	mov	esi,dword [ebp+20]
	mov	ebx,0
	mov	edi,eax
	jmp	_5030
_461:
	push	1
	push	esi
	push	dword [ebp+12]
	push	dword [ebp+8]
	push	_409
	call	dword [_bb_gameobj+84]
	add	esp,20
_459:
	add	ebx,1
_5030:
	cmp	ebx,edi
	jle	_461
_460:
	mov	eax,0
_1871:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_graph_New
	add	esp,4
	mov	dword [ebx],_bb_fog
	fldz
	fstp	dword [ebx+104]
	mov	dword [ebx+108],0
	mov	dword [ebx+112],0
	mov	eax,0
_1874:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1877:
	mov	dword [eax],_bb_graph
	push	eax
	call	__bb_graph_Delete
	add	esp,4
	mov	eax,0
_5032:
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_makeall:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_fog_foglist]
	dec	dword [eax+4]
	jnz	_5036
	push	eax
	call	_bbGCFree
	add	esp,4
_5036:
	mov	dword [__bb_fog_foglist],ebx
	mov	esi,0
	jmp	_5038
_464:
	push	_bb_fog
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,12
	push	ebx
	push	dword [__bb_fog_foglist]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_462:
	add	esi,1
_5038:
	cmp	esi,edi
	jl	_464
_463:
	mov	eax,0
_1880:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_updateall:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [__bb_fog_foglist]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_465
_467:
	mov	eax,ebx
	push	_bb_fog
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_465
	cmp	dword [eax+112],edi
	jne	_5048
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_5048:
_465:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_467
_466:
	mov	eax,0
_1883:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_init:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+16]
	fsub	dword [ebp+12]
	fdiv	dword [ebp+16]
	fmul	dword [_6992]
	fstp	dword [ebx+104]
	fld	dword [_6993]
	fstp	dword [ebx+40]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	qword [ebp-8]
	mov	eax,dword [_bb_hGW]
	add	eax,128
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_hGW]
	add	eax,128
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fstp	dword [ebx+8]
	fld	dword [_6994]
	fstp	dword [ebx+32]
	fld	dword [_6995]
	fstp	dword [ebx+36]
	mov	esi,4
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	idiv	esi
	cmp	edx,1
	jne	_5050
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [ebx+12]
	jmp	_5051
_5050:
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_6996]
	fstp	dword [ebx+12]
_5051:
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	qword [ebp-16]
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_vGH]
	add	eax,128
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	dword [ebx+12]
	mov	dword [ebx+108],-1
	fld	dword [ebp+16]
	fmul	dword [_6997]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5052
	mov	dword [ebx+112],1
	push	-5
	push	-2
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebx+108],eax
_5052:
	mov	esi,dword [_bb_fogimage]
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5056
	push	eax
	call	_bbGCFree
	add	esp,4
_5056:
	mov	dword [ebx+24],esi
	mov	esi,dword [_bb_fogimage]
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5060
	push	eax
	call	_bbGCFree
	add	esp,4
_5060:
	mov	dword [ebx+28],esi
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,2
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,2
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fstp	dword [ebx+12]
	mov	eax,0
_1888:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_fog_update:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+8]
	mov	eax,dword [ebx+108]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	faddp	st1,st0
	fstp	dword [ebx+8]
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fstp	dword [ebx+8]
	fld	dword [ebx+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsubp	st1,st0
	mov	eax,dword [_bb_hGW]
	neg	eax
	sub	eax,32
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_5061
	fld	dword [ebx+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebx+12]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [_bb_vGW]
	imul	eax,3
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_5061:
	cmp	eax,0
	je	_5063
	mov	eax,dword [_bb_screenoffset]
	add	eax,768
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fstp	qword [ebp-12]
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [_bb_hGW]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-12]
	faddp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebx+8]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fstp	qword [ebp-20]
	mov	eax,dword [_bb_vGH]
	add	eax,dword [_bb_hGH]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-20]
	faddp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fstp	dword [ebx+12]
	fld	dword [ebx+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,2
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,2
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fstp	dword [ebx+12]
_5063:
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	fld	dword [ebx+36]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+32]
	fmul	dword [_bb_s]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	push	dword [ebx+40]
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	dword [ebx+60]
	fld	dword [ebx+12]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+8]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+28]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	eax,0
_1891:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_character_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_physicsobj_New
	add	esp,4
	mov	dword [ebx],_bb_character
	mov	eax,0
_1894:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_character_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1897:
	mov	dword [eax],_bb_physicsobj
	push	eax
	call	__bb_physicsobj_Delete
	add	esp,4
	mov	eax,0
_5065:
	mov	esp,ebp
	pop	ebp
	ret
__bb_character_logic:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	__bb_physicsobj_logic
	add	esp,4
	mov	eax,0
_1900:
	mov	esp,ebp
	pop	ebp
	ret
__bb_angel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_character_New
	add	esp,4
	mov	dword [ebx],_bb_angel
	mov	dword [ebx+216],0
	mov	eax,0
_1903:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_angel_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1906:
	mov	dword [eax],_bb_character
	push	eax
	call	__bb_character_Delete
	add	esp,4
	mov	eax,0
_5066:
	mov	esp,ebp
	pop	ebp
	ret
__bb_angel_init:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	eax,dword [_bb_angelstand]
	mov	eax,dword [eax+16]
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5070
	push	eax
	call	_bbGCFree
	add	esp,4
_5070:
	mov	eax,dword [ebp-4]
	mov	dword [esi+24],eax
	mov	dword [esi+64],0
	mov	dword [esi+52],0
	mov	eax,edi
	sub	eax,4
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fstp	dword [esi+8]
	mov	dword [ebp+-8],ebx
	fild	dword [ebp+-8]
	fstp	dword [esi+12]
	fld	dword [_7016]
	fstp	dword [esi+32]
	fld	dword [_7017]
	fstp	dword [esi+36]
	mov	dword [esi+104],0
	mov	ebx,dword [esi+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5074
	push	eax
	call	_bbGCFree
	add	esp,4
_5074:
	mov	dword [esi+28],ebx
	mov	dword [esi+216],0
	mov	eax,0
_1913:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_angel_logic:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+216]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5075
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_7020]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_5075:
	cmp	eax,0
	je	_5077
	mov	dword [esi+216],1
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+60+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_5082
	push	eax
	call	_bbGCFree
	add	esp,4
_5082:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+56],ebx
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],1
	push	dword [_bb_angelstand]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	push	0
	push	0
	push	0
	fld	dword [_7021]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7022]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_468
	call	_bb_clickbox
	add	esp,32
	push	1
	push	0
	push	0
	fld	dword [_7023]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7024]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_469
	call	_bb_clickbox
	add	esp,32
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_5087
	push	eax
	call	_bbGCFree
	add	esp,4
_5087:
	mov	dword [esi+56],ebx
	mov	dword [esi+64],9
	push	0
	push	0
	push	0
	fld	dword [_7025]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7026]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_470
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7027]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7028]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_471
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],7
	push	1
	push	0
	push	0
	fld	dword [_7029]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7030]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_472
	call	_bb_clickbox
	add	esp,32
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],0
	push	0
	push	0
	push	0
	fld	dword [_7031]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7032]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_473
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],5
	push	1
	push	0
	push	0
	fld	dword [_7033]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7034]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_474
	call	_bb_clickbox
	add	esp,32
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],1
	push	0
	push	0
	push	0
	fld	dword [_7035]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7036]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_475
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],8
	push	1
	push	0
	push	0
	fld	dword [_7037]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7038]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_476
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],9
	push	1
	push	0
	push	0
	fld	dword [_7039]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7040]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_477
	call	_bb_clickbox
	add	esp,32
	push	1
	push	0
	push	0
	fld	dword [_7041]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7042]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_478
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7043]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7044]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_479
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7045]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7046]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_480
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7047]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7048]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_481
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],8
	push	1
	push	0
	push	0
	fld	dword [_7049]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7050]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_482
	call	_bb_clickbox
	add	esp,32
	mov	dword [esi+64],9
	push	1
	push	0
	push	0
	fld	dword [_7051]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7052]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_483
	call	_bb_clickbox
	add	esp,32
	push	1
	push	0
	push	0
	fld	dword [_7053]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7054]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_484
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7055]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7056]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_485
	call	_bb_clickbox
	add	esp,32
	push	1
	push	0
	push	0
	fld	dword [_7057]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7058]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_486
	call	_bb_clickbox
	add	esp,32
	push	dword [_bb_angelkneel]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	fld1
	fstp	dword [_bb_musicfade]
_5077:
	mov	eax,dword [esi+216]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5089
	fld	dword [esi+8]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	fsub	dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_7059]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_5089:
	cmp	eax,0
	je	_5091
	push	0
	fld	dword [esi+12]
	fsub	dword [_7060]
	mov	eax,dword [_bb_screenyoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [esi+8]
	fsub	dword [_7061]
	mov	eax,dword [_bb_screenoffset]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	fmul	dword [_bb_s]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bb_animbutton
	add	esp,12
	cmp	eax,0
	je	_5093
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_5097
	push	eax
	call	_bbGCFree
	add	esp,4
_5097:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+56],ebx
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	dword [eax+64],1
	push	dword [_bb_angelstand]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	push	1
	push	0
	push	0
	fld	dword [_7062]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7063]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_487
	call	_bb_clickbox
	add	esp,32
	push	0
	push	0
	push	0
	fld	dword [_7064]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_vGW]
	sub	eax,64
	push	eax
	fld	dword [_7065]
	mov	eax,dword [_bb_vGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmulp	st1,st0
	mov	eax,dword [_bb_hGH]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,32
	sub	eax,dword [_bb_hGW]
	push	eax
	push	_488
	call	_bb_clickbox
	add	esp,32
	push	dword [_bb_angelkneel]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
_5093:
_5091:
	mov	eax,0
_1916:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_nicetext:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [ebp+8]
	fld	qword [eax+24]
	fld	qword [_7073]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [ebp+8]
	fld	qword [eax+16]
	fld	qword [_7074]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [ebp+8]
	fld	qword [eax+8]
	fld	qword [_7075]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMax
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_brl_max2d_SetColor
	add	esp,12
	push	dword [ebp+28]
	push	dword [ebp+28]
	call	_brl_max2d_SetScale
	add	esp,8
	fld	dword [ebp+24]
	fdiv	dword [_7076]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,ebx
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	push	dword [ebp+24]
	call	_brl_max2d_SetAlpha
	add	esp,4
	fld1
	fld	dword [ebp+24]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5100
	fld	dword [ebp+24]
	fdiv	dword [_7077]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetAlpha
	add	esp,4
_5100:
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	sub	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,ebx
	sub	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	push	dword [ebp+24]
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
_1924:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_clickbox:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	dword [_bb_screenchange],1
_495:
	call	_brl_max2d_Cls
	cmp	dword [ebp+28],0
	jne	_5104
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
_5104:
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	_1
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5106
	push	_496
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_5106:
	cmp	eax,0
	je	_5108
	call	_bb_draw_mapsprite
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	edi
	push	esi
	call	_bb_nobox
	add	esp,20
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_5110
_5108:
	cmp	dword [ebp+36],1
	jne	_5111
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	edi
	push	esi
	call	_bb_whitebox
	add	esp,20
	jmp	_5112
_5111:
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	edi
	push	esi
	call	_bb_bluebox
	add	esp,20
_5112:
_5110:
	push	dword [ebp+32]
	mov	eax,dword [ebp+16]
	add	eax,dword [ebp+24]
	sub	eax,48
	push	eax
	mov	eax,edi
	add	eax,dword [ebp+20]
	sub	eax,48
	push	eax
	call	_bb_animbutton
	add	esp,12
	mov	ebx,eax
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1028443341
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	0
	push	0
	push	0
	push	dword [_bb_my_grain]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1
	call	_brl_graphics_Flip
	add	esp,4
_493:
	cmp	ebx,0
	je	_495
_494:
	mov	dword [_bb_screenchange],0
	mov	eax,0
_1934:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_animbutton:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	1082130432
	push	1082130432
	call	_brl_max2d_SetScale
	add	esp,8
	call	_bbMilliSecs
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmul	dword [_7087]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7088]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbIntAbs
	add	esp,4
	cmp	eax,2
	setg	al
	movzx	eax,al
	mov	edx,edi
	shl	edx,1
	add	edx,eax
	push	edx
	call	_bbMilliSecs
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmul	dword [_7089]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7090]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbIntAbs
	add	esp,4
	add	esi,eax
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_my_kb]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	eax,0
	cmp	edi,0
	jne	_5115
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5115:
	cmp	edi,1
	jne	_5117
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5117:
	cmp	edi,2
	jne	_5119
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_5119:
	cmp	edi,3
	jne	_5121
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_5121:
	cmp	edi,4
	jne	_5123
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_5123:
	cmp	edi,5
	jne	_5125
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_5125:
_1939:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_bluebox:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+20]
	push	255
	push	120
	push	124
	call	_brl_max2d_SetColor
	add	esp,12
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	255
	push	218
	push	182
	call	_brl_max2d_SetColor
	add	esp,12
	push	1082130432
	mov	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1082130432
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	128
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	1082130432
	mov	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ebx
	add	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1082130432
	mov	eax,ebx
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_bbNullObject
	push	1
	mov	eax,edi
	sub	eax,32
	cdq
	and	edx,31
	add	eax,edx
	sar	eax,5
	add	eax,1
	push	eax
	mov	eax,ebx
	add	eax,16
	push	eax
	mov	eax,esi
	sub	eax,16
	push	eax
	push	dword [ebp+8]
	call	_bb_bDrawText
	add	esp,24
	mov	eax,0
_1946:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_whitebox:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+20]
	push	164
	push	164
	push	164
	call	_brl_max2d_SetColor
	add	esp,12
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],edi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	1082130432
	mov	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1082130432
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	82
	push	82
	push	82
	call	_brl_max2d_SetColor
	add	esp,12
	push	1082130432
	mov	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ebx
	add	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [ebp+24]
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1082130432
	mov	eax,ebx
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,edi
	sub	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_bbNullObject
	push	1
	mov	eax,edi
	sub	eax,32
	cdq
	and	edx,31
	add	eax,edx
	sar	eax,5
	add	eax,1
	push	eax
	mov	eax,ebx
	add	eax,16
	push	eax
	mov	eax,esi
	sub	eax,16
	push	eax
	push	dword [ebp+8]
	call	_bb_bDrawText
	add	esp,24
	mov	eax,0
_1953:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_nobox:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	push	dword [_bb_GREEN]
	push	1
	sub	eax,32
	cdq
	and	edx,31
	add	eax,edx
	sar	eax,5
	add	eax,1
	push	eax
	add	ecx,16
	push	ecx
	sub	ebx,16
	push	ebx
	push	esi
	call	_bb_bDrawText
	add	esp,24
	mov	eax,0
_1960:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_bDrawText:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+16]
	push	dword [ebp+8]
	call	_brl_retro_Upper
	add	esp,4
	mov	dword [ebp+8],eax
	push	1082130432
	push	1082130432
	call	_brl_max2d_SetScale
	add	esp,8
	mov	dword [ebp-12],_497
	mov	esi,1
	mov	dword [ebp-16],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [ebp-20],eax
	jmp	_5131
_500:
	cmp	esi,1
	jne	_5133
_5133:
	push	1
	push	dword [ebp-16]
	push	dword [ebp+8]
	call	_brl_retro_Mid
	add	esp,12
	mov	dword [ebp-4],eax
	push	_501
	push	dword [ebp-4]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5135
	cmp	esi,1
	jle	_5136
	push	1
	push	_501
	push	-1
	mov	eax,dword [ebp-16]
	add	eax,1
	push	eax
	push	dword [ebp+8]
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	jne	_5138
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [ebp-16]
	add	edx,1
	sub	eax,edx
_5138:
	mov	edx,dword [ebp+20]
	sub	edx,esi
	cmp	eax,edx
	jle	_5139
	add	edi,40
	mov	esi,1
_5139:
	jmp	_5140
_5136:
	mov	dword [ebp-4],_502
_5140:
_5135:
	mov	ebx,1
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	dword [ebp-8],eax
	jmp	_5142
_505:
	push	1
	push	ebx
	push	dword [ebp-12]
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	push	dword [ebp-4]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5146
	push	_501
	push	dword [ebp-4]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_5144
	cmp	esi,1
	setg	al
	movzx	eax,al
_5144:
_5146:
	cmp	eax,0
	je	_5148
	cmp	dword [ebp+24],0
	je	_5149
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,ebx
	sub	eax,1
	push	eax
	mov	eax,edi
	add	eax,4
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [ebp+12]
	add	edx,4
	mov	eax,esi
	shl	eax,3
	shl	eax,2
	add	edx,eax
	mov	dword [ebp+-24],edx
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_my_font]
	call	_brl_max2d_DrawImage
	add	esp,16
_5149:
	cmp	dword [ebp+28],_bbNullObject
	je	_5150
	mov	eax,dword [ebp+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_5152
_5150:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
_5152:
	mov	eax,ebx
	sub	eax,1
	push	eax
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [ebp+12]
	mov	eax,esi
	shl	eax,3
	shl	eax,2
	add	edx,eax
	mov	dword [ebp+-24],edx
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_my_font]
	call	_brl_max2d_DrawImage
	add	esp,16
	add	esi,1
	cmp	esi,dword [ebp+20]
	jne	_5153
	add	edi,40
	mov	esi,1
_5153:
_5148:
_503:
	add	ebx,1
_5142:
	cmp	ebx,dword [ebp-8]
	jle	_505
_504:
	push	_506
	push	dword [ebp-4]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5154
	add	edi,40
	mov	esi,1
_5154:
_498:
	add	dword [ebp-16],1
_5131:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-16],eax
	jle	_500
_499:
	mov	eax,0
_1968:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_draw_mapsprite:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	1082130432
	push	1082130432
	call	_brl_max2d_SetScale
	add	esp,8
	push	0
	push	-1018691584
	mov	eax,dword [_bb_hGW]
	neg	eax
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_mapsprite]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,0
_1970:
	mov	esp,ebp
	pop	ebp
	ret
_bb_nextroom:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	_bb_gameobjlist
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_gol]
	dec	dword [eax+4]
	jnz	_5158
	push	eax
	call	_bbGCFree
	add	esp,4
_5158:
	mov	dword [_bb_gol],ebx
	push	_bb_graphq
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_grq]
	dec	dword [eax+4]
	jnz	_5162
	push	eax
	call	_bbGCFree
	add	esp,4
_5162:
	mov	dword [_bb_grq],ebx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_badlist]
	dec	dword [eax+4]
	jnz	_5166
	push	eax
	call	_bbGCFree
	add	esp,4
_5166:
	mov	dword [_bb_badlist],ebx
	mov	dword [_bb_nextgobj],1
	mov	dword [_bb_stagetext],150
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	call	_bb_resetenvironment
	mov	eax,dword [_bb_here]
	cmp	dword [eax+36],1
	jne	_5168
	cmp	dword [_bb_stage],6
	jge	_5169
	mov	eax,dword [_bb_fogsound]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_5169:
	mov	eax,dword [_bb_stage]
	cmp	eax,5
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5171
	mov	eax,dword [_bb_stage]
	cmp	eax,10
	setl	al
	movzx	eax,al
_5171:
	cmp	eax,0
	je	_5173
	push	1065353216
	push	dword [_bb_musicchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [_bb_fx]
	mov	eax,dword [eax+48+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_5173:
_5168:
	mov	eax,dword [_bb_stage]
	cmp	eax,1
	je	_5177
	cmp	eax,4
	je	_5178
	jmp	_5176
_5177:
	jmp	_5176
_5178:
_5176:
	mov	eax,0
_1972:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_title:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,0
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	cmp	dword [eax+248],50
	jge	_5180
	add	ebx,1
_5180:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	cmp	dword [eax+248],33
	jge	_5181
	add	ebx,1
_5181:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	cmp	dword [eax+248],25
	jge	_5182
	add	ebx,1
_5182:
	mov	edx,dword [_bb_heartgraph]
	mov	eax,dword [_bb_heart]
	push	dword [eax+ebx*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [_bb_heartgraph]
	mov	esi,dword [eax+76]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	fmul	dword [_7130]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_heartchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	mov	eax,dword [_bb_heartgraph]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [_bb_heartgraph]
	cmp	esi,dword [eax+76]
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_5186
	mov	eax,dword [_bb_heartgraph]
	mov	eax,dword [eax+76]
	cmp	eax,1
	sete	al
	movzx	eax,al
_5186:
	cmp	eax,0
	je	_5188
	cmp	ebx,0
	setg	al
	movzx	eax,al
_5188:
	cmp	eax,0
	je	_5190
	mov	ecx,dword [_bb_fx]
	mov	ebx,2
	mov	eax,dword [_bb_beats]
	cdq
	idiv	ebx
	add	edx,29
	mov	eax,dword [ecx+edx*4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	add	dword [_bb_beats],1
_5190:
	mov	eax,dword [_bb_heartgraph]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	eax,dword [_bb_WHITE]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	mov	eax,0
_1974:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_set_screen_size:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	5889
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	fld1
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,8
	fstp	qword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_glOrtho@48
	push	5888
	call	_glMatrixMode@4
	call	_glLoadIdentity@0
	mov	eax,0
_1978:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_centretext:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	dword [ebp+20]
	push	dword [ebp+20]
	call	_brl_max2d_SetScale
	add	esp,8
	push	dword [ebp+20]
	push	1065353216
	push	edi
	push	ebx
	call	_brl_max2d_TextWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	neg	eax
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fmul	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	ebx
	push	esi
	call	_bb_nicetext
	add	esp,24
	mov	eax,0
_1984:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_menu:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,dword [ebp+16]
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	mov	ebx,0
	mov	eax,dword [edi+20]
	mov	dword [ebp-20],eax
	jmp	_5195
_636:
	fld1
	fstp	qword [ebp-16]
	fld	qword [_7143]
	fstp	qword [ebp-8]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fld	dword [_7144]
	mov	eax,dword [ebp+24]
	cmp	eax,0
	je	_5199
	cmp	ebx,0
	sete	al
	movzx	eax,al
_5199:
	cmp	eax,0
	jne	_5201
	mov	eax,dword [edi+20]
	sub	eax,1
	cmp	ebx,eax
	sete	al
	movzx	eax,al
_5201:
	cmp	eax,0
	je	_5203
	fstp	st0
	fld	dword [_7145]
_5203:
	mov	eax,dword [ebp+24]
	cmp	eax,0
	je	_5206
	cmp	ebx,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5204
	mov	eax,dword [edi+20]
	sub	eax,1
	cmp	ebx,eax
	sete	al
	movzx	eax,al
_5204:
_5206:
	cmp	eax,0
	je	_5208
	add	esi,50
_5208:
	cmp	dword [ebp+28],0
	je	_5210
	mov	edx,dword [_bb_GREEN]
	jmp	_5211
_5210:
	mov	edx,dword [_bb_YELLOW]
_5211:
	mov	eax,dword [ebp+8]
	cmp	eax,ebx
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5212
	mov	eax,dword [ebp+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5212:
	cmp	eax,0
	jne	_7166
	fxch	st1
	fstp	st0
	jmp	_5214
_7166:
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,93
	mov	ecx,eax
	mov	eax,ebx
	imul	eax,40
	add	ecx,eax
	push	ecx
	push	dword [edi+ebx*4+24]
	push	edx
	call	_bb_centretext
	add	esp,16
	jmp	_5215
_5214:
	fld	dword [_7146]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,100
	mov	edx,ebx
	imul	edx,40
	add	eax,edx
	push	eax
	push	dword [edi+ebx*4+24]
	push	dword [_bb_RED]
	call	_bb_centretext
	add	esp,16
_5215:
_634:
	add	ebx,1
_5195:
	cmp	ebx,dword [ebp-20]
	jl	_636
_635:
	mov	eax,dword [ebp+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5216
	mov	eax,dword [ebp+28]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5216:
	cmp	eax,0
	je	_5218
	mov	eax,dword [_bb_jwait]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5218:
	cmp	eax,0
	je	_5220
	call	_bb_pdown
	cmp	eax,0
	je	_5221
	mov	eax,dword [ebp+8]
	add	eax,1
	cdq
	idiv	dword [edi+20]
	mov	eax,edx
	mov	dword [ebp+8],eax
	mov	dword [_bb_jwait],20
_5221:
	call	_bb_pup
	cmp	eax,0
	je	_5222
	sub	dword [ebp+8],1
	mov	dword [_bb_jwait],10
	cmp	dword [ebp+8],-1
	jne	_5223
	mov	eax,dword [edi+20]
	sub	eax,1
	mov	dword [ebp+8],eax
_5223:
_5222:
_5220:
	cmp	dword [_bb_jwait],0
	je	_5224
	sub	dword [_bb_jwait],1
_5224:
	push	0
	push	dword [_bb_jwait]
	call	_bbIntMax
	add	esp,8
	mov	dword [_bb_jwait],eax
	mov	eax,dword [ebp+8]
_1992:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_titles:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,0
	mov	dword [ebp-44],_637
	mov	dword [ebp-48],0
_640:
_643:
	call	_brl_max2d_Cls
	fld	qword [_7167]
	fstp	qword [ebp-40]
	fld	qword [_7168]
	fstp	qword [ebp-16]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-40]
	faddp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_7169]
	fstp	qword [ebp-32]
	fld	qword [_7170]
	fstp	qword [ebp-8]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-32]
	faddp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	mov	ecx,4000
	mov	eax,esi
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,2000
	jge	_5228
	push	5
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_644
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_645
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,dword [ebp-44]
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_646
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_647
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	push	0
	push	0
	push	0
	push	0
	push	eax
	push	edi
	call	_bb_menu
	add	esp,24
	mov	edi,eax
	push	dword [_bb_HUGE]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1065353216
	fld	qword [_7171]
	fstp	qword [ebp-24]
	mov	dword [ebp+-52],esi
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7172]
	fmulp	st1,st0
	fld	qword [ebp-24]
	faddp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_648
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	jmp	_5235
_5228:
	mov	edi,0
	mov	eax,dword [_bb_hs]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_5235:
	add	esi,3
	mov	ebx,0
	jmp	_5238
_651:
	call	_bb_hbutton
	cmp	eax,0
	je	_5239
	mov	ecx,4000
	mov	eax,esi
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,2000
	setge	al
	movzx	eax,al
_5239:
	cmp	eax,0
	je	_5241
	mov	esi,0
_5241:
_649:
	add	ebx,1
_5238:
	cmp	ebx,5
	jle	_651
_650:
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_641:
	call	_bb_button
	cmp	eax,0
	je	_5242
	mov	eax,dword [_bb_jwait]
	cmp	eax,1
	setl	al
	movzx	eax,al
_5242:
	cmp	eax,0
	je	_5244
	mov	ecx,4000
	mov	eax,esi
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,2000
	setl	al
	movzx	eax,al
_5244:
	cmp	eax,0
	je	_643
_642:
	cmp	edi,3
	jne	_5246
	call	_bb_controls
	mov	dword [_bb_jwait],20
_5246:
	cmp	edi,2
	jne	_5247
	push	_637
	push	dword [ebp-44]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5248
	push	0
	push	60
	push	0
	push	768
	push	1024
	call	_brl_graphics_Graphics
	add	esp,20
	push	768
	push	1024
	call	_bb_set_screen_size
	add	esp,8
	mov	dword [ebp-44],_652
	call	_brl_graphics_GraphicsHeight
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_graphics_GraphicsWidth
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
	jmp	_5249
_5248:
	push	0
	push	60
	push	32
	push	768
	push	1024
	call	_brl_graphics_Graphics
	add	esp,20
	push	768
	push	1024
	call	_bb_set_screen_size
	add	esp,8
	mov	dword [ebp-44],_637
	call	_brl_graphics_GraphicsHeight
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_graphics_GraphicsWidth
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
_5249:
_5247:
	cmp	edi,4
	jne	_5250
	call	_bbEnd
_5250:
	cmp	edi,0
	jne	_5251
	mov	dword [_bb_PLAYERS],0
	mov	dword [ebp-48],1
_5251:
	cmp	edi,1
	jne	_5252
	mov	dword [_bb_PLAYERS],1
	mov	dword [ebp-48],1
_5252:
_638:
	cmp	dword [ebp-48],0
	je	_640
_639:
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	mov	eax,0
_1995:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_pup:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	jne	_5255
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	2
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5255:
	cmp	eax,0
	jne	_5257
	push	38
	call	_brl_polledinput_KeyHit
	add	esp,4
_5257:
_1997:
	mov	esp,ebp
	pop	ebp
	ret
_bb_pdown:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	jne	_5261
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	3
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5261:
	cmp	eax,0
	jne	_5263
	push	40
	call	_brl_polledinput_KeyHit
	add	esp,4
_5263:
_1999:
	mov	esp,ebp
	pop	ebp
	ret
_bb_pleft:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	jne	_5267
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5267:
	cmp	eax,0
	jne	_5269
	push	37
	call	_brl_polledinput_KeyHit
	add	esp,4
_5269:
_2001:
	mov	esp,ebp
	pop	ebp
	ret
_bb_pright:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	jne	_5273
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5273:
	cmp	eax,0
	jne	_5275
	push	39
	call	_brl_polledinput_KeyHit
	add	esp,4
_5275:
_2003:
	mov	esp,ebp
	pop	ebp
	ret
_bb_button:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	cmp	eax,0
	jne	_5279
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_5279:
	cmp	eax,0
	jne	_5281
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
_5281:
	cmp	eax,0
	jne	_5283
	push	13
	call	_brl_polledinput_KeyDown
	add	esp,4
_5283:
_2005:
	mov	esp,ebp
	pop	ebp
	ret
_bb_hbutton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	cmp	eax,0
	jne	_5287
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_5287:
	cmp	eax,0
	jne	_5289
	push	32
	call	_brl_polledinput_KeyDown
	add	esp,4
_5289:
	cmp	eax,0
	jne	_5291
	push	13
	call	_brl_polledinput_KeyDown
	add	esp,4
_5291:
_2007:
	mov	esp,ebp
	pop	ebp
	ret
_bb_controls:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-44],0
	mov	dword [ebp-48],0
	mov	dword [ebp-40],0
	mov	dword [_bb_jwait],20
_655:
	call	_brl_max2d_Cls
	fld	qword [_7218]
	fstp	qword [ebp-32]
	fld	qword [_7219]
	fstp	qword [ebp-8]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-32]
	faddp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_7220]
	fstp	qword [ebp-24]
	fld	qword [_7221]
	fstp	qword [ebp-16]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-24]
	faddp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	call	_bb_button
	mov	dword [ebp-52],eax
	mov	dword [ebp-56],0
	mov	dword [ebp-36],0
	jmp	_5300
_658:
	cmp	dword [ebp-36],0
	jne	_5301
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
	jmp	_5302
_5301:
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	imul	eax,3
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
_5302:
	push	1065353216
	mov	ecx,100
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	push	ecx
	mov	eax,dword [ebp-36]
	add	eax,1
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_659
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-36]
	mov	eax,dword [edx+eax*4+24]
	cmp	dword [eax+284],0
	jne	_5304
	mov	edi,_660
	jmp	_5305
_5304:
	mov	eax,dword [ebp-36]
	add	eax,1
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_661
	call	_bbStringConcat
	add	esp,8
	mov	edi,eax
_5305:
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-36]
	mov	eax,dword [edx+eax*4+24]
	mov	esi,dword [eax+288]
	push	_660
	push	edi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5307
	push	8
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	push	dword [esi+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_662
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	push	dword [esi+4+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_663
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	push	dword [esi+8+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_664
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	dword [esi+12+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_665
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	push	dword [esi+16+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_666
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	push	dword [esi+20+24]
	call	_bb_keyfind
	add	esp,4
	push	eax
	push	_667
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	mov	eax,_668
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	jmp	_5317
_5307:
	push	2
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_668
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
_5317:
	push	dword [ebp-40]
	push	1
	mov	eax,dword [ebp-48]
	cmp	eax,dword [ebp-36]
	setne	al
	movzx	eax,al
	push	eax
	push	-250
	push	ebx
	push	dword [ebp-44]
	call	_bb_menu
	add	esp,24
	mov	dword [ebp-44],eax
	mov	eax,dword [ebp-36]
	cmp	eax,dword [ebp-48]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5321
	mov	eax,dword [ebp-52]
_5321:
	cmp	eax,0
	je	_5323
	mov	eax,dword [ebp-40]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5323:
	cmp	eax,0
	je	_5325
	mov	eax,dword [_bb_jwait]
	cmp	eax,1
	setl	al
	movzx	eax,al
_5325:
	cmp	eax,0
	je	_5327
	cmp	dword [ebp-44],0
	jne	_5328
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-36]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+284]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5329
	mov	edx,dword [_bb_jc]
	mov	eax,dword [ebp-36]
	add	eax,1
	cmp	edx,eax
	setge	al
	movzx	eax,al
_5329:
	cmp	eax,0
	je	_5331
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-48]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,1
	mov	esi,dword [_bb_player]
	mov	ecx,dword [ebp-48]
	mov	ecx,dword [esi+ecx*4+24]
	sub	eax,dword [ecx+284]
	mov	dword [edx+284],eax
	mov	dword [_bb_jwait],20
_5331:
_5328:
	mov	eax,dword [ebp-44]
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5332
	mov	edx,dword [ebx+20]
	sub	edx,1
	mov	eax,dword [ebp-44]
	cmp	eax,edx
	setl	al
	movzx	eax,al
_5332:
	cmp	eax,0
	je	_5334
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-48]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+284]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5334:
	cmp	eax,0
	je	_5336
	mov	dword [ebp-40],30
	mov	edx,dword [_bb_player]
	mov	eax,dword [ebp-48]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+288]
	mov	eax,dword [ebp-44]
	sub	eax,1
	mov	dword [edx+eax*4+24],0
_5336:
_5327:
	cmp	dword [ebp-40],0
	jle	_5337
	cmp	dword [ebp-40],1
	jne	_5338
	call	_bb_getkey
	cmp	eax,-1
	je	_5340
	mov	ecx,dword [_bb_player]
	mov	edx,dword [ebp-48]
	mov	edx,dword [ecx+edx*4+24]
	mov	ecx,dword [edx+288]
	mov	edx,dword [ebp-44]
	sub	edx,1
	mov	dword [ecx+edx*4+24],eax
	mov	dword [ebp-40],-30
_5340:
	jmp	_5341
_5338:
	sub	dword [ebp-40],1
_5341:
_5337:
	cmp	dword [ebp-40],0
	jge	_5342
	add	dword [ebp-40],1
_5342:
	mov	eax,dword [ebx+20]
	sub	eax,1
	cmp	dword [ebp-44],eax
	jne	_5343
	mov	dword [ebp-56],1
_5343:
_656:
	add	dword [ebp-36],1
_5300:
	cmp	dword [ebp-36],1
	jle	_658
_657:
	push	27
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_5344
	mov	dword [ebp-56],1
	mov	dword [ebp-52],1
_5344:
	mov	eax,dword [_bb_jwait]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5347
	call	_bb_pleft
	cmp	eax,0
	jne	_5345
	call	_bb_pright
_5345:
_5347:
	cmp	eax,0
	je	_5349
	mov	eax,dword [ebp-40]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5349:
	cmp	eax,0
	je	_5351
	mov	eax,1
	sub	eax,dword [ebp-48]
	mov	dword [ebp-48],eax
	mov	dword [_bb_jwait],10
_5351:
	mov	eax,dword [_bb_vGH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_vGW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-60],eax
	fild	dword [ebp+-60]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetOrigin
	add	esp,8
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_653:
	mov	eax,dword [ebp-52]
	cmp	eax,0
	je	_5352
	mov	eax,dword [ebp-56]
_5352:
	cmp	eax,0
	je	_5354
	mov	eax,dword [ebp-40]
	cmp	eax,0
	sete	al
	movzx	eax,al
_5354:
	cmp	eax,0
	je	_655
_654:
	mov	dword [_bb_jwait],20
	mov	eax,0
_2009:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_getkey:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,-1
	mov	ebx,1
	mov	eax,dword [_bb_keylist]
	mov	edi,dword [eax+20]
	jmp	_5358
_671:
	mov	eax,dword [_bb_keylist]
	push	dword [eax+ebx*4+24]
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	je	_5360
	mov	eax,dword [_bb_keylist]
	push	dword [eax+ebx*4+24]
	call	_bb_forbidden
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
_5360:
	cmp	eax,0
	je	_5362
	mov	eax,dword [_bb_keylist]
	mov	esi,dword [eax+ebx*4+24]
_5362:
_669:
	add	ebx,1
_5358:
	cmp	ebx,edi
	jl	_671
_670:
	mov	eax,esi
_2011:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_forbidden:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,0
	mov	edx,0
	jmp	_5365
_674:
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+288]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,ebx
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5366
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	mov	eax,dword [eax+288]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,ebx
	sete	al
	movzx	eax,al
_5366:
	cmp	eax,0
	je	_5368
	mov	ecx,1
_5368:
_672:
	add	edx,1
_5365:
	cmp	edx,5
	jle	_674
_673:
	mov	eax,ecx
_2014:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_keyfind:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,_1
	mov	ecx,0
	mov	edx,dword [_bb_keylist]
	mov	edx,dword [edx+20]
	jmp	_5371
_677:
	mov	esi,dword [_bb_keylist]
	cmp	dword [esi+ecx*4+24],ebx
	jne	_5373
	mov	eax,dword [_bb_keynames]
	mov	eax,dword [eax+ecx*4+24]
_5373:
_675:
	add	ecx,1
_5371:
	cmp	ecx,edx
	jl	_677
_676:
_2017:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_gameover:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	dword [_bb_ambient1]
	call	_brl_audio_PauseChannel
	add	esp,4
	push	dword [_bb_ambient2]
	call	_brl_audio_PauseChannel
	add	esp,4
	mov	ebx,0
_680:
	add	ebx,1
	call	_brl_max2d_Cls
	push	dword [_bb_HUGE]
	call	_brl_max2d_SetImageFont
	add	esp,4
	cmp	esi,0
	jne	_5375
	push	1065353216
	fld	qword [_7263]
	fstp	qword [ebp-8]
	mov	ecx,120
	mov	eax,ebx
	cdq
	idiv	ecx
	imul	edx,3
	mov	dword [ebp+-36],edx
	fild	dword [ebp+-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7264]
	fmulp	st1,st0
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_681
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
_5375:
	cmp	esi,1
	jne	_5376
	push	1065353216
	fld	qword [_7265]
	fstp	qword [ebp-16]
	mov	ecx,120
	mov	eax,ebx
	cdq
	idiv	ecx
	imul	edx,3
	mov	dword [ebp+-36],edx
	fild	dword [ebp+-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7266]
	fmulp	st1,st0
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_682
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
_5376:
	push	1058642330
	fld	qword [_7267]
	fstp	qword [ebp-24]
	mov	ecx,120
	mov	eax,ebx
	cdq
	idiv	ecx
	imul	edx,3
	mov	dword [ebp+-36],edx
	fild	dword [ebp+-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7268]
	fmulp	st1,st0
	fld	qword [ebp-24]
	faddp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+24]
	push	dword [eax+240]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_683
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [_bb_GREEN]
	call	_bb_centretext
	add	esp,16
	cmp	dword [_bb_PLAYERS],1
	jne	_5377
	push	1058642330
	fld	qword [_7269]
	fstp	qword [ebp-32]
	mov	ecx,120
	mov	eax,ebx
	cdq
	idiv	ecx
	imul	edx,3
	mov	dword [ebp+-36],edx
	fild	dword [ebp+-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7270]
	fmulp	st1,st0
	fld	qword [ebp-32]
	faddp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [_bb_player]
	mov	eax,dword [eax+4+24]
	push	dword [eax+240]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_684
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [_bb_CYAN]
	call	_bb_centretext
	add	esp,16
_5377:
	push	1
	push	_937
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_685
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	push	0
	push	0
	push	0
	push	200
	push	eax
	push	0
	call	_bb_menu
	add	esp,24
	push	1
	call	_brl_graphics_Flip
	add	esp,4
_678:
	call	_bb_button
	cmp	eax,0
	je	_5380
	mov	eax,dword [_bb_jwait]
	cmp	eax,1
	setl	al
	movzx	eax,al
_5380:
	cmp	eax,0
	je	_5382
	cmp	ebx,50
	setg	al
	movzx	eax,al
_5382:
	cmp	eax,0
	je	_680
_679:
	mov	dword [_bb_jwait],20
	mov	dword [_bb_endtimer],0
	mov	dword [_bb_world],1
	mov	eax,0
_2020:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_sfx_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_sfx
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	mov	eax,0
_2023:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_sfx_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2026:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5388
	push	eax
	call	_bbGCFree
	add	esp,4
_5388:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5390
	push	eax
	call	_bbGCFree
	add	esp,4
_5390:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_5386:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_sfx_def:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_bb_sfx
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	push	dword [ebp+16]
	push	_687
	push	edi
	push	_686
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5395
	push	eax
	call	_bbGCFree
	add	esp,4
_5395:
	mov	dword [esi+8],ebx
	mov	eax,dword [esi+8]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_5396
	push	dword [ebp+16]
	push	_688
	push	edi
	push	_686
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5400
	push	eax
	call	_bbGCFree
	add	esp,4
_5400:
	mov	dword [esi+8],ebx
_5396:
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5404
	push	eax
	call	_bbGCFree
	add	esp,4
_5404:
	mov	dword [esi+12],ebx
	fld	dword [ebp+20]
	fstp	dword [esi+16]
	fld	dword [ebp+24]
	fstp	dword [esi+20]
	fld	dword [ebp+28]
	fstp	dword [esi+24]
	mov	eax,esi
_2034:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_sfx_play:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	dword [ebx+16]
	push	dword [ebx+12]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	fld	dword [ebx+24]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebx+20]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+12]
	call	_brl_audio_SetChannelRate
	add	esp,8
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	eax,0
_2038:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_psfx_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__bb_sfx_New
	add	esp,4
	mov	dword [ebx],_bb_psfx
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,0
_2041:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_psfx_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2044:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5408
	push	eax
	call	_bbGCFree
	add	esp,4
_5408:
	mov	dword [ebx],_bb_sfx
	push	ebx
	call	__bb_sfx_Delete
	add	esp,4
	mov	eax,0
_5406:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_psfx_def:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_bb_psfx
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	push	dword [ebp+16]
	push	_687
	push	edi
	push	_686
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5413
	push	eax
	call	_bbGCFree
	add	esp,4
_5413:
	mov	dword [esi+8],ebx
	mov	eax,dword [esi+8]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_5414
	push	dword [ebp+16]
	push	_688
	push	edi
	push	_686
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5418
	push	eax
	call	_bbGCFree
	add	esp,4
_5418:
	mov	dword [esi+8],ebx
_5414:
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5422
	push	eax
	call	_bbGCFree
	add	esp,4
_5422:
	mov	dword [esi+12],ebx
	fld	dword [ebp+20]
	fstp	dword [esi+16]
	fld	dword [ebp+24]
	fstp	dword [esi+20]
	fld	dword [ebp+28]
	fstp	dword [esi+24]
	mov	eax,esi
_2052:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_psfx_setca:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5426
	push	eax
	call	_bbGCFree
	add	esp,4
_5426:
	mov	dword [esi+28],ebx
	mov	eax,0
_2056:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_psfx_play:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	dword [esi+16]
	mov	eax,dword [esi+28]
	push	dword [eax+ebx*4+24]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	fld	dword [esi+24]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+20]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+28]
	push	dword [eax+ebx*4+24]
	call	_brl_audio_SetChannelRate
	add	esp,8
	mov	eax,dword [esi+28]
	push	dword [eax+ebx*4+24]
	push	dword [esi+8]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	eax,0
_2060:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_hiscoretable
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	eax,0
_2063:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2066:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5430
	push	eax
	call	_bbGCFree
	add	esp,4
_5430:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_5428:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_setup:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	_bb_hiscoretable
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5435
	push	eax
	call	_bbGCFree
	add	esp,4
_5435:
	mov	dword [ebx+8],esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	eax,ebx
_2068:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_addscore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+16]
	push	_689
	call	_brl_standardio_Print
	add	esp,4
	push	_bb_THiscore
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+12],edi
	mov	eax,dword [ebp+12]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5441
	push	eax
	call	_bbGCFree
	add	esp,4
_5441:
	mov	dword [ebx+8],edi
	push	ebx
	push	dword [esi+8]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	eax,0
_2073:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_draw:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [_bb_THiscore+48]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	mov	esi,0
	push	1066192077
	fld	qword [_7309]
	fstp	qword [ebp-24]
	mov	ebx,10
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	dword [ebp+-32],eax
	fild	dword [ebp+-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7310]
	fmulp	st1,st0
	fld	qword [ebp-24]
	faddp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_690
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	mov	eax,dword [ebp+8]
	mov	edi,dword [eax+8]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-28],eax
	jmp	_691
_693:
	mov	eax,dword [ebp-28]
	push	_bb_THiscore
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_691
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jge	_5451
	fld	qword [_7311]
	fstp	qword [ebp-16]
	fld	qword [_7312]
	fstp	qword [ebp-8]
	call	_bbMilliSecs
	mov	edx,esi
	imul	edx,36
	add	eax,edx
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-32],eax
	fild	dword [ebp+-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	imul	eax,50
	add	eax,-200
	push	eax
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_694
	push	dword [ebx+8]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	add	esi,1
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jne	_5453
	mov	edx,dword [ebx+12]
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],edx
_5453:
	jmp	_5454
_5451:
	push	ebx
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5454:
_691:
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_693
_692:
	mov	eax,0
_2076:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_output:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	push	dword [_bb_THiscore+48]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	push	_695
	call	_brl_standardio_Print
	add	esp,4
	mov	esi,0
	mov	eax,dword [edi+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_696
_698:
	mov	eax,dword [ebp-8]
	push	_bb_THiscore
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_696
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jge	_5463
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_506
	push	dword [ebx+8]
	push	_700
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_699
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	add	esi,1
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jne	_5464
	mov	eax,dword [ebx+12]
	mov	dword [edi+12],eax
_5464:
	jmp	_5465
_5463:
	push	ebx
	push	dword [edi+8]
	call	_brl_linkedlist_ListRemove
	add	esp,8
_5465:
_696:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_698
_697:
	mov	eax,0
_2079:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_writescores:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	dword [_bb_THiscore+48]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	push	_701
	call	_brl_stream_WriteStream
	add	esp,4
	mov	edi,eax
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_702
_704:
	mov	eax,dword [ebp-8]
	push	_bb_THiscore
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_702
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jge	_5475
	mov	eax,dword [ebx+8]
	push	dword [eax+8]
	push	edi
	call	_brl_stream_WriteInt
	add	esp,8
	push	dword [ebx+8]
	push	edi
	call	_brl_stream_WriteString
	add	esp,8
	push	dword [ebx+12]
	push	edi
	call	_brl_stream_WriteInt
	add	esp,8
_5475:
	add	esi,1
	cmp	esi,dword [__bb_hiscoretable_HISCORES]
	jne	_5476
	mov	edx,dword [ebx+12]
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],edx
_5476:
_702:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_704
_703:
	push	edi
	call	_brl_stream_CloseStream
	add	esp,4
	mov	eax,0
_2082:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_Load:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	_701
	call	_brl_stream_ReadStream
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_5478
	mov	edi,1
	mov	eax,dword [__bb_hiscoretable_HISCORES]
	mov	dword [ebp-8],eax
	jmp	_5480
_707:
	push	_bb_THiscore
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	imul	eax,10000
	mov	dword [esi+12],eax
	mov	eax,_708
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5486
	push	eax
	call	_bbGCFree
	add	esp,4
_5486:
	mov	dword [esi+8],ebx
	push	esi
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	dword [esi+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_506
	push	dword [esi+8]
	push	_700
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_699
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
_705:
	add	edi,1
_5480:
	cmp	edi,dword [ebp-8]
	jle	_707
_706:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
_5478:
	cmp	dword [ebp-4],_bbNullObject
	je	_5488
	push	dword [ebp-4]
	call	_brl_stream_CloseStream
	add	esp,4
_5488:
	push	_701
	call	_brl_stream_ReadStream
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_linkedlist_ClearList
	add	esp,4
	jmp	_709
_711:
	push	_bb_THiscore
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	push	eax
	push	dword [ebp-4]
	call	_brl_stream_ReadString
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5494
	push	eax
	call	_bbGCFree
	add	esp,4
_5494:
	mov	dword [ebx+8],esi
	push	dword [ebp-4]
	call	_brl_stream_ReadInt
	add	esp,4
	mov	dword [ebx+12],eax
	push	ebx
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_709:
	push	dword [ebp-4]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_711
_710:
	push	dword [ebp-4]
	call	_brl_stream_CloseStream
	add	esp,4
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	eax,0
_2085:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_hiscoretable_enter:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	push	10
	push	dword [ebp+12]
	call	dword [_bb_tinput+48]
	add	esp,8
	mov	dword [ebp-44],eax
_714:
	call	_brl_max2d_Cls
	fld	qword [_7332]
	fstp	qword [ebp-40]
	fld	qword [_7333]
	fstp	qword [ebp-16]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-40]
	faddp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_7334]
	fstp	qword [ebp-32]
	fld	qword [_7335]
	fstp	qword [ebp-24]
	call	_bbMilliSecs
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [ebp-32]
	faddp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_SetScale
	add	esp,8
	push	dword [_bb_HUGE]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1058642330
	fld	qword [_7336]
	fstp	qword [ebp-8]
	mov	ebx,10
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7337]
	fmulp	st1,st0
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	_716
	push	dword [ebp+12]
	push	_715
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	mov	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edi,eax
	push	1065353216
	push	0
	push	edi
	push	dword [_bb_GREEN]
	call	_bb_centretext
	add	esp,16
	mov	ebx,1000
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	eax,edx
	cmp	eax,500
	jge	_5500
	push	edi
	call	_brl_max2d_TextWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	add	eax,10
	mov	esi,eax
	push	edi
	call	_brl_max2d_TextHeight
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [_bb_BLACK]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1053609165
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1094713344
	push	1109393408
	mov	eax,ebx
	add	eax,7
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,7
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1096810496
	push	1109917696
	mov	dword [ebp+-48],ebx
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-48],esi
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_GREEN]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1094713344
	push	1109393408
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,1
	mov	dword [ebp+-48],eax
	fild	dword [ebp+-48]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
_5500:
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_712:
	push	13
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_714
_713:
	mov	eax,dword [ebp+8]
	push	dword [ebp+16]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	eax,0
_2090:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_THiscore_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_THiscore
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	mov	eax,0
_2093:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_THiscore_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2096:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5509
	push	eax
	call	_bbGCFree
	add	esp,4
_5509:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_5507:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_THiscore_MySort:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_bb_THiscore
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	push	_bb_THiscore
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+12]
	cmp	dword [edi+12],eax
	jle	_5510
	mov	eax,1
	jmp	_2100
_5510:
	push	_bb_THiscore
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	push	_bb_THiscore
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	eax,dword [eax+12]
	cmp	dword [esi+12],eax
	jge	_5511
	mov	eax,-1
	jmp	_2100
_5511:
	mov	eax,0
_2100:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tinput_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_tinput
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	dword [ebx+16],0
	mov	eax,0
_2103:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tinput_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2106:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5516
	push	eax
	call	_bbGCFree
	add	esp,4
_5516:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5518
	push	eax
	call	_bbGCFree
	add	esp,4
_5518:
	mov	dword [ebx],_bbObjectClass
	push	ebx
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_5514:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tinput_make:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_bb_tinput
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5523
	push	eax
	call	_bbGCFree
	add	esp,4
_5523:
	mov	dword [ebx+8],esi
	mov	eax,_1
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5527
	push	eax
	call	_bbGCFree
	add	esp,4
_5527:
	mov	dword [ebx+12],esi
	mov	dword [ebx+16],edi
	call	_brl_polledinput_FlushKeys
	mov	eax,ebx
_2110:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_tinput_check:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	call	_brl_polledinput_GetChar
	push	eax
	call	_bbStringFromChar
	add	esp,4
	mov	edi,eax
	push	8
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_5531
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+8]
	sub	eax,2
	push	eax
	push	dword [esi+12]
	call	_brl_retro_Left
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5535
	push	eax
	call	_bbGCFree
	add	esp,4
_5535:
	mov	dword [esi+12],ebx
_5531:
	push	edi
	call	_brl_max2d_TextWidth
	add	esp,4
	cmp	eax,0
	jle	_5536
	mov	edx,dword [esi+12]
	mov	eax,dword [esi+16]
	cmp	dword [edx+8],eax
	jge	_5537
	push	edi
	push	dword [esi+12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5541
	push	eax
	call	_bbGCFree
	add	esp,4
_5541:
	mov	dword [esi+12],ebx
_5537:
_5536:
	mov	eax,dword [esi+12]
_2113:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_resetenvironment:
	push	ebp
	mov	ebp,esp
	mov	dword [_bb_night],0
	mov	dword [_bb_raining],0
	mov	dword [_bb_hasfireflies],0
	push	dword [_bb_ambient1]
	call	_brl_audio_PauseChannel
	add	esp,4
	push	dword [_bb_ambient2]
	call	_brl_audio_PauseChannel
	add	esp,4
	mov	eax,0
_2115:
	mov	esp,ebp
	pop	ebp
	ret
_bb_loadworld:
	push	ebp
	mov	ebp,esp
	push	ebx
	call	_brl_max2d_Cls
	push	dword [_bb_BIG]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	_bbNullObject
	push	1
	push	18
	push	200
	push	-300
	push	_717
	call	_bb_bDrawText
	add	esp,24
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bb_resetenvironment
	mov	eax,dword [_bb_stage]
	cmp	eax,1
	je	_5544
	cmp	eax,2
	je	_5545
	jmp	_5543
_5544:
	mov	dword [_bb_rainplane1],0
	push	0
	push	0
	push	0
	call	_brl_max2d_SetClsColor
	add	esp,12
	jmp	_5543
_5545:
	mov	dword [_bb_rainplane1],0
	mov	dword [_bb_hasfog],1
	push	32
	push	32
	push	32
	call	_brl_max2d_SetClsColor
	add	esp,12
_5543:
	push	-1
	push	_719
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_718
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_bg1]
	dec	dword [eax+4]
	jnz	_5549
	push	eax
	call	_bbGCFree
	add	esp,4
_5549:
	mov	dword [_bb_bg1],ebx
	cmp	dword [_bb_bg1],_bbNullObject
	je	_5550
	push	dword [_bb_bg1]
	call	_brl_max2d_MidHandleImage
	add	esp,4
_5550:
	push	-1
	push	_720
	push	dword [_bb_world]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_718
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_LoadImage
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_bg2]
	dec	dword [eax+4]
	jnz	_5554
	push	eax
	call	_bbGCFree
	add	esp,4
_5554:
	mov	dword [_bb_bg2],ebx
	cmp	dword [_bb_bg2],_bbNullObject
	je	_5555
	push	dword [_bb_bg2]
	call	_brl_max2d_MidHandleImage
	add	esp,4
_5555:
	cmp	dword [_bb_pfirsttime],0
	jne	_5556
	call	dword [_bb_tileset+64]
_5556:
	cmp	dword [_bb_pfirsttime],0
	jne	_5557
	mov	eax,dword [_bb_here]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
_5557:
	push	-1
	push	256
	push	0
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	_721
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_tiles1]
	dec	dword [eax+4]
	jnz	_5562
	push	eax
	call	_bbGCFree
	add	esp,4
_5562:
	mov	dword [_bb_tiles1],ebx
	push	256
	push	dword [_bb_tiles1]
	call	_bb_autodraw
	add	esp,8
	push	-1
	push	256
	push	0
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	_722
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_tiles2]
	dec	dword [eax+4]
	jnz	_5566
	push	eax
	call	_bbGCFree
	add	esp,4
_5566:
	mov	dword [_bb_tiles2],ebx
	push	256
	push	dword [_bb_tiles2]
	call	_bb_autodraw
	add	esp,8
	push	-1
	push	256
	push	0
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	mov	eax,dword [_bb_TILESIZE]
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	_723
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_tiles3]
	dec	dword [eax+4]
	jnz	_5570
	push	eax
	call	_bbGCFree
	add	esp,4
_5570:
	mov	dword [_bb_tiles3],ebx
	push	256
	push	dword [_bb_tiles2]
	call	_bb_autodraw
	add	esp,8
	push	88
	push	0
	push	0
	push	dword [_bb_tiles2]
	call	_brl_max2d_DrawImage
	add	esp,16
	mov	ebx,dword [_bb_tiles1]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_5574
	push	eax
	call	_bbGCFree
	add	esp,4
_5574:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+24]
	mov	dword [eax+8],ebx
	mov	ebx,dword [_bb_tiles2]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+4+24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_5578
	push	eax
	call	_bbGCFree
	add	esp,4
_5578:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+4+24]
	mov	dword [eax+8],ebx
	mov	ebx,dword [_bb_tiles3]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+8+24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_5582
	push	eax
	call	_bbGCFree
	add	esp,4
_5582:
	mov	eax,dword [_bb_tset]
	mov	eax,dword [eax+8+24]
	mov	dword [eax+8],ebx
	mov	eax,0
_2117:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_sInput:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	push	100
	push	dword [ebp+8]
	call	dword [_bb_tinput+48]
	add	esp,8
	mov	dword [ebp-12],eax
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
_728:
	call	_brl_max2d_Cls
	push	1073741824
	push	1073741824
	call	_brl_max2d_SetScale
	add	esp,8
	push	dword [_bb_MED]
	call	_brl_max2d_SetImageFont
	add	esp,4
	push	1073741824
	fld	qword [_7373]
	fstp	qword [ebp-8]
	mov	ebx,10
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_7374]
	fmulp	st1,st0
	fld	qword [ebp-8]
	faddp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+8]
	push	dword [_bb_WHITE]
	call	_bb_centretext
	add	esp,16
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edi,eax
	push	1073741824
	push	0
	push	edi
	push	dword [_bb_GREEN]
	call	_bb_centretext
	add	esp,16
	mov	ebx,1000
	call	_bbMilliSecs
	cdq
	idiv	ebx
	mov	eax,edx
	cmp	eax,500
	jge	_5588
	push	edi
	call	_brl_max2d_TextWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	add	eax,10
	mov	esi,eax
	push	edi
	call	_brl_max2d_TextHeight
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [_bb_BLACK]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1053609165
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1094713344
	push	1109393408
	mov	eax,ebx
	add	eax,7
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,7
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1096810496
	push	1109917696
	mov	dword [ebp+-16],ebx
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-16],esi
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	mov	eax,dword [_bb_GREEN]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1094713344
	push	1109393408
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	add	eax,1
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
_5588:
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	call	_bbGCCollect
_726:
	push	13
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_728
_727:
	push	edi
	call	_brl_standardio_Print
	add	esp,4
	mov	eax,edi
_2120:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_frames:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,esi
	cmp	ebx,0
	jne	_5594
	mov	ebx,_brl_blitz_NullFunctionError
_5594:
	call	_brl_max2d_Cls
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	cmp	esi,0
	je	_5597
	call	ebx
_5597:
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1028443341
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	0
	push	0
	push	0
	push	dword [_bb_my_grain]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1
	call	_brl_graphics_Flip
	add	esp,4
	mov	eax,0
_2123:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_redout:
	push	ebp
	mov	ebp,esp
_731:
	fld	dword [_bb_redfade]
	fadd	dword [_7383]
	fstp	dword [_bb_redfade]
	call	_brl_max2d_Cls
	mov	eax,dword [_bb_here]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	push	dword [_bb_redfade]
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1065353216
	push	1065353216
	call	_brl_max2d_SetScale
	add	esp,8
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	mov	eax,dword [_bb_RED]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	1139802112
	push	1142947840
	push	-1016070144
	push	-1012924416
	call	_brl_max2d_DrawRect
	add	esp,16
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1028443341
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	0
	push	0
	push	0
	push	dword [_bb_my_grain]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	1
	call	_brl_graphics_Flip
	add	esp,4
_729:
	fld	dword [_bb_redfade]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_731
_730:
	mov	eax,0
_2125:
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_2676:
	dd	0
_733:
	db	"graphq",0
_734:
	db	"glist",0
_735:
	db	":brl.linkedlist.TList",0
_736:
	db	"mpx",0
_737:
	db	"i",0
_738:
	db	"spx",0
_739:
	db	"ssnapx",0
_740:
	db	"ssnapy",0
_741:
	db	"cxrot",0
_742:
	db	"cyrot",0
_743:
	db	"crot",0
_744:
	db	"cxory",0
_745:
	db	"New",0
_746:
	db	"()i",0
_747:
	db	"Delete",0
_748:
	db	"render",0
_749:
	db	"(i,f)i",0
_750:
	db	"atnum",0
_751:
	db	"(i):graph",0
_752:
	db	"add",0
_753:
	db	"(:graph)i",0
	align	4
_732:
	dd	2
	dd	_733
	dd	3
	dd	_734
	dd	_735
	dd	8
	dd	3
	dd	_736
	dd	_737
	dd	12
	dd	3
	dd	_738
	dd	_737
	dd	16
	dd	3
	dd	_739
	dd	_737
	dd	20
	dd	3
	dd	_740
	dd	_737
	dd	24
	dd	3
	dd	_741
	dd	_737
	dd	28
	dd	3
	dd	_742
	dd	_737
	dd	32
	dd	3
	dd	_743
	dd	_737
	dd	36
	dd	3
	dd	_744
	dd	_737
	dd	40
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_748
	dd	_749
	dd	48
	dd	6
	dd	_750
	dd	_751
	dd	52
	dd	6
	dd	_752
	dd	_753
	dd	56
	dd	0
	align	4
_bb_graphq:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_732
	dd	44
	dd	__bb_graphq_New
	dd	__bb_graphq_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graphq_render
	dd	__bb_graphq_atnum
	dd	__bb_graphq_add
_755:
	db	"graph",0
_756:
	db	"x",0
_757:
	db	"f",0
_758:
	db	"y",0
_759:
	db	"hx",0
_760:
	db	"hy",0
_761:
	db	"image",0
_762:
	db	":brl.max2d.Timage",0
_763:
	db	"aimage",0
_764:
	db	"sx",0
_765:
	db	"sy",0
_766:
	db	"alpha",0
_767:
	db	"blend",0
_768:
	db	"soffset",0
_769:
	db	"number",0
_770:
	db	"anime",0
_771:
	db	":anim",0
_772:
	db	"fr",0
_773:
	db	"fra",0
_774:
	db	"ftime",0
_775:
	db	"index",0
_776:
	db	"dangerous",0
_777:
	db	"rot",0
_778:
	db	"rotsp",0
_779:
	db	"speed",0
_780:
	db	"kill",0
_781:
	db	"onscreen",0
_782:
	db	"screenspace",0
_783:
	db	"create",0
_784:
	db	"(i,i,i,$,i,i,i,i,i,f,f):graph",0
_785:
	db	"update",0
_786:
	db	"animate",0
_787:
	db	"draw",0
_788:
	db	"oncollide",0
_789:
	db	"setchoose",0
_790:
	db	"play",0
_791:
	db	"(:anim)i",0
_792:
	db	"collideplayer",0
_793:
	db	"(i)i",0
_794:
	db	"collide",0
_795:
	db	"Compare",0
_796:
	db	"(:Object)i",0
	align	4
_754:
	dd	2
	dd	_755
	dd	3
	dd	_756
	dd	_757
	dd	8
	dd	3
	dd	_758
	dd	_757
	dd	12
	dd	3
	dd	_759
	dd	_737
	dd	16
	dd	3
	dd	_760
	dd	_737
	dd	20
	dd	3
	dd	_761
	dd	_762
	dd	24
	dd	3
	dd	_763
	dd	_762
	dd	28
	dd	3
	dd	_764
	dd	_757
	dd	32
	dd	3
	dd	_765
	dd	_757
	dd	36
	dd	3
	dd	_766
	dd	_757
	dd	40
	dd	3
	dd	_767
	dd	_737
	dd	44
	dd	3
	dd	_768
	dd	_737
	dd	48
	dd	3
	dd	_769
	dd	_737
	dd	52
	dd	3
	dd	_770
	dd	_771
	dd	56
	dd	3
	dd	_772
	dd	_737
	dd	60
	dd	3
	dd	_773
	dd	_737
	dd	64
	dd	3
	dd	_774
	dd	_737
	dd	68
	dd	3
	dd	_775
	dd	_737
	dd	72
	dd	3
	dd	_776
	dd	_737
	dd	76
	dd	3
	dd	_777
	dd	_757
	dd	80
	dd	3
	dd	_778
	dd	_757
	dd	84
	dd	3
	dd	_779
	dd	_757
	dd	88
	dd	3
	dd	_780
	dd	_737
	dd	92
	dd	3
	dd	_781
	dd	_737
	dd	96
	dd	3
	dd	_782
	dd	_737
	dd	100
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_783
	dd	_784
	dd	48
	dd	6
	dd	_785
	dd	_746
	dd	52
	dd	6
	dd	_786
	dd	_746
	dd	56
	dd	6
	dd	_787
	dd	_746
	dd	60
	dd	6
	dd	_788
	dd	_746
	dd	64
	dd	6
	dd	_789
	dd	_746
	dd	68
	dd	6
	dd	_790
	dd	_791
	dd	72
	dd	6
	dd	_792
	dd	_793
	dd	76
	dd	6
	dd	_794
	dd	_753
	dd	80
	dd	6
	dd	_795
	dd	_796
	dd	28
	dd	0
	align	4
_bb_graph:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_754
	dd	104
	dd	__bb_graph_New
	dd	__bb_graph_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_graph_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
_798:
	db	"vector",0
_799:
	db	"(f,f):vector",0
_800:
	db	"normalise",0
_801:
	db	"frompolar",0
_802:
	db	"(:polar)i",0
	align	4
_797:
	dd	2
	dd	_798
	dd	3
	dd	_756
	dd	_757
	dd	8
	dd	3
	dd	_758
	dd	_757
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_783
	dd	_799
	dd	48
	dd	6
	dd	_800
	dd	_746
	dd	52
	dd	6
	dd	_801
	dd	_802
	dd	56
	dd	0
	align	4
_bb_vector:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_797
	dd	16
	dd	__bb_vector_New
	dd	__bb_vector_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_vector_create
	dd	__bb_vector_normalise
	dd	__bb_vector_frompolar
_804:
	db	"polar",0
_805:
	db	"a",0
_806:
	db	"r",0
_807:
	db	"createfromvector",0
_808:
	db	"(:vector):polar",0
	align	4
_803:
	dd	2
	dd	_804
	dd	3
	dd	_805
	dd	_757
	dd	8
	dd	3
	dd	_806
	dd	_757
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_807
	dd	_808
	dd	48
	dd	0
	align	4
_bb_polar:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_803
	dd	16
	dd	__bb_polar_New
	dd	__bb_polar_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_polar_createfromvector
_810:
	db	"colour",0
_811:
	db	"d",0
_812:
	db	"g",0
_813:
	db	"b",0
_814:
	db	"def",0
_815:
	db	"(d,d,d):colour",0
_816:
	db	"setcls",0
_817:
	db	"set",0
	align	4
_809:
	dd	2
	dd	_810
	dd	3
	dd	_806
	dd	_811
	dd	8
	dd	3
	dd	_812
	dd	_811
	dd	16
	dd	3
	dd	_813
	dd	_811
	dd	24
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_814
	dd	_815
	dd	48
	dd	6
	dd	_816
	dd	_746
	dd	52
	dd	6
	dd	_817
	dd	_746
	dd	56
	dd	0
	align	4
_bb_colour:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_809
	dd	32
	dd	__bb_colour_New
	dd	__bb_colour_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_colour_def
	dd	__bb_colour_setcls
	dd	__bb_colour_set
_819:
	db	"position",0
_820:
	db	"(i,i):position",0
	align	4
_818:
	dd	2
	dd	_819
	dd	3
	dd	_756
	dd	_737
	dd	8
	dd	3
	dd	_758
	dd	_737
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_783
	dd	_820
	dd	48
	dd	0
	align	4
_bb_position:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_818
	dd	16
	dd	__bb_position_New
	dd	__bb_position_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_position_create
_822:
	db	"frame",0
_823:
	db	"time",0
_824:
	db	"danger",0
_825:
	db	"(i,i,i):frame",0
	align	4
_821:
	dd	2
	dd	_822
	dd	3
	dd	_772
	dd	_737
	dd	8
	dd	3
	dd	_823
	dd	_737
	dd	12
	dd	3
	dd	_824
	dd	_737
	dd	16
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_783
	dd	_825
	dd	48
	dd	0
	align	4
_bb_frame:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_821
	dd	20
	dd	__bb_frame_New
	dd	__bb_frame_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_frame_create
_827:
	db	"anim",0
_828:
	db	"loop",0
_829:
	db	"flist",0
_830:
	db	"file",0
_831:
	db	":brl.max2d.TImage",0
_832:
	db	"finished",0
_833:
	db	"farray",0
_834:
	db	"[]:Object",0
_835:
	db	"($,i,i,i,i):anim",0
_836:
	db	"sharefile",0
_837:
	db	"toarray",0
_838:
	db	"(i,i,i)i",0
_839:
	db	"m_add",0
_840:
	db	"(i,i,i,i)i",0
_841:
	db	"r_add",0
	align	4
_826:
	dd	2
	dd	_827
	dd	3
	dd	_828
	dd	_737
	dd	8
	dd	3
	dd	_829
	dd	_735
	dd	12
	dd	3
	dd	_830
	dd	_831
	dd	16
	dd	3
	dd	_832
	dd	_737
	dd	20
	dd	3
	dd	_833
	dd	_834
	dd	24
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_783
	dd	_835
	dd	48
	dd	6
	dd	_836
	dd	_791
	dd	52
	dd	6
	dd	_837
	dd	_746
	dd	56
	dd	6
	dd	_785
	dd	_753
	dd	60
	dd	6
	dd	_752
	dd	_838
	dd	64
	dd	6
	dd	_839
	dd	_840
	dd	68
	dd	6
	dd	_841
	dd	_840
	dd	72
	dd	0
	align	4
_bb_anim:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_826
	dd	28
	dd	__bb_anim_New
	dd	__bb_anim_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_anim_create
	dd	__bb_anim_sharefile
	dd	__bb_anim_toarray
	dd	__bb_anim_update
	dd	__bb_anim_add
	dd	__bb_anim_m_add
	dd	__bb_anim_r_add
_843:
	db	"editor",0
_844:
	db	"tpropsnames",0
_845:
	db	"[]$",0
_846:
	db	"tpropsvalnames",0
_847:
	db	"[][]$",0
_848:
	db	"gameobjnames",0
_849:
	db	"gameobjtypenames",0
_850:
	db	"switchnames",0
_851:
	db	"platformnames",0
_852:
	db	"sfxnames",0
_853:
	db	"stile",0
_854:
	db	"stileset",0
_855:
	db	"sprop",0
_856:
	db	"preview",0
_857:
	db	"pos",0
_858:
	db	":position",0
_859:
	db	"spos1",0
_860:
	db	"spos2",0
_861:
	db	"mz",0
_862:
	db	"omz",0
_863:
	db	"macrolist",0
_864:
	db	"smacro",0
_865:
	db	"macros",0
_866:
	db	"objnum",0
_867:
	db	"switchnum",0
_868:
	db	"platformnum",0
_869:
	db	"subtype",0
_870:
	db	"switchx",0
_871:
	db	"switchy",0
_872:
	db	"sobj",0
_873:
	db	":gameobj",0
_874:
	db	"current_platform",0
_875:
	db	"sfxnum",0
_876:
	db	"Create",0
_877:
	db	"():editor",0
_878:
	db	"mainloop",0
_879:
	db	"edinput",0
_880:
	db	"editordraw",0
_881:
	db	"stiledraw",0
_882:
	db	"tilepage",0
_883:
	db	"sDrawText",0
_884:
	db	"($,i,i,i)i",0
	align	4
_842:
	dd	2
	dd	_843
	dd	3
	dd	_844
	dd	_845
	dd	8
	dd	3
	dd	_846
	dd	_847
	dd	12
	dd	3
	dd	_848
	dd	_845
	dd	16
	dd	3
	dd	_849
	dd	_847
	dd	20
	dd	3
	dd	_850
	dd	_845
	dd	24
	dd	3
	dd	_851
	dd	_845
	dd	28
	dd	3
	dd	_852
	dd	_845
	dd	32
	dd	3
	dd	_853
	dd	_737
	dd	36
	dd	3
	dd	_854
	dd	_737
	dd	40
	dd	3
	dd	_855
	dd	_737
	dd	44
	dd	3
	dd	_856
	dd	_737
	dd	48
	dd	3
	dd	_857
	dd	_858
	dd	52
	dd	3
	dd	_859
	dd	_858
	dd	56
	dd	3
	dd	_860
	dd	_858
	dd	60
	dd	3
	dd	_861
	dd	_737
	dd	64
	dd	3
	dd	_862
	dd	_737
	dd	68
	dd	3
	dd	_863
	dd	_735
	dd	72
	dd	3
	dd	_864
	dd	_737
	dd	76
	dd	3
	dd	_865
	dd	_737
	dd	80
	dd	3
	dd	_866
	dd	_737
	dd	84
	dd	3
	dd	_867
	dd	_737
	dd	88
	dd	3
	dd	_868
	dd	_737
	dd	92
	dd	3
	dd	_869
	dd	_737
	dd	96
	dd	3
	dd	_870
	dd	_737
	dd	100
	dd	3
	dd	_871
	dd	_737
	dd	104
	dd	3
	dd	_872
	dd	_873
	dd	108
	dd	3
	dd	_874
	dd	_737
	dd	112
	dd	3
	dd	_875
	dd	_737
	dd	116
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_877
	dd	48
	dd	6
	dd	_878
	dd	_746
	dd	52
	dd	6
	dd	_879
	dd	_746
	dd	56
	dd	6
	dd	_880
	dd	_746
	dd	60
	dd	6
	dd	_881
	dd	_746
	dd	64
	dd	6
	dd	_882
	dd	_746
	dd	68
	dd	7
	dd	_883
	dd	_884
	dd	72
	dd	0
	align	4
_bb_editor:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_842
	dd	120
	dd	__bb_editor_New
	dd	__bb_editor_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_editor_Create
	dd	__bb_editor_mainloop
	dd	__bb_editor_edinput
	dd	__bb_editor_editordraw
	dd	__bb_editor_stiledraw
	dd	__bb_editor_tilepage
	dd	__bb_editor_sDrawText
_886:
	db	"tileset",0
_887:
	db	"props",0
_888:
	db	"[,]i",0
_889:
	db	"[]i",0
_890:
	db	"createall",0
_891:
	db	"bwrite",0
_892:
	db	"(:brl.bank.TBank,i)i",0
_893:
	db	"bread",0
_894:
	db	"saveall",0
_895:
	db	"loadall",0
	align	4
_885:
	dd	2
	dd	_886
	dd	3
	dd	_761
	dd	_762
	dd	8
	dd	3
	dd	_887
	dd	_888
	dd	12
	dd	3
	dd	_827
	dd	_889
	dd	16
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_890
	dd	_746
	dd	48
	dd	6
	dd	_891
	dd	_892
	dd	52
	dd	6
	dd	_893
	dd	_892
	dd	56
	dd	7
	dd	_894
	dd	_746
	dd	60
	dd	7
	dd	_895
	dd	_746
	dd	64
	dd	0
	align	4
_bb_tileset:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_885
	dd	20
	dd	__bb_tileset_New
	dd	__bb_tileset_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_tileset_createall
	dd	__bb_tileset_bwrite
	dd	__bb_tileset_bread
	dd	__bb_tileset_saveall
	dd	__bb_tileset_loadall
_897:
	db	"plane",0
_898:
	db	"xsize",0
_899:
	db	"ysize",0
_900:
	db	"m",0
_901:
	db	"[,]:maploc",0
_902:
	db	"(i,:plane,i,i,i,i):plane",0
_903:
	db	"macrocreate",0
_904:
	db	"(i,i):plane",0
_905:
	db	"clear",0
_906:
	db	"(i,i,i,i,:Plane)i",0
_907:
	db	"mapat",0
_908:
	db	"worldat",0
_909:
	db	"saferead",0
_910:
	db	"(i,i):maploc",0
	align	4
_896:
	dd	2
	dd	_897
	dd	3
	dd	_898
	dd	_737
	dd	8
	dd	3
	dd	_899
	dd	_737
	dd	12
	dd	3
	dd	_900
	dd	_901
	dd	16
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_902
	dd	48
	dd	7
	dd	_903
	dd	_904
	dd	52
	dd	6
	dd	_905
	dd	_906
	dd	56
	dd	6
	dd	_907
	dd	_820
	dd	60
	dd	6
	dd	_908
	dd	_820
	dd	64
	dd	6
	dd	_909
	dd	_910
	dd	68
	dd	6
	dd	_891
	dd	_892
	dd	72
	dd	6
	dd	_893
	dd	_892
	dd	76
	dd	0
	align	4
_bb_plane:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_896
	dd	20
	dd	__bb_plane_New
	dd	__bb_plane_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_plane_Create
	dd	__bb_plane_macrocreate
	dd	__bb_plane_clear
	dd	__bb_plane_mapat
	dd	__bb_plane_worldat
	dd	__bb_plane_saferead
	dd	__bb_plane_bwrite
	dd	__bb_plane_bread
	align	4
__bb_map_platforms:
	dd	_bbEmptyArray
	align	4
__bb_map_camera:
	dd	_bbEmptyArray
	align	4
__bb_map_platforms_world:
	dd	_bbEmptyArray
	align	4
__bb_map_camera_world:
	dd	_bbEmptyArray
	align	4
__bb_map_platform_count:
	dd	0
	align	4
__bb_map_current_platform:
	dd	0
	align	4
__bb_map_followsx:
	dd	0
	align	4
__bb_map_followsy:
	dd	0
_912:
	db	"map",0
_913:
	db	"p",0
_914:
	db	"[]:plane",0
_915:
	db	"maptimer",0
_916:
	db	"backup",0
_917:
	db	":plane",0
_918:
	db	"bgscroll",0
_919:
	db	"warpcombo",0
_920:
	db	"maptime",0
_921:
	db	"cmaptime",0
_922:
	db	"sfx",0
_923:
	db	"leeway",0
_924:
	db	"():map",0
_925:
	db	"make",0
_926:
	db	"makeplatforms",0
_927:
	db	"newplane",0
_928:
	db	"animtiles",0
_929:
	db	"(:plane,i,i)i",0
_930:
	db	"savemap",0
_931:
	db	"loadmap",0
_932:
	db	"stagebackup",0
_933:
	db	"stagerestore",0
	align	4
_911:
	dd	2
	dd	_912
	dd	3
	dd	_913
	dd	_914
	dd	8
	dd	3
	dd	_915
	dd	_737
	dd	12
	dd	3
	dd	_916
	dd	_917
	dd	16
	dd	3
	dd	_918
	dd	_757
	dd	20
	dd	3
	dd	_919
	dd	_737
	dd	24
	dd	3
	dd	_920
	dd	_737
	dd	28
	dd	3
	dd	_921
	dd	_737
	dd	32
	dd	3
	dd	_922
	dd	_737
	dd	36
	dd	3
	dd	_923
	dd	_737
	dd	40
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_924
	dd	48
	dd	6
	dd	_925
	dd	_746
	dd	52
	dd	6
	dd	_926
	dd	_746
	dd	56
	dd	6
	dd	_927
	dd	_746
	dd	60
	dd	6
	dd	_787
	dd	_749
	dd	64
	dd	6
	dd	_928
	dd	_929
	dd	68
	dd	6
	dd	_891
	dd	_892
	dd	72
	dd	6
	dd	_893
	dd	_892
	dd	76
	dd	6
	dd	_930
	dd	_746
	dd	80
	dd	6
	dd	_931
	dd	_746
	dd	84
	dd	6
	dd	_932
	dd	_746
	dd	88
	dd	6
	dd	_933
	dd	_746
	dd	92
	dd	0
	align	4
_bb_map:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_911
	dd	44
	dd	__bb_map_New
	dd	__bb_map_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_map_Create
	dd	__bb_map_make
	dd	__bb_map_makeplatforms
	dd	__bb_map_newplane
	dd	__bb_map_draw
	dd	__bb_map_animtiles
	dd	__bb_map_bwrite
	dd	__bb_map_bread
	dd	__bb_map_savemap
	dd	__bb_map_loadmap
	dd	__bb_map_stagebackup
	dd	__bb_map_stagerestore
_974:
	db	"maploc",0
_975:
	db	"c",0
_970:
	db	"fliptoggle",0
_971:
	db	"gettoggle",0
_960:
	db	"removeloc",0
_959:
	db	"(i,i)i",0
_941:
	db	"read",0
_942:
	db	"(i)$",0
_961:
	db	"addloc",0
_962:
	db	"(:position)i",0
_943:
	db	"addtext",0
_944:
	db	"($,i)i",0
_976:
	db	"drawsign",0
_958:
	db	"hasloc",0
_972:
	db	"swaitcheck",0
_977:
	db	"nextframe",0
	align	4
_973:
	dd	2
	dd	_974
	dd	3
	dd	_975
	dd	_737
	dd	8
	dd	3
	dd	_886
	dd	_737
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_970
	dd	_746
	dd	48
	dd	6
	dd	_971
	dd	_746
	dd	52
	dd	6
	dd	_960
	dd	_959
	dd	56
	dd	6
	dd	_941
	dd	_942
	dd	60
	dd	6
	dd	_961
	dd	_962
	dd	64
	dd	6
	dd	_943
	dd	_944
	dd	68
	dd	6
	dd	_976
	dd	_959
	dd	72
	dd	6
	dd	_958
	dd	_959
	dd	76
	dd	6
	dd	_972
	dd	_746
	dd	80
	dd	6
	dd	_977
	dd	_746
	dd	84
	dd	6
	dd	_891
	dd	_892
	dd	88
	dd	6
	dd	_893
	dd	_892
	dd	92
	dd	0
	align	4
_bb_maploc:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_973
	dd	16
	dd	__bb_maploc_New
	dd	__bb_maploc_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_maploc_fliptoggle
	dd	__bb_maploc_gettoggle
	dd	__bb_maploc_removeloc
	dd	__bb_maploc_read
	dd	__bb_maploc_addloc
	dd	__bb_maploc_addtext
	dd	__bb_maploc_drawsign
	dd	__bb_maploc_hasloc
	dd	__bb_maploc_swaitcheck
	dd	__bb_maploc_nextframe
	dd	__bb_maploc_bwrite
	dd	__bb_maploc_bread
_935:
	db	"signloc",0
_936:
	db	"line1",0
_937:
	db	"$",0
_938:
	db	"line2",0
_939:
	db	"line3",0
_940:
	db	"():signloc",0
	align	4
_934:
	dd	2
	dd	_935
	dd	3
	dd	_936
	dd	_937
	dd	16
	dd	3
	dd	_938
	dd	_937
	dd	20
	dd	3
	dd	_939
	dd	_937
	dd	24
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_940
	dd	96
	dd	6
	dd	_941
	dd	_942
	dd	60
	dd	6
	dd	_943
	dd	_944
	dd	68
	dd	6
	dd	_891
	dd	_892
	dd	88
	dd	0
	align	4
_bb_signloc:
	dd	_bb_maploc
	dd	_bbObjectFree
	dd	_934
	dd	28
	dd	__bb_signloc_New
	dd	__bb_signloc_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_maploc_fliptoggle
	dd	__bb_maploc_gettoggle
	dd	__bb_maploc_removeloc
	dd	__bb_signloc_read
	dd	__bb_maploc_addloc
	dd	__bb_signloc_addtext
	dd	__bb_maploc_drawsign
	dd	__bb_maploc_hasloc
	dd	__bb_maploc_swaitcheck
	dd	__bb_maploc_nextframe
	dd	__bb_signloc_bwrite
	dd	__bb_maploc_bread
	dd	__bb_signloc_Create
_946:
	db	"switchloc",0
_947:
	db	"toggle",0
_948:
	db	"t",0
_949:
	db	"show",0
_950:
	db	"combo1",0
_951:
	db	":maploc",0
_952:
	db	"combo2",0
_953:
	db	"loclist",0
_954:
	db	"gobjin",0
_955:
	db	"gobjout",0
_956:
	db	"swait",0
_957:
	db	"(i,i):switchloc",0
_963:
	db	"attachin",0
_964:
	db	"(:gameobj)i",0
_965:
	db	"attachout",0
_966:
	db	"setcombo1",0
_967:
	db	"(:maploc)i",0
_968:
	db	"setcombo2",0
_969:
	db	"onhit",0
	align	4
_945:
	dd	2
	dd	_946
	dd	3
	dd	_947
	dd	_737
	dd	16
	dd	3
	dd	_948
	dd	_737
	dd	20
	dd	3
	dd	_949
	dd	_737
	dd	24
	dd	3
	dd	_950
	dd	_951
	dd	28
	dd	3
	dd	_952
	dd	_951
	dd	32
	dd	3
	dd	_953
	dd	_735
	dd	36
	dd	3
	dd	_954
	dd	_873
	dd	40
	dd	3
	dd	_955
	dd	_873
	dd	44
	dd	3
	dd	_956
	dd	_737
	dd	48
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_957
	dd	96
	dd	6
	dd	_958
	dd	_959
	dd	76
	dd	6
	dd	_960
	dd	_959
	dd	56
	dd	6
	dd	_961
	dd	_962
	dd	64
	dd	6
	dd	_963
	dd	_964
	dd	100
	dd	6
	dd	_965
	dd	_964
	dd	104
	dd	6
	dd	_966
	dd	_967
	dd	108
	dd	6
	dd	_968
	dd	_967
	dd	112
	dd	6
	dd	_969
	dd	_746
	dd	116
	dd	6
	dd	_970
	dd	_746
	dd	48
	dd	6
	dd	_971
	dd	_746
	dd	52
	dd	6
	dd	_972
	dd	_746
	dd	80
	dd	6
	dd	_891
	dd	_892
	dd	88
	dd	0
	align	4
_bb_switchloc:
	dd	_bb_maploc
	dd	_bbObjectFree
	dd	_945
	dd	52
	dd	__bb_switchloc_New
	dd	__bb_switchloc_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_switchloc_fliptoggle
	dd	__bb_switchloc_gettoggle
	dd	__bb_switchloc_removeloc
	dd	__bb_maploc_read
	dd	__bb_switchloc_addloc
	dd	__bb_maploc_addtext
	dd	__bb_maploc_drawsign
	dd	__bb_switchloc_hasloc
	dd	__bb_switchloc_swaitcheck
	dd	__bb_maploc_nextframe
	dd	__bb_switchloc_bwrite
	dd	__bb_maploc_bread
	dd	__bb_switchloc_Create
	dd	__bb_switchloc_attachin
	dd	__bb_switchloc_attachout
	dd	__bb_switchloc_setcombo1
	dd	__bb_switchloc_setcombo2
	dd	__bb_switchloc_onhit
_979:
	db	"macro",0
_980:
	db	"slope",0
_981:
	db	"direction",0
_982:
	db	"getmacro",0
_983:
	db	"(i,i,:plane,i,i,i,i):macro",0
_984:
	db	"gettilesetmacro",0
_985:
	db	"(i,i,i):macro",0
_986:
	db	"(:plane,:position)i",0
	align	4
_978:
	dd	2
	dd	_979
	dd	3
	dd	_948
	dd	_737
	dd	8
	dd	3
	dd	_980
	dd	_737
	dd	12
	dd	3
	dd	_981
	dd	_737
	dd	16
	dd	3
	dd	_769
	dd	_737
	dd	20
	dd	3
	dd	_913
	dd	_917
	dd	24
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_982
	dd	_983
	dd	48
	dd	7
	dd	_984
	dd	_985
	dd	52
	dd	6
	dd	_787
	dd	_986
	dd	56
	dd	0
	align	4
_bb_macro:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_978
	dd	28
	dd	__bb_macro_New
	dd	__bb_macro_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_macro_getmacro
	dd	__bb_macro_gettilesetmacro
	dd	__bb_macro_draw
_988:
	db	"level",0
_989:
	db	"maps",0
_990:
	db	"rooms",0
_991:
	db	"[]:map",0
_992:
	db	"(i):level",0
	align	4
_987:
	dd	2
	dd	_988
	dd	3
	dd	_989
	dd	_737
	dd	8
	dd	3
	dd	_990
	dd	_991
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_876
	dd	_992
	dd	48
	dd	0
	align	4
_bb_level:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_987
	dd	16
	dd	__bb_level_New
	dd	__bb_level_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_level_Create
_994:
	db	"stringoffset",0
_995:
	db	"offset",0
_996:
	db	"str",0
	align	4
_993:
	dd	2
	dd	_994
	dd	3
	dd	_995
	dd	_737
	dd	8
	dd	3
	dd	_996
	dd	_937
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	0
	align	4
_bb_stringoffset:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_993
	dd	16
	dd	__bb_stringoffset_New
	dd	__bb_stringoffset_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_998:
	db	"gameobjlist",0
_999:
	db	"Count",0
_1000:
	db	"reset",0
	align	4
_997:
	dd	2
	dd	_998
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_891
	dd	_892
	dd	152
	dd	6
	dd	_999
	dd	_746
	dd	112
	dd	6
	dd	_752
	dd	_964
	dd	156
	dd	6
	dd	_1000
	dd	_746
	dd	160
	dd	0
	align	4
_bb_gameobjlist:
	dd	_brl_linkedlist_TList
	dd	_bbObjectFree
	dd	_997
	dd	12
	dd	__bb_gameobjlist_New
	dd	__bb_gameobjlist_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_linkedlist_TList_DataType
	dd	__brl_linkedlist_TList_Clear
	dd	__brl_linkedlist_TList_IsEmpty
	dd	__brl_linkedlist_TList_Contains
	dd	__brl_linkedlist_TList_AddFirst
	dd	__brl_linkedlist_TList_AddLast
	dd	__brl_linkedlist_TList_First
	dd	__brl_linkedlist_TList_Last
	dd	__brl_linkedlist_TList_RemoveFirst
	dd	__brl_linkedlist_TList_RemoveLast
	dd	__brl_linkedlist_TList_FirstLink
	dd	__brl_linkedlist_TList_LastLink
	dd	__brl_linkedlist_TList_InsertBeforeLink
	dd	__brl_linkedlist_TList_InsertAfterLink
	dd	__brl_linkedlist_TList_FindLink
	dd	__brl_linkedlist_TList_ValueAtIndex
	dd	__bb_gameobjlist_Count
	dd	__brl_linkedlist_TList_Remove
	dd	__brl_linkedlist_TList_Swap
	dd	__brl_linkedlist_TList_Copy
	dd	__brl_linkedlist_TList_Reverse
	dd	__brl_linkedlist_TList_Reversed
	dd	__brl_linkedlist_TList_Sort
	dd	__brl_linkedlist_TList_ObjectEnumerator
	dd	__brl_linkedlist_TList_ToArray
	dd	__brl_linkedlist_TList_FromArray
	dd	__bb_gameobjlist_bwrite
	dd	__bb_gameobjlist_add
	dd	__bb_gameobjlist_reset
_1002:
	db	"gameobj",0
_1003:
	db	"state",0
_1004:
	db	"oparam1",0
_1005:
	db	"oparam2",0
_1006:
	db	"oparam3",0
_1007:
	db	"oparam4",0
_1008:
	db	"enum",0
_1009:
	db	"temp",0
_1010:
	db	"item",0
_1011:
	db	"($,i,i,i,i):gameobj",0
_1012:
	db	"init",0
_1013:
	db	"logic",0
_1014:
	db	"attach",0
_1015:
	db	"reattach",0
_1016:
	db	"notonscreen",0
_1017:
	db	"testonscreen",0
	align	4
_1001:
	dd	2
	dd	_1002
	dd	3
	dd	_1003
	dd	_737
	dd	104
	dd	3
	dd	_956
	dd	_737
	dd	108
	dd	3
	dd	_897
	dd	_737
	dd	112
	dd	3
	dd	_1004
	dd	_937
	dd	116
	dd	3
	dd	_1005
	dd	_737
	dd	120
	dd	3
	dd	_1006
	dd	_737
	dd	124
	dd	3
	dd	_1007
	dd	_737
	dd	128
	dd	3
	dd	_1008
	dd	_737
	dd	132
	dd	3
	dd	_1009
	dd	_737
	dd	136
	dd	3
	dd	_874
	dd	_737
	dd	140
	dd	3
	dd	_1010
	dd	_737
	dd	144
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_925
	dd	_1011
	dd	84
	dd	6
	dd	_1012
	dd	_840
	dd	88
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	6
	dd	_1014
	dd	_753
	dd	96
	dd	6
	dd	_1015
	dd	_746
	dd	100
	dd	6
	dd	_785
	dd	_746
	dd	52
	dd	6
	dd	_1016
	dd	_746
	dd	104
	dd	6
	dd	_1017
	dd	_746
	dd	108
	dd	6
	dd	_891
	dd	_892
	dd	112
	dd	6
	dd	_893
	dd	_892
	dd	116
	dd	0
	align	4
_bb_gameobj:
	dd	_bb_graph
	dd	_bbObjectFree
	dd	_1001
	dd	148
	dd	__bb_gameobj_New
	dd	__bb_gameobj_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_gameobj_init
	dd	__bb_gameobj_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	align	4
__bb_physicsobj_cutscene1:
	dd	0
	align	4
__bb_physicsobj_cutscene2:
	dd	0
_1019:
	db	"physicsobj",0
_1020:
	db	"xv",0
_1021:
	db	"yv",0
_1022:
	db	"z",0
_1023:
	db	"angle",0
_1024:
	db	"landed",0
_1025:
	db	"width",0
_1026:
	db	"heavy",0
_1027:
	db	"bouncey",0
_1028:
	db	"oheavy",0
_1029:
	db	"obouncey",0
_1030:
	db	"bi_tl",0
_1031:
	db	"bi_tr",0
_1032:
	db	"al",0
_1033:
	db	"ar",0
_1034:
	db	"loffset",0
_1035:
	db	"cantland",0
_1036:
	db	"groundlogic",0
_1037:
	db	"cplatwaitset",0
_1038:
	db	"cplatwaitget",0
_1039:
	db	"move",0
	align	4
_1018:
	dd	2
	dd	_1019
	dd	3
	dd	_1020
	dd	_757
	dd	148
	dd	3
	dd	_1021
	dd	_757
	dd	152
	dd	3
	dd	_779
	dd	_757
	dd	156
	dd	3
	dd	_1022
	dd	_737
	dd	160
	dd	3
	dd	_1023
	dd	_757
	dd	164
	dd	3
	dd	_1024
	dd	_737
	dd	168
	dd	3
	dd	_1025
	dd	_737
	dd	172
	dd	3
	dd	_1026
	dd	_737
	dd	176
	dd	3
	dd	_1027
	dd	_737
	dd	180
	dd	3
	dd	_1028
	dd	_737
	dd	184
	dd	3
	dd	_1029
	dd	_737
	dd	188
	dd	3
	dd	_1030
	dd	_737
	dd	192
	dd	3
	dd	_1031
	dd	_737
	dd	196
	dd	3
	dd	_1032
	dd	_737
	dd	200
	dd	3
	dd	_1033
	dd	_737
	dd	204
	dd	3
	dd	_1034
	dd	_737
	dd	208
	dd	3
	dd	_1035
	dd	_737
	dd	212
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1036
	dd	_959
	dd	120
	dd	6
	dd	_1037
	dd	_793
	dd	124
	dd	6
	dd	_1038
	dd	_746
	dd	128
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	6
	dd	_1039
	dd	_746
	dd	132
	dd	0
	align	4
_bb_physicsobj:
	dd	_bb_gameobj
	dd	_bbObjectFree
	dd	_1018
	dd	216
	dd	__bb_physicsobj_New
	dd	__bb_physicsobj_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_gameobj_init
	dd	__bb_physicsobj_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
	align	4
__bb_avatar_radiovolume:
	dd	0x0
	align	4
__bb_avatar_gotradio:
	dd	0
_1041:
	db	"avatar",0
_1042:
	db	"gun",0
_1043:
	db	"lives",0
_1044:
	db	"weapon",0
_1045:
	db	"firecount",0
_1046:
	db	"autorepeat",0
_1047:
	db	"combo",0
_1048:
	db	"score",0
_1049:
	db	"wait",0
_1050:
	db	"health",0
_1051:
	db	"await",0
_1052:
	db	"raisetime",0
_1053:
	db	"mtext",0
_1054:
	db	"mtime",0
_1055:
	db	"beffect",0
_1056:
	db	"cxpos",0
_1057:
	db	"cypos",0
_1058:
	db	"controltype",0
_1059:
	db	"controls",0
_1060:
	db	"pnum",0
_1061:
	db	"warping",0
_1062:
	db	"mstate",0
_1063:
	db	"message",0
_1064:
	db	"($)i",0
_1065:
	db	"setchooose",0
_1066:
	db	"pressing",0
_1067:
	db	"pressed",0
_1068:
	db	"dist",0
_1069:
	db	"(:graph)f",0
_1070:
	db	"nearest_baddie",0
_1071:
	db	"():baddie",0
_1072:
	db	"death",0
	align	4
_1040:
	dd	2
	dd	_1041
	dd	3
	dd	_1042
	dd	_737
	dd	216
	dd	3
	dd	_1043
	dd	_737
	dd	220
	dd	3
	dd	_1044
	dd	_737
	dd	224
	dd	3
	dd	_1045
	dd	_737
	dd	228
	dd	3
	dd	_1046
	dd	_737
	dd	232
	dd	3
	dd	_1047
	dd	_737
	dd	236
	dd	3
	dd	_1048
	dd	_737
	dd	240
	dd	3
	dd	_1049
	dd	_737
	dd	244
	dd	3
	dd	_1050
	dd	_737
	dd	248
	dd	3
	dd	_1051
	dd	_737
	dd	252
	dd	3
	dd	_1052
	dd	_737
	dd	256
	dd	3
	dd	_1053
	dd	_937
	dd	260
	dd	3
	dd	_1054
	dd	_737
	dd	264
	dd	3
	dd	_975
	dd	_737
	dd	268
	dd	3
	dd	_1055
	dd	_937
	dd	272
	dd	3
	dd	_1056
	dd	_737
	dd	276
	dd	3
	dd	_1057
	dd	_737
	dd	280
	dd	3
	dd	_1058
	dd	_737
	dd	284
	dd	3
	dd	_1059
	dd	_889
	dd	288
	dd	3
	dd	_1060
	dd	_737
	dd	292
	dd	3
	dd	_1061
	dd	_737
	dd	296
	dd	3
	dd	_1062
	dd	_737
	dd	300
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1012
	dd	_840
	dd	88
	dd	6
	dd	_1063
	dd	_1064
	dd	136
	dd	6
	dd	_1065
	dd	_746
	dd	140
	dd	6
	dd	_787
	dd	_746
	dd	60
	dd	6
	dd	_1066
	dd	_793
	dd	144
	dd	6
	dd	_1067
	dd	_793
	dd	148
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	6
	dd	_1068
	dd	_1069
	dd	152
	dd	6
	dd	_1070
	dd	_1071
	dd	156
	dd	6
	dd	_785
	dd	_746
	dd	52
	dd	6
	dd	_1072
	dd	_746
	dd	160
	dd	0
	align	4
_bb_avatar:
	dd	_bb_physicsobj
	dd	_bbObjectFree
	dd	_1040
	dd	304
	dd	__bb_avatar_New
	dd	__bb_avatar_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_avatar_update
	dd	__bb_graph_animate
	dd	__bb_avatar_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_avatar_init
	dd	__bb_avatar_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
	dd	__bb_avatar_message
	dd	__bb_avatar_setchooose
	dd	__bb_avatar_pressing
	dd	__bb_avatar_pressed
	dd	__bb_avatar_dist
	dd	__bb_avatar_nearest_baddie
	dd	__bb_avatar_death
_1074:
	db	"baddie",0
_1075:
	db	"BDEAD",0
	align	4
_1076:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	45,49
	align	4
_1073:
	dd	2
	dd	_1074
	dd	1
	dd	_1075
	dd	_737
	dd	_1076
	dd	3
	dd	_1062
	dd	_737
	dd	216
	dd	3
	dd	_1050
	dd	_737
	dd	220
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	0
	align	4
_bb_baddie:
	dd	_bb_physicsobj
	dd	_bbObjectFree
	dd	_1073
	dd	224
	dd	__bb_baddie_New
	dd	__bb_baddie_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_gameobj_init
	dd	__bb_physicsobj_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
	align	4
__bb_patient_spraygraph:
	dd	_bbNullObject
	align	4
__bb_patient_bloodgraph:
	dd	_bbNullObject
_1078:
	db	"patient",0
_1079:
	db	"PSTAND",0
	align	4
_546:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	48
_1080:
	db	"PWALK",0
	align	4
_537:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	49
_1081:
	db	"PRECOIL",0
	align	4
_538:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	50
_1082:
	db	"PATTACK",0
	align	4
_539:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	51
_1083:
	db	"PFALL",0
	align	4
_540:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	52
_1084:
	db	"PRISE",0
	align	4
_541:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	53
_1085:
	db	"PSCUTTLE",0
	align	4
_542:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	54
_1086:
	db	"spray",0
_1087:
	db	"sprayframe",0
_1088:
	db	"blood",0
_1089:
	db	"bloodframe",0
_1090:
	db	"facing",0
	align	4
_1077:
	dd	2
	dd	_1078
	dd	1
	dd	_1079
	dd	_737
	dd	_546
	dd	1
	dd	_1080
	dd	_737
	dd	_537
	dd	1
	dd	_1081
	dd	_737
	dd	_538
	dd	1
	dd	_1082
	dd	_737
	dd	_539
	dd	1
	dd	_1083
	dd	_737
	dd	_540
	dd	1
	dd	_1084
	dd	_737
	dd	_541
	dd	1
	dd	_1085
	dd	_737
	dd	_542
	dd	3
	dd	_1086
	dd	_737
	dd	224
	dd	3
	dd	_1087
	dd	_737
	dd	228
	dd	3
	dd	_1088
	dd	_737
	dd	232
	dd	3
	dd	_1089
	dd	_737
	dd	236
	dd	3
	dd	_1090
	dd	_737
	dd	240
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1012
	dd	_840
	dd	88
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	6
	dd	_787
	dd	_746
	dd	60
	dd	0
	align	4
_bb_patient:
	dd	_bb_baddie
	dd	_bbObjectFree
	dd	_1077
	dd	244
	dd	__bb_patient_New
	dd	__bb_patient_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_patient_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_patient_init
	dd	__bb_patient_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
_1092:
	db	"phypart",0
_1093:
	db	"timeout",0
_1094:
	db	"oalpha",0
	align	4
_1091:
	dd	2
	dd	_1092
	dd	3
	dd	_1093
	dd	_737
	dd	216
	dd	3
	dd	_1094
	dd	_757
	dd	220
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_785
	dd	_746
	dd	52
	dd	0
	align	4
_bb_phypart:
	dd	_bb_physicsobj
	dd	_bbObjectFree
	dd	_1091
	dd	224
	dd	__bb_phypart_New
	dd	__bb_phypart_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_phypart_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_gameobj_init
	dd	__bb_physicsobj_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
_1096:
	db	"icebit",0
_1097:
	db	"generate",0
	align	4
_1095:
	dd	2
	dd	_1096
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1012
	dd	_840
	dd	88
	dd	7
	dd	_1097
	dd	_840
	dd	136
	dd	0
	align	4
_bb_icebit:
	dd	_bb_phypart
	dd	_bbObjectFree
	dd	_1095
	dd	224
	dd	__bb_icebit_New
	dd	__bb_icebit_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_phypart_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_icebit_init
	dd	__bb_physicsobj_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
	dd	__bb_icebit_generate
	align	4
__bb_fog_foglist:
	dd	_bbNullObject
_1099:
	db	"fog",0
_1100:
	db	"height",0
_1101:
	db	"layer",0
_1102:
	db	"makeall",0
_1103:
	db	"updateall",0
_1104:
	db	"(f,f)i",0
	align	4
_1098:
	dd	2
	dd	_1099
	dd	3
	dd	_1100
	dd	_757
	dd	104
	dd	3
	dd	_1020
	dd	_737
	dd	108
	dd	3
	dd	_1101
	dd	_737
	dd	112
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_1102
	dd	_793
	dd	84
	dd	7
	dd	_1103
	dd	_793
	dd	88
	dd	6
	dd	_1012
	dd	_1104
	dd	92
	dd	6
	dd	_785
	dd	_746
	dd	52
	dd	0
	align	4
_bb_fog:
	dd	_bb_graph
	dd	_bbObjectFree
	dd	_1098
	dd	116
	dd	__bb_fog_New
	dd	__bb_fog_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_fog_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_fog_makeall
	dd	__bb_fog_updateall
	dd	__bb_fog_init
_1106:
	db	"character",0
	align	4
_1105:
	dd	2
	dd	_1106
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	0
	align	4
_bb_character:
	dd	_bb_physicsobj
	dd	_bbObjectFree
	dd	_1105
	dd	216
	dd	__bb_character_New
	dd	__bb_character_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_gameobj_init
	dd	__bb_character_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
_1108:
	db	"angel",0
_1109:
	db	"cutscene",0
	align	4
_1107:
	dd	2
	dd	_1108
	dd	3
	dd	_1109
	dd	_737
	dd	216
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	6
	dd	_1012
	dd	_840
	dd	88
	dd	6
	dd	_1013
	dd	_746
	dd	92
	dd	0
	align	4
_bb_angel:
	dd	_bb_character
	dd	_bbObjectFree
	dd	_1107
	dd	220
	dd	__bb_angel_New
	dd	__bb_angel_Delete
	dd	_bbObjectToString
	dd	__bb_graph_Compare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_graph_create
	dd	__bb_gameobj_update
	dd	__bb_graph_animate
	dd	__bb_graph_draw
	dd	__bb_graph_oncollide
	dd	__bb_graph_setchoose
	dd	__bb_graph_play
	dd	__bb_graph_collideplayer
	dd	__bb_graph_collide
	dd	__bb_gameobj_make
	dd	__bb_angel_init
	dd	__bb_angel_logic
	dd	__bb_gameobj_attach
	dd	__bb_gameobj_reattach
	dd	__bb_gameobj_notonscreen
	dd	__bb_gameobj_testonscreen
	dd	__bb_gameobj_bwrite
	dd	__bb_gameobj_bread
	dd	__bb_physicsobj_groundlogic
	dd	__bb_physicsobj_cplatwaitset
	dd	__bb_physicsobj_cplatwaitget
	dd	__bb_physicsobj_move
_1111:
	db	"sound",0
_1112:
	db	":brl.audio.TSound",0
_1113:
	db	"channel",0
_1114:
	db	":brl.audio.TChannel",0
_1115:
	db	"volume",0
_1116:
	db	"lrate",0
_1117:
	db	"urate",0
_1118:
	db	"($,:brl.audio.TChannel,i,f,f,f):sfx",0
	align	4
_1110:
	dd	2
	dd	_922
	dd	3
	dd	_1111
	dd	_1112
	dd	8
	dd	3
	dd	_1113
	dd	_1114
	dd	12
	dd	3
	dd	_1115
	dd	_757
	dd	16
	dd	3
	dd	_1116
	dd	_757
	dd	20
	dd	3
	dd	_1117
	dd	_757
	dd	24
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_814
	dd	_1118
	dd	48
	dd	6
	dd	_790
	dd	_793
	dd	52
	dd	0
	align	4
_bb_sfx:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1110
	dd	28
	dd	__bb_sfx_New
	dd	__bb_sfx_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_sfx_def
	dd	__bb_sfx_play
_1120:
	db	"psfx",0
_1121:
	db	"channelarray",0
_1122:
	db	"[]:brl.audio.TChannel",0
_1123:
	db	"($,:brl.audio.TChannel,i,f,f,f):psfx",0
_1124:
	db	"setca",0
_1125:
	db	"([]:brl.audio.TChannel)i",0
	align	4
_1119:
	dd	2
	dd	_1120
	dd	3
	dd	_1121
	dd	_1122
	dd	28
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_814
	dd	_1123
	dd	48
	dd	6
	dd	_1124
	dd	_1125
	dd	56
	dd	6
	dd	_790
	dd	_793
	dd	52
	dd	0
	align	4
_bb_psfx:
	dd	_bb_sfx
	dd	_bbObjectFree
	dd	_1119
	dd	32
	dd	__bb_psfx_New
	dd	__bb_psfx_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_psfx_def
	dd	__bb_psfx_play
	dd	__bb_psfx_setca
	align	4
__bb_hiscoretable_HISCORES:
	dd	10
_1127:
	db	"hiscoretable",0
_1128:
	db	"HiScoreList",0
_1129:
	db	"minscore",0
_1130:
	db	"setup",0
_1131:
	db	"():hiscoretable",0
_1132:
	db	"addscore",0
_1133:
	db	"output",0
_1134:
	db	"writescores",0
_1135:
	db	"Load",0
_1136:
	db	"enter",0
	align	4
_1126:
	dd	2
	dd	_1127
	dd	3
	dd	_1128
	dd	_735
	dd	8
	dd	3
	dd	_1129
	dd	_737
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_1130
	dd	_1131
	dd	48
	dd	6
	dd	_1132
	dd	_944
	dd	52
	dd	6
	dd	_787
	dd	_746
	dd	56
	dd	6
	dd	_1133
	dd	_746
	dd	60
	dd	6
	dd	_1134
	dd	_746
	dd	64
	dd	6
	dd	_1135
	dd	_746
	dd	68
	dd	6
	dd	_1136
	dd	_944
	dd	72
	dd	0
	align	4
_bb_hiscoretable:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1126
	dd	16
	dd	__bb_hiscoretable_New
	dd	__bb_hiscoretable_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_hiscoretable_setup
	dd	__bb_hiscoretable_addscore
	dd	__bb_hiscoretable_draw
	dd	__bb_hiscoretable_output
	dd	__bb_hiscoretable_writescores
	dd	__bb_hiscoretable_Load
	dd	__bb_hiscoretable_enter
_1138:
	db	"THiscore",0
_1139:
	db	"PlayerName",0
_1140:
	db	"MySort",0
_1141:
	db	"(:Object,:Object)i",0
	align	4
_1137:
	dd	2
	dd	_1138
	dd	3
	dd	_1139
	dd	_937
	dd	8
	dd	3
	dd	_1048
	dd	_737
	dd	12
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_1140
	dd	_1141
	dd	48
	dd	0
	align	4
_bb_THiscore:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1137
	dd	16
	dd	__bb_THiscore_New
	dd	__bb_THiscore_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_THiscore_MySort
_1143:
	db	"tinput",0
_1144:
	db	"prompt",0
_1145:
	db	"maxsize",0
_1146:
	db	"($,i):tinput",0
_1147:
	db	"check",0
_1148:
	db	"()$",0
	align	4
_1142:
	dd	2
	dd	_1143
	dd	3
	dd	_1144
	dd	_937
	dd	8
	dd	3
	dd	_996
	dd	_937
	dd	12
	dd	3
	dd	_1145
	dd	_737
	dd	16
	dd	6
	dd	_745
	dd	_746
	dd	16
	dd	6
	dd	_747
	dd	_746
	dd	20
	dd	7
	dd	_925
	dd	_1146
	dd	48
	dd	6
	dd	_1147
	dd	_1148
	dd	52
	dd	0
	align	4
_bb_tinput:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1142
	dd	20
	dd	__bb_tinput_New
	dd	__bb_tinput_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_tinput_make
	dd	__bb_tinput_check
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	83,111,117,110,100,108,101,115,115,32,77,111,117,110,116,97
	dw	105,110,32,73,73
	align	4
_bb_stage:
	dd	1
	align	4
_bb_world:
	dd	1
	align	4
_bb_pfirsttime:
	dd	0
	align	4
_bb_debug:
	dd	10
	align	4
_bb_splane:
	dd	1
	align	4
_bb_gameplane:
	dd	1
	align	4
_2133:
	dd	0
_2131:
	db	"i",0
	align	4
_bb_planexsize:
	dd	_bbEmptyArray
_2135:
	db	"i",0
	align	4
_bb_planeysize:
	dd	_bbEmptyArray
	align	4
_bb_MAPZ:
	dd	3
	align	4
_bb_TILES:
	dd	256
	align	4
_bb_TILESETS:
	dd	3
	align	4
_bb_SPROPS:
	dd	5
_2138:
	db	":tileset",0
	align	4
_bb_tset:
	dd	_bbEmptyArray
	align	4
_bb_vGW:
	dd	0
	align	4
_bb_vGH:
	dd	0
	align	4
_bb_hGW:
	dd	0
	align	4
_bb_hGH:
	dd	0
	align	4
_bb_TILESIZE:
	dd	32
	align	4
_bb_HALFTILESIZE:
	dd	16
	align	4
_bb_animtilex:
	dd	_bbEmptyArray
	align	4
_bb_animtiley:
	dd	_bbEmptyArray
	align	4
_bb_tiles1:
	dd	_bbNullObject
	align	4
_bb_tiles2:
	dd	_bbNullObject
	align	4
_bb_tiles3:
	dd	_bbNullObject
	align	4
_bb_tilefile:
	dd	_bbEmptyArray
	align	4
_bb_bg1:
	dd	_bbNullObject
	align	4
_bb_bg2:
	dd	_bbNullObject
	align	8
_5600:
	dd	0x0,0x40380000
	align	8
_5601:
	dd	0x0,0x40620000
	align	4
_bb_RED:
	dd	_bbNullObject
	align	8
_5602:
	dd	0x0,0x40668000
	align	8
_5603:
	dd	0x0,0x406c4000
	align	8
_5604:
	dd	0x0,0x406d8000
	align	4
_bb_YELLOW:
	dd	_bbNullObject
	align	8
_5605:
	dd	0x0,0x40598000
	align	8
_5606:
	dd	0x0,0x40690000
	align	8
_5607:
	dd	0x0,0x40470000
	align	4
_bb_GREEN:
	dd	_bbNullObject
	align	8
_5608:
	dd	0x0,0x406fe000
	align	8
_5609:
	dd	0x0,0x40654000
	align	8
_5610:
	dd	0x0,0x40654000
	align	4
_bb_BLUE:
	dd	_bbNullObject
	align	8
_5611:
	dd	0x0,0x40654000
	align	8
_5612:
	dd	0x0,0x40690000
	align	8
_5613:
	dd	0x0,0x406fe000
	align	4
_bb_ORANGE:
	dd	_bbNullObject
	align	8
_5614:
	dd	0x0,0x406fe000
	align	8
_5615:
	dd	0x0,0x40654000
	align	8
_5616:
	dd	0x0,0x406b8000
	align	4
_bb_PURPLE:
	dd	_bbNullObject
	align	8
_5617:
	dd	0x0,0x40654000
	align	8
_5618:
	dd	0x0,0x4062c000
	align	8
_5619:
	dd	0x0,0x406fe000
	align	4
_bb_PINK:
	dd	_bbNullObject
	align	8
_5620:
	dd	0x0,0x406fe000
	align	8
_5621:
	dd	0x0,0x406fe000
	align	8
_5622:
	dd	0x0,0x406fe000
	align	4
_bb_WHITE:
	dd	_bbNullObject
	align	8
_5623:
	dd	0x0,0x406fe000
	align	8
_5624:
	dd	0x0,0x406fe000
	align	8
_5625:
	dd	0x0,0x40654000
	align	4
_bb_CYAN:
	dd	_bbNullObject
	align	8
_5626:
	dd	0x0,0x40668000
	align	8
_5627:
	dd	0x0,0x406a4000
	align	8
_5628:
	dd	0x0,0x406fe000
	align	4
_bb_BROWN:
	dd	_bbNullObject
	align	8
_5629:
	dd	0x0,0x403e0000
	align	8
_5630:
	dd	0x0,0x403e0000
	align	8
_5631:
	dd	0x0,0x403e0000
	align	4
_bb_BLACK:
	dd	_bbNullObject
	align	8
_5632:
	dd	0x0,0x40622000
	align	8
_5633:
	dd	0x0,0x405e0000
	align	8
_5634:
	dd	0x0,0x405e0000
	align	4
_bb_NIGHTSHADE:
	dd	_bbNullObject
	align	8
_5635:
	dd	0x0,0x40672000
	align	8
_5636:
	dd	0x0,0x40654000
	align	8
_5637:
	dd	0x0,0x40654000
	align	4
_bb_NIGHTMIDSHADE:
	dd	_bbNullObject
	align	4
_bb_redfade:
	dd	0x0
	align	4
_489:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	98,105,116,109,97,112,95,102,111,110,116,95,49,46,112,110
	dw	103
	align	4
_bb_my_font:
	dd	_bbNullObject
	align	4
_490:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	103,114,97,112,104,105,99,115,47,107,101,121,98,111,97,114
	dw	100,46,112,110,103
	align	4
_bb_my_kb:
	dd	_bbNullObject
	align	4
_491:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	103,114,97,112,104,105,99,115,47,33,103,114,97,105,110,121
	dw	95,115,99,97,110,108,105,110,101,115,46,112,110,103
	align	4
_bb_my_grain:
	dd	_bbNullObject
	align	4
_492:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,33,102,111,103,46,112,110
	dw	103
	align	4
_bb_my_fog:
	dd	_bbNullObject
	align	4
_507:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,33,109,97,112,46,112,110
	dw	103
	align	4
_bb_mapsprite:
	dd	_bbNullObject
	align	4
_bb_jc:
	dd	0
	align	4
_508:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,111,117,114,105,101,114,46,116,116,102
	align	4
_bb_HUGE:
	dd	_bbNullObject
	align	4
_bb_BIG:
	dd	_bbNullObject
	align	4
_bb_MED:
	dd	_bbNullObject
	align	4
_bb_screenoffset:
	dd	0
	align	4
_bb_screenyoffset:
	dd	0
	align	4
_bb_s:
	dd	0x3f800000
	align	4
_bb_ns:
	dd	0x3f800000
	align	4
_bb_edit:
	dd	0
	align	4
_bb_nextgobj:
	dd	1
	align	4
_bb_screenchange:
	dd	0
	align	4
_2201:
	dd	0
	align	4
_509:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	115,112,97,114,107,46,112,110,103
	align	4
_bb_sparky:
	dd	_bbNullObject
	align	4
_510:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,114,97,112,104,105,99,115,47,120,115,109,111,107,101,46
	dw	112,110,103
	align	4
_bb_smokey:
	dd	_bbNullObject
	align	4
_511:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	98,117,108,108,117,109,115,46,112,110,103
	align	4
_bb_bull:
	dd	_bbNullObject
	align	4
_512:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	102,105,114,101,49,46,112,110,103
	align	4
_bb_fire1:
	dd	_bbNullObject
	align	4
_513:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	102,105,114,101,50,46,112,110,103
	align	4
_bb_fire2:
	dd	_bbNullObject
	align	4
_514:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	102,105,114,101,51,46,112,110,103
	align	4
_bb_fire3:
	dd	_bbNullObject
	align	4
_515:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	114,97,105,110,46,112,110,103
	align	4
_bb_rain1:
	dd	_bbNullObject
	align	4
_516:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	115,104,105,101,108,100,46,112,110,103
	align	4
_bb_whitecirc:
	dd	_bbNullObject
	align	4
_bb_PLAYERS:
	dd	0
	align	4
_bb_controlset:
	dd	_bbEmptyArray
_2224:
	db	":anim",0
	align	4
_bb_heart:
	dd	_bbEmptyArray
	align	4
_517:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	33,105,110,118,101,110,116,111,114,121,46,112,110,103
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_bb_beats:
	dd	0
	align	4
_bb_heartgraph:
	dd	_bbNullObject
	align	4
_5638:
	dd	0x40800000
	align	4
_5639:
	dd	0x40800000
	align	4
_518:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	103,114,97,112,104,105,99,115,47,120,112,111,114,116,114,97
	dw	105,116,46,112,110,103
	align	4
_bb_portrait:
	dd	_bbNullObject
	align	4
_519:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	33,106,97,107,101,98,46,112,110,103
	align	4
_bb_walkleft:
	dd	_bbNullObject
	align	4
_520:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	103,114,97,112,104,105,99,115,47,120,110,101,119,112,108,97
	dw	121,101,114,57,46,112,110,103
	align	4
_bb_p2_sprite:
	dd	_bbNullObject
	align	4
_bb_shoot:
	dd	_bbNullObject
	align	4
_bb_walkdleft:
	dd	_bbNullObject
	align	4
_bb_walkuleft:
	dd	_bbNullObject
	align	4
_bb_walkup:
	dd	_bbNullObject
	align	4
_bb_walkdown:
	dd	_bbNullObject
	align	4
_bb_shootempty:
	dd	_bbNullObject
	align	4
_bb_recoil:
	dd	_bbNullObject
	align	4
_bb_plankraise:
	dd	_bbNullObject
	align	4
_bb_plankwalkf:
	dd	_bbNullObject
	align	4
_bb_plankwalkb:
	dd	_bbNullObject
	align	4
_bb_planklower:
	dd	_bbNullObject
	align	4
_bb_plankattack:
	dd	_bbNullObject
	align	4
_bb_plankattackdeep:
	dd	_bbNullObject
	align	4
_521:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	33,97,110,103,101,108,46,112,110,103
	align	4
_bb_angelstand:
	dd	_bbNullObject
	align	4
_bb_angelkneel:
	dd	_bbNullObject
	align	4
_522:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	33,112,97,116,105,101,110,116,46,112,110,103
	align	4
_bb_patientidle:
	dd	_bbNullObject
	align	4
_bb_patientwalk:
	dd	_bbNullObject
	align	4
_bb_patientattack:
	dd	_bbNullObject
	align	4
_2397:
	dd	0
	align	4
_bb_patientrecoil:
	dd	_bbNullObject
	align	4
_bb_patientfall:
	dd	_bbNullObject
	align	4
_bb_patientrise:
	dd	_bbNullObject
	align	4
_bb_patientscuttle:
	dd	_bbNullObject
	align	4
_523:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,114,97,112,104,105,99,115,47,33,115,112,114,97,121,46
	dw	112,110,103
	align	4
_bb_sprayanim:
	dd	_bbNullObject
	align	4
_524:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,114,97,112,104,105,99,115,47,33,98,108,111,111,100,46
	dw	112,110,103
	align	4
_bb_bloodanim:
	dd	_bbNullObject
_2427:
	db	":brl.audio.TChannel",0
	align	4
_bb_gunchannel:
	dd	_bbEmptyArray
_2438:
	db	":brl.audio.TChannel",0
	align	4
_bb_pchannel:
	dd	_bbEmptyArray
	align	4
_bb_itemchannel:
	dd	_bbNullObject
	align	4
_bb_baddiechannel:
	dd	_bbNullObject
	align	4
_bb_sparechannel:
	dd	_bbNullObject
	align	4
_bb_musicchannel:
	dd	_bbNullObject
	align	4
_bb_musicfade:
	dd	0x0
_2457:
	db	":avatar",0
	align	4
_bb_player:
	dd	_bbEmptyArray
	align	4
_bb_worldmusic:
	dd	_bbNullObject
	align	4
_525:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	115,111,117,110,100,115,47,33,108,101,116,116,101,114,102,114
	dw	111,109,109,97,114,121,46,119,97,118
	align	4
_bb_lettermusic:
	dd	_bbNullObject
	align	4
_bb_ambient1:
	dd	_bbNullObject
	align	4
_bb_ambient2:
	dd	_bbNullObject
	align	4
_bb_radiochannel:
	dd	_bbNullObject
	align	4
_bb_heartchannel:
	dd	_bbNullObject
	align	4
_526:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	33,102,120,49
	align	4
_bb_fogsound:
	dd	_bbNullObject
_2472:
	db	":sfx",0
	align	4
_bb_fx:
	dd	_bbEmptyArray
	align	4
_530:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	33,102,120
	align	4
_bb_music:
	dd	_bbNullObject
	align	4
_bb_xstep:
	dd	0x0
	align	4
_bb_ystep:
	dd	0x0
	align	4
_bb_halfx:
	dd	0x0
	align	4
_bb_halfy:
	dd	0x0
	align	4
_bb_mxr:
	dd	0x0
	align	4
_bb_myr:
	dd	0x0
	align	4
_bb_endtimer:
	dd	0
	align	4
_bb_stagetext:
	dd	150
	align	4
_bb_stagenames:
	dd	_bbEmptyArray
	align	4
_bb_e:
	dd	_bbNullObject
	align	4
_bb_here:
	dd	_bbNullObject
	align	4
_bb_grq:
	dd	_bbNullObject
	align	4
_bb_gol:
	dd	_bbNullObject
	align	4
_bb_bullist:
	dd	_bbNullObject
	align	4
_bb_badlist:
	dd	_bbNullObject
	align	4
_bb_pglist:
	dd	_bbNullObject
	align	4
_bb_elist:
	dd	_bbNullObject
	align	4
_bb_fruitgot:
	dd	0
	align	4
_bb_maxcombo:
	dd	0
	align	4
_bb_musicfreeze:
	dd	0
	align	4
_bb_musicfreezetype:
	dd	0
	align	4
_bb_bonusmodifier:
	dd	0
	align	4
_bb_slowbaddies:
	dd	0x0
	align	4
_bb_watchfreeze:
	dd	0
	align	4
_bb_watchfreezetype:
	dd	0
	align	4
_bb_night:
	dd	0
	align	4
_bb_fogimage:
	dd	_bbNullObject
	align	4
_531:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,114,97,105,110,46,112,110
	dw	103
	align	4
_bb_rainimage:
	dd	_bbNullObject
	align	4
_bb_rainplane1:
	dd	0
	align	4
_bb_rainplane2:
	dd	0
	align	4
_bb_blightning:
	dd	0x0
	align	4
_bb_quake:
	dd	0
	align	4
_bb_hs:
	dd	_bbNullObject
	align	4
_bb_keylist:
	dd	_bbEmptyArray
	align	4
_532:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	91,101,110,116,101,114,32,107,101,121,93
	align	4
_533:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	85,80
	align	4
_534:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	68,79,87,78
	align	4
_535:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	76,101,102,116
	align	4
_536:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	82,105,103,104,116
	align	4
_543:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	55
	align	4
_544:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	56
	align	4
_545:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	57
	align	4
_547:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,73,78,85,83
	align	4
_548:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	69,81,85,65,76,83
	align	4
_549:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	84,65,66
	align	4
_550:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	81
	align	4
_551:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	87
	align	4
_552:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	69
	align	4
_553:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	82
	align	4
_554:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	84
	align	4
_555:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	89
	align	4
_556:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	85
	align	4
_557:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	73
	align	4
_558:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	79
	align	4
_559:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	80
	align	4
_560:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	76,101,102,116,32,66,82,65,67,75,69,84
	align	4
_561:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	82,105,103,104,116,32,66,82,65,67,75,69,84
	align	4
_562:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	76,101,102,116,32,67,79,78,84,82,79,76
	align	4
_563:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	65
	align	4
_564:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	83
	align	4
_565:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	68
	align	4
_566:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	70
	align	4
_567:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	71
	align	4
_568:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	72
	align	4
_569:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	74
	align	4
_570:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	75
	align	4
_571:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	76
	align	4
_572:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	59
	align	4
_573:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	81,85,79,84,69
	align	4
_574:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	66,65,67,75,83,76,65,83,72
	align	4
_575:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,101,116,117,114,110
	align	4
_576:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	76,101,102,116,32,83,72,73,70,84
	align	4
_577:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	90
	align	4
_578:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	88
	align	4
_579:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	67
	align	4
_580:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	86
	align	4
_581:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	66
	align	4
_582:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	78
	align	4
_583:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	77
	align	4
_584:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	67,79,77,77,65
	align	4
_585:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	68,79,84
	align	4
_586:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	83,76,65,83,72
	align	4
_587:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	82,105,103,104,116,32,83,72,73,70,84
	align	4
_588:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	76,101,102,116,32,65,76,84
	align	4
_589:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	83,80,65,67,69
	align	4
_590:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	82,105,103,104,116,32,65,76,84
	align	4
_591:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	82,105,103,104,116,32,67,79,78,84,82,79,76
	align	4
_592:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	72,79,77,69
	align	4
_593:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,65,71,69,32,85,80
	align	4
_594:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	68,101,108,101,116,101
	align	4
_595:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	69,110,100
	align	4
_596:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	80,65,71,69,32,68,79,87,78
	align	4
_597:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,48
	align	4
_598:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,49
	align	4
_599:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,50
	align	4
_600:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,51
	align	4
_601:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,52
	align	4
_602:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,53
	align	4
_603:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,54
	align	4
_604:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,55
	align	4
_605:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,56
	align	4
_606:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,85,77,80,65,68,32,57
	align	4
_607:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	78,85,77,80,65,68,32,77,85,76,84,73,80,76,89
	align	4
_608:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	78,85,77,80,65,68,32,68,73,86,73,68,69
	align	4
_609:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,85,77,80,65,68,32,65,68,68
	align	4
_610:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	78,85,77,80,65,68,32,83,85,66,84,82,65,67,84
	align	4
_611:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,85,77,80,65,68,32,68,79,84
	align	4
_bb_keynames:
	dd	_bbEmptyArray
	align	4
_bb_titlestart:
	dd	0
	align	4
_bb_jwait:
	dd	0
	align	4
_bb_hasfireflies:
	dd	0
	align	4
_bb_hasfog:
	dd	0
	align	4
_bb_raining:
	dd	0
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	112,108,97,121,101,114
	align	4
_615:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	103,114,97,112,104,105,99,115,47,33,116,105,116,108,101,95
	dw	115,99,114,101,101,110,46,112,110,103
	align	4
_5640:
	dd	0x3ba3d70a
	align	8
_5641:
	dd	0x0,0x40200000
	align	8
_5642:
	dd	0x0,0xc0200000
	align	4
_628:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	65,114,101,32,121,111,117,32,115,117,114,101,32,121,111,117
	dw	32,119,97,110,116,32,116,111,32,115,107,105,112,63
	align	4
_62:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	89,101,115
	align	4
_63:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	78,111
	align	4
_632:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	65,114,101,32,121,111,117,32,115,117,114,101,32,121,111,117
	dw	32,119,97,110,116,32,116,111,32,113,117,105,116,63
	align	4
_633:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	89,111,117,32,65,114,101,32,68,101,97,100
	align	4
_5761:
	dd	0x437f0000
	align	4
_5762:
	dd	0x437f0000
	align	4
_5763:
	dd	0x43b40000
	align	4
_5764:
	dd	0x437f0000
	align	4
_5765:
	dd	0x437a0000
	align	4
_22:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,97,109,101,111,98,106,101,99,116,32,107,105,108,108,101
	dw	100,58,32
	align	4
_23:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	107,105,108,108,101,100,58
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	32,32,71,97,109,101,32,79,98,106,101,99,116,115,32,45
	dw	32
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,111,117,110,116,58,32,71,114,97,112,104,105,99,115,32
	dw	45,32
	align	4
_5766:
	dd	0x41200000
	align	4
_5767:
	dd	0x3f800000
	align	4
_5768:
	dd	0x40e00000
	align	4
_5769:
	dd	0x41000000
	align	4
_5770:
	dd	0x42c80000
	align	4
_5771:
	dd	0x40fccccd
	align	4
_5772:
	dd	0x42c80000
	align	4
_5773:
	dd	0x43160000
	align	4
_5774:
	dd	0x3f99999a
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	71,114,97,112,104,105,99,115,47
	align	4
_36:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	102,114,97,109,101,58,32
	align	4
_5833:
	dd	0x43b40000
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,111,117,108,100,110,39,116,32,108,111,97,100,58,32
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	83,117,114,102,97,99,101
	align	4
_45:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,110,105,109,115,112,101,101,100
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	74,117,109,112,32,84,104,114,111,117,103,104
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	65,117,116,111,45,97,110,105,109,97,116,101
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	83,112,101,99,105,97,108
	align	4
_49:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	78,111,112,101
	align	4
_50:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,58,32,48
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,58,32,51
	align	4
_52:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,58,32,50
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,58,32,49
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	50,32,58,32,49
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	51,32,58,32,49
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	48,32,58,32,49
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	99,105,114,99,117,108,97,114
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	99,105,114,99,117,108,97,114,32,50
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	78,111,114,109,97,108
	align	4
_60:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	83,108,111,119
	align	4
_61:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	69,120,116,114,97,45,115,108,111,119
	align	4
_64:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	78,111,110,101
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,120,32,49
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,120,32,50
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	50,32,120,32,49
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	50,32,120,32,50
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	51,32,120,32,49
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	49,32,120,32,51
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	51,32,120,32,50
	align	4
_72:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	50,32,120,32,51
	align	4
_73:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	51,32,120,32,51
	align	4
_74:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	78,111,116,104,105,110,103
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	67,111,108,108,97,112,115,105,110,103,32,80,108,97,116,102
	dw	111,114,109
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	66,97,99,107,103,114,111,117,110,100,32,115,99,114,111,108
	dw	108
	align	4
_77:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,105,103,110,112,111,115,116
	align	4
_78:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,111,119,101,114,117,112
	align	4
_80:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	97,110,103,101,108
	align	4
_81:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	112,97,116,105,101,110,116
	align	4
_82:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	119,97,108,107,101,114,98,97,100,100,105,101
	align	4
_83:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	102,108,121,101,114,98,97,100,100,105,101
	align	4
_84:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	99,114,97,119,108,101,114,98,97,100,100,105,101
	align	4
_85:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	99,114,97,98,109,97,110
	align	4
_86:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	112,105,99,111,109,97,110
	align	4
_87:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	116,114,97,109,112,111,108,105,110,101
	align	4
_88:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	109,111,118,105,110,103,32,112,108,97,116,102,111,114,109
	align	4
_89:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	119,97,114,112,32,100,111,111,114
	align	4
_90:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	99,104,101,115,116
	align	4
_91:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	74,97,107,101
	align	4
_92:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	112,108,97,121,101,114,32,50
	align	4
_93:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	65,110,103,101,108
	align	4
_94:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,97,116,105,101,110,116,32,68,101,109,111,110
	align	4
_95:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	111,114,97,110,103,101,32,116,111,102,117,109,97,110
	align	4
_96:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	103,114,101,101,110,32,98,97,108,108,109,97,110
	align	4
_97:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	114,101,100,32,116,111,102,117,109,97,110
	align	4
_98:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	98,114,111,119,110,32,115,110,97,105,108,109,97,110
	align	4
_99:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	121,101,108,108,111,119,32,98,101,101,109,97,110
	align	4
_100:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	112,117,114,112,108,101,32,116,97,107,111,109,97,110
	align	4
_101:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	121,101,108,108,111,119,32,100,117,99,107,109,97,110
	align	4
_102:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	103,114,101,101,110,32,115,110,97,105,108,109,97,110
	align	4
_103:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	114,101,100,32,99,114,97,98,109,97,110
	align	4
_104:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	98,108,117,101,32,112,105,99,111,109,97,110
	align	4
_105:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	114,101,100,32,116,114,97,109,112,111,108,105,110,101
	align	4
_106:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	50,120,49,32,118,101,114,116,105,99,97,108,32,43,47,45
	dw	52
	align	4
_107:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	50,120,49,32,118,101,114,116,105,99,97,108,32,43,47,45
	dw	51
	align	4
_108:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	50,120,49,32,118,101,114,116,105,99,97,108,32,43,47,45
	dw	50
	align	4
_109:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	98,111,110,117,115,32,114,111,111,109,32,49
	align	4
_110:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	98,111,110,117,115,32,114,111,111,109,32,50
	align	4
_111:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	98,111,110,117,115,32,114,111,111,109,32,51
	align	4
_112:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	114,97,105,110,98,111,119,32,114,111,111,109
	align	4
_113:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	114,101,103,117,108,97,114,32,99,104,101,115,116
	align	4
_114:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	111,110,32,47,32,111,102,102
	align	4
_115:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	111,110,101,32,116,105,109,101
	align	4
_116:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	103,97,109,101,111,98,106,32,116,114,105,103,103,101,114
	align	4
_117:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	99,111,109,98,111,115,119,105,116,99,104
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	80,97,116,104
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,97,109,101,114,97
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	70,111,103
	align	4
_121:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	68,97,114,107
	align	4
_122:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	70,111,103,32,66,101,104,105,110,100,32,70,114,111,110,116
	dw	32,76,97,121,101,114
	align	4
_126:
	dd	_bbStringClass
	dd	2147483647
	dd	45
	dw	61,61,61,61,61,61,61,61,61,61,61,32,70,117,108,108
	dw	32,80,108,97,116,102,111,114,109,32,82,101,103,101,110,32
	dw	61,61,61,61,61,61,61,61,61,61,61,61,61
	align	4
_130:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	65,114,101,32,121,111,117,32,115,117,114,101,32,121,111,117
	dw	32,119,97,110,116,32,116,111,32,108,111,97,100,63
	align	4
_131:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	87,104,97,116,32,115,116,97,103,101,32,110,117,109,98,101
	dw	114,63,32
	align	4
_134:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,97,112
	align	4
_133:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	47,109,97,112
	align	4
_132:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,97,112,115,47
	align	4
_135:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	65,108,114,101,97,100,121,32,101,120,105,115,116,115,46,46
	dw	46,32,67,97,110,39,116,32,115,97,118,101,32,111,118,101
	dw	114,33
	align	4
_136:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	71,111,116,111,32,115,116,97,103,101,32,110,117,109,98,101
	dw	114,58,32
	align	4
_5958:
	dd	0x41200000
	align	4
_5959:
	dd	0x41200000
	align	4
_137:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	77,111,100,101,58,32,77,65,80
	align	4
_138:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	32,44,32
	align	4
_140:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	32,60,32,106,47,107,32,62
	align	4
_139:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	77,97,99,114,111,58,32
	align	4
_141:
	dd	_bbStringClass
	dd	2147483647
	dd	50
	dw	90,111,111,109,58,32,60,115,112,97,99,101,62,32,114,101
	dw	103,117,108,97,114,32,47,32,99,108,111,115,101,32,32,60
	dw	111,62,32,108,101,118,101,108,32,111,118,101,114,118,105,101
	dw	119,9
	align	4
_142:
	dd	_bbStringClass
	dd	2147483647
	dd	53
	dw	77,97,112,32,76,111,97,100,58,32,60,49,62,32,32,32
	dw	77,97,112,32,83,97,118,101,32,65,115,58,32,60,56,62
	dw	32,32,32,77,97,112,32,83,97,118,101,58,32,60,48,62
	dw	32,32,32,32,32
	align	4
_143:
	dd	_bbStringClass
	dd	2147483647
	dd	49
	dw	84,105,108,101,115,101,116,32,76,111,97,100,58,32,60,83
	dw	72,73,70,84,95,49,62,32,32,32,84,105,108,101,115,101
	dw	116,32,83,97,118,101,58,32,60,83,72,73,70,84,95,48
	dw	62
	align	4
_144:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	78,101,119,112,108,97,110,101,58,32,60,67,62,32,32,71
	dw	97,109,101,112,108,97,110,101,32,99,104,97,110,103,101,58
	dw	32,60,100,47,102,62
	align	4
_146:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	32,32,32,76,101,118,101,108,32,116,105,109,101,58,32,60
	dw	102,47,103,62,32
	align	4
_145:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	87,97,114,112,32,99,111,109,98,111,58,32,60,113,47,119
	dw	62,32,120
	align	4
_150:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	60,121,62,32,84,121,112,101,58
	align	4
_151:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	60,117,62,32,68,101,115,116,105,110,97,116,105,111,110,58
	align	4
_152:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	60,105,62,32,83,99,114,105,112,116,58
	align	4
_153:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	84,121,112,101,58,32
	align	4
_154:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	68,101,115,116,105,110,97,116,105,111,110,58,32
	align	4
_155:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,99,114,105,112,116,58,32
	align	4
_159:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	77,111,100,101,58,32,71,65,77,69,32,79,66,74,69,67
	dw	84,83
	align	4
_160:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	79,98,106,101,99,116,58,32,60,83,80,65,67,69,62,32
	align	4
_162:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	32,45,32
	align	4
_161:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	83,117,98,116,121,112,101,58,32,60,115,32,43,32,100,32
	dw	45,32,102,32,43,43,32,103,45,45,62,32
	align	4
_166:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	75,105,108,108,105,110,103,58,32
	align	4
_167:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	101,104,63
	align	4
_168:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	77,111,100,101,58,32,83,87,73,84,67,72,32,79,66,74
	dw	69,67,84,83
	align	4
_169:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	84,121,112,101,58,32,60,83,80,65,67,69,62,32
	align	4
_170:
	dd	_bbStringClass
	dd	2147483647
	dd	37
	dw	60,108,62,32,105,110,112,117,116,32,103,97,109,101,111,98
	dw	106,32,32,60,67,62,32,111,117,116,112,117,116,32,103,97
	dw	109,101,111,98,106
	align	4
_171:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	60,114,62,32,115,101,116,32,99,111,109,98,111,32,49,32
	dw	32,32,32,60,118,62,32,115,101,116,32,99,111,109,98,111
	dw	32,50
	align	4
_172:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,111,100,101,58,32,80,65,84,72,32,47,32,67,65,77
	dw	69,82,65
	align	4
_173:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	60,83,80,65,67,69,62,32,84,121,112,101,58,32,32
	align	4
_174:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	60,78,62,32,32,32,32,32,67,121,99,108,101,58,32
	align	4
_175:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	60,82,77,66,62,32,32,32,68,101,108,101,116,101,58,32
	align	4
_176:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	60,83,62,32,32,32,32,32,83,112,101,99,105,97,108,32
	dw	69,102,102,101,99,116,115,58,32
	align	4
_177:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	60,76,62,32,32,32,32,32,86,101,114,116,105,99,97,108
	dw	32,76,101,101,119,97,121,58,32
	align	4
_5960:
	dd	0x3f666666
	align	4
_5961:
	dd	0x3f000000
	align	4
_5962:
	dd	0x3e4ccccd
	align	4
_5963:
	dd	0x3e800000
	align	4
_5964:
	dd	0x3dcccccd
	align	4
_5965:
	dd	0x3c23d70a
	align	4
_5966:
	dd	0x3c23d70a
	align	4
_2:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	62
	align	4
_181:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	32,91,71,80,93
	align	4
_6082:
	dd	0x44000000
	align	4
_6083:
	dd	0x44000000
	align	4
_192:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	58,32,32,32
	align	4
_191:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	60,122,62,32,45,32
	align	4
_193:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	60,120,62,32,45,32
	align	4
_194:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	60,99,62,32,45,32
	align	4
_195:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	60,118,62,32,45,32
	align	4
_196:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	60,98,62,32,45,32
	align	4
_197:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	116,105,108,101,32,97,110,105,109,58
	align	4
_6104:
	dd	0x41000000
	align	4
_6105:
	dd	0x41000000
	align	4
_6106:
	dd	0x3f000000
	align	4
_6107:
	dd	0x3f000000
_3497:
	db	"i",0
_3502:
	db	"i",0
	align	4
_223:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,116,115,116
	align	4
_222:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	71,114,97,112,104,105,99,115,47,116,105,108,101
	align	4
_224:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	67,111,117,108,100,110,39,116,32,119,114,105,116,101,32,116
	dw	104,101,32,116,105,108,101,32,100,101,102,105,110,105,116,105
	dw	111,110,115,33
_3553:
	db	":maploc",0
_3559:
	db	":maploc",0
_3576:
	db	":maploc",0
_3662:
	db	":plane",0
_3672:
	db	":plane",0
_3684:
	db	":maploc",0
_3696:
	db	":position",0
_3701:
	db	":position",0
_3718:
	db	":position",0
_3723:
	db	":position",0
	align	4
_6182:
	dd	0x437f0000
	align	4
_6183:
	dd	0x41400000
	align	4
_6184:
	dd	0x41000000
	align	4
_6185:
	dd	0x437f0000
	align	4
_6186:
	dd	0x43b40000
	align	4
_273:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,117,114,114,101,110,116,32,112,108,97,110,101,58,32
	align	4
_276:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	93,46
	align	4
_275:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	44,32
	align	4
_274:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	70,111,108,108,111,119,32,115,119,105,116,99,104,58,32,91
	align	4
_277:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	83,119,105,116,99,104,45,99,97,117,115,101,100,32,97,110
	dw	105,109,97,116,105,111,110,46,46,46
	align	4
_6187:
	dd	0x40800000
	align	4
_6188:
	dd	0x40800000
	align	4
_6189:
	dd	0x0
	align	4
_6190:
	dd	0x41a00000
	align	4
_287:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	60,83,62,32
	align	4
_6191:
	dd	0x42000000
	align	4
_6192:
	dd	0x42000000
	align	4
_6193:
	dd	0x3d4ccccd
	align	4
_6194:
	dd	0xc5348000
	align	4
_6195:
	dd	0x41800000
	align	4
_6196:
	dd	0x41000000
	align	4
_6197:
	dd	0x41800000
	align	4
_6198:
	dd	0x41000000
	align	4
_303:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	107,97,111,110,97,115,104,105
	align	4
_322:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	67,111,117,108,100,110,39,116,32,119,114,105,116,101,32,116
	dw	104,101,32,109,97,112,33
	align	4
_323:
	dd	_bbStringClass
	dd	2147483647
	dd	33
	dw	78,101,119,32,109,97,112,32,109,97,100,101,32,45,32,110
	dw	117,109,98,101,114,32,111,102,32,112,108,97,110,101,115,58
	dw	32
	align	4
_328:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	32,119,105,100,116,104,58,32
	align	4
_327:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	80,108,97,110,101,32
	align	4
_332:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	32,104,101,105,103,104,116,58,32
	align	4
_334:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	32,112,108,97,110,101,115,46,46,46
	align	4
_333:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	76,111,97,100,105,110,103,32,109,97,112,58,32,101,120,112
	dw	101,99,116,105,110,103,32
	align	4
_335:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	32,103,97,109,101,32,111,98,106,101,99,116,40,115,41,46
	dw	46,46
_4081:
	db	":maploc",0
	align	4
_339:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	71,97,109,101,112,108,97,110,101,32,105,115,58,32
	align	4
_340:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	72,101,97,100,101,114,32,101,110,100,32,111,102,102,115,101
	dw	116,58,32
	align	4
_341:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	77,97,112,32,98,101,103,105,110,32,111,102,102,115,101,116
	dw	58,32
	align	4
_387:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	91,114,101,97,100,105,110,103,93,32
	align	4
_392:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	32,103,97,109,101,32,111,98,106,101,99,116,115,46,46,46
	align	4
_391:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	83,97,118,105,110,103,32,109,97,112,58,32,119,114,105,116
	dw	105,110,103,32
	align	4
_396:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	91,119,114,105,116,105,110,103,93,32
	align	4
_405:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	32,100,101,97,100,63,32
	align	4
_404:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	93,58,32
	align	4
_403:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	91
	align	4
_408:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	32,45,32,115,117,98,116,121,112,101,58,32
	align	4
_407:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	93,32
	align	4
_406:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,114,101,97,116,105,110,103,58,32,91
	align	4
_409:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	105,99,101
	align	4
_410:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	100,117,109,109,121,32,46,105,110,105,116,40,41,32,109,101
	dw	116,104,111,100
	align	4
_411:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	83,101,108,101,99,116,101,100,33
	align	4
_6541:
	dd	0x40000000
	align	4
_6542:
	dd	0x43960000
	align	4
_6543:
	dd	0x40000000
	align	4
_6544:
	dd	0x43480000
	align	8
_6572:
	dd	0x0,0x40000000
	align	4
_6573:
	dd	0x3f800000
	align	4
_6574:
	dd	0x0
	align	4
_6575:
	dd	0x3e99999a
	align	4
_6576:
	dd	0x3f2e147b
	align	4
_418:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	73,32,103,111,116,32,97,32,108,101,116,116,101,114,46,46
	dw	46
	align	4
_6577:
	dd	0x3e99999a
	align	4
_6578:
	dd	0x3f2e147b
	align	4
_419:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	73,116,32,114,101,97,100,58
	align	4
_6579:
	dd	0x3e99999a
	align	4
_6580:
	dd	0x3f2e147b
	align	4
_420:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	73,110,32,116,104,101,32,100,97,114,107,32,111,102,32,110
	dw	105,103,104,116,44,32,73,32,115,101,101,32,116,104,97,116
	dw	32,112,108,97,99,101,46,32
	align	4
_6581:
	dd	0x3e99999a
	align	4
_6582:
	dd	0x3f2e147b
	align	4
_421:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	83,111,117,110,100,108,101,115,115,32,77,111,117,110,116,97
	dw	105,110,46,32
	align	4
_6583:
	dd	0x3e99999a
	align	4
_6584:
	dd	0x3f2e147b
	align	4
_422:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	89,111,117,32,110,101,118,101,114,32,116,111,111,107,32,109
	dw	101,32,98,97,99,107,32,116,104,101,114,101,44,32
	align	4
_6585:
	dd	0x3e99999a
	align	4
_6586:
	dd	0x3f2e147b
	align	4
_423:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	76,105,107,101,32,121,111,117,32,115,97,105,100,32,121,111
	dw	117,32,119,111,117,108,100,46,46,46,32
	align	4
_6587:
	dd	0x3e99999a
	align	4
_6588:
	dd	0x3f2e147b
	align	4
_424:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	87,101,108,108,44,32,73,39,109,32,116,104,101,114,101,32
	dw	110,111,119,46,32,65,108,108,32,111,110,32,109,121,32,111
	dw	119,110,46,32
	align	4
_6589:
	dd	0x3e99999a
	align	4
_6590:
	dd	0x3f2e147b
	align	4
_425:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	73,110,32,111,117,114,32,39,115,112,101,99,105,97,108,32
	dw	112,108,97,99,101,39,46,32
	align	4
_6591:
	dd	0x3e99999a
	align	4
_6592:
	dd	0x3f2e147b
	align	4
_426:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	67,111,109,101,32,98,97,99,107,32,116,111,32,109,101,44
	dw	32,74,97,107,101,46,46,46,32
	align	4
_6593:
	dd	0x3e99999a
	align	4
_6594:
	dd	0x3f2e147b
	align	4
_427:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	84,104,101,32,110,97,109,101,32,111,110,32,116,104,101,32
	dw	101,110,118,111,108,111,112,101,32,115,97,105,100,32,39,75
	dw	97,116,101,39,46,46,46,32
	align	4
_6595:
	dd	0x3e99999a
	align	4
_6596:
	dd	0x3f2e147b
	align	4
_428:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	77,121,32,119,105,102,101,39,115,32,110,97,109,101,46,32
	align	4
_6597:
	dd	0x3e99999a
	align	4
_6598:
	dd	0x3f2e147b
	align	4
_429:
	dd	_bbStringClass
	dd	2147483647
	dd	29
	dw	73,116,39,115,32,105,110,115,97,110,101,46,32,32,73,109
	dw	112,111,115,115,105,98,108,101,46,46,46,32,32
	align	4
_6599:
	dd	0x3e99999a
	align	4
_6600:
	dd	0x3f2e147b
	align	4
_430:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	65,102,116,101,114,32,97,108,108,44,32,115,104,101,32,100
	dw	105,101,100,32,116,104,114,101,101,32,121,101,97,114,115,32
	dw	97,103,111,46,46,46,32,32
	align	4
_6601:
	dd	0x3e99999a
	align	4
_6602:
	dd	0x3f2e147b
	align	4
_431:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	87,104,101,110,32,116,104,97,116,32,101,118,105,108,32,100
	dw	105,115,101,97,115,101,32,116,111,111,107,32,104,101,114,46
	dw	32,32
	align	4
_6603:
	dd	0x3e99999a
	align	4
_6604:
	dd	0x3f2e147b
	align	4
_432:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	66,117,116,32,116,104,101,110,32,119,104,97,116,32,97,109
	dw	32,105,32,100,111,105,110,103,32,104,101,114,101,63,32,32
	align	4
_6605:
	dd	0x3e99999a
	align	4
_6606:
	dd	0x3f2e147b
	align	4
_433:
	dd	_bbStringClass
	dd	2147483647
	dd	43
	dw	97,110,100,32,119,104,97,116,32,100,111,101,115,32,115,104
	dw	101,32,109,101,97,110,32,98,121,32,39,115,112,101,99,105
	dw	97,108,32,112,108,97,99,101,39,63,32
	align	4
_6607:
	dd	0x3e99999a
	align	4
_6608:
	dd	0x3f2e147b
	align	4
_434:
	dd	_bbStringClass
	dd	2147483647
	dd	42
	dw	83,111,117,110,100,108,101,115,115,32,77,111,117,110,116,97
	dw	105,110,32,119,97,115,32,111,117,114,32,115,112,101,99,105
	dw	97,108,32,112,108,97,99,101,46,32
	align	4
_6609:
	dd	0x3e99999a
	align	4
_6610:
	dd	0x3f2e147b
	align	4
_435:
	dd	_bbStringClass
	dd	2147483647
	dd	37
	dw	67,111,117,108,100,32,115,104,101,32,98,101,32,116,97,108
	dw	107,105,110,103,32,97,98,111,117,116,32,116,104,101,32,112
	dw	97,114,107,63,32
	align	4
_6611:
	dd	0x3e99999a
	align	4
_6612:
	dd	0x3f2e147b
	align	4
_436:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	84,104,97,116,32,100,97,121,32,98,121,32,116,104,101,32
	dw	108,97,107,101,63,32
	align	4
_6613:
	dd	0x3e99999a
	align	4
_6614:
	dd	0x3f2e147b
	align	4
_437:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	67,111,117,108,100,32,115,104,101,32,114,101,97,108,108,121
	dw	32,98,101,32,116,104,101,114,101,63,32
	align	4
_6615:
	dd	0x3e99999a
	align	4
_6616:
	dd	0x3f2e147b
	align	4
_438:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,108,105,118,101,46,46,46,32
	align	4
_6617:
	dd	0x3e99999a
	align	4
_6618:
	dd	0x3f2e147b
	align	4
_439:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	87,97,105,116,105,110,103,32,102,111,114,32,109,101,46,46
	dw	46,32
	align	4
_6619:
	dd	0x3f800000
	align	4
_443:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	44
	align	4
_6620:
	dd	0x3f800000
	align	4
_449:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	41
	align	4
_448:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	32,40,112,111,115,105,116,105,111,110,58,32
	align	4
_447:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	71,111,105,110,103,32,116,111,32,114,111,111,109,58,32
	align	4
_6621:
	dd	0x3e99999a
	align	4
_6622:
	dd	0x3f2e147b
	align	4
_6623:
	dd	0x3f000000
	align	4
_6624:
	dd	0xbf000000
	align	4
_6625:
	dd	0xbf666666
	align	4
_6626:
	dd	0xbd4ccccd
	align	4
_6627:
	dd	0xbf666666
	align	4
_6628:
	dd	0x3d4ccccd
	align	4
_6629:
	dd	0x3f7c28f6
	align	4
_6630:
	dd	0x3f71eb85
	align	4
_6666:
	dd	0x3f4ccccd
	align	4
_6667:
	dd	0x3f666666
_4535:
	db	"i",0
	align	4
_6675:
	dd	0x40800000
	align	4
_6676:
	dd	0x40800000
	align	4
_6685:
	dd	0xbe99999a
	align	4
_6686:
	dd	0xbf800000
	align	4
_6687:
	dd	0x3e99999a
	align	4
_6688:
	dd	0xbe99999a
	align	4
_6689:
	dd	0xbf800000
	align	4
_6690:
	dd	0x3e99999a
	align	4
_6722:
	dd	0xbe99999a
	align	4
_6723:
	dd	0xbf800000
	align	4
_6724:
	dd	0x3e99999a
	align	4
_6725:
	dd	0xbe99999a
	align	4
_6726:
	dd	0xbf800000
	align	4
_6727:
	dd	0x3e99999a
	align	8
_6759:
	dd	0x0,0x40080000
	align	8
_6760:
	dd	0x0,0x40340000
	align	4
_6761:
	dd	0x42800000
	align	4
_6762:
	dd	0xbf800000
	align	4
_6763:
	dd	0x42800000
	align	4
_6764:
	dd	0x3f800000
	align	4
_6765:
	dd	0x3f800000
	align	4
_6766:
	dd	0x41700000
	align	4
_6767:
	dd	0x42a00000
	align	4
_6768:
	dd	0x438e8000
	align	4
_6769:
	dd	0x43af0000
	align	8
_6832:
	dd	0x0,0x40000000
	align	8
_6833:
	dd	0x0,0x40000000
	align	4
_6862:
	dd	0x40800000
	align	4
_6863:
	dd	0x40800000
	align	4
_6864:
	dd	0x40800000
	align	4
_6865:
	dd	0x40800000
	align	4
_6866:
	dd	0x40800000
	align	4
_6867:
	dd	0x40800000
	align	4
_6870:
	dd	0x3e800000
	align	4
_6871:
	dd	0x3e800000
	align	4
_6872:
	dd	0x40800000
	align	4
_6873:
	dd	0x40000000
	align	4
_6874:
	dd	0x41f00000
	align	8
_6875:
	dd	0xa0000000,0x3fb99999
	align	8
_6876:
	dd	0xa0000000,0xbfb99999
	align	4
_6877:
	dd	0x3dcccccd
	align	8
_6878:
	dd	0xa0000000,0x3fc99999
	align	8
_6879:
	dd	0xa0000000,0xbfc99999
	align	4
_6880:
	dd	0x3ca3d70a
	align	4
_6881:
	dd	0x3ca3d70a
	align	4
_6882:
	dd	0x40800000
	align	4
_6883:
	dd	0xc0800000
	align	4
_6884:
	dd	0x40000000
	align	4
_6885:
	dd	0xc0000000
	align	4
_6886:
	dd	0xc0800000
	align	4
_6887:
	dd	0x40800000
	align	4
_6888:
	dd	0x41000000
	align	4
_6889:
	dd	0x41000000
	align	4
_6939:
	dd	0x40c00000
	align	4
_6940:
	dd	0x42000000
	align	4
_6941:
	dd	0x43200000
	align	4
_6942:
	dd	0x43200000
	align	4
_6943:
	dd	0x40800000
	align	4
_6944:
	dd	0x42800000
	align	4
_6945:
	dd	0x42900000
	align	4
_6961:
	dd	0x42480000
	align	4
_6962:
	dd	0x3f733333
	align	8
_6971:
	dd	0x0,0x40300000
	align	8
_6972:
	dd	0x0,0xc0300000
	align	8
_6973:
	dd	0x0,0xc0240000
	align	8
_6974:
	dd	0x0,0xc0310000
	align	8
_6975:
	dd	0x0,0x403e0000
	align	8
_6976:
	dd	0x0,0xc03e0000
	align	4
_6992:
	dd	0x43200000
	align	4
_6993:
	dd	0x3d75c28f
	align	4
_6994:
	dd	0x40800000
	align	4
_6995:
	dd	0x40800000
	align	4
_6996:
	dd	0x3f000000
	align	4
_6997:
	dd	0x3dcccccd
	align	4
_7016:
	dd	0x40800000
	align	4
_7017:
	dd	0x40800000
	align	4
_7020:
	dd	0x42800000
	align	4
_7021:
	dd	0x3e99999a
	align	4
_7022:
	dd	0x3d4ccccd
	align	4
_468:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	69,120,99,117,115,101,32,109,101,46,46,46
	align	4
_7023:
	dd	0x3e99999a
	align	4
_7024:
	dd	0x3d4ccccd
	align	4
_469:
	dd	_bbStringClass
	dd	2147483647
	dd	33
	dw	79,104,33,32,32,73,39,109,32,115,111,114,114,121,46,46
	dw	46,32,73,46,46,46,32,73,32,106,117,115,116,46,46,46
	dw	32
	align	4
_7025:
	dd	0x3e99999a
	align	4
_7026:
	dd	0x3d4ccccd
	align	4
_470:
	dd	_bbStringClass
	dd	2147483647
	dd	39
	dw	73,39,109,32,115,111,114,114,121,44,32,73,32,100,105,100
	dw	110,39,116,32,109,101,97,110,32,116,111,32,115,99,97,114
	dw	101,32,121,111,117,33,32
	align	4
_7027:
	dd	0x3e99999a
	align	4
_7028:
	dd	0x3d4ccccd
	align	4
_471:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	73,32,116,104,105,110,107,32,73,39,109,32,108,111,115,116
	dw	46,46,46,32
	align	4
_7029:
	dd	0x3e99999a
	align	4
_7030:
	dd	0x3d4ccccd
	align	4
_472:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,111,115,116,63,32
	align	4
_7031:
	dd	0x3e99999a
	align	4
_7032:
	dd	0x3d4ccccd
	align	4
_473:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	73,115,32,116,104,105,115,32,116,104,101,32,119,97,121,32
	dw	116,111,32,83,111,117,110,100,108,101,115,115,32,77,111,117
	dw	110,116,97,105,110,63
	align	4
_7033:
	dd	0x3e99999a
	align	4
_7034:
	dd	0x3d4ccccd
	align	4
_474:
	dd	_bbStringClass
	dd	2147483647
	dd	43
	dw	85,104,46,46,32,121,101,97,104,46,32,32,73,116,39,115
	dw	32,116,104,97,116,32,119,97,121,46,32,32,67,97,110,39
	dw	116,32,109,105,115,115,32,105,116,46,32
	align	4
_7035:
	dd	0x3e99999a
	align	4
_7036:
	dd	0x3d4ccccd
	align	4
_475:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	84,104,97,110,107,115,46
	align	4
_7037:
	dd	0x3e99999a
	align	4
_7038:
	dd	0x3d4ccccd
	align	4
_476:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	66,117,116,32,73,39,100,32,116,117,114,110,32,98,97,99
	dw	107,32,105,102,32,73,32,119,97,115,32,121,111,117,46,46
	dw	46,32
	align	4
_7039:
	dd	0x3e99999a
	align	4
_7040:
	dd	0x3d4ccccd
	align	4
_477:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	84,104,101,114,101,39,115,32,115,111,109,101,116,104,105,110
	dw	103,32,98,97,100,32,104,101,114,101,46,32
	align	4
_7041:
	dd	0x3e99999a
	align	4
_7042:
	dd	0x3d4ccccd
	align	4
_478:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	73,116,39,115,46,46,46,32,100,97,110,103,101,114,111,117
	dw	115,46,32
	align	4
_7043:
	dd	0x3e99999a
	align	4
_7044:
	dd	0x3d4ccccd
	align	4
_479:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	73,32,103,117,101,115,115,32,73,32,100,111,110,39,116,32
	dw	99,97,114,101,44
	align	4
_7045:
	dd	0x3e99999a
	align	4
_7046:
	dd	0x3d4ccccd
	align	4
_480:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	101,118,101,110,32,105,102,32,105,116,32,105,115,32,100,97
	dw	110,103,101,114,111,117,115,46
	align	4
_7047:
	dd	0x3e99999a
	align	4
_7048:
	dd	0x3d4ccccd
	align	4
_481:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	105,39,109,32,108,111,111,107,105,110,103,32,102,111,114,32
	dw	115,111,109,101,111,110,101,46,46,46,32,115,112,101,99,105
	dw	97,108,46,32
	align	4
_7049:
	dd	0x3e99999a
	align	4
_7050:
	dd	0x3d4ccccd
	align	4
_482:
	dd	_bbStringClass
	dd	2147483647
	dd	35
	dw	77,101,32,116,111,111,33,32,73,39,109,32,108,111,111,107
	dw	105,110,103,32,102,111,114,32,109,121,32,109,97,109,97,46
	dw	46,46,32
	align	4
_7051:
	dd	0x3e99999a
	align	4
_7052:
	dd	0x3d4ccccd
	align	4
_483:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	73,32,109,101,97,110,32,109,121,32,109,117,109,46,32
	align	4
_7053:
	dd	0x3e99999a
	align	4
_7054:
	dd	0x3d4ccccd
	align	4
_484:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	77,97,121,98,101,32,109,121,32,100,97,100,32,105,115,32
	dw	104,101,114,101,32,116,111,111,46,32
	align	4
_7055:
	dd	0x3e99999a
	align	4
_7056:
	dd	0x3d4ccccd
	align	4
_485:
	dd	_bbStringClass
	dd	2147483647
	dd	41
	dw	87,101,108,108,32,73,32,104,111,112,101,32,121,111,117,32
	dw	102,105,110,100,32,104,101,114,44,32,73,39,109,32,103,111
	dw	105,110,103,32,110,111,119,46,32
	align	4
_7057:
	dd	0x3e99999a
	align	4
_7058:
	dd	0x3d4ccccd
	align	4
_486:
	dd	_bbStringClass
	dd	2147483647
	dd	44
	dw	79,107,32,46,46,32,101,114,32,46,46,32,116,104,97,110
	dw	107,115,32,46,46,46,32,32,73,32,109,101,97,110,46,46
	dw	32,103,111,111,100,98,121,101,46,46,46,32
	align	4
_7059:
	dd	0x42800000
	align	4
_7060:
	dd	0x43200000
	align	4
_7061:
	dd	0x41800000
	align	4
_7062:
	dd	0x3e99999a
	align	4
_7063:
	dd	0x3d4ccccd
	align	4
_487:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	65,114,101,110,39,116,32,121,111,117,32,108,111,111,107,105
	dw	110,103,32,102,111,114,32,115,111,109,101,111,110,101,63,32
	align	4
_7064:
	dd	0x3e99999a
	align	4
_7065:
	dd	0x3d4ccccd
	align	4
_488:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	84,104,97,116,39,115,32,114,105,103,104,116,46,46,46
	align	8
_7073:
	dd	0x0,0x40080000
	align	8
_7074:
	dd	0x0,0x40080000
	align	8
_7075:
	dd	0x0,0x40080000
	align	4
_7076:
	dd	0x40400000
	align	4
_7077:
	dd	0x40400000
	align	4
_496:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	105,39,118,101,32,103,111,116,32,97,32,109,97,112,32,111
	dw	102,32,115,111,117,110,100,108,101,115,115,32,109,111,117,110
	dw	116,97,105,110,46,32
	align	4
_7087:
	dd	0x3e800000
	align	8
_7088:
	dd	0x0,0x40100000
	align	4
_7089:
	dd	0x3e800000
	align	8
_7090:
	dd	0x0,0x40100000
	align	4
_497:
	dd	_bbStringClass
	dd	2147483647
	dd	43
	dw	65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80
	dw	81,82,83,84,85,86,87,88,89,90,48,49,50,51,52,53
	dw	54,55,56,57,46,33,63,58,44,39,32
	align	4
_501:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	32
	align	4
_502:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	64
	align	4
_506:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	58
	align	4
_7130:
	dd	0x3e4ccccd
	align	8
_7143:
	dd	0xa0000000,0x3fc99999
	align	4
_7144:
	dd	0x0
	align	4
_7145:
	dd	0x3ecccccd
	align	4
_7146:
	dd	0x3f4ccccd
	align	4
_637:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	87,105,110,100,111,119,101,100,32,77,111,100,101
	align	8
_7167:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7168:
	dd	0xa0000000,0x3fb99999
	align	8
_7169:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7170:
	dd	0xa0000000,0x3fb99999
	align	4
_644:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	79,110,101,32,80,108,97,121,101,114
	align	4
_645:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	84,119,111,32,80,108,97,121,101,114
	align	4
_646:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	67,111,110,116,114,111,108,115
	align	4
_647:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	81,117,105,116
	align	8
_7171:
	dd	0x0,0xc062c000
	align	8
_7172:
	dd	0x0,0x40440000
	align	4
_648:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	83,117,112,101,114,32,78,101,107,111,32,87,111,114,108,100
	align	4
_652:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	70,117,108,108,115,99,114,101,101,110,32,77,111,100,101
	align	8
_7218:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7219:
	dd	0xa0000000,0x3fb99999
	align	8
_7220:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7221:
	dd	0xa0000000,0x3fb99999
	align	4
_659:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,108,97,121,101,114,32
	align	4
_660:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	75,101,121,98,111,97,114,100
	align	4
_661:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	74,111,121,115,116,105,99,107,32
	align	4
_662:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	76,101,102,116,46,46,46
	align	4
_663:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	82,105,103,104,116,46,46,46
	align	4
_664:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	85,112,46,46,46
	align	4
_665:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	68,111,119,110,46,46,46
	align	4
_666:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	74,117,109,112,46,46,46
	align	4
_667:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	70,105,114,101,46,46,46
	align	4
_668:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	69,120,105,116
	align	8
_7263:
	dd	0x0,0xc0690000
	align	8
_7264:
	dd	0x0,0x40490000
	align	4
_681:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	71,65,77,69,32,79,86,69,82
	align	8
_7265:
	dd	0x0,0xc0690000
	align	8
_7266:
	dd	0x0,0x40490000
	align	4
_682:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	69,78,68,32,79,70,32,68,69,77,79
	align	8
_7267:
	dd	0x0,0x40490000
	align	8
_7268:
	dd	0x0,0x40340000
	align	4
_683:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,108,97,121,101,114,32,49,46,46,46,46,46
	align	8
_7269:
	dd	0x0,0x405b8000
	align	8
_7270:
	dd	0x0,0x40340000
	align	4
_684:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,108,97,121,101,114,32,50,46,46,46,46,46
	align	4
_685:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	79,107
	align	4
_687:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,111,103,103
	align	4
_686:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	115,111,117,110,100,115,47
	align	4
_688:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,119,97,118
	align	4
_689:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	78,101,119,32,83,99,111,114,101
	align	8
_7309:
	dd	0x0,0xc0718000
	align	8
_7310:
	dd	0x0,0x40340000
	align	4
_690:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	65,108,108,32,84,105,109,101,32,72,105,103,104,32,83,99
	dw	111,114,101,115
	align	8
_7311:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7312:
	dd	0xa0000000,0x3fb99999
	align	4
_694:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	46,46,46,46,46,46,46,46
	align	4
_695:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	83,111,114,116,101,100
	align	4
_700:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	93,61
	align	4
_699:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	104,105,115,99,111,114,101,91
	align	4
_701:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	72,105,115,99,111,114,101,46,100,97,116
	align	4
_708:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	78,111,122,111,109,105
	align	8
_7332:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7333:
	dd	0xa0000000,0x3fb99999
	align	8
_7334:
	dd	0xc0000000,0x3ff4cccc
	align	8
_7335:
	dd	0xa0000000,0x3fb99999
	align	8
_7336:
	dd	0x0,0xc0690000
	align	8
_7337:
	dd	0x0,0x40340000
	align	4
_716:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	32,101,110,116,101,114,32,121,111,117,114,32,110,97,109,101
	align	4
_715:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	72,105,115,99,111,114,101,33,32,32
	align	4
_717:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	76,111,97,100,105,110,103,46,46,46
	align	4
_719:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	97,46,112,110,103
	align	4
_718:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	103,114,97,112,104,105,99,115,47,120,98,103
	align	4
_720:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	98,46,112,110,103
	align	4
_721:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	103,114,97,112,104,105,99,115,47,33,116,105,108,101,115,49
	dw	46,112,110,103
	align	4
_722:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	103,114,97,112,104,105,99,115,47,33,116,105,108,101,115,50
	dw	46,112,110,103
	align	4
_723:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	103,114,97,112,104,105,99,115,47,33,116,105,108,101,115,51
	dw	46,112,110,103
	align	8
_7373:
	dd	0x0,0xc0690000
	align	8
_7374:
	dd	0x0,0x40340000
	align	4
_7383:
	dd	0x3ba3d70a
