	format	MS COFF
	extrn	___bb_appstub_appstub
	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_d3d9max2d_d3d9max2d
	extrn	___bb_data_data
	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_map_map
	extrn	___bb_maxlua_maxlua
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_threads_threads
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	_bbATan2
	extrn	_bbAppTitle
	extrn	_bbArraySlice
	extrn	_bbCos
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbFloatAbs
	extrn	_bbFloatToInt
	extrn	_bbFloor
	extrn	_bbGCFree
	extrn	_bbGCMemAlloced
	extrn	_bbIntAbs
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbSin
	extrn	_bbStringClass
	extrn	_bbStringConcat
	extrn	_bbStringFromFloat
	extrn	_bbStringFromInt
	extrn	_brl_bank_CreateBank
	extrn	_brl_bank_PeekShort
	extrn	_brl_bank_PokeShort
	extrn	_brl_bank_ResizeBank
	extrn	_brl_blitz_ArrayBoundsError
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_blitz_RuntimeError
	extrn	_brl_filesystem_CloseFile
	extrn	_brl_filesystem_FileType
	extrn	_brl_filesystem_OpenFile
	extrn	_brl_filesystem_WriteFile
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_Graphics
	extrn	_brl_graphics_GraphicsModeExists
	extrn	_brl_linkedlist_CreateList
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawImage
	extrn	_brl_max2d_DrawRect
	extrn	_brl_max2d_DrawText
	extrn	_brl_max2d_LoadAnimImage
	extrn	_brl_max2d_LoadImage
	extrn	_brl_max2d_MidHandleImage
	extrn	_brl_max2d_SetAlpha
	extrn	_brl_max2d_SetBlend
	extrn	_brl_max2d_SetColor
	extrn	_brl_max2d_SetMaskColor
	extrn	_brl_max2d_TextHeight
	extrn	_brl_max2d_TextWidth
	extrn	_brl_polledinput_AppTerminate
	extrn	_brl_polledinput_FlushMouse
	extrn	_brl_polledinput_KeyHit
	extrn	_brl_polledinput_MouseDown
	extrn	_brl_polledinput_MouseHit
	extrn	_brl_polledinput_MouseX
	extrn	_brl_polledinput_MouseXSpeed
	extrn	_brl_polledinput_MouseY
	extrn	_brl_polledinput_MouseYSpeed
	extrn	_brl_polledinput_MouseZSpeed
	extrn	_brl_random_Rand
	extrn	_brl_random_SeedRnd
	extrn	_brl_stream_ReadShort
	extrn	_brl_stream_WriteShort
	extrn	_brl_system_Confirm
	extrn	_brl_system_HideMouse
	public	__bb_Tastar_CheckPathStepAdvance
	public	__bb_Tastar_Create
	public	__bb_Tastar_Delete
	public	__bb_Tastar_FindPath
	public	__bb_Tastar_New
	public	__bb_Tastar_ReadPath
	public	__bb_Tastar_ReadPathX
	public	__bb_Tastar_ReadPathY
	public	__bb_Tastar_onClosedlist
	public	__bb_Tgame_Create
	public	__bb_Tgame_Delete
	public	__bb_Tgame_DrawMaps
	public	__bb_Tgame_DrawTextinfos
	public	__bb_Tgame_MoveUnit
	public	__bb_Tgame_MoveUnits
	public	__bb_Tgame_New
	public	__bb_Tgame_RenderScreen
	public	__bb_Tgame_RunProgram
	public	__bb_Tgame_UpdatePath
	public	__bb_Tgame_UserInput
	public	__bb_Tgame_mapX
	public	__bb_Tgame_mapY
	public	__bb_Tgame_pickedX
	public	__bb_Tgame_pickedXTile
	public	__bb_Tgame_pickedY
	public	__bb_Tgame_pickedYTile
	public	__bb_Tgame_unitList
	public	__bb_Tnode_Delete
	public	__bb_Tnode_New
	public	__bb_Tunit_Delete
	public	__bb_Tunit_New
	public	__bb_main
	public	_bb_ClearAutoMap
	public	_bb_LoadMap
	public	_bb_MAPHEIGHT
	public	_bb_MAPWIDTH
	public	_bb_PixelX
	public	_bb_PixelY
	public	_bb_SaveMap
	public	_bb_TILESIZEH
	public	_bb_TILESIZEW
	public	_bb_Tastar
	public	_bb_Tgame
	public	_bb_TileIndex
	public	_bb_TileX
	public	_bb_TileY
	public	_bb_Tnode
	public	_bb_Tunit
	public	_bb_activeLayer
	public	_bb_autotilemap
	public	_bb_cccursorblink
	public	_bb_ccstring
	public	_bb_ccursorblinkrate
	public	_bb_isomapL1
	public	_bb_isomapL2
	public	_bb_pathmap
	public	_bb_pixX
	public	_bb_pixY
	public	_bb_tiletoselect
	public	_bb_tilewertmap
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	cmp	dword [_485],0
	je	_486
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_486:
	mov	dword [_485],1
	mov	dword [ebp-4],_bbNullObject
	push	ebp
	push	_451
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	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_d3d9max2d_d3d9max2d
	call	___bb_data_data
	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_map_map
	call	___bb_maxlua_maxlua
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_threads_threads
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	push	_bb_Tnode
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Tunit
	call	_bbObjectRegisterType
	add	esp,4
	push	_415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tastar
	call	_bbObjectRegisterType
	add	esp,4
	push	_417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_419
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_420
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tgame
	call	_bbObjectRegisterType
	add	esp,4
	push	_421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_67
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_425
	push	eax
	call	_bbGCFree
	add	esp,4
_425:
	mov	dword [_bbAppTitle],ebx
	push	_426
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_427
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_428]
	and	eax,1
	cmp	eax,0
	jne	_429
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [_bb_TILESIZEH],eax
	or	dword [_428],1
_429:
	push	_430
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_431
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_432
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_433
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_435
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_437
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_440
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_441
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_443
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbMilliSecs
	push	eax
	call	_brl_random_SeedRnd
	add	esp,4
	push	_445
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bb_Tgame+48]
	mov	dword [ebp-4],eax
	push	_447
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_449
	call	_brl_blitz_NullObjectError
_449:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_450
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	mov	ebx,0
	jmp	_294
_294:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tnode_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_488
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tnode
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+8]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+12]
	push	ebp
	push	_487
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_297
_297:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tnode_Delete:
	push	ebp
	mov	ebp,esp
_300:
	mov	eax,0
	jmp	_491
_491:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tunit_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_496
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tunit
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+12]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+16]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+20]
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+72],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+76],0
	push	ebp
	push	_495
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_303
_303:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tunit_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_306:
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_499
	push	eax
	call	_bbGCFree
	add	esp,4
_499:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_501
	push	eax
	call	_bbGCFree
	add	esp,4
_501:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_503
	push	eax
	call	_bbGCFree
	add	esp,4
_503:
	mov	eax,0
	jmp	_497
_497:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_515
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tastar
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],edx
	push	ebp
	push	_514
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_309
_309:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_312:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_518
	push	eax
	call	_bbGCFree
	add	esp,4
_518:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_520
	push	eax
	call	_bbGCFree
	add	esp,4
_520:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_522
	push	eax
	call	_bbGCFree
	add	esp,4
_522:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_524
	push	eax
	call	_bbGCFree
	add	esp,4
_524:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_526
	push	eax
	call	_bbGCFree
	add	esp,4
_526:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_528
	push	eax
	call	_bbGCFree
	add	esp,4
_528:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_530
	push	eax
	call	_bbGCFree
	add	esp,4
_530:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_532
	push	eax
	call	_bbGCFree
	add	esp,4
_532:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_534
	push	eax
	call	_bbGCFree
	add	esp,4
_534:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_536
	push	eax
	call	_bbGCFree
	add	esp,4
_536:
	mov	eax,0
	jmp	_516
_516:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	mov	eax,ebp
	push	eax
	push	_733
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_537
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tastar
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_541
	call	_brl_blitz_NullObjectError
_541:
	mov	eax,dword [ebp-4]
	mov	dword [ebx+8],eax
	push	_543
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_545
	call	_brl_blitz_NullObjectError
_545:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_549
	call	_brl_blitz_NullObjectError
_549:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+16],eax
	push	_551
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_553
	call	_brl_blitz_NullObjectError
_553:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_558
	push	eax
	call	_bbGCFree
	add	esp,4
_558:
	mov	dword [esi+20],ebx
	push	_559
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_561
	call	_brl_blitz_NullObjectError
_561:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_564
	call	_brl_blitz_NullObjectError
_564:
	mov	eax,dword [ebp-8]
	imul	eax,dword [ebp-12]
	add	eax,2
	push	eax
	push	0
	push	dword [ebx+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_568
	push	eax
	call	_bbGCFree
	add	esp,4
_568:
	mov	dword [esi+24],ebx
	push	_569
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	push	_571
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_573
	call	_brl_blitz_NullObjectError
_573:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_576
	call	_brl_blitz_NullObjectError
_576:
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+28]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_580
	push	eax
	call	_bbGCFree
	add	esp,4
_580:
	mov	dword [esi+28],ebx
	push	_581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-8]
	mov	dword [ebp-28],eax
	jmp	_582
_24:
	mov	eax,ebp
	push	eax
	push	_600
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_586
	call	_brl_blitz_NullObjectError
_586:
	mov	ebx,dword [ebx+28]
	mov	esi,dword [ebp-24]
	cmp	esi,dword [ebx+20]
	jb	_589
	call	_brl_blitz_ArrayBoundsError
_589:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_592
	call	_brl_blitz_NullObjectError
_592:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_595
	call	_brl_blitz_ArrayBoundsError
_595:
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+ebx*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_599
	push	eax
	call	_bbGCFree
	add	esp,4
_599:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_22:
	add	dword [ebp-24],1
_582:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-24],eax
	jle	_24
_23:
	push	_601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_603
	call	_brl_blitz_NullObjectError
_603:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_606
	call	_brl_blitz_NullObjectError
_606:
	mov	eax,dword [ebp-8]
	imul	eax,dword [ebp-12]
	add	eax,2
	push	eax
	push	0
	push	dword [ebx+32]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_610
	push	eax
	call	_bbGCFree
	add	esp,4
_610:
	mov	dword [esi+32],ebx
	push	_611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_613
	call	_brl_blitz_NullObjectError
_613:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_616
	call	_brl_blitz_NullObjectError
_616:
	mov	eax,dword [ebp-8]
	imul	eax,dword [ebp-12]
	add	eax,2
	push	eax
	push	0
	push	dword [ebx+36]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_620
	push	eax
	call	_bbGCFree
	add	esp,4
_620:
	mov	dword [esi+36],ebx
	push	_621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_623
	call	_brl_blitz_NullObjectError
_623:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_626
	call	_brl_blitz_NullObjectError
_626:
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+40]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_630
	push	eax
	call	_bbGCFree
	add	esp,4
_630:
	mov	dword [esi+40],ebx
	push	_631
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-8]
	mov	dword [ebp-32],eax
	jmp	_632
_27:
	mov	eax,ebp
	push	eax
	push	_650
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_634
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_636
	call	_brl_blitz_NullObjectError
_636:
	mov	ebx,dword [ebx+40]
	mov	esi,dword [ebp-24]
	cmp	esi,dword [ebx+20]
	jb	_639
	call	_brl_blitz_ArrayBoundsError
_639:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_642
	call	_brl_blitz_NullObjectError
_642:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_645
	call	_brl_blitz_ArrayBoundsError
_645:
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+ebx*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_649
	push	eax
	call	_bbGCFree
	add	esp,4
_649:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_25:
	add	dword [ebp-24],1
_632:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_27
_26:
	push	_651
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_653
	call	_brl_blitz_NullObjectError
_653:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_656
	call	_brl_blitz_NullObjectError
_656:
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+44]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_660
	push	eax
	call	_bbGCFree
	add	esp,4
_660:
	mov	dword [esi+44],ebx
	push	_661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-8]
	mov	dword [ebp-36],eax
	jmp	_662
_30:
	mov	eax,ebp
	push	eax
	push	_680
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_666
	call	_brl_blitz_NullObjectError
_666:
	mov	ebx,dword [ebx+44]
	mov	esi,dword [ebp-24]
	cmp	esi,dword [ebx+20]
	jb	_669
	call	_brl_blitz_ArrayBoundsError
_669:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_672
	call	_brl_blitz_NullObjectError
_672:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_675
	call	_brl_blitz_ArrayBoundsError
_675:
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+ebx*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_679
	push	eax
	call	_bbGCFree
	add	esp,4
_679:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_28:
	add	dword [ebp-24],1
_662:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-24],eax
	jle	_30
_29:
	push	_681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_683
	call	_brl_blitz_NullObjectError
_683:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_686
	call	_brl_blitz_NullObjectError
_686:
	mov	eax,dword [ebp-8]
	imul	eax,dword [ebp-12]
	add	eax,2
	push	eax
	push	0
	push	dword [ebx+48]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_690
	push	eax
	call	_bbGCFree
	add	esp,4
_690:
	mov	dword [esi+48],ebx
	push	_691
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_693
	call	_brl_blitz_NullObjectError
_693:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_696
	call	_brl_blitz_NullObjectError
_696:
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+52]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+52]
	dec	dword [eax+4]
	jnz	_700
	push	eax
	call	_bbGCFree
	add	esp,4
_700:
	mov	dword [esi+52],ebx
	push	_701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-8]
	mov	dword [ebp-40],eax
	jmp	_702
_33:
	mov	eax,ebp
	push	eax
	push	_720
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_704
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_706
	call	_brl_blitz_NullObjectError
_706:
	mov	ebx,dword [ebx+52]
	mov	esi,dword [ebp-24]
	cmp	esi,dword [ebx+20]
	jb	_709
	call	_brl_blitz_ArrayBoundsError
_709:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_712
	call	_brl_blitz_NullObjectError
_712:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_715
	call	_brl_blitz_ArrayBoundsError
_715:
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+ebx*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_719
	push	eax
	call	_bbGCFree
	add	esp,4
_719:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_31:
	add	dword [ebp-24],1
_702:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-24],eax
	jle	_33
_32:
	push	_721
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_723
	call	_brl_blitz_NullObjectError
_723:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_726
	call	_brl_blitz_NullObjectError
_726:
	mov	eax,dword [ebp-8]
	imul	eax,dword [ebp-12]
	add	eax,2
	push	eax
	push	0
	push	dword [ebx+56]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_730
	push	eax
	call	_bbGCFree
	add	esp,4
_730:
	mov	dword [esi+56],ebx
	push	_731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Tastar_onClosedlist],10
	push	_732
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	jmp	_318
_318:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_FindPath:
	push	ebp
	mov	ebp,esp
	sub	esp,196
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-56],0
	mov	dword [ebp-60],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],0
	mov	dword [ebp-64],0
	mov	dword [ebp-68],0
	mov	dword [ebp-72],0
	mov	dword [ebp-76],0
	mov	dword [ebp-80],0
	mov	dword [ebp-84],0
	mov	dword [ebp-88],0
	mov	dword [ebp-92],0
	mov	dword [ebp-96],0
	mov	dword [ebp-100],0
	mov	dword [ebp-52],0
	mov	dword [ebp-104],0
	mov	dword [ebp-108],0
	mov	dword [ebp-112],0
	mov	eax,ebp
	push	eax
	push	_1692
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_740
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_742
	call	_brl_blitz_NullObjectError
_742:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_744
	call	_brl_blitz_NullObjectError
_744:
	fld	dword [esi+12]
	mov	eax,dword [ebx+8]
	mov	dword [ebp+-196],eax
	fild	dword [ebp+-196]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-20],eax
	push	_746
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_748
	call	_brl_blitz_NullObjectError
_748:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_750
	call	_brl_blitz_NullObjectError
_750:
	fld	dword [esi+16]
	mov	eax,dword [ebx+8]
	mov	dword [ebp+-196],eax
	fild	dword [ebp+-196]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-24],eax
	push	_752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_754
	call	_brl_blitz_NullObjectError
_754:
	mov	eax,dword [ebp-12]
	cdq
	idiv	dword [ebx+8]
	mov	dword [ebp+-196],eax
	fild	dword [ebp+-196]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	push	_755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_757
	call	_brl_blitz_NullObjectError
_757:
	mov	eax,dword [ebp-16]
	cdq
	idiv	dword [ebx+8]
	mov	dword [ebp+-196],eax
	fild	dword [ebp+-196]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-16],eax
	push	_758
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_762
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	push	_765
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	cmp	eax,dword [ebp-12]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_766
	mov	eax,dword [ebp-24]
	cmp	eax,dword [ebp-16]
	sete	al
	movzx	eax,al
_766:
	cmp	eax,0
	je	_770
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_769
	call	_brl_blitz_NullObjectError
_769:
	mov	eax,dword [ebx+64]
	cmp	eax,0
	setg	al
	movzx	eax,al
_770:
	cmp	eax,0
	je	_772
	mov	eax,ebp
	push	eax
	push	_774
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_324
_772:
	push	_775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	cmp	eax,dword [ebp-12]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_776
	mov	eax,dword [ebp-24]
	cmp	eax,dword [ebp-16]
	sete	al
	movzx	eax,al
_776:
	cmp	eax,0
	je	_780
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_779
	call	_brl_blitz_NullObjectError
_779:
	mov	eax,dword [ebx+64]
	cmp	eax,0
	sete	al
	movzx	eax,al
_780:
	cmp	eax,0
	je	_782
	mov	eax,ebp
	push	eax
	push	_784
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_783
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	call	dword [_bbOnDebugLeaveScope]
	jmp	_324
_782:
	push	_785
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_787
	call	_brl_blitz_NullObjectError
_787:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_790
	call	_brl_blitz_ArrayBoundsError
_790:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+20]
	jb	_793
	call	_brl_blitz_ArrayBoundsError
_793:
	cmp	dword [esi+ebx*4+24],1
	jne	_794
	mov	eax,ebp
	push	eax
	push	_804
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_795
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_797
	call	_brl_blitz_NullObjectError
_797:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+72],eax
	push	_799
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_801
	call	_brl_blitz_NullObjectError
_801:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+76],eax
	push	_803
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	call	dword [_bbOnDebugLeaveScope]
	jmp	_324
_794:
	push	_805
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [__bb_Tastar_onClosedlist],100
	jle	_806
	mov	eax,ebp
	push	eax
	push	_833
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_807
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Tastar_onClosedlist],10
	push	_808
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-56],0
	mov	dword [ebp-56],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_811
	call	_brl_blitz_NullObjectError
_811:
	mov	eax,dword [ebx+16]
	sub	eax,1
	mov	dword [ebp-184],eax
	jmp	_812
_36:
	mov	eax,ebp
	push	eax
	push	_831
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_814
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],0
	mov	dword [ebp-60],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_817
	call	_brl_blitz_NullObjectError
_817:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	edi,eax
	jmp	_818
_39:
	mov	eax,ebp
	push	eax
	push	_830
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_820
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_822
	call	_brl_blitz_NullObjectError
_822:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-60]
	cmp	ebx,dword [esi+20]
	jb	_825
	call	_brl_blitz_ArrayBoundsError
_825:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-56]
	cmp	ebx,dword [esi+20]
	jb	_828
	call	_brl_blitz_ArrayBoundsError
_828:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	dword [eax+24],0
	call	dword [_bbOnDebugLeaveScope]
_37:
	add	dword [ebp-60],1
_818:
	cmp	dword [ebp-60],edi
	jle	_39
_38:
	call	dword [_bbOnDebugLeaveScope]
_34:
	add	dword [ebp-56],1
_812:
	mov	eax,dword [ebp-184]
	cmp	dword [ebp-56],eax
	jle	_36
_35:
	call	dword [_bbOnDebugLeaveScope]
_806:
	push	_834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [__bb_Tastar_onClosedlist],2
	push	_835
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [__bb_Tastar_onClosedlist]
	sub	eax,1
	mov	dword [ebp-44],eax
	push	_837
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_839
	call	_brl_blitz_NullObjectError
_839:
	mov	dword [ebx+60],0
	push	_841
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_843
	call	_brl_blitz_NullObjectError
_843:
	mov	dword [ebx+64],0
	push	_845
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_847
	call	_brl_blitz_NullObjectError
_847:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_850
	call	_brl_blitz_ArrayBoundsError
_850:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_853
	call	_brl_blitz_ArrayBoundsError
_853:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],0
	push	_855
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],1
	push	_857
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_859
	call	_brl_blitz_NullObjectError
_859:
	mov	esi,dword [ebx+24]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_862
	call	_brl_blitz_ArrayBoundsError
_862:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],1
	push	_864
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_866
	call	_brl_blitz_NullObjectError
_866:
	mov	esi,dword [ebx+32]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_869
	call	_brl_blitz_ArrayBoundsError
_869:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-20]
	mov	dword [esi+24],eax
	push	_871
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_873
	call	_brl_blitz_NullObjectError
_873:
	mov	esi,dword [ebx+36]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_876
	call	_brl_blitz_ArrayBoundsError
_876:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-24]
	mov	dword [esi+24],eax
	push	_878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_42:
_40:
	mov	eax,ebp
	push	eax
	push	_1602
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-48],0
	je	_880
	mov	eax,ebp
	push	eax
	push	_1581
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_881
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_883
	call	_brl_blitz_NullObjectError
_883:
	mov	edi,dword [ebx+32]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_886
	call	_brl_blitz_NullObjectError
_886:
	mov	esi,dword [ebx+24]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_889
	call	_brl_blitz_ArrayBoundsError
_889:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_891
	call	_brl_blitz_ArrayBoundsError
_891:
	mov	eax,dword [edi+ebx*4+24]
	mov	dword [ebp-64],eax
	push	_893
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_895
	call	_brl_blitz_NullObjectError
_895:
	mov	edi,dword [ebx+36]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_898
	call	_brl_blitz_NullObjectError
_898:
	mov	esi,dword [ebx+24]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_901
	call	_brl_blitz_ArrayBoundsError
_901:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_903
	call	_brl_blitz_ArrayBoundsError
_903:
	mov	eax,dword [edi+ebx*4+24]
	mov	dword [ebp-68],eax
	push	_905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_907
	call	_brl_blitz_NullObjectError
_907:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_910
	call	_brl_blitz_ArrayBoundsError
_910:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_913
	call	_brl_blitz_ArrayBoundsError
_913:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [__bb_Tastar_onClosedlist]
	mov	dword [esi+24],eax
	push	_915
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	sub	dword [ebp-48],1
	push	_916
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_918
	call	_brl_blitz_NullObjectError
_918:
	mov	ebx,dword [ebx+24]
	mov	esi,1
	cmp	esi,dword [ebx+20]
	jb	_921
	call	_brl_blitz_ArrayBoundsError
_921:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_924
	call	_brl_blitz_NullObjectError
_924:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-48]
	add	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_927
	call	_brl_blitz_ArrayBoundsError
_927:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [edi+24],eax
	push	_928
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-72],1
	push	_930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_45:
_43:
	mov	eax,ebp
	push	eax
	push	_1044
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-72]
	mov	dword [ebp-76],eax
	push	_933
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-76]
	shl	eax,1
	add	eax,1
	cmp	eax,dword [ebp-48]
	jg	_934
	mov	eax,ebp
	push	eax
	push	_983
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_935
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_937
	call	_brl_blitz_NullObjectError
_937:
	mov	eax,dword [ebx+48]
	mov	dword [ebp-172],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_940
	call	_brl_blitz_NullObjectError
_940:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-76]
	cmp	ebx,dword [esi+20]
	jb	_943
	call	_brl_blitz_ArrayBoundsError
_943:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-168],eax
	mov	eax,dword [ebp-172]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-168],eax
	jb	_945
	call	_brl_blitz_ArrayBoundsError
_945:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_947
	call	_brl_blitz_NullObjectError
_947:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_950
	call	_brl_blitz_NullObjectError
_950:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-76]
	shl	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_953
	call	_brl_blitz_ArrayBoundsError
_953:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_955
	call	_brl_blitz_ArrayBoundsError
_955:
	mov	ecx,dword [edi+ebx*4+24]
	mov	edx,dword [ebp-168]
	mov	eax,dword [ebp-172]
	cmp	dword [eax+edx*4+24],ecx
	jl	_956
	mov	eax,ebp
	push	eax
	push	_958
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_957
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-76]
	shl	eax,1
	mov	dword [ebp-72],eax
	call	dword [_bbOnDebugLeaveScope]
_956:
	push	_959
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_961
	call	_brl_blitz_NullObjectError
_961:
	mov	eax,dword [ebx+48]
	mov	dword [ebp-176],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_964
	call	_brl_blitz_NullObjectError
_964:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-72]
	cmp	ebx,dword [esi+20]
	jb	_967
	call	_brl_blitz_ArrayBoundsError
_967:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-164],eax
	mov	eax,dword [ebp-176]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-164],eax
	jb	_969
	call	_brl_blitz_ArrayBoundsError
_969:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_971
	call	_brl_blitz_NullObjectError
_971:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_974
	call	_brl_blitz_NullObjectError
_974:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-76]
	shl	eax,1
	add	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_977
	call	_brl_blitz_ArrayBoundsError
_977:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_979
	call	_brl_blitz_ArrayBoundsError
_979:
	mov	ecx,dword [edi+ebx*4+24]
	mov	edx,dword [ebp-164]
	mov	eax,dword [ebp-176]
	cmp	dword [eax+edx*4+24],ecx
	jl	_980
	mov	eax,ebp
	push	eax
	push	_982
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_981
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-76]
	shl	eax,1
	add	eax,1
	mov	dword [ebp-72],eax
	call	dword [_bbOnDebugLeaveScope]
_980:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_984
_934:
	mov	eax,ebp
	push	eax
	push	_1012
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-76]
	shl	eax,1
	cmp	eax,dword [ebp-48]
	jg	_986
	mov	eax,ebp
	push	eax
	push	_1011
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_987
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_989
	call	_brl_blitz_NullObjectError
_989:
	mov	eax,dword [ebx+48]
	mov	dword [ebp-180],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_992
	call	_brl_blitz_NullObjectError
_992:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-76]
	cmp	ebx,dword [esi+20]
	jb	_995
	call	_brl_blitz_ArrayBoundsError
_995:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-160],eax
	mov	eax,dword [ebp-180]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-160],eax
	jb	_997
	call	_brl_blitz_ArrayBoundsError
_997:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_999
	call	_brl_blitz_NullObjectError
_999:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1002
	call	_brl_blitz_NullObjectError
_1002:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-76]
	shl	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_1005
	call	_brl_blitz_ArrayBoundsError
_1005:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1007
	call	_brl_blitz_ArrayBoundsError
_1007:
	mov	ecx,dword [edi+ebx*4+24]
	mov	edx,dword [ebp-160]
	mov	eax,dword [ebp-180]
	cmp	dword [eax+edx*4+24],ecx
	jl	_1008
	mov	eax,ebp
	push	eax
	push	_1010
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1009
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-76]
	shl	eax,1
	mov	dword [ebp-72],eax
	call	dword [_bbOnDebugLeaveScope]
_1008:
	call	dword [_bbOnDebugLeaveScope]
_986:
	call	dword [_bbOnDebugLeaveScope]
_984:
	push	_1013
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-72]
	cmp	dword [ebp-76],eax
	je	_1014
	mov	eax,ebp
	push	eax
	push	_1040
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1015
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1017
	call	_brl_blitz_NullObjectError
_1017:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-76]
	cmp	ebx,dword [esi+20]
	jb	_1020
	call	_brl_blitz_ArrayBoundsError
_1020:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-40],eax
	push	_1021
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1023
	call	_brl_blitz_NullObjectError
_1023:
	mov	ebx,dword [ebx+24]
	mov	esi,dword [ebp-76]
	cmp	esi,dword [ebx+20]
	jb	_1026
	call	_brl_blitz_ArrayBoundsError
_1026:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1029
	call	_brl_blitz_NullObjectError
_1029:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-72]
	cmp	ebx,dword [esi+20]
	jb	_1032
	call	_brl_blitz_ArrayBoundsError
_1032:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [edi+24],eax
	push	_1033
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1035
	call	_brl_blitz_NullObjectError
_1035:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-72]
	cmp	ebx,dword [esi+20]
	jb	_1038
	call	_brl_blitz_ArrayBoundsError
_1038:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-40]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1041
_1014:
	mov	eax,ebp
	push	eax
	push	_1043
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1042
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_44
_1041:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_45
_44:
	push	_1046
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-80],0
	mov	eax,dword [ebp-68]
	sub	eax,1
	mov	dword [ebp-80],eax
	mov	eax,dword [ebp-68]
	add	eax,1
	mov	dword [ebp-192],eax
	jmp	_1048
_48:
	mov	eax,ebp
	push	eax
	push	_1579
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1050
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-84],0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	dword [ebp-84],eax
	mov	eax,dword [ebp-64]
	add	eax,1
	mov	dword [ebp-188],eax
	jmp	_1052
_51:
	mov	eax,ebp
	push	eax
	push	_1577
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1054
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-84]
	cmp	eax,-1
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_1055
	mov	eax,dword [ebp-80]
	cmp	eax,-1
	setne	al
	movzx	eax,al
_1055:
	cmp	eax,0
	je	_1059
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1058
	call	_brl_blitz_NullObjectError
_1058:
	mov	eax,dword [ebp-84]
	cmp	eax,dword [ebx+12]
	setne	al
	movzx	eax,al
_1059:
	cmp	eax,0
	je	_1063
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1062
	call	_brl_blitz_NullObjectError
_1062:
	mov	eax,dword [ebp-80]
	cmp	eax,dword [ebx+16]
	setne	al
	movzx	eax,al
_1063:
	cmp	eax,0
	je	_1065
	mov	eax,ebp
	push	eax
	push	_1576
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1066
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1068
	call	_brl_blitz_NullObjectError
_1068:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1071
	call	_brl_blitz_ArrayBoundsError
_1071:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1074
	call	_brl_blitz_ArrayBoundsError
_1074:
	mov	eax,dword [__bb_Tastar_onClosedlist]
	cmp	dword [esi+ebx*4+24],eax
	je	_1075
	mov	eax,ebp
	push	eax
	push	_1575
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1076
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1078
	call	_brl_blitz_NullObjectError
_1078:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1081
	call	_brl_blitz_ArrayBoundsError
_1081:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1084
	call	_brl_blitz_ArrayBoundsError
_1084:
	cmp	dword [esi+ebx*4+24],1
	je	_1085
	mov	eax,ebp
	push	eax
	push	_1573
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1086
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],0
	push	_1088
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-64]
	sub	eax,1
	cmp	dword [ebp-84],eax
	jne	_1089
	mov	eax,ebp
	push	eax
	push	_1142
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1090
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-68]
	sub	eax,1
	cmp	dword [ebp-80],eax
	jne	_1091
	mov	eax,ebp
	push	eax
	push	_1114
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1092
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1094
	call	_brl_blitz_NullObjectError
_1094:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1097
	call	_brl_blitz_ArrayBoundsError
_1097:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1100
	call	_brl_blitz_ArrayBoundsError
_1100:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_1109
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1102
	call	_brl_blitz_NullObjectError
_1102:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1105
	call	_brl_blitz_ArrayBoundsError
_1105:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1108
	call	_brl_blitz_ArrayBoundsError
_1108:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
_1109:
	cmp	eax,0
	je	_1111
	mov	eax,ebp
	push	eax
	push	_1113
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1112
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],1
	call	dword [_bbOnDebugLeaveScope]
_1111:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1115
_1091:
	mov	eax,ebp
	push	eax
	push	_1141
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1116
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-68]
	add	eax,1
	cmp	dword [ebp-80],eax
	jne	_1117
	mov	eax,ebp
	push	eax
	push	_1140
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1118
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1120
	call	_brl_blitz_NullObjectError
_1120:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1123
	call	_brl_blitz_ArrayBoundsError
_1123:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1126
	call	_brl_blitz_ArrayBoundsError
_1126:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_1135
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1128
	call	_brl_blitz_NullObjectError
_1128:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1131
	call	_brl_blitz_ArrayBoundsError
_1131:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1134
	call	_brl_blitz_ArrayBoundsError
_1134:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
_1135:
	cmp	eax,0
	je	_1137
	mov	eax,ebp
	push	eax
	push	_1139
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1138
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],1
	call	dword [_bbOnDebugLeaveScope]
_1137:
	call	dword [_bbOnDebugLeaveScope]
_1117:
	call	dword [_bbOnDebugLeaveScope]
_1115:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1143
_1089:
	mov	eax,ebp
	push	eax
	push	_1199
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1144
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-64]
	add	eax,1
	cmp	dword [ebp-84],eax
	jne	_1145
	mov	eax,ebp
	push	eax
	push	_1198
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1146
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-68]
	sub	eax,1
	cmp	dword [ebp-80],eax
	jne	_1147
	mov	eax,ebp
	push	eax
	push	_1170
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1150
	call	_brl_blitz_NullObjectError
_1150:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1153
	call	_brl_blitz_ArrayBoundsError
_1153:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1156
	call	_brl_blitz_ArrayBoundsError
_1156:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_1165
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1158
	call	_brl_blitz_NullObjectError
_1158:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1161
	call	_brl_blitz_ArrayBoundsError
_1161:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1164
	call	_brl_blitz_ArrayBoundsError
_1164:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
_1165:
	cmp	eax,0
	je	_1167
	mov	eax,ebp
	push	eax
	push	_1169
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1168
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],1
	call	dword [_bbOnDebugLeaveScope]
_1167:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1171
_1147:
	mov	eax,ebp
	push	eax
	push	_1197
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1172
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-68]
	add	eax,1
	cmp	dword [ebp-80],eax
	jne	_1173
	mov	eax,ebp
	push	eax
	push	_1196
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1174
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1176
	call	_brl_blitz_NullObjectError
_1176:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1179
	call	_brl_blitz_ArrayBoundsError
_1179:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1182
	call	_brl_blitz_ArrayBoundsError
_1182:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_1191
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1184
	call	_brl_blitz_NullObjectError
_1184:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1187
	call	_brl_blitz_ArrayBoundsError
_1187:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1190
	call	_brl_blitz_ArrayBoundsError
_1190:
	mov	eax,dword [esi+ebx*4+24]
	cmp	eax,1
	sete	al
	movzx	eax,al
_1191:
	cmp	eax,0
	je	_1193
	mov	eax,ebp
	push	eax
	push	_1195
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1194
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],1
	call	dword [_bbOnDebugLeaveScope]
_1193:
	call	dword [_bbOnDebugLeaveScope]
_1173:
	call	dword [_bbOnDebugLeaveScope]
_1171:
	call	dword [_bbOnDebugLeaveScope]
_1145:
	call	dword [_bbOnDebugLeaveScope]
_1143:
	push	_1200
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-88],0
	jne	_1201
	mov	eax,ebp
	push	eax
	push	_1571
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1202
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-92],0
	push	_1204
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1206
	call	_brl_blitz_NullObjectError
_1206:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1209
	call	_brl_blitz_ArrayBoundsError
_1209:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1212
	call	_brl_blitz_ArrayBoundsError
_1212:
	mov	eax,dword [ebp-44]
	cmp	dword [esi+ebx*4+24],eax
	je	_1213
	mov	eax,ebp
	push	eax
	push	_1391
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1214
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-28],1
	push	_1215
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-48]
	add	eax,1
	mov	dword [ebp-92],eax
	push	_1216
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1218
	call	_brl_blitz_NullObjectError
_1218:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1221
	call	_brl_blitz_ArrayBoundsError
_1221:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-28]
	mov	dword [esi+24],eax
	push	_1223
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1225
	call	_brl_blitz_NullObjectError
_1225:
	mov	esi,dword [ebx+32]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_1228
	call	_brl_blitz_ArrayBoundsError
_1228:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-84]
	mov	dword [esi+24],eax
	push	_1230
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1232
	call	_brl_blitz_NullObjectError
_1232:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_1235
	call	_brl_blitz_ArrayBoundsError
_1235:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-80]
	mov	dword [esi+24],eax
	push	_1237
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-84]
	sub	eax,dword [ebp-64]
	push	eax
	call	_bbIntAbs
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_1238
	mov	eax,dword [ebp-80]
	sub	eax,dword [ebp-68]
	push	eax
	call	_bbIntAbs
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
_1238:
	cmp	eax,0
	je	_1240
	mov	eax,ebp
	push	eax
	push	_1242
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],14
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1243
_1240:
	mov	eax,ebp
	push	eax
	push	_1245
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1244
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],10
	call	dword [_bbOnDebugLeaveScope]
_1243:
	push	_1246
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1248
	call	_brl_blitz_NullObjectError
_1248:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1251
	call	_brl_blitz_ArrayBoundsError
_1251:
	mov	ebx,dword [esi+ebx*4+24]
	mov	esi,dword [ebp-80]
	cmp	esi,dword [ebx+20]
	jb	_1254
	call	_brl_blitz_ArrayBoundsError
_1254:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1257
	call	_brl_blitz_NullObjectError
_1257:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1260
	call	_brl_blitz_ArrayBoundsError
_1260:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1263
	call	_brl_blitz_ArrayBoundsError
_1263:
	mov	eax,dword [esi+ebx*4+24]
	add	eax,dword [ebp-32]
	mov	dword [edi+24],eax
	push	_1264
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1266
	call	_brl_blitz_NullObjectError
_1266:
	mov	edi,dword [ebx+56]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1269
	call	_brl_blitz_NullObjectError
_1269:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1272
	call	_brl_blitz_ArrayBoundsError
_1272:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1274
	call	_brl_blitz_ArrayBoundsError
_1274:
	mov	eax,edi
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	eax,dword [ebp-84]
	sub	eax,dword [ebp-12]
	push	eax
	call	_bbIntAbs
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-80]
	sub	eax,dword [ebp-16]
	push	eax
	call	_bbIntAbs
	add	esp,4
	add	ebx,eax
	imul	ebx,10
	mov	dword [esi+24],ebx
	push	_1276
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1278
	call	_brl_blitz_NullObjectError
_1278:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1281
	call	_brl_blitz_NullObjectError
_1281:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1284
	call	_brl_blitz_ArrayBoundsError
_1284:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1286
	call	_brl_blitz_ArrayBoundsError
_1286:
	mov	eax,edi
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-156],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1289
	call	_brl_blitz_NullObjectError
_1289:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1292
	call	_brl_blitz_ArrayBoundsError
_1292:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-140],eax
	mov	eax,dword [ebp-80]
	mov	dword [ebp-144],eax
	mov	eax,dword [ebp-140]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-144],eax
	jb	_1295
	call	_brl_blitz_ArrayBoundsError
_1295:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1297
	call	_brl_blitz_NullObjectError
_1297:
	mov	edi,dword [ebx+56]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1300
	call	_brl_blitz_NullObjectError
_1300:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1303
	call	_brl_blitz_ArrayBoundsError
_1303:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1305
	call	_brl_blitz_ArrayBoundsError
_1305:
	mov	edx,dword [ebp-140]
	mov	eax,dword [ebp-144]
	mov	edx,dword [edx+eax*4+24]
	add	edx,dword [edi+ebx*4+24]
	mov	eax,dword [ebp-156]
	mov	dword [eax+24],edx
	push	_1306
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1308
	call	_brl_blitz_NullObjectError
_1308:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1311
	call	_brl_blitz_ArrayBoundsError
_1311:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1314
	call	_brl_blitz_ArrayBoundsError
_1314:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-64]
	mov	dword [esi+24],eax
	push	_1316
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1318
	call	_brl_blitz_NullObjectError
_1318:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1321
	call	_brl_blitz_ArrayBoundsError
_1321:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1324
	call	_brl_blitz_ArrayBoundsError
_1324:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-68]
	mov	dword [esi+24],eax
	push	_1326
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_52
_54:
	mov	eax,ebp
	push	eax
	push	_1379
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1329
	call	_brl_blitz_NullObjectError
_1329:
	mov	eax,dword [ebx+48]
	mov	dword [ebp-124],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1332
	call	_brl_blitz_NullObjectError
_1332:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1335
	call	_brl_blitz_ArrayBoundsError
_1335:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-116],eax
	mov	eax,dword [ebp-124]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-116],eax
	jb	_1337
	call	_brl_blitz_ArrayBoundsError
_1337:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1339
	call	_brl_blitz_NullObjectError
_1339:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1342
	call	_brl_blitz_NullObjectError
_1342:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_1345
	call	_brl_blitz_ArrayBoundsError
_1345:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1347
	call	_brl_blitz_ArrayBoundsError
_1347:
	mov	ecx,dword [edi+ebx*4+24]
	mov	edx,dword [ebp-116]
	mov	eax,dword [ebp-124]
	cmp	dword [eax+edx*4+24],ecx
	jg	_1348
	mov	eax,ebp
	push	eax
	push	_1375
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1349
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1351
	call	_brl_blitz_NullObjectError
_1351:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,1
	add	ebx,eax
	sar	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1354
	call	_brl_blitz_ArrayBoundsError
_1354:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-40],eax
	push	_1355
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1357
	call	_brl_blitz_NullObjectError
_1357:
	mov	ebx,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	mov	esi,eax
	mov	eax,edx
	and	eax,1
	add	esi,eax
	sar	esi,1
	cmp	esi,dword [ebx+20]
	jb	_1360
	call	_brl_blitz_ArrayBoundsError
_1360:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1363
	call	_brl_blitz_NullObjectError
_1363:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1366
	call	_brl_blitz_ArrayBoundsError
_1366:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [edi+24],eax
	push	_1367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1369
	call	_brl_blitz_NullObjectError
_1369:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1372
	call	_brl_blitz_ArrayBoundsError
_1372:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-40]
	mov	dword [esi+24],eax
	push	_1374
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-92]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-92],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1376
_1348:
	mov	eax,ebp
	push	eax
	push	_1378
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1377
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_53
_1376:
	call	dword [_bbOnDebugLeaveScope]
_52:
	cmp	dword [ebp-92],1
	jne	_54
_53:
	push	_1380
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-48],1
	push	_1381
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1383
	call	_brl_blitz_NullObjectError
_1383:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1386
	call	_brl_blitz_ArrayBoundsError
_1386:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1389
	call	_brl_blitz_ArrayBoundsError
_1389:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-44]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1392
_1213:
	mov	eax,ebp
	push	eax
	push	_1569
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-84]
	sub	eax,dword [ebp-64]
	push	eax
	call	_bbIntAbs
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_1394
	mov	eax,dword [ebp-80]
	sub	eax,dword [ebp-68]
	push	eax
	call	_bbIntAbs
	add	esp,4
	cmp	eax,1
	sete	al
	movzx	eax,al
_1394:
	cmp	eax,0
	je	_1396
	mov	eax,ebp
	push	eax
	push	_1398
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1397
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],14
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1399
_1396:
	mov	eax,ebp
	push	eax
	push	_1401
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1400
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],10
	call	dword [_bbOnDebugLeaveScope]
_1399:
	push	_1402
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1404
	call	_brl_blitz_NullObjectError
_1404:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+20]
	jb	_1407
	call	_brl_blitz_ArrayBoundsError
_1407:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-68]
	cmp	ebx,dword [esi+20]
	jb	_1410
	call	_brl_blitz_ArrayBoundsError
_1410:
	mov	eax,dword [esi+ebx*4+24]
	add	eax,dword [ebp-32]
	mov	dword [ebp-96],eax
	push	_1412
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1414
	call	_brl_blitz_NullObjectError
_1414:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1417
	call	_brl_blitz_ArrayBoundsError
_1417:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1420
	call	_brl_blitz_ArrayBoundsError
_1420:
	mov	eax,dword [esi+ebx*4+24]
	cmp	dword [ebp-96],eax
	jge	_1421
	mov	eax,ebp
	push	eax
	push	_1568
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1424
	call	_brl_blitz_NullObjectError
_1424:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1427
	call	_brl_blitz_ArrayBoundsError
_1427:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1430
	call	_brl_blitz_ArrayBoundsError
_1430:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-64]
	mov	dword [esi+24],eax
	push	_1432
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1434
	call	_brl_blitz_NullObjectError
_1434:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1437
	call	_brl_blitz_ArrayBoundsError
_1437:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1440
	call	_brl_blitz_ArrayBoundsError
_1440:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-68]
	mov	dword [esi+24],eax
	push	_1442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1444
	call	_brl_blitz_NullObjectError
_1444:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1447
	call	_brl_blitz_ArrayBoundsError
_1447:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-80]
	cmp	ebx,dword [esi+20]
	jb	_1450
	call	_brl_blitz_ArrayBoundsError
_1450:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-96]
	mov	dword [esi+24],eax
	push	_1452
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-100],0
	mov	dword [ebp-100],1
	mov	eax,dword [ebp-48]
	mov	dword [ebp-132],eax
	jmp	_1454
_57:
	mov	eax,ebp
	push	eax
	push	_1567
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1456
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1458
	call	_brl_blitz_NullObjectError
_1458:
	mov	edi,dword [ebx+32]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1461
	call	_brl_blitz_NullObjectError
_1461:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-100]
	cmp	ebx,dword [esi+20]
	jb	_1464
	call	_brl_blitz_ArrayBoundsError
_1464:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1466
	call	_brl_blitz_ArrayBoundsError
_1466:
	mov	eax,dword [edi+ebx*4+24]
	cmp	eax,dword [ebp-84]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_1477
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1468
	call	_brl_blitz_NullObjectError
_1468:
	mov	edi,dword [ebx+36]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1471
	call	_brl_blitz_NullObjectError
_1471:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-100]
	cmp	ebx,dword [esi+20]
	jb	_1474
	call	_brl_blitz_ArrayBoundsError
_1474:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1476
	call	_brl_blitz_ArrayBoundsError
_1476:
	mov	eax,dword [edi+ebx*4+24]
	cmp	eax,dword [ebp-80]
	sete	al
	movzx	eax,al
_1477:
	cmp	eax,0
	je	_1479
	mov	eax,ebp
	push	eax
	push	_1566
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1482
	call	_brl_blitz_NullObjectError
_1482:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1485
	call	_brl_blitz_NullObjectError
_1485:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-100]
	cmp	ebx,dword [esi+20]
	jb	_1488
	call	_brl_blitz_ArrayBoundsError
_1488:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1490
	call	_brl_blitz_ArrayBoundsError
_1490:
	mov	eax,edi
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-152],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1493
	call	_brl_blitz_NullObjectError
_1493:
	mov	esi,dword [ebx+52]
	mov	ebx,dword [ebp-84]
	cmp	ebx,dword [esi+20]
	jb	_1496
	call	_brl_blitz_ArrayBoundsError
_1496:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-136],eax
	mov	eax,dword [ebp-80]
	mov	dword [ebp-148],eax
	mov	eax,dword [ebp-136]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-148],eax
	jb	_1499
	call	_brl_blitz_ArrayBoundsError
_1499:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1501
	call	_brl_blitz_NullObjectError
_1501:
	mov	edi,dword [ebx+56]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1504
	call	_brl_blitz_NullObjectError
_1504:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-100]
	cmp	ebx,dword [esi+20]
	jb	_1507
	call	_brl_blitz_ArrayBoundsError
_1507:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1509
	call	_brl_blitz_ArrayBoundsError
_1509:
	mov	edx,dword [ebp-136]
	mov	eax,dword [ebp-148]
	mov	edx,dword [edx+eax*4+24]
	add	edx,dword [edi+ebx*4+24]
	mov	eax,dword [ebp-152]
	mov	dword [eax+24],edx
	push	_1510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-100]
	mov	dword [ebp-92],eax
	push	_1511
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_58
_60:
	mov	eax,ebp
	push	eax
	push	_1564
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1512
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1514
	call	_brl_blitz_NullObjectError
_1514:
	mov	eax,dword [ebx+48]
	mov	dword [ebp-128],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1517
	call	_brl_blitz_NullObjectError
_1517:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1520
	call	_brl_blitz_ArrayBoundsError
_1520:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-120],eax
	mov	eax,dword [ebp-128]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-120],eax
	jb	_1522
	call	_brl_blitz_ArrayBoundsError
_1522:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1524
	call	_brl_blitz_NullObjectError
_1524:
	mov	edi,dword [ebx+48]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1527
	call	_brl_blitz_NullObjectError
_1527:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_1530
	call	_brl_blitz_ArrayBoundsError
_1530:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_1532
	call	_brl_blitz_ArrayBoundsError
_1532:
	mov	ecx,dword [edi+ebx*4+24]
	mov	edx,dword [ebp-120]
	mov	eax,dword [ebp-128]
	cmp	dword [eax+edx*4+24],ecx
	jge	_1533
	mov	eax,ebp
	push	eax
	push	_1560
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1534
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1536
	call	_brl_blitz_NullObjectError
_1536:
	mov	esi,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,1
	add	ebx,eax
	sar	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1539
	call	_brl_blitz_ArrayBoundsError
_1539:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-40],eax
	push	_1540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1542
	call	_brl_blitz_NullObjectError
_1542:
	mov	ebx,dword [ebx+24]
	mov	eax,dword [ebp-92]
	cdq
	mov	esi,eax
	mov	eax,edx
	and	eax,1
	add	esi,eax
	sar	esi,1
	cmp	esi,dword [ebx+20]
	jb	_1545
	call	_brl_blitz_ArrayBoundsError
_1545:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1548
	call	_brl_blitz_NullObjectError
_1548:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1551
	call	_brl_blitz_ArrayBoundsError
_1551:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [edi+24],eax
	push	_1552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1554
	call	_brl_blitz_NullObjectError
_1554:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-92]
	cmp	ebx,dword [esi+20]
	jb	_1557
	call	_brl_blitz_ArrayBoundsError
_1557:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-40]
	mov	dword [esi+24],eax
	push	_1559
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-92]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-92],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1561
_1533:
	mov	eax,ebp
	push	eax
	push	_1563
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_59
_1561:
	call	dword [_bbOnDebugLeaveScope]
_58:
	cmp	dword [ebp-92],1
	jne	_60
_59:
	push	_1565
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_56
_1479:
	call	dword [_bbOnDebugLeaveScope]
_55:
	add	dword [ebp-100],1
_1454:
	mov	eax,dword [ebp-132]
	cmp	dword [ebp-100],eax
	jle	_57
_56:
	call	dword [_bbOnDebugLeaveScope]
_1421:
	call	dword [_bbOnDebugLeaveScope]
_1392:
	call	dword [_bbOnDebugLeaveScope]
_1201:
	call	dword [_bbOnDebugLeaveScope]
_1085:
	call	dword [_bbOnDebugLeaveScope]
_1075:
	call	dword [_bbOnDebugLeaveScope]
_1065:
	call	dword [_bbOnDebugLeaveScope]
_49:
	add	dword [ebp-84],1
_1052:
	mov	eax,dword [ebp-188]
	cmp	dword [ebp-84],eax
	jle	_51
_50:
	call	dword [_bbOnDebugLeaveScope]
_46:
	add	dword [ebp-80],1
_1048:
	mov	eax,dword [ebp-192]
	cmp	dword [ebp-80],eax
	jle	_48
_47:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1585
_880:
	mov	eax,ebp
	push	eax
	push	_1588
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],2
	push	_1587
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_41
_1585:
	push	_1589
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1591
	call	_brl_blitz_NullObjectError
_1591:
	mov	esi,dword [ebx+28]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_1594
	call	_brl_blitz_ArrayBoundsError
_1594:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+20]
	jb	_1597
	call	_brl_blitz_ArrayBoundsError
_1597:
	mov	eax,dword [ebp-44]
	cmp	dword [esi+ebx*4+24],eax
	jne	_1598
	mov	eax,ebp
	push	eax
	push	_1601
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1599
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],1
	push	_1600
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_41
_1598:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_42
_41:
	push	_1603
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	push	_1605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-36],1
	jne	_1606
	mov	eax,ebp
	push	eax
	push	_1687
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1607
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	mov	dword [ebp-104],eax
	push	_1609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-108],eax
	push	_1611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_63:
	mov	eax,ebp
	push	eax
	push	_1637
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1612
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1614
	call	_brl_blitz_NullObjectError
_1614:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-104]
	cmp	ebx,dword [esi+20]
	jb	_1617
	call	_brl_blitz_ArrayBoundsError
_1617:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-108]
	cmp	ebx,dword [esi+20]
	jb	_1620
	call	_brl_blitz_ArrayBoundsError
_1620:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-52],eax
	push	_1621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1623
	call	_brl_blitz_NullObjectError
_1623:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-104]
	cmp	ebx,dword [esi+20]
	jb	_1626
	call	_brl_blitz_ArrayBoundsError
_1626:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-108]
	cmp	ebx,dword [esi+20]
	jb	_1629
	call	_brl_blitz_ArrayBoundsError
_1629:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-108],eax
	push	_1630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-52]
	mov	dword [ebp-104],eax
	push	_1631
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1633
	call	_brl_blitz_NullObjectError
_1633:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1636
	call	_brl_blitz_NullObjectError
_1636:
	mov	eax,dword [esi+60]
	add	eax,1
	mov	dword [ebx+60],eax
	call	dword [_bbOnDebugLeaveScope]
_61:
	mov	eax,dword [ebp-104]
	cmp	eax,dword [ebp-20]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_1638
	mov	eax,dword [ebp-108]
	cmp	eax,dword [ebp-24]
	sete	al
	movzx	eax,al
_1638:
	cmp	eax,0
	je	_63
_62:
	push	_1640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1642
	call	_brl_blitz_NullObjectError
_1642:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1644
	call	_brl_blitz_NullObjectError
_1644:
	mov	eax,dword [esi+60]
	add	eax,1
	shl	eax,2
	push	eax
	push	dword [ebx+68]
	call	_brl_bank_ResizeBank
	add	esp,8
	push	_1645
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	mov	dword [ebp-104],eax
	push	_1646
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-108],eax
	push	_1647
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1649
	call	_brl_blitz_NullObjectError
_1649:
	mov	eax,dword [ebx+60]
	shl	eax,2
	mov	dword [ebp-112],eax
	push	_1651
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_64
_66:
	mov	eax,ebp
	push	eax
	push	_1680
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1654
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1656
	call	_brl_blitz_NullObjectError
_1656:
	push	dword [ebp-104]
	push	dword [ebp-112]
	push	dword [ebx+68]
	call	_brl_bank_PokeShort
	add	esp,12
	push	_1657
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1659
	call	_brl_blitz_NullObjectError
_1659:
	push	dword [ebp-108]
	mov	eax,dword [ebp-112]
	add	eax,2
	push	eax
	push	dword [ebx+68]
	call	_brl_bank_PokeShort
	add	esp,12
	push	_1660
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	sub	dword [ebp-112],4
	push	_1661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1663
	call	_brl_blitz_NullObjectError
_1663:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-104]
	cmp	ebx,dword [esi+20]
	jb	_1666
	call	_brl_blitz_ArrayBoundsError
_1666:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-108]
	cmp	ebx,dword [esi+20]
	jb	_1669
	call	_brl_blitz_ArrayBoundsError
_1669:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-52],eax
	push	_1670
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1672
	call	_brl_blitz_NullObjectError
_1672:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-104]
	cmp	ebx,dword [esi+20]
	jb	_1675
	call	_brl_blitz_ArrayBoundsError
_1675:
	mov	esi,dword [esi+ebx*4+24]
	mov	ebx,dword [ebp-108]
	cmp	ebx,dword [esi+20]
	jb	_1678
	call	_brl_blitz_ArrayBoundsError
_1678:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-108],eax
	push	_1679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-52]
	mov	dword [ebp-104],eax
	call	dword [_bbOnDebugLeaveScope]
_64:
	mov	eax,dword [ebp-104]
	cmp	eax,dword [ebp-20]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_1652
	mov	eax,dword [ebp-108]
	cmp	eax,dword [ebp-24]
	sete	al
	movzx	eax,al
_1652:
	cmp	eax,0
	je	_66
_65:
	push	_1681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1683
	call	_brl_blitz_NullObjectError
_1683:
	push	dword [ebp-20]
	push	0
	push	dword [ebx+68]
	call	_brl_bank_PokeShort
	add	esp,12
	push	_1684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1686
	call	_brl_blitz_NullObjectError
_1686:
	push	dword [ebp-24]
	push	2
	push	dword [ebx+68]
	call	_brl_bank_PokeShort
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_1606:
	push	_1691
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	jmp	_324
_324:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_ReadPath:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1714
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1702
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1704
	call	_brl_blitz_NullObjectError
_1704:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1707
	call	_brl_blitz_NullObjectError
_1707:
	push	dword [esi+64]
	push	dword [ebp-4]
	call	dword [_bb_Tastar+60]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+72],eax
	push	_1708
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1710
	call	_brl_blitz_NullObjectError
_1710:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1713
	call	_brl_blitz_NullObjectError
_1713:
	push	dword [esi+64]
	push	dword [ebp-4]
	call	dword [_bb_Tastar+64]
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+76],eax
	mov	ebx,0
	jmp	_327
_327:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_ReadPathX:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	push	ebp
	push	_1725
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1715
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1717
	call	_brl_blitz_NullObjectError
_1717:
	mov	eax,dword [ebx+60]
	cmp	dword [ebp-8],eax
	jg	_1718
	push	ebp
	push	_1724
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1719
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1721
	call	_brl_blitz_NullObjectError
_1721:
	mov	eax,dword [ebp-8]
	shl	eax,2
	push	eax
	push	dword [ebx+68]
	call	_brl_bank_PeekShort
	add	esp,8
	mov	dword [ebp-12],eax
	push	_1723
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	imul	eax,36
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fadd	dword [_3810]
	fstp	dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_331
_1718:
	fld	dword [_3811]
	fstp	dword [ebp-16]
	jmp	_331
_331:
	call	dword [_bbOnDebugLeaveScope]
	fld	dword [ebp-16]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_ReadPathY:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	push	ebp
	push	_1736
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1726
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1728
	call	_brl_blitz_NullObjectError
_1728:
	mov	eax,dword [ebx+60]
	cmp	dword [ebp-8],eax
	jg	_1729
	push	ebp
	push	_1735
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1732
	call	_brl_blitz_NullObjectError
_1732:
	mov	eax,dword [ebp-8]
	shl	eax,2
	add	eax,2
	push	eax
	push	dword [ebx+68]
	call	_brl_bank_PeekShort
	add	esp,8
	mov	dword [ebp-12],eax
	push	_1734
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	imul	eax,36
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fadd	dword [_3818]
	fstp	dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_335
_1729:
	fld	dword [_3819]
	fstp	dword [ebp-16]
	jmp	_335
_335:
	call	dword [_bbOnDebugLeaveScope]
	fld	dword [ebp-16]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tastar_CheckPathStepAdvance:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_1774
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1737
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1739
	call	_brl_blitz_NullObjectError
_1739:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1741
	call	_brl_blitz_NullObjectError
_1741:
	fld	dword [esi+12]
	mov	eax,dword [ebx+72]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_1746
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1743
	call	_brl_blitz_NullObjectError
_1743:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1745
	call	_brl_blitz_NullObjectError
_1745:
	fld	dword [esi+16]
	mov	eax,dword [ebx+76]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_1746:
	cmp	eax,0
	jne	_1750
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1749
	call	_brl_blitz_NullObjectError
_1749:
	mov	eax,dword [ebx+64]
	cmp	eax,0
	sete	al
	movzx	eax,al
_1750:
	cmp	eax,0
	je	_1752
	push	ebp
	push	_1773
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1755
	call	_brl_blitz_NullObjectError
_1755:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1757
	call	_brl_blitz_NullObjectError
_1757:
	mov	eax,dword [esi+60]
	cmp	dword [ebx+64],eax
	jne	_1758
	push	ebp
	push	_1763
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1759
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1761
	call	_brl_blitz_NullObjectError
_1761:
	mov	dword [ebx+56],0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1764
_1758:
	push	ebp
	push	_1772
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1765
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1767
	call	_brl_blitz_NullObjectError
_1767:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_1770
	call	_brl_blitz_NullObjectError
_1770:
	mov	eax,dword [esi+64]
	add	eax,1
	mov	dword [ebx+64],eax
	push	_1771
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_1764:
	call	dword [_bbOnDebugLeaveScope]
_1752:
	mov	ebx,0
	jmp	_339
_339:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1786
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tgame
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],0
	push	ebp
	push	_1785
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_342
_342:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_345:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_1790
	push	eax
	call	_bbGCFree
	add	esp,4
_1790:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_1792
	push	eax
	call	_bbGCFree
	add	esp,4
_1792:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_1794
	push	eax
	call	_bbGCFree
	add	esp,4
_1794:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_1796
	push	eax
	call	_bbGCFree
	add	esp,4
_1796:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_1798
	push	eax
	call	_bbGCFree
	add	esp,4
_1798:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1800
	push	eax
	call	_bbGCFree
	add	esp,4
_1800:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_1802
	push	eax
	call	_bbGCFree
	add	esp,4
_1802:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_1804
	push	eax
	call	_bbGCFree
	add	esp,4
_1804:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_1806
	push	eax
	call	_bbGCFree
	add	esp,4
_1806:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_1808
	push	eax
	call	_bbGCFree
	add	esp,4
_1808:
	mov	eax,0
	jmp	_1788
_1788:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-4],_bbNullObject
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	eax,ebp
	push	eax
	push	_2232
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1809
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tgame
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	push	_1811
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	768
	push	1024
	call	_brl_graphics_GraphicsModeExists
	add	esp,16
	cmp	eax,0
	jne	_1812
	mov	eax,ebp
	push	eax
	push	_1814
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1813
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_68
	call	_brl_blitz_RuntimeError
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_1812:
	push	_1815
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	60
	push	0
	push	768
	push	1024
	call	_brl_graphics_Graphics
	add	esp,20
	push	_1816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetMaskColor
	add	esp,12
	push	_1817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_system_HideMouse
	push	_1818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1820
	call	_brl_blitz_NullObjectError
_1820:
	push	1
	push	_69
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1825
	push	eax
	call	_bbGCFree
	add	esp,4
_1825:
	mov	dword [esi+8],ebx
	push	_1826
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1828
	call	_brl_blitz_NullObjectError
_1828:
	push	1
	push	_70
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1833
	push	eax
	call	_bbGCFree
	add	esp,4
_1833:
	mov	dword [esi+12],ebx
	push	_1834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1836
	call	_brl_blitz_NullObjectError
_1836:
	push	-1
	push	_71
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_1841
	push	eax
	call	_bbGCFree
	add	esp,4
_1841:
	mov	dword [esi+16],ebx
	push	_1842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1844
	call	_brl_blitz_NullObjectError
_1844:
	push	-1
	push	_72
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_1849
	push	eax
	call	_bbGCFree
	add	esp,4
_1849:
	mov	dword [esi+20],ebx
	push	_1850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1852
	call	_brl_blitz_NullObjectError
_1852:
	push	-1
	push	60
	push	0
	push	72
	push	72
	push	_73
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1857
	push	eax
	call	_bbGCFree
	add	esp,4
_1857:
	mov	dword [esi+24],ebx
	push	_1858
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1860
	call	_brl_blitz_NullObjectError
_1860:
	push	dword [ebx+24]
	call	_brl_max2d_MidHandleImage
	add	esp,4
	push	_1861
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1863
	call	_brl_blitz_NullObjectError
_1863:
	push	-1
	push	60
	push	0
	push	72
	push	72
	push	_74
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_1868
	push	eax
	call	_bbGCFree
	add	esp,4
_1868:
	mov	dword [esi+28],ebx
	push	_1869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1871
	call	_brl_blitz_NullObjectError
_1871:
	push	-1
	push	288
	push	0
	push	108
	push	108
	push	_75
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_1876
	push	eax
	call	_bbGCFree
	add	esp,4
_1876:
	mov	dword [esi+32],ebx
	push	_1877
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1879
	call	_brl_blitz_NullObjectError
_1879:
	push	1
	push	_76
	call	_brl_max2d_LoadImage
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_1884
	push	eax
	call	_bbGCFree
	add	esp,4
_1884:
	mov	dword [esi+36],ebx
	push	_1885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1887
	call	_brl_blitz_NullObjectError
_1887:
	push	dword [ebx+28]
	call	_brl_max2d_MidHandleImage
	add	esp,4
	push	_1888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	_1889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],_bbNullObject
	push	_1891
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	add	eax,1
	push	eax
	push	0
	push	dword [_bb_pathmap]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_pathmap]
	dec	dword [eax+4]
	jnz	_1895
	push	eax
	call	_bbGCFree
	add	esp,4
_1895:
	mov	dword [_bb_pathmap],ebx
	push	_1896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	mov	edi,eax
	jmp	_1898
_79:
	mov	eax,ebp
	push	eax
	push	_1910
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_1902
	call	_brl_blitz_ArrayBoundsError
_1902:
	mov	eax,dword [_bb_pathmap]
	shl	ebx,2
	add	eax,ebx
	mov	ebx,eax
	mov	esi,dword [ebp-12]
	mov	eax,dword [_bb_pathmap]
	cmp	esi,dword [eax+20]
	jb	_1905
	call	_brl_blitz_ArrayBoundsError
_1905:
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	push	eax
	push	0
	mov	eax,dword [_bb_pathmap]
	push	dword [eax+esi*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1909
	push	eax
	call	_bbGCFree
	add	esp,4
_1909:
	mov	dword [ebx+24],esi
	call	dword [_bbOnDebugLeaveScope]
_77:
	add	dword [ebp-12],1
_1898:
	cmp	dword [ebp-12],edi
	jle	_79
_78:
	push	_1911
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_MAPWIDTH]
	add	eax,1
	push	eax
	push	0
	push	dword [_bb_isomapL1]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_isomapL1]
	dec	dword [eax+4]
	jnz	_1915
	push	eax
	call	_bbGCFree
	add	esp,4
_1915:
	mov	dword [_bb_isomapL1],ebx
	push	_1916
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	mov	dword [ebp-16],0
	mov	edi,dword [_bb_MAPWIDTH]
	jmp	_1918
_82:
	mov	eax,ebp
	push	eax
	push	_1930
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1920
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_1922
	call	_brl_blitz_ArrayBoundsError
_1922:
	mov	eax,dword [_bb_isomapL1]
	shl	ebx,2
	add	eax,ebx
	mov	ebx,eax
	mov	esi,dword [ebp-16]
	mov	eax,dword [_bb_isomapL1]
	cmp	esi,dword [eax+20]
	jb	_1925
	call	_brl_blitz_ArrayBoundsError
_1925:
	push	dword [_bb_MAPHEIGHT]
	push	0
	mov	eax,dword [_bb_isomapL1]
	push	dword [eax+esi*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1929
	push	eax
	call	_bbGCFree
	add	esp,4
_1929:
	mov	dword [ebx+24],esi
	call	dword [_bbOnDebugLeaveScope]
_80:
	add	dword [ebp-16],1
_1918:
	cmp	dword [ebp-16],edi
	jle	_82
_81:
	push	_1931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_MAPWIDTH]
	add	eax,1
	push	eax
	push	0
	push	dword [_bb_isomapL2]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_isomapL2]
	dec	dword [eax+4]
	jnz	_1935
	push	eax
	call	_bbGCFree
	add	esp,4
_1935:
	mov	dword [_bb_isomapL2],ebx
	push	_1936
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	edi,dword [_bb_MAPWIDTH]
	jmp	_1938
_85:
	mov	eax,ebp
	push	eax
	push	_1950
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1940
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_1942
	call	_brl_blitz_ArrayBoundsError
_1942:
	mov	eax,dword [_bb_isomapL2]
	shl	ebx,2
	add	eax,ebx
	mov	ebx,eax
	mov	esi,dword [ebp-20]
	mov	eax,dword [_bb_isomapL2]
	cmp	esi,dword [eax+20]
	jb	_1945
	call	_brl_blitz_ArrayBoundsError
_1945:
	push	dword [_bb_MAPHEIGHT]
	push	0
	mov	eax,dword [_bb_isomapL2]
	push	dword [eax+esi*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1949
	push	eax
	call	_bbGCFree
	add	esp,4
_1949:
	mov	dword [ebx+24],esi
	call	dword [_bbOnDebugLeaveScope]
_83:
	add	dword [ebp-20],1
_1938:
	cmp	dword [ebp-20],edi
	jle	_85
_84:
	push	_1951
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_MAPWIDTH]
	add	eax,1
	push	eax
	push	0
	push	dword [_bb_autotilemap]
	push	_247
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_autotilemap]
	dec	dword [eax+4]
	jnz	_1955
	push	eax
	call	_bbGCFree
	add	esp,4
_1955:
	mov	dword [_bb_autotilemap],ebx
	push	_1956
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-24],0
	mov	edi,dword [_bb_MAPWIDTH]
	jmp	_1958
_88:
	mov	eax,ebp
	push	eax
	push	_1970
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1960
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_1962
	call	_brl_blitz_ArrayBoundsError
_1962:
	mov	eax,dword [_bb_autotilemap]
	shl	ebx,2
	add	eax,ebx
	mov	ebx,eax
	mov	esi,dword [ebp-24]
	mov	eax,dword [_bb_autotilemap]
	cmp	esi,dword [eax+20]
	jb	_1965
	call	_brl_blitz_ArrayBoundsError
_1965:
	push	dword [_bb_MAPHEIGHT]
	push	0
	mov	eax,dword [_bb_autotilemap]
	push	dword [eax+esi*4+24]
	push	_218
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1969
	push	eax
	call	_bbGCFree
	add	esp,4
_1969:
	mov	dword [ebx+24],esi
	call	dword [_bbOnDebugLeaveScope]
_86:
	add	dword [ebp-24],1
_1958:
	cmp	dword [ebp-24],edi
	jle	_88
_87:
	push	_1971
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	256
	push	0
	push	dword [_bb_tilewertmap]
	push	_218
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_tilewertmap]
	dec	dword [eax+4]
	jnz	_1975
	push	eax
	call	_bbGCFree
	add	esp,4
_1975:
	mov	dword [_bb_tilewertmap],ebx
	push	_1976
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	jmp	_1978
_91:
	mov	eax,ebp
	push	eax
	push	_2066
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1979
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-28]
	cmp	eax,11
	je	_1982
	cmp	eax,15
	je	_1982
	cmp	eax,22
	je	_1983
	cmp	eax,23
	je	_1983
	cmp	eax,150
	je	_1983
	cmp	eax,151
	je	_1983
	cmp	eax,31
	je	_1984
	cmp	eax,63
	je	_1984
	cmp	eax,159
	je	_1984
	cmp	eax,253
	je	_1984
	cmp	eax,30
	je	_1984
	cmp	eax,43
	je	_1985
	cmp	eax,104
	je	_1986
	cmp	eax,105
	je	_1986
	cmp	eax,110
	je	_1986
	cmp	eax,232
	je	_1986
	cmp	eax,107
	je	_1987
	cmp	eax,111
	je	_1987
	cmp	eax,235
	je	_1987
	cmp	eax,127
	je	_1988
	cmp	eax,208
	je	_1989
	cmp	eax,212
	je	_1989
	cmp	eax,240
	je	_1989
	cmp	eax,214
	je	_1990
	cmp	eax,215
	je	_1990
	cmp	eax,246
	je	_1990
	cmp	eax,223
	je	_1991
	cmp	eax,248
	je	_1992
	cmp	eax,249
	je	_1992
	cmp	eax,216
	je	_1992
	cmp	eax,252
	je	_1992
	cmp	eax,251
	je	_1993
	cmp	eax,254
	je	_1994
	cmp	eax,255
	je	_1995
	cmp	eax,247
	je	_1995
	jmp	_1981
_1982:
	mov	eax,ebp
	push	eax
	push	_2000
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1996
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_1998
	call	_brl_blitz_ArrayBoundsError
_1998:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],105
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1983:
	mov	eax,ebp
	push	eax
	push	_2005
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2001
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2003
	call	_brl_blitz_ArrayBoundsError
_2003:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],87
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1984:
	mov	eax,ebp
	push	eax
	push	_2010
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2006
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2008
	call	_brl_blitz_ArrayBoundsError
_2008:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],86
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1985:
	mov	eax,ebp
	push	eax
	push	_2015
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2013
	call	_brl_blitz_ArrayBoundsError
_2013:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],84
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1986:
	mov	eax,ebp
	push	eax
	push	_2020
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2016
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2018
	call	_brl_blitz_ArrayBoundsError
_2018:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],90
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1987:
	mov	eax,ebp
	push	eax
	push	_2025
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2021
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2023
	call	_brl_blitz_ArrayBoundsError
_2023:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],89
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1988:
	mov	eax,ebp
	push	eax
	push	_2030
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2026
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2028
	call	_brl_blitz_ArrayBoundsError
_2028:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],92
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1989:
	mov	eax,ebp
	push	eax
	push	_2035
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2031
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2033
	call	_brl_blitz_ArrayBoundsError
_2033:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],81
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1990:
	mov	eax,ebp
	push	eax
	push	_2040
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2038
	call	_brl_blitz_ArrayBoundsError
_2038:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],79
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1991:
	mov	eax,ebp
	push	eax
	push	_2045
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2041
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2043
	call	_brl_blitz_ArrayBoundsError
_2043:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],93
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1992:
	mov	eax,ebp
	push	eax
	push	_2050
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2046
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2048
	call	_brl_blitz_ArrayBoundsError
_2048:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],82
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1993:
	mov	eax,ebp
	push	eax
	push	_2055
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2051
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2053
	call	_brl_blitz_ArrayBoundsError
_2053:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],95
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1994:
	mov	eax,ebp
	push	eax
	push	_2060
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2058
	call	_brl_blitz_ArrayBoundsError
_2058:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],94
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1995:
	mov	eax,ebp
	push	eax
	push	_2065
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2061
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2063
	call	_brl_blitz_ArrayBoundsError
_2063:
	mov	eax,dword [_bb_tilewertmap]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],72
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1981
_1981:
	call	dword [_bbOnDebugLeaveScope]
_89:
	add	dword [ebp-28],1
_1978:
	cmp	dword [ebp-28],255
	jle	_91
_90:
	push	_2068
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_2070
_94:
	mov	eax,ebp
	push	eax
	push	_2091
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2072
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	dword [ebp-36],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	edi,eax
	jmp	_2074
_97:
	mov	eax,ebp
	push	eax
	push	_2090
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2076
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_2078
	call	_brl_blitz_ArrayBoundsError
_2078:
	mov	eax,dword [_bb_isomapL1]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-36]
	cmp	ebx,dword [esi+20]
	jb	_2081
	call	_brl_blitz_ArrayBoundsError
_2081:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	4
	push	0
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebx+24],eax
	push	_2083
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_2085
	call	_brl_blitz_ArrayBoundsError
_2085:
	mov	eax,dword [_bb_isomapL2]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-36]
	cmp	ebx,dword [esi+20]
	jb	_2088
	call	_brl_blitz_ArrayBoundsError
_2088:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	dword [eax+24],286
	call	dword [_bbOnDebugLeaveScope]
_95:
	add	dword [ebp-36],1
_2074:
	cmp	dword [ebp-36],edi
	jle	_97
_96:
	call	dword [_bbOnDebugLeaveScope]
_92:
	add	dword [ebp-32],1
_2070:
	mov	eax,dword [ebp-44]
	cmp	dword [ebp-32],eax
	jle	_94
_93:
	push	_2092
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2094
	call	_brl_blitz_NullObjectError
_2094:
	push	dword [_bb_pathmap]
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	push	eax
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	push	eax
	push	36
	call	dword [_bb_Tastar+48]
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_2099
	push	eax
	call	_bbGCFree
	add	esp,4
_2099:
	mov	dword [esi+56],ebx
	push	_2100
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	mov	dword [ebp-40],1
	jmp	_2102
_100:
	mov	eax,ebp
	push	eax
	push	_2230
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2103
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2105
	call	_brl_blitz_NullObjectError
_2105:
	push	_bb_Tunit
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+52]
	dec	dword [eax+4]
	jnz	_2110
	push	eax
	call	_bbGCFree
	add	esp,4
_2110:
	mov	dword [esi+52],ebx
	push	_2111
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2113
	call	_brl_blitz_NullObjectError
_2113:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2115
	call	_brl_blitz_NullObjectError
_2115:
	mov	eax,dword [ebp-40]
	mov	dword [ebx+8],eax
	push	_2117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [__bb_Tgame_unitList]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_2118
	mov	eax,ebp
	push	eax
	push	_2124
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_linkedlist_CreateList
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [__bb_Tgame_unitList]
	dec	dword [eax+4]
	jnz	_2123
	push	eax
	call	_bbGCFree
	add	esp,4
_2123:
	mov	dword [__bb_Tgame_unitList],ebx
	call	dword [_bbOnDebugLeaveScope]
_2118:
	push	_2125
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2127
	call	_brl_blitz_NullObjectError
_2127:
	mov	esi,dword [ebx+52]
	cmp	esi,_bbNullObject
	jne	_2129
	call	_brl_blitz_NullObjectError
_2129:
	push	1
	call	_brl_bank_CreateBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+68]
	dec	dword [eax+4]
	jnz	_2134
	push	eax
	call	_bbGCFree
	add	esp,4
_2134:
	mov	dword [esi+68],ebx
	push	_2135
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [__bb_Tgame_unitList]
	cmp	esi,_bbNullObject
	jne	_2137
	call	_brl_blitz_NullObjectError
_2137:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2139
	call	_brl_blitz_NullObjectError
_2139:
	push	dword [ebx+52]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	push	_2140
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-40],1
	jne	_2141
	mov	eax,ebp
	push	eax
	push	_2181
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2142
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2144
	call	_brl_blitz_NullObjectError
_2144:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2146
	call	_brl_blitz_NullObjectError
_2146:
	fld	dword [_3846]
	fstp	dword [ebx+12]
	push	_2148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2150
	call	_brl_blitz_NullObjectError
_2150:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2152
	call	_brl_blitz_NullObjectError
_2152:
	fld	dword [_3847]
	fstp	dword [ebx+16]
	push	_2154
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2156
	call	_brl_blitz_NullObjectError
_2156:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2158
	call	_brl_blitz_NullObjectError
_2158:
	fld	dword [_3848]
	fstp	dword [ebx+20]
	push	_2160
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2162
	call	_brl_blitz_NullObjectError
_2162:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2164
	call	_brl_blitz_NullObjectError
_2164:
	mov	dword [ebx+52],1
	push	_2166
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2168
	call	_brl_blitz_NullObjectError
_2168:
	mov	esi,dword [ebx+52]
	cmp	esi,_bbNullObject
	jne	_2170
	call	_brl_blitz_NullObjectError
_2170:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2173
	call	_brl_blitz_NullObjectError
_2173:
	mov	ebx,dword [ebx+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_2177
	push	eax
	call	_bbGCFree
	add	esp,4
_2177:
	mov	dword [esi+24],ebx
	push	_2178
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2180
	call	_brl_blitz_NullObjectError
_2180:
	mov	eax,dword [ebx+52]
	mov	dword [ebp-8],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2182
_2141:
	mov	eax,ebp
	push	eax
	push	_2229
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2185
	call	_brl_blitz_NullObjectError
_2185:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2187
	call	_brl_blitz_NullObjectError
_2187:
	fld	dword [_3849]
	fstp	dword [ebx+12]
	push	_2189
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2191
	call	_brl_blitz_NullObjectError
_2191:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2193
	call	_brl_blitz_NullObjectError
_2193:
	fld	dword [_3850]
	fstp	dword [ebx+16]
	push	_2195
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2197
	call	_brl_blitz_NullObjectError
_2197:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2199
	call	_brl_blitz_NullObjectError
_2199:
	fld	dword [_3851]
	fstp	dword [ebx+20]
	push	_2201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2203
	call	_brl_blitz_NullObjectError
_2203:
	mov	esi,dword [ebx+52]
	cmp	esi,_bbNullObject
	jne	_2205
	call	_brl_blitz_NullObjectError
_2205:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_2210
	push	eax
	call	_bbGCFree
	add	esp,4
_2210:
	mov	dword [esi+36],ebx
	push	_2211
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2213
	call	_brl_blitz_NullObjectError
_2213:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2215
	call	_brl_blitz_NullObjectError
_2215:
	mov	dword [ebx+52],2
	push	_2217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2219
	call	_brl_blitz_NullObjectError
_2219:
	mov	esi,dword [ebx+52]
	cmp	esi,_bbNullObject
	jne	_2221
	call	_brl_blitz_NullObjectError
_2221:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2224
	call	_brl_blitz_NullObjectError
_2224:
	mov	ebx,dword [ebx+28]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_2228
	push	eax
	call	_bbGCFree
	add	esp,4
_2228:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_2182:
	call	dword [_bbOnDebugLeaveScope]
_98:
	add	dword [ebp-40],1
_2102:
	cmp	dword [ebp-40],10
	jle	_100
_99:
	push	_2231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	jmp	_347
_347:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_RunProgram:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2248
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2235
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_101
_103:
	push	ebp
	push	_2247
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2238
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2240
	call	_brl_blitz_NullObjectError
_2240:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2243
	call	_brl_blitz_NullObjectError
_2243:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,4
	push	_2244
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2246
	call	_brl_blitz_NullObjectError
_2246:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_101:
	push	27
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2236
	call	_brl_polledinput_AppTerminate
	cmp	eax,0
	sete	al
	movzx	eax,al
_2236:
	cmp	eax,0
	jne	_103
_102:
	mov	ebx,0
	jmp	_350
_350:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_UserInput:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	mov	eax,ebp
	push	eax
	push	_2525
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2249
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2251
	call	_brl_blitz_NullObjectError
_2251:
	cmp	dword [ebx+48],0
	jne	_2252
	mov	eax,ebp
	push	eax
	push	_2489
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2253
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	49
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,1
	jne	_2254
	mov	eax,ebp
	push	eax
	push	_2259
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2255
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_activeLayer],2
	jne	_2256
	mov	eax,ebp
	push	eax
	push	_2258
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2257
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [_bb_activeLayer],1
	call	dword [_bbOnDebugLeaveScope]
_2256:
	call	dword [_bbOnDebugLeaveScope]
_2254:
	push	_2260
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	50
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,1
	jne	_2261
	mov	eax,ebp
	push	eax
	push	_2266
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_activeLayer],1
	jne	_2263
	mov	eax,ebp
	push	eax
	push	_2265
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2264
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [_bb_activeLayer],2
	call	dword [_bbOnDebugLeaveScope]
_2263:
	call	dword [_bbOnDebugLeaveScope]
_2261:
	push	_2267
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	112
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,1
	jne	_2268
	mov	eax,ebp
	push	eax
	push	_2270
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2269
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_105
	push	_104
	call	_bb_SaveMap
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2268:
	push	_2271
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	113
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,1
	jne	_2272
	mov	eax,ebp
	push	eax
	push	_2274
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2273
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_105
	push	_104
	call	_bb_LoadMap
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2272:
	push	_2275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	jne	_2276
	mov	eax,ebp
	push	eax
	push	_2285
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2277
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2279
	call	_brl_blitz_NullObjectError
_2279:
	mov	dword [ebx+40],0
	push	_2281
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2283
	call	_brl_blitz_NullObjectError
_2283:
	mov	dword [ebx+44],0
	call	dword [_bbOnDebugLeaveScope]
_2276:
	push	_2286
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_2287
	mov	eax,ebp
	push	eax
	push	_2456
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [__bb_Tgame_pickedX]
	cmp	eax,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_2289
	mov	eax,dword [__bb_Tgame_pickedY]
	cmp	eax,0
	setge	al
	movzx	eax,al
_2289:
	cmp	eax,0
	je	_2291
	mov	edx,dword [__bb_Tgame_pickedX]
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	sub	eax,1
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2291:
	cmp	eax,0
	je	_2293
	mov	edx,dword [__bb_Tgame_pickedY]
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	sub	eax,1
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2293:
	cmp	eax,0
	je	_2295
	mov	eax,ebp
	push	eax
	push	_2455
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_activeLayer]
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2299
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2298
	call	_brl_blitz_NullObjectError
_2298:
	mov	eax,dword [ebx+68]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2299:
	cmp	eax,0
	je	_2301
	mov	eax,ebp
	push	eax
	push	_2309
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2302
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_2304
	call	_brl_blitz_ArrayBoundsError
_2304:
	mov	eax,dword [_bb_isomapL1]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	cmp	ebx,dword [esi+20]
	jb	_2307
	call	_brl_blitz_ArrayBoundsError
_2307:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [_bb_tiletoselect]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_2301:
	push	_2310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_activeLayer]
	cmp	eax,2
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2313
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2312
	call	_brl_blitz_NullObjectError
_2312:
	mov	eax,dword [ebx+68]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2313:
	cmp	eax,0
	je	_2315
	mov	eax,ebp
	push	eax
	push	_2323
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2316
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_2318
	call	_brl_blitz_ArrayBoundsError
_2318:
	mov	eax,dword [_bb_isomapL2]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	cmp	ebx,dword [esi+20]
	jb	_2321
	call	_brl_blitz_ArrayBoundsError
_2321:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [_bb_tiletoselect]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_2315:
	push	_2324
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_tiletoselect]
	cmp	eax,72
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2327
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2326
	call	_brl_blitz_NullObjectError
_2326:
	mov	eax,dword [ebx+68]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2327:
	cmp	eax,0
	je	_2329
	mov	eax,ebp
	push	eax
	push	_2433
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2330
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [__bb_Tgame_pickedXTile]
	cmp	eax,1
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_2331
	mov	eax,dword [__bb_Tgame_pickedYTile]
	cmp	eax,1
	setge	al
	movzx	eax,al
_2331:
	cmp	eax,0
	je	_2333
	mov	edx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2333:
	cmp	eax,0
	je	_2335
	mov	edx,dword [__bb_Tgame_pickedYTile]
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2335:
	cmp	eax,0
	je	_2337
	mov	eax,ebp
	push	eax
	push	_2432
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2338
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2340
	call	_brl_blitz_ArrayBoundsError
_2340:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	cmp	ebx,dword [esi+20]
	jb	_2343
	call	_brl_blitz_ArrayBoundsError
_2343:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],15
	push	_2345
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2347
	call	_brl_blitz_ArrayBoundsError
_2347:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	cmp	ebx,dword [esi+20]
	jb	_2350
	call	_brl_blitz_ArrayBoundsError
_2350:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],13
	push	_2352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2354
	call	_brl_blitz_ArrayBoundsError
_2354:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	cmp	ebx,dword [esi+20]
	jb	_2357
	call	_brl_blitz_ArrayBoundsError
_2357:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],11
	push	_2359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2361
	call	_brl_blitz_ArrayBoundsError
_2361:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2364
	call	_brl_blitz_ArrayBoundsError
_2364:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],14
	push	_2366
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2368
	call	_brl_blitz_ArrayBoundsError
_2368:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2371
	call	_brl_blitz_ArrayBoundsError
_2371:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],7
	push	_2373
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2375
	call	_brl_blitz_ArrayBoundsError
_2375:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2378
	call	_brl_blitz_ArrayBoundsError
_2378:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],12
	push	_2380
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2382
	call	_brl_blitz_ArrayBoundsError
_2382:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2385
	call	_brl_blitz_ArrayBoundsError
_2385:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],3
	push	_2387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2389
	call	_brl_blitz_ArrayBoundsError
_2389:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2392
	call	_brl_blitz_ArrayBoundsError
_2392:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],5
	push	_2394
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedXTile]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2396
	call	_brl_blitz_ArrayBoundsError
_2396:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedYTile]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2399
	call	_brl_blitz_ArrayBoundsError
_2399:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],10
	push	_2401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	eax,dword [__bb_Tgame_pickedXTile]
	sub	eax,1
	mov	dword [ebp-8],eax
	mov	eax,dword [__bb_Tgame_pickedXTile]
	add	eax,1
	mov	dword [ebp-32],eax
	jmp	_2403
_108:
	mov	eax,ebp
	push	eax
	push	_2431
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2405
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	eax,dword [__bb_Tgame_pickedYTile]
	sub	eax,1
	mov	dword [ebp-12],eax
	mov	eax,dword [__bb_Tgame_pickedYTile]
	add	eax,1
	mov	dword [ebp-16],eax
	jmp	_2407
_111:
	mov	eax,ebp
	push	eax
	push	_2430
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2411
	call	_brl_blitz_ArrayBoundsError
_2411:
	mov	eax,dword [_bb_autotilemap]
	mov	ebx,dword [eax+ebx*4+24]
	mov	esi,dword [ebp-12]
	cmp	esi,dword [ebx+20]
	jb	_2414
	call	_brl_blitz_ArrayBoundsError
_2414:
	shl	esi,2
	add	ebx,esi
	push	dword [ebp-12]
	push	dword [ebp-8]
	call	_bb_TileIndex
	add	esp,8
	mov	dword [ebx+24],eax
	push	_2416
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_2418
	call	_brl_blitz_ArrayBoundsError
_2418:
	mov	eax,dword [_bb_isomapL1]
	mov	ebx,dword [eax+ebx*4+24]
	mov	esi,dword [ebp-12]
	cmp	esi,dword [ebx+20]
	jb	_2421
	call	_brl_blitz_ArrayBoundsError
_2421:
	shl	esi,2
	add	ebx,esi
	mov	edi,ebx
	mov	ebx,dword [ebp-8]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_2424
	call	_brl_blitz_ArrayBoundsError
_2424:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_2427
	call	_brl_blitz_ArrayBoundsError
_2427:
	mov	ebx,dword [esi+ebx*4+24]
	mov	eax,dword [_bb_tilewertmap]
	cmp	ebx,dword [eax+20]
	jb	_2429
	call	_brl_blitz_ArrayBoundsError
_2429:
	mov	eax,dword [_bb_tilewertmap]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [edi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_109:
	add	dword [ebp-12],1
_2407:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_111
_110:
	call	dword [_bbOnDebugLeaveScope]
_106:
	add	dword [ebp-8],1
_2403:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-8],eax
	jle	_108
_107:
	call	dword [_bbOnDebugLeaveScope]
_2337:
	call	dword [_bbOnDebugLeaveScope]
_2329:
	push	_2434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2436
	call	_brl_blitz_NullObjectError
_2436:
	cmp	dword [ebx+68],1
	jne	_2437
	mov	eax,ebp
	push	eax
	push	_2445
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedX]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2440
	call	_brl_blitz_ArrayBoundsError
_2440:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedY]
	cmp	ebx,dword [esi+20]
	jb	_2443
	call	_brl_blitz_ArrayBoundsError
_2443:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2446
_2437:
	mov	eax,ebp
	push	eax
	push	_2454
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2447
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Tgame_pickedX]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2449
	call	_brl_blitz_ArrayBoundsError
_2449:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [__bb_Tgame_pickedY]
	cmp	ebx,dword [esi+20]
	jb	_2452
	call	_brl_blitz_ArrayBoundsError
_2452:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],0
	call	dword [_bbOnDebugLeaveScope]
_2446:
	call	dword [_bbOnDebugLeaveScope]
_2295:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2457
_2287:
	mov	eax,ebp
	push	eax
	push	_2488
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2458
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	13
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_2459
	mov	eax,ebp
	push	eax
	push	_2487
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2462
	call	_brl_blitz_NullObjectError
_2462:
	mov	dword [ebx+48],1
	push	_2464
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2466
	call	_brl_blitz_NullObjectError
_2466:
	mov	eax,dword [__bb_Tgame_unitList]
	mov	dword [ebp-24],eax
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_2470
	call	_brl_blitz_NullObjectError
_2470:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_112
_114:
	mov	esi,edi
	cmp	esi,_bbNullObject
	jne	_2475
	call	_brl_blitz_NullObjectError
_2475:
	push	_bb_Tunit
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_2479
	push	eax
	call	_bbGCFree
	add	esp,4
_2479:
	mov	dword [ebx+52],esi
	cmp	dword [ebx+52],_bbNullObject
	je	_112
	mov	eax,ebp
	push	eax
	push	_2486
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2482
	call	_brl_blitz_NullObjectError
_2482:
	mov	esi,dword [esi+52]
	cmp	esi,_bbNullObject
	jne	_2484
	call	_brl_blitz_NullObjectError
_2484:
	call	_bbMilliSecs
	mov	dword [esi+48],eax
	call	dword [_bbOnDebugLeaveScope]
_112:
	mov	esi,edi
	cmp	esi,_bbNullObject
	jne	_2473
	call	_brl_blitz_NullObjectError
_2473:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_114
_113:
	call	dword [_bbOnDebugLeaveScope]
_2459:
	call	dword [_bbOnDebugLeaveScope]
_2457:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2490
_2252:
	mov	eax,ebp
	push	eax
	push	_2524
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2491
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	13
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_2492
	mov	eax,ebp
	push	eax
	push	_2523
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2493
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2495
	call	_brl_blitz_NullObjectError
_2495:
	mov	dword [ebx+48],0
	push	_2497
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_polledinput_FlushMouse
	push	_2498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2500
	call	_brl_blitz_NullObjectError
_2500:
	mov	edi,ebx
	mov	eax,dword [__bb_Tgame_unitList]
	mov	dword [ebp-28],eax
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2504
	call	_brl_blitz_NullObjectError
_2504:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-20],eax
	jmp	_115
_117:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2509
	call	_brl_blitz_NullObjectError
_2509:
	push	_bb_Tunit
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+52]
	dec	dword [eax+4]
	jnz	_2513
	push	eax
	call	_bbGCFree
	add	esp,4
_2513:
	mov	dword [edi+52],ebx
	cmp	dword [edi+52],_bbNullObject
	je	_115
	mov	eax,ebp
	push	eax
	push	_2522
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2516
	call	_brl_blitz_NullObjectError
_2516:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2518
	call	_brl_blitz_NullObjectError
_2518:
	mov	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2521
	call	_brl_blitz_NullObjectError
_2521:
	mov	eax,dword [ebx+48]
	cmp	eax,0
	sete	al
	movzx	eax,al
	mov	dword [esi+56],eax
	call	dword [_bbOnDebugLeaveScope]
_115:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2507
	call	_brl_blitz_NullObjectError
_2507:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_117
_116:
	call	dword [_bbOnDebugLeaveScope]
_2492:
	call	dword [_bbOnDebugLeaveScope]
_2490:
	mov	ebx,0
	jmp	_353
_353:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_RenderScreen:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2585
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2526
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [__bb_Tgame_mapY]
	push	dword [__bb_Tgame_mapX]
	push	dword [_bb_TILESIZEH]
	push	dword [_bb_TILESIZEW]
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_TileX
	add	esp,24
	mov	dword [__bb_Tgame_pickedX],eax
	push	_2527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [__bb_Tgame_mapY]
	push	dword [__bb_Tgame_mapX]
	push	dword [_bb_TILESIZEH]
	push	dword [_bb_TILESIZEW]
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_TileY
	add	esp,24
	mov	dword [__bb_Tgame_pickedY],eax
	push	_2528
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [__bb_Tgame_mapY]
	push	dword [__bb_Tgame_mapX]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	push	eax
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	push	eax
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_TileX
	add	esp,24
	mov	dword [__bb_Tgame_pickedXTile],eax
	push	_2529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [__bb_Tgame_mapY]
	push	dword [__bb_Tgame_mapX]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	push	eax
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	push	eax
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_TileY
	add	esp,24
	mov	dword [__bb_Tgame_pickedYTile],eax
	push	_2530
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_polledinput_MouseZSpeed
	add	dword [_bb_tiletoselect],eax
	push	_2531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2533
	call	_brl_blitz_NullObjectError
_2533:
	call	_brl_polledinput_MouseXSpeed
	mov	dword [ebx+60],eax
	push	_2535
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2537
	call	_brl_blitz_NullObjectError
_2537:
	call	_brl_polledinput_MouseYSpeed
	mov	dword [ebx+64],eax
	push	_2539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_tiletoselect],0
	jge	_2540
	push	ebp
	push	_2542
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2541
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [_bb_tiletoselect],287
	call	dword [_bbOnDebugLeaveScope]
_2540:
	push	_2543
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_tiletoselect],287
	jle	_2544
	push	ebp
	push	_2546
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2545
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [_bb_tiletoselect],0
	call	dword [_bbOnDebugLeaveScope]
_2544:
	push	_2547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	je	_2548
	push	ebp
	push	_2564
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2549
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2551
	call	_brl_blitz_NullObjectError
_2551:
	cmp	dword [ebx+68],1
	jne	_2552
	push	ebp
	push	_2557
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2553
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2555
	call	_brl_blitz_NullObjectError
_2555:
	mov	dword [ebx+68],0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2558
_2552:
	push	ebp
	push	_2563
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2559
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2561
	call	_brl_blitz_NullObjectError
_2561:
	mov	dword [ebx+68],1
	call	dword [_bbOnDebugLeaveScope]
_2558:
	call	dword [_bbOnDebugLeaveScope]
_2548:
	push	_2565
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_2566
	push	ebp
	push	_2573
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2567
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2569
	call	_brl_blitz_NullObjectError
_2569:
	fld	dword [__bb_Tgame_mapX]
	mov	eax,dword [ebx+60]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	faddp	st1,st0
	fstp	dword [__bb_Tgame_mapX]
	push	_2570
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2572
	call	_brl_blitz_NullObjectError
_2572:
	fld	dword [__bb_Tgame_mapY]
	mov	eax,dword [ebx+64]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	faddp	st1,st0
	fstp	dword [__bb_Tgame_mapY]
	call	dword [_bbOnDebugLeaveScope]
_2566:
	push	_2574
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_max2d_Cls
	push	_2575
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2577
	call	_brl_blitz_NullObjectError
_2577:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	push	_2578
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2580
	call	_brl_blitz_NullObjectError
_2580:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	_2581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2583
	call	_brl_blitz_NullObjectError
_2583:
	push	0
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+8]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	mov	ebx,0
	jmp	_356
_356:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_DrawTextinfos:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyString
	push	ebp
	push	_2648
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [__bb_Tgame_mapY]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_119
	push	dword [__bb_Tgame_mapX]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_118
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2587
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2588
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_polledinput_MouseY
	sub	eax,8
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_polledinput_MouseX
	add	eax,8
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	push	dword [__bb_Tgame_pickedYTile]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_123
	push	dword [__bb_Tgame_pickedXTile]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_122
	push	dword [__bb_Tgame_pickedY]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_121
	push	dword [__bb_Tgame_pickedX]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_120
	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	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2589
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2590
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2591
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_TILESIZEH]
	shl	eax,1
	add	eax,2
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZEW]
	add	eax,2
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	push	1108344832
	push	1147437056
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_2592
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2593
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2595
	call	_brl_blitz_NullObjectError
_2595:
	push	dword [_bb_tiletoselect]
	push	1108606976
	push	1147453440
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2596
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2598
	call	_brl_blitz_NullObjectError
_2598:
	cmp	dword [ebx+68],1
	jne	_2599
	push	ebp
	push	_2601
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2600
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	255
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2602
_2599:
	push	ebp
	push	_2604
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2603
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2602:
	push	_2605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1107296256
	push	1107296256
	push	1073741824
	push	1148698624
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_2606
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2607
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1125253120
	push	1147453440
	push	dword [_bb_tiletoselect]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_124
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2608
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2610
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1094713344
	push	1148878848
	push	_125
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2613
	call	_brl_blitz_NullObjectError
_2613:
	cmp	dword [ebx+48],0
	jne	_2614
	push	ebp
	push	_2616
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2615
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	255
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2617
_2614:
	push	ebp
	push	_2619
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2618
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2617:
	push	_2620
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1107296256
	push	1107296256
	push	1073741824
	push	1148141568
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_2621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2622
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1094713344
	push	1148157952
	push	_126
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2623
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_activeLayer],1
	jne	_2624
	push	ebp
	push	_2626
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2625
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	255
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2627
_2624:
	push	ebp
	push	_2629
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2628
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2627:
	push	_2630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1097859072
	push	1112014848
	push	1073741824
	push	1147289600
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_2631
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1077936128
	push	1147305984
	push	_127
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_activeLayer],2
	jne	_2634
	push	ebp
	push	_2636
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2635
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	255
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2637
_2634:
	push	ebp
	push	_2639
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2638
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2637:
	push	_2640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1097859072
	push	1112014848
	push	1099956224
	push	1147289600
	call	_brl_max2d_DrawRect
	add	esp,16
	push	_2641
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2642
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1099956224
	push	1147305984
	push	_128
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2643
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	128
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2644
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_130
	call	_bbGCMemAlloced
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_129
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-8],eax
	push	_2646
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,768
	push	dword [ebp-8]
	call	_brl_max2d_TextHeight
	add	esp,4
	sub	ebx,eax
	mov	dword [ebp+-12],ebx
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	mov	ebx,1024
	push	dword [ebp-8]
	call	_brl_max2d_TextWidth
	add	esp,4
	sub	ebx,eax
	mov	dword [ebp+-12],ebx
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2647
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	ebx,0
	jmp	_359
_359:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_DrawMaps:
	push	ebp
	mov	ebp,esp
	sub	esp,104
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-8],0
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],0
	mov	dword [ebp-52],0
	mov	dword [ebp-56],_bbNullObject
	mov	dword [ebp-60],0
	mov	dword [ebp-64],0
	mov	eax,ebp
	push	eax
	push	_2847
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2650
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-96],eax
	jmp	_2652
_133:
	mov	eax,ebp
	push	eax
	push	_2680
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2654
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	mov	dword [ebp-16],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	dword [ebp-72],eax
	jmp	_2656
_136:
	mov	eax,ebp
	push	eax
	push	_2679
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2658
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	push	eax
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_bb_PixelX
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixX],eax
	push	_2659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	push	eax
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_bb_PixelY
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixY],eax
	push	_2660
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2662
	call	_brl_blitz_NullObjectError
_2662:
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_2664
	call	_brl_blitz_ArrayBoundsError
_2664:
	mov	eax,dword [_bb_isomapL1]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_2667
	call	_brl_blitz_ArrayBoundsError
_2667:
	push	dword [esi+ebx*4+24]
	mov	eax,dword [_bb_pixY]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [_bb_pixX]
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebp+-104],ecx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2670
	call	_brl_blitz_ArrayBoundsError
_2670:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_2673
	call	_brl_blitz_ArrayBoundsError
_2673:
	cmp	dword [esi+ebx*4+24],1
	jne	_2674
	mov	eax,ebp
	push	eax
	push	_2678
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2677
	call	_brl_blitz_NullObjectError
_2677:
	push	15
	mov	eax,dword [_bb_pixY]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [_bb_pixX]
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebp+-104],ecx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_2674:
	call	dword [_bbOnDebugLeaveScope]
_134:
	add	dword [ebp-16],1
_2656:
	mov	eax,dword [ebp-72]
	cmp	dword [ebp-16],eax
	jle	_136
_135:
	call	dword [_bbOnDebugLeaveScope]
_131:
	add	dword [ebp-12],1
_2652:
	mov	eax,dword [ebp-96]
	cmp	dword [ebp-12],eax
	jle	_133
_132:
	push	_2681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	push	_2683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	push	_2684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	mov	eax,dword [__bb_Tgame_unitList]
	mov	dword [ebp-84],eax
	mov	ebx,dword [ebp-84]
	cmp	ebx,_bbNullObject
	jne	_2688
	call	_brl_blitz_NullObjectError
_2688:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_137
_139:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_2693
	call	_brl_blitz_NullObjectError
_2693:
	push	_bb_Tunit
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	je	_137
	mov	eax,ebp
	push	eax
	push	_2713
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-8],15
	push	_2695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2697
	call	_brl_blitz_NullObjectError
_2697:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2699
	call	_brl_blitz_NullObjectError
_2699:
	fld	dword [esi+12]
	fdiv	dword [_4079]
	fld	dword [ebx+16]
	fdiv	dword [_4080]
	fsubp	st1,st0
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmulp	st1,st0
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-24],eax
	push	_2701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2703
	call	_brl_blitz_NullObjectError
_2703:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2705
	call	_brl_blitz_NullObjectError
_2705:
	fld	dword [esi+12]
	fdiv	dword [_4081]
	fld	dword [ebx+16]
	fdiv	dword [_4082]
	faddp	st1,st0
	mov	eax,dword [_bb_TILESIZEH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmulp	st1,st0
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-28],eax
	push	_2707
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	add	eax,500
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	1140457472
	push	dword [ebp-28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_141
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_140
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
	push	_2708
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2710
	call	_brl_blitz_NullObjectError
_2710:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2712
	call	_brl_blitz_NullObjectError
_2712:
	push	dword [ebx+40]
	mov	eax,dword [ebp-28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+24]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_137:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_2691
	call	_brl_blitz_NullObjectError
_2691:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_139
_138:
	push	_2717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-100],eax
	jmp	_2719
_144:
	mov	eax,ebp
	push	eax
	push	_2747
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2721
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	dword [ebp-36],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	dword [ebp-68],eax
	jmp	_2723
_147:
	mov	eax,ebp
	push	eax
	push	_2746
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2725
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEW]
	push	dword [ebp-32]
	push	dword [ebp-36]
	call	_bb_PixelX
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixX],eax
	push	_2726
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEH]
	push	dword [ebp-32]
	push	dword [ebp-36]
	call	_bb_PixelY
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixY],eax
	push	_2727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2729
	call	_brl_blitz_NullObjectError
_2729:
	mov	ebx,dword [ebp-36]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_2731
	call	_brl_blitz_ArrayBoundsError
_2731:
	mov	eax,dword [_bb_isomapL2]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-32]
	cmp	ebx,dword [esi+20]
	jb	_2734
	call	_brl_blitz_ArrayBoundsError
_2734:
	push	dword [esi+ebx*4+24]
	mov	eax,dword [_bb_pixY]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [_bb_pixX]
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebp+-104],ecx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2735
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2737
	call	_brl_blitz_ArrayBoundsError
_2737:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-32]
	cmp	ebx,dword [esi+20]
	jb	_2740
	call	_brl_blitz_ArrayBoundsError
_2740:
	cmp	dword [esi+ebx*4+24],1
	jne	_2741
	mov	eax,ebp
	push	eax
	push	_2745
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2742
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2744
	call	_brl_blitz_NullObjectError
_2744:
	push	15
	mov	eax,dword [_bb_pixY]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [_bb_pixX]
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebp+-104],ecx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_2741:
	call	dword [_bbOnDebugLeaveScope]
_145:
	add	dword [ebp-36],1
_2723:
	mov	eax,dword [ebp-68]
	cmp	dword [ebp-36],eax
	jle	_147
_146:
	call	dword [_bbOnDebugLeaveScope]
_142:
	add	dword [ebp-32],1
_2719:
	mov	eax,dword [ebp-100]
	cmp	dword [ebp-32],eax
	jle	_144
_143:
	push	_2748
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	mov	dword [ebp-40],0
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	sub	eax,1
	mov	dword [ebp-88],eax
	jmp	_2750
_150:
	mov	eax,ebp
	push	eax
	push	_2777
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	mov	dword [ebp-44],0
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	sub	eax,1
	mov	edi,eax
	jmp	_2754
_153:
	mov	eax,ebp
	push	eax
	push	_2776
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2756
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEW]
	push	dword [ebp-40]
	push	dword [ebp-44]
	call	_bb_PixelX
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixX],eax
	push	_2757
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEH]
	push	dword [ebp-40]
	push	dword [ebp-44]
	call	_bb_PixelY
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixY],eax
	push	_2758
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1048576000
	call	_brl_max2d_SetAlpha
	add	esp,4
	push	_2759
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2761
	call	_brl_blitz_NullObjectError
_2761:
	push	25
	mov	edx,dword [_bb_pixY]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	sub	edx,eax
	mov	dword [ebp+-104],edx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_pixX]
	sub	eax,dword [_bb_TILESIZEH]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2762
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2764
	call	_brl_blitz_ArrayBoundsError
_2764:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-40]
	cmp	ebx,dword [esi+20]
	jb	_2767
	call	_brl_blitz_ArrayBoundsError
_2767:
	cmp	dword [esi+ebx*4+24],1
	jne	_2768
	mov	eax,ebp
	push	eax
	push	_2774
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2769
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2770
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2772
	call	_brl_blitz_NullObjectError
_2772:
	push	25
	mov	edx,dword [_bb_pixY]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	sub	edx,eax
	mov	dword [ebp+-104],edx
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapY]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_pixX]
	sub	eax,dword [_bb_TILESIZEH]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2768:
	push	_2775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_151:
	add	dword [ebp-44],1
_2754:
	cmp	dword [ebp-44],edi
	jle	_153
_152:
	call	dword [_bbOnDebugLeaveScope]
_148:
	add	dword [ebp-40],1
_2750:
	mov	eax,dword [ebp-88]
	cmp	dword [ebp-40],eax
	jle	_150
_149:
	push	_2778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],0
	mov	dword [ebp-48],0
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	sub	eax,1
	mov	dword [ebp-92],eax
	jmp	_2780
_156:
	mov	eax,ebp
	push	eax
	push	_2801
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2782
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	mov	dword [ebp-52],0
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	sub	eax,1
	mov	edi,eax
	jmp	_2784
_159:
	mov	eax,ebp
	push	eax
	push	_2800
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2788
	call	_brl_blitz_NullObjectError
_2788:
	push	0
	mov	eax,dword [ebp-52]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-48]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+12]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2789
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_2791
	call	_brl_blitz_ArrayBoundsError
_2791:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-52]
	cmp	ebx,dword [esi+20]
	jb	_2794
	call	_brl_blitz_ArrayBoundsError
_2794:
	cmp	dword [esi+ebx*4+24],1
	jne	_2795
	mov	eax,ebp
	push	eax
	push	_2799
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2796
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2798
	call	_brl_blitz_NullObjectError
_2798:
	push	0
	mov	eax,dword [ebp-52]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-48]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+20]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_2795:
	call	dword [_bbOnDebugLeaveScope]
_157:
	add	dword [ebp-52],1
_2784:
	cmp	dword [ebp-52],edi
	jle	_159
_158:
	call	dword [_bbOnDebugLeaveScope]
_154:
	add	dword [ebp-48],1
_2780:
	mov	eax,dword [ebp-92]
	cmp	dword [ebp-48],eax
	jle	_156
_155:
	push	_2802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-56],_bbNullObject
	mov	eax,dword [__bb_Tgame_unitList]
	mov	dword [ebp-80],eax
	mov	ebx,dword [ebp-80]
	cmp	ebx,_bbNullObject
	jne	_2806
	call	_brl_blitz_NullObjectError
_2806:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-76],eax
	jmp	_160
_162:
	mov	ebx,dword [ebp-76]
	cmp	ebx,_bbNullObject
	jne	_2811
	call	_brl_blitz_NullObjectError
_2811:
	push	_bb_Tunit
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-56],eax
	cmp	dword [ebp-56],_bbNullObject
	je	_160
	mov	eax,ebp
	push	eax
	push	_2819
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2812
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2814
	call	_brl_blitz_NullObjectError
_2814:
	mov	esi,dword [ebp-56]
	cmp	esi,_bbNullObject
	jne	_2816
	call	_brl_blitz_NullObjectError
_2816:
	mov	ebx,dword [ebp-56]
	cmp	ebx,_bbNullObject
	jne	_2818
	call	_brl_blitz_NullObjectError
_2818:
	push	0
	fld	dword [ebx+16]
	mov	eax,dword [_bb_TILESIZEH]
	shl	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fmul	dword [_4083]
	fsub	dword [_4084]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [esi+12]
	mov	eax,dword [_bb_TILESIZEW]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fmul	dword [_4085]
	fsub	dword [_4086]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+36]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_160:
	mov	ebx,dword [ebp-76]
	cmp	ebx,_bbNullObject
	jne	_2809
	call	_brl_blitz_NullObjectError
_2809:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_162
_161:
	push	_2820
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],0
	mov	dword [ebp-60],0
	mov	esi,dword [_bb_MAPWIDTH]
	sub	esi,1
	jmp	_2822
_165:
	mov	eax,ebp
	push	eax
	push	_2831
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-64],0
	mov	dword [ebp-64],0
	mov	ebx,dword [_bb_MAPHEIGHT]
	sub	ebx,1
	jmp	_2826
_168:
	mov	eax,ebp
	push	eax
	push	_2830
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2828
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEW]
	mov	eax,dword [ebp-60]
	add	eax,1
	push	eax
	mov	eax,dword [ebp-64]
	add	eax,2
	push	eax
	call	_bb_PixelX
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixX],eax
	push	_2829
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_TILESIZEH]
	mov	eax,dword [ebp-60]
	add	eax,1
	push	eax
	mov	eax,dword [ebp-64]
	add	eax,2
	push	eax
	call	_bb_PixelY
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [_bb_pixY],eax
	call	dword [_bbOnDebugLeaveScope]
_166:
	add	dword [ebp-64],1
_2826:
	cmp	dword [ebp-64],ebx
	jle	_168
_167:
	call	dword [_bbOnDebugLeaveScope]
_163:
	add	dword [ebp-60],1
_2822:
	cmp	dword [ebp-60],esi
	jle	_165
_164:
	push	_2832
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2834
	call	_brl_blitz_NullObjectError
_2834:
	cmp	dword [ebx+68],0
	jne	_2835
	mov	eax,ebp
	push	eax
	push	_2839
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2836
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2838
	call	_brl_blitz_NullObjectError
_2838:
	push	15
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	push	eax
	push	dword [__bb_Tgame_pickedYTile]
	push	dword [__bb_Tgame_pickedXTile]
	call	_bb_PixelY
	add	esp,12
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	push	eax
	push	dword [__bb_Tgame_pickedYTile]
	push	dword [__bb_Tgame_pickedXTile]
	call	_bb_PixelX
	add	esp,12
	mov	eax,dword [_bb_TILESIZEW]
	imul	eax,3
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2840
_2835:
	mov	eax,ebp
	push	eax
	push	_2846
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2841
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	_2842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2844
	call	_brl_blitz_NullObjectError
_2844:
	push	25
	push	dword [_bb_TILESIZEH]
	push	dword [__bb_Tgame_pickedY]
	push	dword [__bb_Tgame_pickedX]
	call	_bb_PixelY
	add	esp,12
	fadd	dword [__bb_Tgame_mapY]
	mov	eax,dword [_bb_TILESIZEH]
	imul	eax,3
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_TILESIZEW]
	push	dword [__bb_Tgame_pickedY]
	push	dword [__bb_Tgame_pickedX]
	call	_bb_PixelX
	add	esp,12
	mov	eax,dword [_bb_TILESIZEW]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fsubp	st1,st0
	fadd	dword [__bb_Tgame_mapX]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+32]
	call	_brl_max2d_DrawImage
	add	esp,16
	push	_2845
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2840:
	mov	ebx,0
	jmp	_362
_362:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_MoveUnits:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_2888
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2849
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2851
	call	_brl_blitz_NullObjectError
_2851:
	cmp	dword [ebx+48],1
	jne	_2852
	mov	eax,ebp
	push	eax
	push	_2887
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2855
	call	_brl_blitz_NullObjectError
_2855:
	mov	edi,ebx
	mov	eax,dword [__bb_Tgame_unitList]
	mov	dword [ebp-12],eax
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2859
	call	_brl_blitz_NullObjectError
_2859:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_169
_171:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2864
	call	_brl_blitz_NullObjectError
_2864:
	push	_bb_Tunit
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+52]
	dec	dword [eax+4]
	jnz	_2868
	push	eax
	call	_bbGCFree
	add	esp,4
_2868:
	mov	dword [edi+52],ebx
	cmp	dword [edi+52],_bbNullObject
	je	_169
	mov	eax,ebp
	push	eax
	push	_2886
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2871
	call	_brl_blitz_NullObjectError
_2871:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2873
	call	_brl_blitz_NullObjectError
_2873:
	push	dword [ebx+52]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,8
	push	_2874
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2876
	call	_brl_blitz_NullObjectError
_2876:
	mov	ebx,dword [ebx+52]
	cmp	ebx,_bbNullObject
	jne	_2878
	call	_brl_blitz_NullObjectError
_2878:
	cmp	dword [ebx+56],1
	jne	_2879
	mov	eax,ebp
	push	eax
	push	_2885
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2880
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2882
	call	_brl_blitz_NullObjectError
_2882:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2884
	call	_brl_blitz_NullObjectError
_2884:
	push	dword [ebx+52]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2879:
	call	dword [_bbOnDebugLeaveScope]
_169:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2862
	call	_brl_blitz_NullObjectError
_2862:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_171
_170:
	call	dword [_bbOnDebugLeaveScope]
_2852:
	mov	ebx,0
	jmp	_365
_365:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_UpdatePath:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,ebp
	push	eax
	push	_2965
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2891
	call	_brl_blitz_NullObjectError
_2891:
	cmp	dword [ebx+52],1
	jne	_2892
	mov	eax,ebp
	push	eax
	push	_2915
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2893
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	call	_brl_polledinput_MouseHit
	add	esp,4
	cmp	eax,0
	jne	_2894
	push	2
	call	_brl_polledinput_MouseHit
	add	esp,4
_2894:
	cmp	eax,0
	je	_2896
	mov	eax,ebp
	push	eax
	push	_2914
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2897
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [__bb_Tgame_pickedX]
	cmp	eax,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_2898
	mov	eax,dword [__bb_Tgame_pickedY]
	cmp	eax,0
	setge	al
	movzx	eax,al
_2898:
	cmp	eax,0
	je	_2900
	mov	edx,dword [__bb_Tgame_pickedX]
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2900:
	cmp	eax,0
	je	_2902
	mov	edx,dword [__bb_Tgame_pickedY]
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	cmp	edx,eax
	setle	al
	movzx	eax,al
_2902:
	cmp	eax,0
	je	_2904
	mov	eax,ebp
	push	eax
	push	_2913
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2907
	call	_brl_blitz_NullObjectError
_2907:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2910
	call	_brl_blitz_NullObjectError
_2910:
	mov	esi,dword [esi+56]
	cmp	esi,_bbNullObject
	jne	_2912
	call	_brl_blitz_NullObjectError
_2912:
	mov	eax,dword [__bb_Tgame_pickedY]
	imul	eax,36
	push	eax
	mov	eax,dword [__bb_Tgame_pickedX]
	imul	eax,36
	push	eax
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,16
	mov	dword [ebx+56],eax
	call	dword [_bbOnDebugLeaveScope]
_2904:
	call	dword [_bbOnDebugLeaveScope]
_2896:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2916
_2892:
	mov	eax,ebp
	push	eax
	push	_2964
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2917
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2919
	call	_brl_blitz_NullObjectError
_2919:
	cmp	dword [ebx+52],2
	jne	_2920
	mov	eax,ebp
	push	eax
	push	_2963
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2921
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2923
	call	_brl_blitz_NullObjectError
_2923:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2925
	call	_brl_blitz_NullObjectError
_2925:
	mov	esi,dword [esi+36]
	cmp	esi,_bbNullObject
	jne	_2927
	call	_brl_blitz_NullObjectError
_2927:
	fld	dword [ebx+12]
	fld	dword [esi+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_2934
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2929
	call	_brl_blitz_NullObjectError
_2929:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2931
	call	_brl_blitz_NullObjectError
_2931:
	mov	esi,dword [esi+36]
	cmp	esi,_bbNullObject
	jne	_2933
	call	_brl_blitz_NullObjectError
_2933:
	fld	dword [ebx+16]
	fld	dword [esi+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_2934:
	cmp	eax,0
	jne	_2936
	mov	eax,ebp
	push	eax
	push	_2962
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2937
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2939
	call	_brl_blitz_NullObjectError
_2939:
	mov	eax,dword [ebx+56]
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_2942
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2941
	call	_brl_blitz_NullObjectError
_2941:
	mov	eax,dword [ebx+64]
	cmp	eax,3
	sete	al
	movzx	eax,al
_2942:
	cmp	eax,0
	je	_2944
	mov	eax,ebp
	push	eax
	push	_2961
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2945
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2947
	call	_brl_blitz_NullObjectError
_2947:
	mov	dword [ebp-12],ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2950
	call	_brl_blitz_NullObjectError
_2950:
	mov	edi,dword [ebx+56]
	cmp	edi,_bbNullObject
	jne	_2952
	call	_brl_blitz_NullObjectError
_2952:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2954
	call	_brl_blitz_NullObjectError
_2954:
	mov	ebx,dword [ebx+36]
	cmp	ebx,_bbNullObject
	jne	_2956
	call	_brl_blitz_NullObjectError
_2956:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2958
	call	_brl_blitz_NullObjectError
_2958:
	mov	esi,dword [esi+36]
	cmp	esi,_bbNullObject
	jne	_2960
	call	_brl_blitz_NullObjectError
_2960:
	fld	dword [esi+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebx+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp-8]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+52]
	add	esp,16
	mov	edx,dword [ebp-12]
	mov	dword [edx+56],eax
	call	dword [_bbOnDebugLeaveScope]
_2944:
	call	dword [_bbOnDebugLeaveScope]
_2936:
	call	dword [_bbOnDebugLeaveScope]
_2920:
	call	dword [_bbOnDebugLeaveScope]
_2916:
	mov	ebx,0
	jmp	_369
_369:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tgame_MoveUnit:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	fldz
	fstp	dword [ebp-12]
	fldz
	fstp	dword [ebp-16]
	fldz
	fstp	dword [ebp-20]
	fldz
	fstp	dword [ebp-24]
	fldz
	fstp	dword [ebp-28]
	mov	eax,ebp
	push	eax
	push	_3168
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2966
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2968
	call	_brl_blitz_NullObjectError
_2968:
	mov	ebx,dword [ebx+56]
	cmp	ebx,_bbNullObject
	jne	_2970
	call	_brl_blitz_NullObjectError
_2970:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	_2971
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2973
	call	_brl_blitz_NullObjectError
_2973:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2975
	call	_brl_blitz_NullObjectError
_2975:
	mov	eax,dword [esi+72]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsub	dword [ebx+12]
	fstp	dword [ebp-12]
	push	_2977
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2979
	call	_brl_blitz_NullObjectError
_2979:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2981
	call	_brl_blitz_NullObjectError
_2981:
	mov	eax,dword [esi+76]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsub	dword [ebx+16]
	fstp	dword [ebp-16]
	push	_2983
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fstp	dword [ebp-20]
	push	_2985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2987
	call	_brl_blitz_NullObjectError
_2987:
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	dword [ebx+20]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	push	_2989
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2991
	call	_brl_blitz_NullObjectError
_2991:
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebx+20]
	fmulp	st1,st0
	fstp	dword [ebp-28]
	push	_2993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2995
	call	_brl_blitz_NullObjectError
_2995:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2997
	call	_brl_blitz_NullObjectError
_2997:
	mov	eax,dword [esi+48]
	cmp	dword [ebx+56],eax
	jne	_2998
	mov	eax,ebp
	push	eax
	push	_3029
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2999
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3001
	call	_brl_blitz_NullObjectError
_3001:
	mov	ebx,dword [ebx+48]
	add	ebx,100
	call	_bbMilliSecs
	cmp	ebx,eax
	jg	_3002
	mov	eax,ebp
	push	eax
	push	_3028
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3003
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3005
	call	_brl_blitz_NullObjectError
_3005:
	cmp	dword [ebx+44],4
	jge	_3006
	mov	eax,ebp
	push	eax
	push	_3017
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3007
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3009
	call	_brl_blitz_NullObjectError
_3009:
	call	_bbMilliSecs
	mov	dword [ebx+48],eax
	push	_3011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3013
	call	_brl_blitz_NullObjectError
_3013:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3016
	call	_brl_blitz_NullObjectError
_3016:
	mov	eax,dword [esi+44]
	add	eax,1
	mov	dword [ebx+44],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3018
_3006:
	mov	eax,ebp
	push	eax
	push	_3027
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3019
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3021
	call	_brl_blitz_NullObjectError
_3021:
	call	_bbMilliSecs
	mov	dword [ebx+48],eax
	push	_3023
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3025
	call	_brl_blitz_NullObjectError
_3025:
	mov	dword [ebx+44],0
	call	dword [_bbOnDebugLeaveScope]
_3018:
	call	dword [_bbOnDebugLeaveScope]
_3002:
	call	dword [_bbOnDebugLeaveScope]
_2998:
	push	_3030
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3031
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_3031:
	cmp	eax,0
	je	_3033
	mov	eax,ebp
	push	eax
	push	_3040
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3034
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3036
	call	_brl_blitz_NullObjectError
_3036:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3039
	call	_brl_blitz_NullObjectError
_3039:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,3
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3033:
	push	_3041
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3042
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3042:
	cmp	eax,0
	je	_3044
	mov	eax,ebp
	push	eax
	push	_3051
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3045
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3047
	call	_brl_blitz_NullObjectError
_3047:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3050
	call	_brl_blitz_NullObjectError
_3050:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,6
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3044:
	push	_3052
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3053
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3053:
	cmp	eax,0
	je	_3055
	mov	eax,ebp
	push	eax
	push	_3062
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3058
	call	_brl_blitz_NullObjectError
_3058:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3061
	call	_brl_blitz_NullObjectError
_3061:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,1
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3055:
	push	_3063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_3064
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3064:
	cmp	eax,0
	je	_3066
	mov	eax,ebp
	push	eax
	push	_3073
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3069
	call	_brl_blitz_NullObjectError
_3069:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3072
	call	_brl_blitz_NullObjectError
_3072:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,7
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3066:
	push	_3074
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_3075
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3075:
	cmp	eax,0
	je	_3077
	fld	dword [ebp-24]
	fld	dword [ebp-28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3077:
	cmp	eax,0
	je	_3079
	mov	eax,ebp
	push	eax
	push	_3086
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3080
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3082
	call	_brl_blitz_NullObjectError
_3082:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3085
	call	_brl_blitz_NullObjectError
_3085:
	mov	eax,dword [esi+44]
	shl	eax,3
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3079:
	push	_3087
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3088
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3088:
	cmp	eax,0
	je	_3090
	fld	dword [ebp-24]
	fld	dword [ebp-28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3090:
	cmp	eax,0
	je	_3092
	mov	eax,ebp
	push	eax
	push	_3099
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3095
	call	_brl_blitz_NullObjectError
_3095:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3098
	call	_brl_blitz_NullObjectError
_3098:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,4
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3092:
	push	_3100
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_3101
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3101:
	cmp	eax,0
	je	_3103
	fld	dword [ebp-24]
	fld	dword [ebp-28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_3103:
	cmp	eax,0
	je	_3105
	mov	eax,ebp
	push	eax
	push	_3112
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3106
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3108
	call	_brl_blitz_NullObjectError
_3108:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3111
	call	_brl_blitz_NullObjectError
_3111:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,5
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3105:
	push	_3113
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3114
	fld	dword [ebp-28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3114:
	cmp	eax,0
	je	_3116
	fld	dword [ebp-24]
	fld	dword [ebp-28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
_3116:
	cmp	eax,0
	je	_3118
	mov	eax,ebp
	push	eax
	push	_3125
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3121
	call	_brl_blitz_NullObjectError
_3121:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3124
	call	_brl_blitz_NullObjectError
_3124:
	mov	eax,dword [esi+44]
	shl	eax,3
	add	eax,2
	mov	dword [ebx+40],eax
	call	dword [_bbOnDebugLeaveScope]
_3118:
	push	_3126
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3128
	call	_brl_blitz_NullObjectError
_3128:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3130
	call	_brl_blitz_NullObjectError
_3130:
	fld	dword [esi+12]
	mov	eax,dword [ebx+72]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-32]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3131
	mov	eax,ebp
	push	eax
	push	_3138
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3132
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3134
	call	_brl_blitz_NullObjectError
_3134:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3137
	call	_brl_blitz_NullObjectError
_3137:
	mov	eax,dword [esi+72]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fstp	dword [ebx+12]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3139
_3131:
	mov	eax,ebp
	push	eax
	push	_3146
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3140
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3142
	call	_brl_blitz_NullObjectError
_3142:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3145
	call	_brl_blitz_NullObjectError
_3145:
	fld	dword [esi+12]
	fadd	dword [ebp-24]
	fstp	dword [ebx+12]
	call	dword [_bbOnDebugLeaveScope]
_3139:
	push	_3147
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3149
	call	_brl_blitz_NullObjectError
_3149:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3151
	call	_brl_blitz_NullObjectError
_3151:
	fld	dword [esi+16]
	mov	eax,dword [ebx+76]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fstp	dword [ebp-36]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3152
	mov	eax,ebp
	push	eax
	push	_3159
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3153
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3155
	call	_brl_blitz_NullObjectError
_3155:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3158
	call	_brl_blitz_NullObjectError
_3158:
	mov	eax,dword [esi+76]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fstp	dword [ebx+16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3160
_3152:
	mov	eax,ebp
	push	eax
	push	_3167
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3161
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_3163
	call	_brl_blitz_NullObjectError
_3163:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_3166
	call	_brl_blitz_NullObjectError
_3166:
	fld	dword [esi+16]
	fadd	dword [ebp-28]
	fstp	dword [ebx+16]
	call	dword [_bbOnDebugLeaveScope]
_3160:
	mov	ebx,0
	jmp	_373
_373:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_PixelX:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_3175
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3174
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,dword [ebp-4]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ecx,eax
	mov	ebx,dword [ebp-8]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ebx,eax
	sub	ecx,ebx
	mov	dword [ebp+-20],ecx
	fild	dword [ebp+-20]
	fstp	dword [ebp-16]
	jmp	_378
_378:
	call	dword [_bbOnDebugLeaveScope]
	fld	dword [ebp-16]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_PixelY:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_3181
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3180
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,dword [ebp-4]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ecx,eax
	mov	ebx,dword [ebp-8]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ebx,eax
	add	ecx,ebx
	mov	dword [ebp+-20],ecx
	fild	dword [ebp+-20]
	fstp	dword [ebp-16]
	jmp	_383
_383:
	call	dword [_bbOnDebugLeaveScope]
	fld	dword [ebp-16]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_TileX:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	fld	dword [ebp+8]
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	fld	dword [ebp+24]
	fstp	dword [ebp-20]
	fld	dword [ebp+28]
	fstp	dword [ebp-24]
	push	ebp
	push	_3187
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3184
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-4]
	fsub	dword [ebp-20]
	fstp	dword [ebp-4]
	push	_3185
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-8]
	fsub	dword [ebp-24]
	fstp	dword [ebp-8]
	push	_3186
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-4]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fdivp	st1,st0
	fld	dword [ebp-8]
	mov	eax,dword [ebp-16]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fdivp	st1,st0
	faddp	st1,st0
	fdiv	dword [_4264]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	jmp	_391
_391:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_TileY:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	fld	dword [ebp+8]
	fstp	dword [ebp-4]
	fld	dword [ebp+12]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	fld	dword [ebp+24]
	fstp	dword [ebp-20]
	fld	dword [ebp+28]
	fstp	dword [ebp-24]
	push	ebp
	push	_3194
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3191
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-4]
	fsub	dword [ebp-20]
	fstp	dword [ebp-4]
	push	_3192
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-8]
	fsub	dword [ebp-24]
	fstp	dword [ebp-8]
	push	_3193
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	fld	dword [ebp-8]
	mov	eax,dword [ebp-16]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fdivp	st1,st0
	fld	dword [ebp-4]
	mov	eax,dword [ebp-12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fdivp	st1,st0
	fsubp	st1,st0
	fdiv	dword [_4268]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	jmp	_399
_399:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_TileIndex:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	eax,ebp
	push	eax
	push	_3291
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	push	_3205
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	cmp	eax,1
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_3206
	mov	eax,dword [ebp-8]
	cmp	eax,1
	setge	al
	movzx	eax,al
_3206:
	cmp	eax,0
	je	_3208
	mov	edx,dword [ebp-4]
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,2
	cmp	edx,eax
	setle	al
	movzx	eax,al
_3208:
	cmp	eax,0
	je	_3210
	mov	edx,dword [ebp-8]
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,2
	cmp	edx,eax
	setle	al
	movzx	eax,al
_3210:
	cmp	eax,0
	je	_3212
	mov	eax,ebp
	push	eax
	push	_3288
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3213
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3215
	call	_brl_blitz_ArrayBoundsError
_3215:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_3218
	call	_brl_blitz_ArrayBoundsError
_3218:
	cmp	dword [esi+ebx*4+24],0
	jle	_3219
	mov	eax,ebp
	push	eax
	push	_3221
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3220
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],1
	call	dword [_bbOnDebugLeaveScope]
_3219:
	push	_3222
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3224
	call	_brl_blitz_ArrayBoundsError
_3224:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_3227
	call	_brl_blitz_ArrayBoundsError
_3227:
	cmp	dword [esi+ebx*4+24],0
	jle	_3228
	mov	eax,ebp
	push	eax
	push	_3230
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],1
	call	dword [_bbOnDebugLeaveScope]
_3228:
	push	_3231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3233
	call	_brl_blitz_ArrayBoundsError
_3233:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3236
	call	_brl_blitz_ArrayBoundsError
_3236:
	cmp	dword [esi+ebx*4+24],0
	jle	_3237
	mov	eax,ebp
	push	eax
	push	_3239
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3238
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],1
	call	dword [_bbOnDebugLeaveScope]
_3237:
	push	_3240
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3242
	call	_brl_blitz_ArrayBoundsError
_3242:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3245
	call	_brl_blitz_ArrayBoundsError
_3245:
	cmp	dword [esi+ebx*4+24],0
	jle	_3246
	mov	eax,ebp
	push	eax
	push	_3248
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3247
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],1
	call	dword [_bbOnDebugLeaveScope]
_3246:
	push	_3249
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3251
	call	_brl_blitz_ArrayBoundsError
_3251:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3254
	call	_brl_blitz_ArrayBoundsError
_3254:
	cmp	dword [esi+ebx*4+24],0
	jle	_3255
	mov	eax,ebp
	push	eax
	push	_3257
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3256
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	call	dword [_bbOnDebugLeaveScope]
_3255:
	push	_3258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	sub	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3260
	call	_brl_blitz_ArrayBoundsError
_3260:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3263
	call	_brl_blitz_ArrayBoundsError
_3263:
	cmp	dword [esi+ebx*4+24],0
	jle	_3264
	mov	eax,ebp
	push	eax
	push	_3266
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3265
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],1
	call	dword [_bbOnDebugLeaveScope]
_3264:
	push	_3267
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3269
	call	_brl_blitz_ArrayBoundsError
_3269:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	sub	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3272
	call	_brl_blitz_ArrayBoundsError
_3272:
	cmp	dword [esi+ebx*4+24],0
	jle	_3273
	mov	eax,ebp
	push	eax
	push	_3275
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3274
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],1
	call	dword [_bbOnDebugLeaveScope]
_3273:
	push	_3276
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	add	ebx,1
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3278
	call	_brl_blitz_ArrayBoundsError
_3278:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	add	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3281
	call	_brl_blitz_ArrayBoundsError
_3281:
	cmp	dword [esi+ebx*4+24],0
	jle	_3282
	mov	eax,ebp
	push	eax
	push	_3284
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],1
	call	dword [_bbOnDebugLeaveScope]
_3282:
	push	_3285
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-28]
	mov	edx,dword [ebp-20]
	shl	edx,1
	add	eax,edx
	mov	edx,dword [ebp-36]
	shl	edx,2
	add	eax,edx
	mov	edx,dword [ebp-12]
	shl	edx,3
	add	eax,edx
	mov	edx,dword [ebp-16]
	shl	edx,4
	add	eax,edx
	mov	edx,dword [ebp-32]
	shl	edx,5
	add	eax,edx
	mov	edx,dword [ebp-24]
	shl	edx,6
	add	eax,edx
	mov	edx,dword [ebp-40]
	shl	edx,7
	add	eax,edx
	mov	dword [ebp-44],eax
	push	_3287
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_403
_3212:
	push	_3290
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_403
_403:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LoadMap:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	eax,ebp
	push	eax
	push	_3368
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3301
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_174
	push	dword [ebp-8]
	push	_173
	push	dword [ebp-4]
	push	_172
	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_system_Confirm
	add	esp,8
	cmp	eax,1
	jne	_3302
	mov	eax,ebp
	push	eax
	push	_3363
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3303
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	push	_3305
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_175
	push	dword [ebp-8]
	push	_173
	push	dword [ebp-4]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	mov	dword [ebp-16],eax
	push	_3307
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],1
	jne	_3308
	mov	eax,ebp
	push	eax
	push	_3362
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3309
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	1
	push	_175
	push	dword [ebp-8]
	push	_173
	push	dword [ebp-4]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_OpenFile
	add	esp,12
	mov	dword [ebp-12],eax
	push	_3310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [_bb_MAPWIDTH],eax
	push	_3311
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [_bb_MAPHEIGHT],eax
	push	_3312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bb_ClearAutoMap
	push	_3313
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_3315
_178:
	mov	eax,ebp
	push	eax
	push	_3343
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3317
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-24],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	edi,eax
	jmp	_3319
_181:
	mov	eax,ebp
	push	eax
	push	_3342
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3321
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_3323
	call	_brl_blitz_ArrayBoundsError
_3323:
	mov	eax,dword [_bb_isomapL1]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_3326
	call	_brl_blitz_ArrayBoundsError
_3326:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+24],eax
	push	_3328
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_3330
	call	_brl_blitz_ArrayBoundsError
_3330:
	mov	eax,dword [_bb_isomapL2]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_3333
	call	_brl_blitz_ArrayBoundsError
_3333:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+24],eax
	push	_3335
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3337
	call	_brl_blitz_ArrayBoundsError
_3337:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_3340
	call	_brl_blitz_ArrayBoundsError
_3340:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_179:
	add	dword [ebp-24],1
_3319:
	cmp	dword [ebp-24],edi
	jle	_181
_180:
	call	dword [_bbOnDebugLeaveScope]
_176:
	add	dword [ebp-20],1
_3315:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-20],eax
	jle	_178
_177:
	push	_3344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	sub	eax,1
	mov	dword [ebp-36],eax
	jmp	_3346
_184:
	mov	eax,ebp
	push	eax
	push	_3360
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	sub	eax,1
	mov	edi,eax
	jmp	_3350
_187:
	mov	eax,ebp
	push	eax
	push	_3359
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_3354
	call	_brl_blitz_ArrayBoundsError
_3354:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-32]
	cmp	ebx,dword [esi+20]
	jb	_3357
	call	_brl_blitz_ArrayBoundsError
_3357:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_185:
	add	dword [ebp-32],1
_3350:
	cmp	dword [ebp-32],edi
	jle	_187
_186:
	call	dword [_bbOnDebugLeaveScope]
_182:
	add	dword [ebp-28],1
_3346:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-28],eax
	jle	_184
_183:
	push	_3361
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_CloseFile
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_3308:
	call	dword [_bbOnDebugLeaveScope]
_3302:
	push	_3367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	jmp	_407
_407:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SaveMap:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	eax,ebp
	push	eax
	push	_3426
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3372
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_188
	push	dword [ebp-8]
	push	_173
	push	dword [ebp-4]
	push	_172
	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_system_Confirm
	add	esp,8
	cmp	eax,1
	jne	_3373
	mov	eax,ebp
	push	eax
	push	_3424
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3374
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	push	_3376
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_175
	push	dword [ebp-8]
	push	_173
	push	dword [ebp-4]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-12],eax
	push	_3377
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_MAPWIDTH]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	push	_3378
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_MAPHEIGHT]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	push	_3379
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	mov	dword [ebp-16],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-36],eax
	jmp	_3381
_191:
	mov	eax,ebp
	push	eax
	push	_3406
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3383
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	edi,eax
	jmp	_3385
_194:
	mov	eax,ebp
	push	eax
	push	_3405
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_isomapL1]
	cmp	ebx,dword [eax+20]
	jb	_3389
	call	_brl_blitz_ArrayBoundsError
_3389:
	mov	eax,dword [_bb_isomapL1]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_3392
	call	_brl_blitz_ArrayBoundsError
_3392:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	push	_3393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_isomapL2]
	cmp	ebx,dword [eax+20]
	jb	_3395
	call	_brl_blitz_ArrayBoundsError
_3395:
	mov	eax,dword [_bb_isomapL2]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_3398
	call	_brl_blitz_ArrayBoundsError
_3398:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	push	_3399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3401
	call	_brl_blitz_ArrayBoundsError
_3401:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_3404
	call	_brl_blitz_ArrayBoundsError
_3404:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_192:
	add	dword [ebp-20],1
_3385:
	cmp	dword [ebp-20],edi
	jle	_194
_193:
	call	dword [_bbOnDebugLeaveScope]
_189:
	add	dword [ebp-16],1
_3381:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-16],eax
	jle	_191
_190:
	push	_3407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-24],0
	mov	eax,dword [_bb_MAPWIDTH]
	imul	eax,3
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_3409
_197:
	mov	eax,ebp
	push	eax
	push	_3422
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3411
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	eax,dword [_bb_MAPHEIGHT]
	imul	eax,3
	sub	eax,1
	mov	edi,eax
	jmp	_3413
_200:
	mov	eax,ebp
	push	eax
	push	_3421
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [_bb_pathmap]
	cmp	ebx,dword [eax+20]
	jb	_3417
	call	_brl_blitz_ArrayBoundsError
_3417:
	mov	eax,dword [_bb_pathmap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_3420
	call	_brl_blitz_ArrayBoundsError
_3420:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-12]
	call	_brl_stream_WriteShort
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_198:
	add	dword [ebp-28],1
_3413:
	cmp	dword [ebp-28],edi
	jle	_200
_199:
	call	dword [_bbOnDebugLeaveScope]
_195:
	add	dword [ebp-24],1
_3409:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_197
_196:
	push	_3423
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_CloseFile
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_3373:
	push	_3425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	jmp	_411
_411:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_ClearAutoMap:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-4],0
	mov	dword [ebp-8],0
	mov	eax,ebp
	push	eax
	push	_3445
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-4],0
	mov	dword [ebp-4],0
	mov	eax,dword [_bb_MAPWIDTH]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_3430
_203:
	mov	eax,ebp
	push	eax
	push	_3444
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3432
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	dword [ebp-8],0
	mov	eax,dword [_bb_MAPHEIGHT]
	sub	eax,1
	mov	edi,eax
	jmp	_3434
_206:
	mov	eax,ebp
	push	eax
	push	_3443
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	mov	eax,dword [_bb_autotilemap]
	cmp	ebx,dword [eax+20]
	jb	_3438
	call	_brl_blitz_ArrayBoundsError
_3438:
	mov	eax,dword [_bb_autotilemap]
	mov	esi,dword [eax+ebx*4+24]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_3441
	call	_brl_blitz_ArrayBoundsError
_3441:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	dword [eax+24],0
	call	dword [_bbOnDebugLeaveScope]
_204:
	add	dword [ebp-8],1
_3434:
	cmp	dword [ebp-8],edi
	jle	_206
_205:
	call	dword [_bbOnDebugLeaveScope]
_201:
	add	dword [ebp-4],1
_3430:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_203
_202:
	mov	ebx,0
	jmp	_413
_413:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_485:
	dd	0
_452:
	db	"editor",0
_453:
	db	"notfinished",0
_218:
	db	"i",0
	align	4
_454:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	48
_455:
	db	"notStarted",0
_456:
	db	"found",0
	align	4
_457:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_458:
	db	"nonexistent",0
	align	4
_459:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_460:
	db	"walkable",0
_461:
	db	"unwalkable",0
_462:
	db	"USERCONTROLLED",0
_463:
	db	"CHASE",0
_464:
	db	"TILESIZE",0
	align	4
_465:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,54
_466:
	db	"TILESIZEW",0
	align	4
_bb_TILESIZEW:
	dd	36
_467:
	db	"TILESIZEH",0
	align	4
_bb_TILESIZEH:
	dd	0
_468:
	db	"MAPWIDTH",0
	align	4
_bb_MAPWIDTH:
	dd	10
_469:
	db	"MAPHEIGHT",0
	align	4
_bb_MAPHEIGHT:
	dd	10
_470:
	db	"pixX",0
	align	4
_bb_pixX:
	dd	0
_471:
	db	"pixY",0
	align	4
_bb_pixY:
	dd	0
_472:
	db	"tiletoselect",0
	align	4
_bb_tiletoselect:
	dd	72
_473:
	db	"activeLayer",0
	align	4
_bb_activeLayer:
	dd	1
_474:
	db	"ccstring",0
_475:
	db	"$",0
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_bb_ccstring:
	dd	_1
_476:
	db	"cccursorblink",0
	align	4
_bb_cccursorblink:
	dd	0
_477:
	db	"ccursorblinkrate",0
	align	4
_bb_ccursorblinkrate:
	dd	30
_478:
	db	"pathmap",0
_245:
	db	"[][]i",0
	align	4
_bb_pathmap:
	dd	_bbEmptyArray
_479:
	db	"isomapL1",0
	align	4
_bb_isomapL1:
	dd	_bbEmptyArray
_480:
	db	"isomapL2",0
	align	4
_bb_isomapL2:
	dd	_bbEmptyArray
_481:
	db	"autotilemap",0
	align	4
_bb_autotilemap:
	dd	_bbEmptyArray
_482:
	db	"tilewertmap",0
_247:
	db	"[]i",0
	align	4
_bb_tilewertmap:
	dd	_bbEmptyArray
_483:
	db	"game",0
_484:
	db	":tgame",0
	align	4
_451:
	dd	1
	dd	_452
	dd	1
	dd	_453
	dd	_218
	dd	_454
	dd	1
	dd	_455
	dd	_218
	dd	_454
	dd	1
	dd	_456
	dd	_218
	dd	_457
	dd	1
	dd	_458
	dd	_218
	dd	_459
	dd	1
	dd	_460
	dd	_218
	dd	_454
	dd	1
	dd	_461
	dd	_218
	dd	_457
	dd	1
	dd	_462
	dd	_218
	dd	_457
	dd	1
	dd	_463
	dd	_218
	dd	_459
	dd	1
	dd	_464
	dd	_218
	dd	_465
	dd	4
	dd	_466
	dd	_218
	dd	_bb_TILESIZEW
	dd	4
	dd	_467
	dd	_218
	dd	_bb_TILESIZEH
	dd	4
	dd	_468
	dd	_218
	dd	_bb_MAPWIDTH
	dd	4
	dd	_469
	dd	_218
	dd	_bb_MAPHEIGHT
	dd	4
	dd	_470
	dd	_218
	dd	_bb_pixX
	dd	4
	dd	_471
	dd	_218
	dd	_bb_pixY
	dd	4
	dd	_472
	dd	_218
	dd	_bb_tiletoselect
	dd	4
	dd	_473
	dd	_218
	dd	_bb_activeLayer
	dd	4
	dd	_474
	dd	_475
	dd	_bb_ccstring
	dd	4
	dd	_476
	dd	_218
	dd	_bb_cccursorblink
	dd	4
	dd	_477
	dd	_218
	dd	_bb_ccursorblinkrate
	dd	4
	dd	_478
	dd	_245
	dd	_bb_pathmap
	dd	4
	dd	_479
	dd	_245
	dd	_bb_isomapL1
	dd	4
	dd	_480
	dd	_245
	dd	_bb_isomapL2
	dd	4
	dd	_481
	dd	_245
	dd	_bb_autotilemap
	dd	4
	dd	_482
	dd	_247
	dd	_bb_tilewertmap
	dd	2
	dd	_483
	dd	_484
	dd	-4
	dd	0
_208:
	db	"Tnode",0
_209:
	db	"x",0
_210:
	db	"f",0
_211:
	db	"y",0
_212:
	db	"New",0
_213:
	db	"()i",0
_214:
	db	"Delete",0
	align	4
_207:
	dd	2
	dd	_208
	dd	3
	dd	_209
	dd	_210
	dd	8
	dd	3
	dd	_211
	dd	_210
	dd	12
	dd	6
	dd	_212
	dd	_213
	dd	16
	dd	6
	dd	_214
	dd	_213
	dd	20
	dd	0
	align	4
_bb_Tnode:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_207
	dd	16
	dd	__bb_Tnode_New
	dd	__bb_Tnode_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_216:
	db	"Tunit",0
_217:
	db	"ID",0
_219:
	db	"xLoc",0
_220:
	db	"yLoc",0
_221:
	db	"speed",0
_222:
	db	"sprite",0
_223:
	db	":TImage",0
_224:
	db	"targetX",0
_225:
	db	"targetY",0
_226:
	db	"target",0
_227:
	db	":Tunit",0
_228:
	db	"richtung",0
_229:
	db	"anim",0
_230:
	db	"startzeit",0
_231:
	db	"pathAI",0
_232:
	db	"pathStatus",0
_233:
	db	"pathLength",0
_234:
	db	"pathLocation",0
_235:
	db	"pathBank",0
_236:
	db	":TBank",0
_237:
	db	"xPath",0
_238:
	db	"yPath",0
	align	4
_215:
	dd	2
	dd	_216
	dd	3
	dd	_217
	dd	_218
	dd	8
	dd	3
	dd	_219
	dd	_210
	dd	12
	dd	3
	dd	_220
	dd	_210
	dd	16
	dd	3
	dd	_221
	dd	_210
	dd	20
	dd	3
	dd	_222
	dd	_223
	dd	24
	dd	3
	dd	_224
	dd	_218
	dd	28
	dd	3
	dd	_225
	dd	_218
	dd	32
	dd	3
	dd	_226
	dd	_227
	dd	36
	dd	3
	dd	_228
	dd	_218
	dd	40
	dd	3
	dd	_229
	dd	_218
	dd	44
	dd	3
	dd	_230
	dd	_218
	dd	48
	dd	3
	dd	_231
	dd	_218
	dd	52
	dd	3
	dd	_232
	dd	_218
	dd	56
	dd	3
	dd	_233
	dd	_218
	dd	60
	dd	3
	dd	_234
	dd	_218
	dd	64
	dd	3
	dd	_235
	dd	_236
	dd	68
	dd	3
	dd	_237
	dd	_218
	dd	72
	dd	3
	dd	_238
	dd	_218
	dd	76
	dd	6
	dd	_212
	dd	_213
	dd	16
	dd	6
	dd	_214
	dd	_213
	dd	20
	dd	0
	align	4
_bb_Tunit:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_215
	dd	80
	dd	__bb_Tunit_New
	dd	__bb_Tunit_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_416:
	db	"C:/Users/Fobsi/Desktop/AgeOfEmpires/game/astarlib.bmx",0
	align	4
_415:
	dd	_416
	dd	83
	dd	2
	align	4
__bb_Tastar_onClosedlist:
	dd	10
_240:
	db	"Tastar",0
_241:
	db	"tileSize",0
_242:
	db	"mapWidth",0
_243:
	db	"mapHeight",0
_244:
	db	"map",0
_246:
	db	"openlist",0
_248:
	db	"WhichList",0
_249:
	db	"openX",0
_250:
	db	"openY",0
_251:
	db	"parentX",0
_252:
	db	"parentY",0
_253:
	db	"Fcost",0
_254:
	db	"Gcost",0
_255:
	db	"Hcost",0
_256:
	db	"Create",0
_257:
	db	"(i,i,i,[][]i):Tastar",0
_258:
	db	"FindPath",0
_259:
	db	"(:Tunit,i,i)i",0
_260:
	db	"ReadPath",0
_261:
	db	"(:Tunit)i",0
_262:
	db	"ReadPathX",0
_263:
	db	"(:Tunit,i)f",0
_264:
	db	"ReadPathY",0
_265:
	db	"CheckPathStepAdvance",0
	align	4
_239:
	dd	2
	dd	_240
	dd	3
	dd	_241
	dd	_218
	dd	8
	dd	3
	dd	_242
	dd	_218
	dd	12
	dd	3
	dd	_243
	dd	_218
	dd	16
	dd	3
	dd	_244
	dd	_245
	dd	20
	dd	3
	dd	_246
	dd	_247
	dd	24
	dd	3
	dd	_248
	dd	_245
	dd	28
	dd	3
	dd	_249
	dd	_247
	dd	32
	dd	3
	dd	_250
	dd	_247
	dd	36
	dd	3
	dd	_251
	dd	_245
	dd	40
	dd	3
	dd	_252
	dd	_245
	dd	44
	dd	3
	dd	_253
	dd	_247
	dd	48
	dd	3
	dd	_254
	dd	_245
	dd	52
	dd	3
	dd	_255
	dd	_247
	dd	56
	dd	6
	dd	_212
	dd	_213
	dd	16
	dd	6
	dd	_214
	dd	_213
	dd	20
	dd	7
	dd	_256
	dd	_257
	dd	48
	dd	6
	dd	_258
	dd	_259
	dd	52
	dd	7
	dd	_260
	dd	_261
	dd	56
	dd	7
	dd	_262
	dd	_263
	dd	60
	dd	7
	dd	_264
	dd	_263
	dd	64
	dd	6
	dd	_265
	dd	_261
	dd	68
	dd	0
	align	4
_bb_Tastar:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_239
	dd	60
	dd	__bb_Tastar_New
	dd	__bb_Tastar_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Tastar_Create
	dd	__bb_Tastar_FindPath
	dd	__bb_Tastar_ReadPath
	dd	__bb_Tastar_ReadPathX
	dd	__bb_Tastar_ReadPathY
	dd	__bb_Tastar_CheckPathStepAdvance
_418:
	db	"C:/Users/Fobsi/Desktop/AgeOfEmpires/game/editor.bmx",0
	align	4
_417:
	dd	_418
	dd	53
	dd	2
	align	4
__bb_Tgame_unitList:
	dd	_bbNullObject
	align	4
_419:
	dd	_418
	dd	54
	dd	2
	align	4
__bb_Tgame_pickedX:
	dd	0
	align	4
__bb_Tgame_pickedY:
	dd	0
	align	4
__bb_Tgame_pickedXTile:
	dd	0
	align	4
__bb_Tgame_pickedYTile:
	dd	0
	align	4
_420:
	dd	_418
	dd	55
	dd	2
	align	4
__bb_Tgame_mapX:
	dd	0x44070000
	align	4
__bb_Tgame_mapY:
	dd	0x0
_267:
	db	"Tgame",0
_268:
	db	"cursor",0
_269:
	db	"grid",0
_270:
	db	"redBlock",0
_271:
	db	"wallBlock",0
_272:
	db	"smiley",0
_273:
	db	"chaser",0
_274:
	db	"tiles",0
_275:
	db	"unitsprite",0
_276:
	db	"Drawing",0
_277:
	db	"Erasing",0
_278:
	db	"Started",0
_279:
	db	"unit",0
_280:
	db	"Astar",0
_281:
	db	":Tastar",0
_282:
	db	"mXs",0
_283:
	db	"mYs",0
_284:
	db	"collision",0
_285:
	db	"():tgame",0
_286:
	db	"RunProgram",0
_287:
	db	"UserInput",0
_288:
	db	"RenderScreen",0
_289:
	db	"DrawTextinfos",0
_290:
	db	"DrawMaps",0
_291:
	db	"MoveUnits",0
_292:
	db	"UpdatePath",0
_293:
	db	"MoveUnit",0
	align	4
_266:
	dd	2
	dd	_267
	dd	3
	dd	_268
	dd	_223
	dd	8
	dd	3
	dd	_269
	dd	_223
	dd	12
	dd	3
	dd	_270
	dd	_223
	dd	16
	dd	3
	dd	_271
	dd	_223
	dd	20
	dd	3
	dd	_272
	dd	_223
	dd	24
	dd	3
	dd	_273
	dd	_223
	dd	28
	dd	3
	dd	_274
	dd	_223
	dd	32
	dd	3
	dd	_275
	dd	_223
	dd	36
	dd	3
	dd	_276
	dd	_218
	dd	40
	dd	3
	dd	_277
	dd	_218
	dd	44
	dd	3
	dd	_278
	dd	_218
	dd	48
	dd	3
	dd	_279
	dd	_227
	dd	52
	dd	3
	dd	_280
	dd	_281
	dd	56
	dd	3
	dd	_282
	dd	_218
	dd	60
	dd	3
	dd	_283
	dd	_218
	dd	64
	dd	3
	dd	_284
	dd	_218
	dd	68
	dd	6
	dd	_212
	dd	_213
	dd	16
	dd	6
	dd	_214
	dd	_213
	dd	20
	dd	7
	dd	_256
	dd	_285
	dd	48
	dd	6
	dd	_286
	dd	_213
	dd	52
	dd	6
	dd	_287
	dd	_213
	dd	56
	dd	6
	dd	_288
	dd	_213
	dd	60
	dd	6
	dd	_289
	dd	_213
	dd	64
	dd	6
	dd	_290
	dd	_213
	dd	68
	dd	6
	dd	_291
	dd	_213
	dd	72
	dd	6
	dd	_292
	dd	_261
	dd	76
	dd	6
	dd	_293
	dd	_261
	dd	80
	dd	0
	align	4
_bb_Tgame:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_266
	dd	72
	dd	__bb_Tgame_New
	dd	__bb_Tgame_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Tgame_Create
	dd	__bb_Tgame_RunProgram
	dd	__bb_Tgame_UserInput
	dd	__bb_Tgame_RenderScreen
	dd	__bb_Tgame_DrawTextinfos
	dd	__bb_Tgame_DrawMaps
	dd	__bb_Tgame_MoveUnits
	dd	__bb_Tgame_UpdatePath
	dd	__bb_Tgame_MoveUnit
	align	4
_421:
	dd	_418
	dd	10
	dd	1
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	29
	dw	65,103,101,32,111,102,32,67,105,118,105,108,105,122,97,116
	dw	105,111,110,115,32,45,32,69,100,105,116,111,114
	align	4
_426:
	dd	_418
	dd	16
	dd	1
	align	4
_427:
	dd	_418
	dd	17
	dd	1
	align	4
_428:
	dd	0
	align	4
_430:
	dd	_418
	dd	18
	dd	1
	align	4
_431:
	dd	_418
	dd	19
	dd	1
	align	4
_432:
	dd	_418
	dd	22
	dd	1
	align	4
_433:
	dd	_418
	dd	23
	dd	1
	align	4
_434:
	dd	_418
	dd	26
	dd	1
	align	4
_435:
	dd	_418
	dd	27
	dd	1
	align	4
_436:
	dd	_418
	dd	30
	dd	1
	align	4
_437:
	dd	_418
	dd	31
	dd	1
	align	4
_438:
	dd	_418
	dd	32
	dd	1
	align	4
_439:
	dd	_418
	dd	34
	dd	1
	align	4
_440:
	dd	_418
	dd	35
	dd	1
	align	4
_441:
	dd	_418
	dd	36
	dd	1
	align	4
_442:
	dd	_418
	dd	38
	dd	1
	align	4
_443:
	dd	_418
	dd	39
	dd	1
	align	4
_444:
	dd	_418
	dd	475
	dd	1
	align	4
_445:
	dd	_418
	dd	477
	dd	1
	align	4
_447:
	dd	_418
	dd	478
	dd	1
	align	4
_450:
	dd	_418
	dd	479
	dd	1
_489:
	db	"Self",0
_490:
	db	":Tnode",0
	align	4
_488:
	dd	1
	dd	_212
	dd	2
	dd	_489
	dd	_490
	dd	-4
	dd	0
	align	4
_487:
	dd	3
	dd	0
	dd	0
	align	4
_496:
	dd	1
	dd	_212
	dd	2
	dd	_489
	dd	_227
	dd	-4
	dd	0
	align	4
_495:
	dd	3
	dd	0
	dd	0
	align	4
_515:
	dd	1
	dd	_212
	dd	2
	dd	_489
	dd	_281
	dd	-4
	dd	0
	align	4
_514:
	dd	3
	dd	0
	dd	0
_734:
	db	"tilesize",0
_735:
	db	"mapwidth",0
_736:
	db	"mapheight",0
_737:
	db	"astar",0
_738:
	db	":tastar",0
_739:
	db	"z",0
	align	4
_733:
	dd	1
	dd	_256
	dd	2
	dd	_734
	dd	_218
	dd	-4
	dd	2
	dd	_735
	dd	_218
	dd	-8
	dd	2
	dd	_736
	dd	_218
	dd	-12
	dd	2
	dd	_244
	dd	_245
	dd	-16
	dd	2
	dd	_737
	dd	_738
	dd	-20
	dd	2
	dd	_739
	dd	_218
	dd	-24
	dd	0
	align	4
_537:
	dd	_416
	dd	85
	dd	3
	align	4
_539:
	dd	_416
	dd	86
	dd	3
	align	4
_543:
	dd	_416
	dd	87
	dd	3
	align	4
_547:
	dd	_416
	dd	88
	dd	3
	align	4
_551:
	dd	_416
	dd	89
	dd	3
	align	4
_559:
	dd	_416
	dd	90
	dd	3
	align	4
_569:
	dd	_416
	dd	91
	dd	4
	align	4
_571:
	dd	_416
	dd	92
	dd	3
	align	4
_581:
	dd	_416
	dd	93
	dd	3
	align	4
_600:
	dd	3
	dd	0
	dd	0
	align	4
_584:
	dd	_416
	dd	93
	dd	26
	align	4
_601:
	dd	_416
	dd	94
	dd	3
	align	4
_611:
	dd	_416
	dd	95
	dd	3
	align	4
_621:
	dd	_416
	dd	96
	dd	3
	align	4
_631:
	dd	_416
	dd	97
	dd	3
	align	4
_650:
	dd	3
	dd	0
	dd	0
	align	4
_634:
	dd	_416
	dd	97
	dd	27
	align	4
_651:
	dd	_416
	dd	98
	dd	3
	align	4
_661:
	dd	_416
	dd	99
	dd	3
	align	4
_680:
	dd	3
	dd	0
	dd	0
	align	4
_664:
	dd	_416
	dd	99
	dd	26
	align	4
_681:
	dd	_416
	dd	100
	dd	3
	align	4
_691:
	dd	_416
	dd	101
	dd	3
	align	4
_701:
	dd	_416
	dd	102
	dd	3
	align	4
_720:
	dd	3
	dd	0
	dd	0
	align	4
_704:
	dd	_416
	dd	102
	dd	26
	align	4
_721:
	dd	_416
	dd	103
	dd	3
	align	4
_731:
	dd	_416
	dd	104
	dd	3
	align	4
_732:
	dd	_416
	dd	105
	dd	3
_1693:
	db	"startX",0
_1694:
	db	"startY",0
_1695:
	db	"newOpenListItemID",0
_1696:
	db	"addedGcost",0
_1697:
	db	"path",0
_1698:
	db	"temp",0
_1699:
	db	"onOpenList",0
_1700:
	db	"numberOfOpenListItems",0
_1701:
	db	"tempx",0
	align	4
_1692:
	dd	1
	dd	_258
	dd	2
	dd	_489
	dd	_281
	dd	-4
	dd	2
	dd	_279
	dd	_227
	dd	-8
	dd	2
	dd	_224
	dd	_218
	dd	-12
	dd	2
	dd	_225
	dd	_218
	dd	-16
	dd	2
	dd	_1693
	dd	_218
	dd	-20
	dd	2
	dd	_1694
	dd	_218
	dd	-24
	dd	2
	dd	_1695
	dd	_218
	dd	-28
	dd	2
	dd	_1696
	dd	_218
	dd	-32
	dd	2
	dd	_1697
	dd	_218
	dd	-36
	dd	2
	dd	_1698
	dd	_218
	dd	-40
	dd	2
	dd	_1699
	dd	_218
	dd	-44
	dd	2
	dd	_1700
	dd	_218
	dd	-48
	dd	2
	dd	_1701
	dd	_218
	dd	-52
	dd	0
	align	4
_740:
	dd	_416
	dd	120
	dd	2
	align	4
_746:
	dd	_416
	dd	120
	dd	45
	align	4
_752:
	dd	_416
	dd	121
	dd	2
	align	4
_755:
	dd	_416
	dd	121
	dd	38
	align	4
_758:
	dd	_416
	dd	123
	dd	2
	align	4
_760:
	dd	_416
	dd	124
	dd	2
	align	4
_762:
	dd	_416
	dd	125
	dd	2
	align	4
_765:
	dd	_416
	dd	130
	dd	2
	align	4
_774:
	dd	3
	dd	0
	dd	0
	align	4
_773:
	dd	_416
	dd	130
	dd	74
	align	4
_775:
	dd	_416
	dd	131
	dd	2
	align	4
_784:
	dd	3
	dd	0
	dd	0
	align	4
_783:
	dd	_416
	dd	131
	dd	74
	align	4
_785:
	dd	_416
	dd	134
	dd	2
	align	4
_804:
	dd	3
	dd	0
	dd	0
	align	4
_795:
	dd	_416
	dd	135
	dd	3
	align	4
_799:
	dd	_416
	dd	136
	dd	3
	align	4
_803:
	dd	_416
	dd	137
	dd	3
	align	4
_805:
	dd	_416
	dd	140
	dd	2
	align	4
_833:
	dd	3
	dd	0
	dd	0
	align	4
_807:
	dd	_416
	dd	142
	dd	3
	align	4
_808:
	dd	_416
	dd	143
	dd	3
_832:
	db	"w",0
	align	4
_831:
	dd	3
	dd	0
	dd	2
	dd	_832
	dd	_218
	dd	-56
	dd	0
	align	4
_814:
	dd	_416
	dd	144
	dd	4
	align	4
_830:
	dd	3
	dd	0
	dd	2
	dd	_739
	dd	_218
	dd	-60
	dd	0
	align	4
_820:
	dd	_416
	dd	144
	dd	34
	align	4
_834:
	dd	_416
	dd	147
	dd	2
	align	4
_835:
	dd	_416
	dd	148
	dd	2
	align	4
_837:
	dd	_416
	dd	149
	dd	2
	align	4
_841:
	dd	_416
	dd	150
	dd	2
	align	4
_845:
	dd	_416
	dd	151
	dd	2
	align	4
_855:
	dd	_416
	dd	154
	dd	2
	align	4
_857:
	dd	_416
	dd	155
	dd	2
	align	4
_864:
	dd	_416
	dd	156
	dd	2
	align	4
_871:
	dd	_416
	dd	156
	dd	22
	align	4
_878:
	dd	_416
	dd	343
	dd	2
	align	4
_1602:
	dd	3
	dd	0
	dd	0
	align	4
_879:
	dd	_416
	dd	165
	dd	3
_1582:
	db	"parentXval",0
_1583:
	db	"parentYVal",0
_1584:
	db	"v",0
	align	4
_1581:
	dd	3
	dd	0
	dd	2
	dd	_1582
	dd	_218
	dd	-64
	dd	2
	dd	_1583
	dd	_218
	dd	-68
	dd	2
	dd	_1584
	dd	_218
	dd	-72
	dd	0
	align	4
_881:
	dd	_416
	dd	168
	dd	4
	align	4
_893:
	dd	_416
	dd	168
	dd	43
	align	4
_905:
	dd	_416
	dd	169
	dd	4
	align	4
_915:
	dd	_416
	dd	174
	dd	4
	align	4
_916:
	dd	_416
	dd	175
	dd	4
	align	4
_928:
	dd	_416
	dd	176
	dd	4
	align	4
_930:
	dd	_416
	dd	197
	dd	4
_1045:
	db	"u",0
	align	4
_1044:
	dd	3
	dd	0
	dd	2
	dd	_1045
	dd	_218
	dd	-76
	dd	0
	align	4
_931:
	dd	_416
	dd	178
	dd	5
	align	4
_933:
	dd	_416
	dd	179
	dd	5
	align	4
_983:
	dd	3
	dd	0
	dd	0
	align	4
_935:
	dd	_416
	dd	182
	dd	6
	align	4
_958:
	dd	3
	dd	0
	dd	0
	align	4
_957:
	dd	_416
	dd	182
	dd	57
	align	4
_959:
	dd	_416
	dd	183
	dd	6
	align	4
_982:
	dd	3
	dd	0
	dd	0
	align	4
_981:
	dd	_416
	dd	183
	dd	59
	align	4
_1012:
	dd	3
	dd	0
	dd	0
	align	4
_985:
	dd	_416
	dd	185
	dd	6
	align	4
_1011:
	dd	3
	dd	0
	dd	0
	align	4
_987:
	dd	_416
	dd	187
	dd	7
	align	4
_1010:
	dd	3
	dd	0
	dd	0
	align	4
_1009:
	dd	_416
	dd	187
	dd	58
	align	4
_1013:
	dd	_416
	dd	190
	dd	5
	align	4
_1040:
	dd	3
	dd	0
	dd	0
	align	4
_1015:
	dd	_416
	dd	191
	dd	6
	align	4
_1021:
	dd	_416
	dd	192
	dd	6
	align	4
_1033:
	dd	_416
	dd	193
	dd	6
	align	4
_1043:
	dd	3
	dd	0
	dd	0
	align	4
_1042:
	dd	_416
	dd	195
	dd	6
	align	4
_1046:
	dd	_416
	dd	207
	dd	4
_1580:
	db	"b",0
	align	4
_1579:
	dd	3
	dd	0
	dd	2
	dd	_1580
	dd	_218
	dd	-80
	dd	0
	align	4
_1050:
	dd	_416
	dd	208
	dd	5
_1578:
	db	"a",0
	align	4
_1577:
	dd	3
	dd	0
	dd	2
	dd	_1578
	dd	_218
	dd	-84
	dd	0
	align	4
_1054:
	dd	_416
	dd	211
	dd	6
	align	4
_1576:
	dd	3
	dd	0
	dd	0
	align	4
_1066:
	dd	_416
	dd	215
	dd	7
	align	4
_1575:
	dd	3
	dd	0
	dd	0
	align	4
_1076:
	dd	_416
	dd	218
	dd	8
_1574:
	db	"corner",0
	align	4
_1573:
	dd	3
	dd	0
	dd	2
	dd	_1574
	dd	_218
	dd	-88
	dd	0
	align	4
_1086:
	dd	_416
	dd	221
	dd	9
	align	4
_1088:
	dd	_416
	dd	222
	dd	9
	align	4
_1142:
	dd	3
	dd	0
	dd	0
	align	4
_1090:
	dd	_416
	dd	223
	dd	10
	align	4
_1114:
	dd	3
	dd	0
	dd	0
	align	4
_1092:
	dd	_416
	dd	224
	dd	11
	align	4
_1113:
	dd	3
	dd	0
	dd	0
	align	4
_1112:
	dd	_416
	dd	224
	dd	108
	align	4
_1141:
	dd	3
	dd	0
	dd	0
	align	4
_1116:
	dd	_416
	dd	225
	dd	15
	align	4
_1140:
	dd	3
	dd	0
	dd	0
	align	4
_1118:
	dd	_416
	dd	226
	dd	11
	align	4
_1139:
	dd	3
	dd	0
	dd	0
	align	4
_1138:
	dd	_416
	dd	226
	dd	108
	align	4
_1199:
	dd	3
	dd	0
	dd	0
	align	4
_1144:
	dd	_416
	dd	228
	dd	14
	align	4
_1198:
	dd	3
	dd	0
	dd	0
	align	4
_1146:
	dd	_416
	dd	229
	dd	10
	align	4
_1170:
	dd	3
	dd	0
	dd	0
	align	4
_1148:
	dd	_416
	dd	230
	dd	11
	align	4
_1169:
	dd	3
	dd	0
	dd	0
	align	4
_1168:
	dd	_416
	dd	230
	dd	108
	align	4
_1197:
	dd	3
	dd	0
	dd	0
	align	4
_1172:
	dd	_416
	dd	231
	dd	15
	align	4
_1196:
	dd	3
	dd	0
	dd	0
	align	4
_1174:
	dd	_416
	dd	232
	dd	11
	align	4
_1195:
	dd	3
	dd	0
	dd	0
	align	4
_1194:
	dd	_416
	dd	232
	dd	108
	align	4
_1200:
	dd	_416
	dd	235
	dd	9
_1572:
	db	"m",0
	align	4
_1571:
	dd	3
	dd	0
	dd	2
	dd	_1572
	dd	_218
	dd	-92
	dd	0
	align	4
_1202:
	dd	_416
	dd	237
	dd	10
	align	4
_1204:
	dd	_416
	dd	238
	dd	10
	align	4
_1391:
	dd	3
	dd	0
	dd	0
	align	4
_1214:
	dd	_416
	dd	240
	dd	11
	align	4
_1215:
	dd	_416
	dd	241
	dd	11
	align	4
_1216:
	dd	_416
	dd	242
	dd	11
	align	4
_1223:
	dd	_416
	dd	243
	dd	11
	align	4
_1230:
	dd	_416
	dd	243
	dd	42
	align	4
_1237:
	dd	_416
	dd	246
	dd	11
	align	4
_1242:
	dd	3
	dd	0
	dd	0
	align	4
_1241:
	dd	_416
	dd	247
	dd	12
	align	4
_1245:
	dd	3
	dd	0
	dd	0
	align	4
_1244:
	dd	_416
	dd	249
	dd	12
	align	4
_1246:
	dd	_416
	dd	251
	dd	11
	align	4
_1264:
	dd	_416
	dd	254
	dd	11
	align	4
_1276:
	dd	_416
	dd	255
	dd	11
	align	4
_1306:
	dd	_416
	dd	256
	dd	11
	align	4
_1316:
	dd	_416
	dd	256
	dd	40
	align	4
_1326:
	dd	_416
	dd	262
	dd	11
	align	4
_1379:
	dd	3
	dd	0
	dd	0
	align	4
_1327:
	dd	_416
	dd	264
	dd	12
	align	4
_1375:
	dd	3
	dd	0
	dd	0
	align	4
_1349:
	dd	_416
	dd	265
	dd	13
	align	4
_1355:
	dd	_416
	dd	266
	dd	13
	align	4
_1367:
	dd	_416
	dd	267
	dd	13
	align	4
_1374:
	dd	_416
	dd	268
	dd	13
	align	4
_1378:
	dd	3
	dd	0
	dd	0
	align	4
_1377:
	dd	_416
	dd	270
	dd	13
	align	4
_1380:
	dd	_416
	dd	273
	dd	11
	align	4
_1381:
	dd	_416
	dd	276
	dd	11
_1570:
	db	"tempGcost",0
	align	4
_1569:
	dd	3
	dd	0
	dd	2
	dd	_1570
	dd	_218
	dd	-96
	dd	0
	align	4
_1393:
	dd	_416
	dd	285
	dd	11
	align	4
_1398:
	dd	3
	dd	0
	dd	0
	align	4
_1397:
	dd	_416
	dd	286
	dd	12
	align	4
_1401:
	dd	3
	dd	0
	dd	0
	align	4
_1400:
	dd	_416
	dd	288
	dd	12
	align	4
_1402:
	dd	_416
	dd	290
	dd	11
	align	4
_1412:
	dd	_416
	dd	294
	dd	11
	align	4
_1568:
	dd	3
	dd	0
	dd	0
	align	4
_1422:
	dd	_416
	dd	295
	dd	12
	align	4
_1432:
	dd	_416
	dd	296
	dd	12
	align	4
_1442:
	dd	_416
	dd	297
	dd	12
	align	4
_1452:
	dd	_416
	dd	303
	dd	12
	align	4
_1567:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-100
	dd	0
	align	4
_1456:
	dd	_416
	dd	304
	dd	13
	align	4
_1566:
	dd	3
	dd	0
	dd	0
	align	4
_1480:
	dd	_416
	dd	305
	dd	14
	align	4
_1510:
	dd	_416
	dd	308
	dd	14
	align	4
_1511:
	dd	_416
	dd	309
	dd	14
	align	4
_1564:
	dd	3
	dd	0
	dd	0
	align	4
_1512:
	dd	_416
	dd	311
	dd	15
	align	4
_1560:
	dd	3
	dd	0
	dd	0
	align	4
_1534:
	dd	_416
	dd	312
	dd	16
	align	4
_1540:
	dd	_416
	dd	313
	dd	16
	align	4
_1552:
	dd	_416
	dd	314
	dd	16
	align	4
_1559:
	dd	_416
	dd	315
	dd	16
	align	4
_1563:
	dd	3
	dd	0
	dd	0
	align	4
_1562:
	dd	_416
	dd	317
	dd	16
	align	4
_1565:
	dd	_416
	dd	321
	dd	14
	align	4
_1588:
	dd	3
	dd	0
	dd	0
	align	4
_1586:
	dd	_416
	dd	337
	dd	4
	align	4
_1587:
	dd	_416
	dd	337
	dd	25
	align	4
_1589:
	dd	_416
	dd	341
	dd	3
	align	4
_1601:
	dd	3
	dd	0
	dd	0
	align	4
_1599:
	dd	_416
	dd	341
	dd	52
	align	4
_1600:
	dd	_416
	dd	341
	dd	67
	align	4
_1603:
	dd	_416
	dd	347
	dd	2
	align	4
_1605:
	dd	_416
	dd	348
	dd	2
_1688:
	db	"pathX",0
_1689:
	db	"pathY",0
_1690:
	db	"cellPosition",0
	align	4
_1687:
	dd	3
	dd	0
	dd	2
	dd	_1688
	dd	_218
	dd	-104
	dd	2
	dd	_1689
	dd	_218
	dd	-108
	dd	2
	dd	_1690
	dd	_218
	dd	-112
	dd	0
	align	4
_1607:
	dd	_416
	dd	352
	dd	3
	align	4
_1609:
	dd	_416
	dd	352
	dd	27
	align	4
_1611:
	dd	_416
	dd	358
	dd	3
	align	4
_1637:
	dd	3
	dd	0
	dd	0
	align	4
_1612:
	dd	_416
	dd	354
	dd	4
	align	4
_1621:
	dd	_416
	dd	355
	dd	4
	align	4
_1630:
	dd	_416
	dd	356
	dd	4
	align	4
_1631:
	dd	_416
	dd	357
	dd	4
	align	4
_1640:
	dd	_416
	dd	362
	dd	3
	align	4
_1645:
	dd	_416
	dd	369
	dd	3
	align	4
_1646:
	dd	_416
	dd	369
	dd	21
	align	4
_1647:
	dd	_416
	dd	370
	dd	3
	align	4
_1651:
	dd	_416
	dd	371
	dd	3
	align	4
_1680:
	dd	3
	dd	0
	dd	0
	align	4
_1654:
	dd	_416
	dd	372
	dd	4
	align	4
_1657:
	dd	_416
	dd	373
	dd	4
	align	4
_1660:
	dd	_416
	dd	374
	dd	4
	align	4
_1661:
	dd	_416
	dd	375
	dd	4
	align	4
_1670:
	dd	_416
	dd	376
	dd	4
	align	4
_1679:
	dd	_416
	dd	377
	dd	4
	align	4
_1681:
	dd	_416
	dd	379
	dd	3
	align	4
_1684:
	dd	_416
	dd	380
	dd	3
	align	4
_1691:
	dd	_416
	dd	386
	dd	2
	align	4
_1714:
	dd	1
	dd	_260
	dd	2
	dd	_279
	dd	_227
	dd	-4
	dd	0
	align	4
_1702:
	dd	_416
	dd	399
	dd	2
	align	4
_1708:
	dd	_416
	dd	400
	dd	2
	align	4
_1725:
	dd	1
	dd	_262
	dd	2
	dd	_279
	dd	_227
	dd	-4
	dd	2
	dd	_234
	dd	_218
	dd	-8
	dd	0
	align	4
_1715:
	dd	_416
	dd	404
	dd	2
	align	4
_1724:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-12
	dd	0
	align	4
_1719:
	dd	_416
	dd	405
	dd	3
	align	4
_1723:
	dd	_416
	dd	406
	dd	3
	align	4
_3810:
	dd	0x41900000
	align	4
_3811:
	dd	0x0
	align	4
_1736:
	dd	1
	dd	_264
	dd	2
	dd	_279
	dd	_227
	dd	-4
	dd	2
	dd	_234
	dd	_218
	dd	-8
	dd	0
	align	4
_1726:
	dd	_416
	dd	411
	dd	2
	align	4
_1735:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-12
	dd	0
	align	4
_1730:
	dd	_416
	dd	412
	dd	3
	align	4
_1734:
	dd	_416
	dd	413
	dd	3
	align	4
_3818:
	dd	0x41900000
	align	4
_3819:
	dd	0x0
	align	4
_1774:
	dd	1
	dd	_265
	dd	2
	dd	_489
	dd	_281
	dd	-4
	dd	2
	dd	_279
	dd	_227
	dd	-8
	dd	0
	align	4
_1737:
	dd	_416
	dd	422
	dd	3
	align	4
_1773:
	dd	3
	dd	0
	dd	0
	align	4
_1753:
	dd	_416
	dd	423
	dd	4
	align	4
_1763:
	dd	3
	dd	0
	dd	0
	align	4
_1759:
	dd	_416
	dd	424
	dd	5
	align	4
_1772:
	dd	3
	dd	0
	dd	0
	align	4
_1765:
	dd	_416
	dd	426
	dd	5
	align	4
_1771:
	dd	_416
	dd	427
	dd	5
_1787:
	db	":Tgame",0
	align	4
_1786:
	dd	1
	dd	_212
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	0
	align	4
_1785:
	dd	3
	dd	0
	dd	0
_2233:
	db	"tempunit",0
_2234:
	db	":tunit",0
	align	4
_2232:
	dd	1
	dd	_256
	dd	2
	dd	_483
	dd	_484
	dd	-4
	dd	2
	dd	_2233
	dd	_2234
	dd	-8
	dd	0
	align	4
_1809:
	dd	_418
	dd	62
	dd	3
	align	4
_1811:
	dd	_418
	dd	63
	dd	3
	align	4
_1814:
	dd	3
	dd	0
	dd	0
	align	4
_1813:
	dd	_418
	dd	63
	dd	39
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	71,114,97,102,105,107,107,97,114,116,101,32,110,105,99,104
	dw	116,32,117,110,116,101,114,115,116,252,116,122,116,33
	align	4
_1815:
	dd	_418
	dd	64
	dd	3
	align	4
_1816:
	dd	_418
	dd	64
	dd	23
	align	4
_1817:
	dd	_418
	dd	64
	dd	50
	align	4
_1818:
	dd	_418
	dd	66
	dd	3
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	103,114,97,112,104,105,99,115,47,114,101,100,95,112,111,105
	dw	110,116,101,114,46,98,109,112
	align	4
_1826:
	dd	_418
	dd	67
	dd	3
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,103,114,105,100,46,98,109
	dw	112
	align	4
_1834:
	dd	_418
	dd	68
	dd	3
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	103,114,97,112,104,105,99,115,47,101,110,100,46,98,109,112
	align	4
_1842:
	dd	_418
	dd	69
	dd	3
	align	4
_72:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,119,97,108,108,46,98,109
	dw	112
	align	4
_1850:
	dd	_418
	dd	70
	dd	3
	align	4
_73:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	103,114,97,112,104,105,99,115,47,117,110,105,116,115,47,119
	dw	111,114,107,101,114,47,119,111,114,107,101,114,46,112,110,103
	align	4
_1858:
	dd	_418
	dd	71
	dd	3
	align	4
_1861:
	dd	_418
	dd	72
	dd	3
	align	4
_74:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	103,114,97,112,104,105,99,115,47,117,110,105,116,115,47,119
	dw	97,114,114,105,111,114,47,119,97,114,114,105,111,114,46,112
	dw	110,103
	align	4
_1869:
	dd	_418
	dd	73
	dd	3
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	103,114,97,112,104,105,99,115,47,84,73,76,69,77,65,80
	dw	95,76,65,82,71,69,46,112,110,103
	align	4
_1877:
	dd	_418
	dd	74
	dd	3
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,117,110,105,116,46,98,109
	dw	112
	align	4
_1885:
	dd	_418
	dd	75
	dd	3
	align	4
_1888:
	dd	_418
	dd	76
	dd	3
	align	4
_1889:
	dd	_418
	dd	77
	dd	3
	align	4
_1891:
	dd	_418
	dd	78
	dd	3
	align	4
_1896:
	dd	_418
	dd	79
	dd	3
	align	4
_1910:
	dd	3
	dd	0
	dd	2
	dd	_739
	dd	_218
	dd	-12
	dd	0
	align	4
_1900:
	dd	_418
	dd	80
	dd	4
	align	4
_1911:
	dd	_418
	dd	82
	dd	3
	align	4
_1916:
	dd	_418
	dd	83
	dd	3
	align	4
_1930:
	dd	3
	dd	0
	dd	2
	dd	_739
	dd	_218
	dd	-16
	dd	0
	align	4
_1920:
	dd	_418
	dd	84
	dd	4
	align	4
_1931:
	dd	_418
	dd	86
	dd	3
	align	4
_1936:
	dd	_418
	dd	87
	dd	3
	align	4
_1950:
	dd	3
	dd	0
	dd	2
	dd	_739
	dd	_218
	dd	-20
	dd	0
	align	4
_1940:
	dd	_418
	dd	88
	dd	4
	align	4
_1951:
	dd	_418
	dd	91
	dd	3
	align	4
_1956:
	dd	_418
	dd	92
	dd	3
	align	4
_1970:
	dd	3
	dd	0
	dd	2
	dd	_739
	dd	_218
	dd	-24
	dd	0
	align	4
_1960:
	dd	_418
	dd	93
	dd	4
	align	4
_1971:
	dd	_418
	dd	95
	dd	3
	align	4
_1976:
	dd	_418
	dd	96
	dd	3
_2067:
	db	"c",0
	align	4
_2066:
	dd	3
	dd	0
	dd	2
	dd	_2067
	dd	_218
	dd	-28
	dd	0
	align	4
_1979:
	dd	_418
	dd	97
	dd	4
	align	4
_2000:
	dd	3
	dd	0
	dd	0
	align	4
_1996:
	dd	_418
	dd	99
	dd	6
	align	4
_2005:
	dd	3
	dd	0
	dd	0
	align	4
_2001:
	dd	_418
	dd	101
	dd	6
	align	4
_2010:
	dd	3
	dd	0
	dd	0
	align	4
_2006:
	dd	_418
	dd	103
	dd	6
	align	4
_2015:
	dd	3
	dd	0
	dd	0
	align	4
_2011:
	dd	_418
	dd	105
	dd	6
	align	4
_2020:
	dd	3
	dd	0
	dd	0
	align	4
_2016:
	dd	_418
	dd	107
	dd	6
	align	4
_2025:
	dd	3
	dd	0
	dd	0
	align	4
_2021:
	dd	_418
	dd	109
	dd	6
	align	4
_2030:
	dd	3
	dd	0
	dd	0
	align	4
_2026:
	dd	_418
	dd	111
	dd	6
	align	4
_2035:
	dd	3
	dd	0
	dd	0
	align	4
_2031:
	dd	_418
	dd	113
	dd	6
	align	4
_2040:
	dd	3
	dd	0
	dd	0
	align	4
_2036:
	dd	_418
	dd	115
	dd	6
	align	4
_2045:
	dd	3
	dd	0
	dd	0
	align	4
_2041:
	dd	_418
	dd	117
	dd	6
	align	4
_2050:
	dd	3
	dd	0
	dd	0
	align	4
_2046:
	dd	_418
	dd	119
	dd	6
	align	4
_2055:
	dd	3
	dd	0
	dd	0
	align	4
_2051:
	dd	_418
	dd	121
	dd	6
	align	4
_2060:
	dd	3
	dd	0
	dd	0
	align	4
_2056:
	dd	_418
	dd	123
	dd	6
	align	4
_2065:
	dd	3
	dd	0
	dd	0
	align	4
_2061:
	dd	_418
	dd	125
	dd	6
	align	4
_2068:
	dd	_418
	dd	130
	dd	3
	align	4
_2091:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-32
	dd	0
	align	4
_2072:
	dd	_418
	dd	131
	dd	4
	align	4
_2090:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-36
	dd	0
	align	4
_2076:
	dd	_418
	dd	132
	dd	5
	align	4
_2083:
	dd	_418
	dd	133
	dd	5
	align	4
_2092:
	dd	_418
	dd	137
	dd	3
	align	4
_2100:
	dd	_418
	dd	138
	dd	3
	align	4
_2230:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-40
	dd	0
	align	4
_2103:
	dd	_418
	dd	139
	dd	4
	align	4
_2111:
	dd	_418
	dd	139
	dd	28
	align	4
_2117:
	dd	_418
	dd	140
	dd	4
	align	4
_2124:
	dd	3
	dd	0
	dd	0
	align	4
_2119:
	dd	_418
	dd	140
	dd	30
	align	4
_2125:
	dd	_418
	dd	141
	dd	4
	align	4
_2135:
	dd	_418
	dd	142
	dd	4
	align	4
_2140:
	dd	_418
	dd	143
	dd	4
	align	4
_2181:
	dd	3
	dd	0
	dd	0
	align	4
_2142:
	dd	_418
	dd	144
	dd	5
	align	4
_3846:
	dd	0x42000000
	align	4
_2148:
	dd	_418
	dd	145
	dd	5
	align	4
_3847:
	dd	0x42000000
	align	4
_2154:
	dd	_418
	dd	146
	dd	5
	align	4
_3848:
	dd	0x40a00000
	align	4
_2160:
	dd	_418
	dd	147
	dd	5
	align	4
_2166:
	dd	_418
	dd	148
	dd	5
	align	4
_2178:
	dd	_418
	dd	149
	dd	5
	align	4
_2229:
	dd	3
	dd	0
	dd	0
	align	4
_2183:
	dd	_418
	dd	151
	dd	5
	align	4
_3849:
	dd	0x42000000
	align	4
_2189:
	dd	_418
	dd	152
	dd	5
	align	4
_3850:
	dd	0x42000000
	align	4
_2195:
	dd	_418
	dd	153
	dd	5
	align	4
_3851:
	dd	0x40400000
	align	4
_2201:
	dd	_418
	dd	154
	dd	5
	align	4
_2211:
	dd	_418
	dd	155
	dd	5
	align	4
_2217:
	dd	_418
	dd	156
	dd	5
	align	4
_2231:
	dd	_418
	dd	159
	dd	3
	align	4
_2248:
	dd	1
	dd	_286
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	0
	align	4
_2235:
	dd	_418
	dd	162
	dd	3
	align	4
_2247:
	dd	3
	dd	0
	dd	0
	align	4
_2238:
	dd	_418
	dd	163
	dd	4
	align	4
_2241:
	dd	_418
	dd	164
	dd	4
	align	4
_2244:
	dd	_418
	dd	165
	dd	4
	align	4
_2525:
	dd	1
	dd	_287
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	0
	align	4
_2249:
	dd	_418
	dd	169
	dd	3
	align	4
_2489:
	dd	3
	dd	0
	dd	0
	align	4
_2253:
	dd	_418
	dd	170
	dd	4
	align	4
_2259:
	dd	3
	dd	0
	dd	0
	align	4
_2255:
	dd	_418
	dd	171
	dd	5
	align	4
_2258:
	dd	3
	dd	0
	dd	0
	align	4
_2257:
	dd	_418
	dd	171
	dd	29
	align	4
_2260:
	dd	_418
	dd	173
	dd	4
	align	4
_2266:
	dd	3
	dd	0
	dd	0
	align	4
_2262:
	dd	_418
	dd	174
	dd	5
	align	4
_2265:
	dd	3
	dd	0
	dd	0
	align	4
_2264:
	dd	_418
	dd	174
	dd	29
	align	4
_2267:
	dd	_418
	dd	176
	dd	4
	align	4
_2270:
	dd	3
	dd	0
	dd	0
	align	4
_2269:
	dd	_418
	dd	177
	dd	5
	align	4
_105:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,97,112,49
	align	4
_104:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,97,112,115
	align	4
_2271:
	dd	_418
	dd	179
	dd	4
	align	4
_2274:
	dd	3
	dd	0
	dd	0
	align	4
_2273:
	dd	_418
	dd	180
	dd	5
	align	4
_2275:
	dd	_418
	dd	183
	dd	4
	align	4
_2285:
	dd	3
	dd	0
	dd	0
	align	4
_2277:
	dd	_418
	dd	183
	dd	31
	align	4
_2281:
	dd	_418
	dd	183
	dd	48
	align	4
_2286:
	dd	_418
	dd	184
	dd	4
	align	4
_2456:
	dd	3
	dd	0
	dd	0
	align	4
_2288:
	dd	_418
	dd	185
	dd	5
	align	4
_2455:
	dd	3
	dd	0
	dd	0
	align	4
_2296:
	dd	_418
	dd	187
	dd	6
	align	4
_2309:
	dd	3
	dd	0
	dd	0
	align	4
_2302:
	dd	_418
	dd	187
	dd	52
	align	4
_2310:
	dd	_418
	dd	188
	dd	6
	align	4
_2323:
	dd	3
	dd	0
	dd	0
	align	4
_2316:
	dd	_418
	dd	188
	dd	52
	align	4
_2324:
	dd	_418
	dd	190
	dd	6
	align	4
_2433:
	dd	3
	dd	0
	dd	0
	align	4
_2330:
	dd	_418
	dd	191
	dd	7
	align	4
_2432:
	dd	3
	dd	0
	dd	0
	align	4
_2338:
	dd	_418
	dd	192
	dd	8
	align	4
_2345:
	dd	_418
	dd	193
	dd	8
	align	4
_2352:
	dd	_418
	dd	194
	dd	8
	align	4
_2359:
	dd	_418
	dd	195
	dd	8
	align	4
_2366:
	dd	_418
	dd	196
	dd	8
	align	4
_2373:
	dd	_418
	dd	197
	dd	8
	align	4
_2380:
	dd	_418
	dd	198
	dd	8
	align	4
_2387:
	dd	_418
	dd	199
	dd	8
	align	4
_2394:
	dd	_418
	dd	200
	dd	8
	align	4
_2401:
	dd	_418
	dd	202
	dd	8
	align	4
_2431:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-8
	dd	0
	align	4
_2405:
	dd	_418
	dd	203
	dd	9
	align	4
_2430:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-12
	dd	0
	align	4
_2409:
	dd	_418
	dd	204
	dd	10
	align	4
_2416:
	dd	_418
	dd	205
	dd	10
	align	4
_2434:
	dd	_418
	dd	212
	dd	6
	align	4
_2445:
	dd	3
	dd	0
	dd	0
	align	4
_2438:
	dd	_418
	dd	213
	dd	7
	align	4
_2454:
	dd	3
	dd	0
	dd	0
	align	4
_2447:
	dd	_418
	dd	215
	dd	7
	align	4
_2488:
	dd	3
	dd	0
	dd	0
	align	4
_2458:
	dd	_418
	dd	220
	dd	9
	align	4
_2487:
	dd	3
	dd	0
	dd	0
	align	4
_2460:
	dd	_418
	dd	221
	dd	5
	align	4
_2464:
	dd	_418
	dd	222
	dd	5
	align	4
_2486:
	dd	3
	dd	0
	dd	0
	align	4
_2480:
	dd	_418
	dd	223
	dd	6
	align	4
_2524:
	dd	3
	dd	0
	dd	0
	align	4
_2491:
	dd	_418
	dd	227
	dd	4
	align	4
_2523:
	dd	3
	dd	0
	dd	0
	align	4
_2493:
	dd	_418
	dd	228
	dd	5
	align	4
_2497:
	dd	_418
	dd	228
	dd	23
	align	4
_2498:
	dd	_418
	dd	229
	dd	5
	align	4
_2522:
	dd	3
	dd	0
	dd	0
	align	4
_2514:
	dd	_418
	dd	230
	dd	6
	align	4
_2585:
	dd	1
	dd	_288
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	0
	align	4
_2526:
	dd	_418
	dd	238
	dd	3
	align	4
_2527:
	dd	_418
	dd	239
	dd	3
	align	4
_2528:
	dd	_418
	dd	242
	dd	3
	align	4
_2529:
	dd	_418
	dd	243
	dd	3
	align	4
_2530:
	dd	_418
	dd	246
	dd	3
	align	4
_2531:
	dd	_418
	dd	247
	dd	3
	align	4
_2535:
	dd	_418
	dd	248
	dd	3
	align	4
_2539:
	dd	_418
	dd	251
	dd	3
	align	4
_2542:
	dd	3
	dd	0
	dd	0
	align	4
_2541:
	dd	_418
	dd	251
	dd	28
	align	4
_2543:
	dd	_418
	dd	252
	dd	3
	align	4
_2546:
	dd	3
	dd	0
	dd	0
	align	4
_2545:
	dd	_418
	dd	252
	dd	30
	align	4
_2547:
	dd	_418
	dd	255
	dd	3
	align	4
_2564:
	dd	3
	dd	0
	dd	0
	align	4
_2549:
	dd	_418
	dd	256
	dd	4
	align	4
_2557:
	dd	3
	dd	0
	dd	0
	align	4
_2553:
	dd	_418
	dd	257
	dd	5
	align	4
_2563:
	dd	3
	dd	0
	dd	0
	align	4
_2559:
	dd	_418
	dd	259
	dd	5
	align	4
_2565:
	dd	_418
	dd	264
	dd	3
	align	4
_2573:
	dd	3
	dd	0
	dd	0
	align	4
_2567:
	dd	_418
	dd	265
	dd	4
	align	4
_2570:
	dd	_418
	dd	266
	dd	4
	align	4
_2574:
	dd	_418
	dd	269
	dd	3
	align	4
_2575:
	dd	_418
	dd	271
	dd	3
	align	4
_2578:
	dd	_418
	dd	272
	dd	3
	align	4
_2581:
	dd	_418
	dd	274
	dd	3
	align	4
_2584:
	dd	_418
	dd	276
	dd	3
_2649:
	db	"txt",0
	align	4
_2648:
	dd	1
	dd	_289
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	2
	dd	_2649
	dd	_475
	dd	-8
	dd	0
	align	4
_2586:
	dd	_418
	dd	281
	dd	3
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	124,109,97,112,89,58
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,97,112,88,58
	align	4
_2587:
	dd	_418
	dd	284
	dd	3
	align	4
_2588:
	dd	_418
	dd	285
	dd	3
	align	4
_123:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	124,84,89,58
	align	4
_122:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	124,84,88,58
	align	4
_121:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	124,89,58
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	88,58
	align	4
_2589:
	dd	_418
	dd	286
	dd	3
	align	4
_2590:
	dd	_418
	dd	289
	dd	3
	align	4
_2591:
	dd	_418
	dd	290
	dd	3
	align	4
_2592:
	dd	_418
	dd	291
	dd	3
	align	4
_2593:
	dd	_418
	dd	292
	dd	3
	align	4
_2596:
	dd	_418
	dd	293
	dd	3
	align	4
_2601:
	dd	3
	dd	0
	dd	0
	align	4
_2600:
	dd	_418
	dd	293
	dd	28
	align	4
_2604:
	dd	3
	dd	0
	dd	0
	align	4
_2603:
	dd	_418
	dd	293
	dd	50
	align	4
_2605:
	dd	_418
	dd	294
	dd	3
	align	4
_2606:
	dd	_418
	dd	295
	dd	3
	align	4
_2607:
	dd	_418
	dd	296
	dd	3
	align	4
_124:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	84,105,108,101,32,73,68,58
	align	4
_2608:
	dd	_418
	dd	297
	dd	3
	align	4
_2609:
	dd	_418
	dd	300
	dd	3
	align	4
_2610:
	dd	_418
	dd	301
	dd	3
	align	4
_125:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	75
	align	4
_2611:
	dd	_418
	dd	302
	dd	3
	align	4
_2616:
	dd	3
	dd	0
	dd	0
	align	4
_2615:
	dd	_418
	dd	302
	dd	27
	align	4
_2619:
	dd	3
	dd	0
	dd	0
	align	4
_2618:
	dd	_418
	dd	302
	dd	49
	align	4
_2620:
	dd	_418
	dd	303
	dd	3
	align	4
_2621:
	dd	_418
	dd	304
	dd	3
	align	4
_2622:
	dd	_418
	dd	305
	dd	3
	align	4
_126:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	69,100,105,116
	align	4
_2623:
	dd	_418
	dd	308
	dd	3
	align	4
_2626:
	dd	3
	dd	0
	dd	0
	align	4
_2625:
	dd	_418
	dd	308
	dd	27
	align	4
_2629:
	dd	3
	dd	0
	dd	0
	align	4
_2628:
	dd	_418
	dd	308
	dd	49
	align	4
_2630:
	dd	_418
	dd	309
	dd	3
	align	4
_2631:
	dd	_418
	dd	310
	dd	3
	align	4
_2632:
	dd	_418
	dd	311
	dd	3
	align	4
_127:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,97,121,101,114,49
	align	4
_2633:
	dd	_418
	dd	314
	dd	3
	align	4
_2636:
	dd	3
	dd	0
	dd	0
	align	4
_2635:
	dd	_418
	dd	314
	dd	27
	align	4
_2639:
	dd	3
	dd	0
	dd	0
	align	4
_2638:
	dd	_418
	dd	314
	dd	49
	align	4
_2640:
	dd	_418
	dd	315
	dd	3
	align	4
_2641:
	dd	_418
	dd	316
	dd	3
	align	4
_2642:
	dd	_418
	dd	317
	dd	3
	align	4
_128:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,97,121,101,114,50
	align	4
_2643:
	dd	_418
	dd	320
	dd	3
	align	4
_2644:
	dd	_418
	dd	321
	dd	3
	align	4
_130:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	107,98
	align	4
_129:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	77,101,109,65,108,108,111,99,100,58
	align	4
_2646:
	dd	_418
	dd	322
	dd	3
	align	4
_2647:
	dd	_418
	dd	323
	dd	3
_2848:
	db	"test",0
	align	4
_2847:
	dd	1
	dd	_290
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	2
	dd	_2848
	dd	_218
	dd	-8
	dd	0
	align	4
_2650:
	dd	_418
	dd	327
	dd	3
	align	4
_2680:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-12
	dd	0
	align	4
_2654:
	dd	_418
	dd	328
	dd	4
	align	4
_2679:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-16
	dd	0
	align	4
_2658:
	dd	_418
	dd	329
	dd	5
	align	4
_2659:
	dd	_418
	dd	330
	dd	5
	align	4
_2660:
	dd	_418
	dd	332
	dd	5
	align	4
_2668:
	dd	_418
	dd	333
	dd	5
	align	4
_2678:
	dd	3
	dd	0
	dd	0
	align	4
_2675:
	dd	_418
	dd	334
	dd	6
	align	4
_2681:
	dd	_418
	dd	340
	dd	3
	align	4
_2683:
	dd	_418
	dd	341
	dd	3
	align	4
_2684:
	dd	_418
	dd	342
	dd	3
_2714:
	db	"r",0
_2715:
	db	"px",0
_2716:
	db	"py",0
	align	4
_2713:
	dd	3
	dd	0
	dd	2
	dd	_2714
	dd	_2234
	dd	-20
	dd	2
	dd	_2715
	dd	_218
	dd	-24
	dd	2
	dd	_2716
	dd	_218
	dd	-28
	dd	0
	align	4
_2694:
	dd	_418
	dd	343
	dd	4
	align	4
_2695:
	dd	_418
	dd	344
	dd	4
	align	4
_4079:
	dd	0x42100000
	align	4
_4080:
	dd	0x42100000
	align	4
_2701:
	dd	_418
	dd	345
	dd	4
	align	4
_4081:
	dd	0x42100000
	align	4
_4082:
	dd	0x42100000
	align	4
_2707:
	dd	_418
	dd	347
	dd	4
	align	4
_141:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,112,121,58
	align	4
_140:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	112,120,58
	align	4
_2708:
	dd	_418
	dd	348
	dd	4
	align	4
_2717:
	dd	_418
	dd	352
	dd	3
	align	4
_2747:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-32
	dd	0
	align	4
_2721:
	dd	_418
	dd	353
	dd	4
	align	4
_2746:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-36
	dd	0
	align	4
_2725:
	dd	_418
	dd	354
	dd	5
	align	4
_2726:
	dd	_418
	dd	355
	dd	5
	align	4
_2727:
	dd	_418
	dd	357
	dd	5
	align	4
_2735:
	dd	_418
	dd	358
	dd	5
	align	4
_2745:
	dd	3
	dd	0
	dd	0
	align	4
_2742:
	dd	_418
	dd	359
	dd	6
	align	4
_2748:
	dd	_418
	dd	365
	dd	3
	align	4
_2777:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-40
	dd	0
	align	4
_2752:
	dd	_418
	dd	366
	dd	4
	align	4
_2776:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-44
	dd	0
	align	4
_2756:
	dd	_418
	dd	367
	dd	5
	align	4
_2757:
	dd	_418
	dd	368
	dd	5
	align	4
_2758:
	dd	_418
	dd	369
	dd	5
	align	4
_2759:
	dd	_418
	dd	370
	dd	5
	align	4
_2762:
	dd	_418
	dd	371
	dd	5
	align	4
_2774:
	dd	3
	dd	0
	dd	0
	align	4
_2769:
	dd	_418
	dd	372
	dd	6
	align	4
_2770:
	dd	_418
	dd	373
	dd	6
	align	4
_2773:
	dd	_418
	dd	374
	dd	6
	align	4
_2775:
	dd	_418
	dd	376
	dd	5
	align	4
_2778:
	dd	_418
	dd	381
	dd	3
	align	4
_2801:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-48
	dd	0
	align	4
_2782:
	dd	_418
	dd	382
	dd	4
	align	4
_2800:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-52
	dd	0
	align	4
_2786:
	dd	_418
	dd	383
	dd	5
	align	4
_2789:
	dd	_418
	dd	384
	dd	5
	align	4
_2799:
	dd	3
	dd	0
	dd	0
	align	4
_2796:
	dd	_418
	dd	384
	dd	40
	align	4
_2802:
	dd	_418
	dd	390
	dd	3
	align	4
_2819:
	dd	3
	dd	0
	dd	2
	dd	_2714
	dd	_2234
	dd	-56
	dd	0
	align	4
_2812:
	dd	_418
	dd	391
	dd	4
	align	4
_4083:
	dd	0x40400000
	align	4
_4084:
	dd	0x3f800000
	align	4
_4085:
	dd	0x40400000
	align	4
_4086:
	dd	0x3f800000
	align	4
_2820:
	dd	_418
	dd	395
	dd	3
	align	4
_2831:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-60
	dd	0
	align	4
_2824:
	dd	_418
	dd	396
	dd	4
	align	4
_2830:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-64
	dd	0
	align	4
_2828:
	dd	_418
	dd	397
	dd	5
	align	4
_2829:
	dd	_418
	dd	398
	dd	5
	align	4
_2832:
	dd	_418
	dd	404
	dd	3
	align	4
_2839:
	dd	3
	dd	0
	dd	0
	align	4
_2836:
	dd	_418
	dd	405
	dd	4
	align	4
_2846:
	dd	3
	dd	0
	dd	0
	align	4
_2841:
	dd	_418
	dd	407
	dd	4
	align	4
_2842:
	dd	_418
	dd	408
	dd	4
	align	4
_2845:
	dd	_418
	dd	409
	dd	5
	align	4
_2888:
	dd	1
	dd	_291
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	0
	align	4
_2849:
	dd	_418
	dd	413
	dd	3
	align	4
_2887:
	dd	3
	dd	0
	dd	0
	align	4
_2853:
	dd	_418
	dd	414
	dd	4
	align	4
_2886:
	dd	3
	dd	0
	dd	0
	align	4
_2869:
	dd	_418
	dd	415
	dd	5
	align	4
_2874:
	dd	_418
	dd	416
	dd	5
	align	4
_2885:
	dd	3
	dd	0
	dd	0
	align	4
_2880:
	dd	_418
	dd	416
	dd	37
	align	4
_2965:
	dd	1
	dd	_292
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	2
	dd	_279
	dd	_227
	dd	-8
	dd	0
	align	4
_2889:
	dd	_418
	dd	421
	dd	3
	align	4
_2915:
	dd	3
	dd	0
	dd	0
	align	4
_2893:
	dd	_418
	dd	423
	dd	4
	align	4
_2914:
	dd	3
	dd	0
	dd	0
	align	4
_2897:
	dd	_418
	dd	424
	dd	5
	align	4
_2913:
	dd	3
	dd	0
	dd	0
	align	4
_2905:
	dd	_418
	dd	425
	dd	6
	align	4
_2964:
	dd	3
	dd	0
	dd	0
	align	4
_2917:
	dd	_418
	dd	428
	dd	8
	align	4
_2963:
	dd	3
	dd	0
	dd	0
	align	4
_2921:
	dd	_418
	dd	429
	dd	4
	align	4
_2962:
	dd	3
	dd	0
	dd	0
	align	4
_2937:
	dd	_418
	dd	430
	dd	5
	align	4
_2961:
	dd	3
	dd	0
	dd	0
	align	4
_2945:
	dd	_418
	dd	431
	dd	6
_3169:
	db	"xVector",0
_3170:
	db	"yVector",0
_3171:
	db	"angle",0
_3172:
	db	"xSpeed",0
_3173:
	db	"ySpeed",0
	align	4
_3168:
	dd	1
	dd	_293
	dd	2
	dd	_489
	dd	_1787
	dd	-4
	dd	2
	dd	_279
	dd	_227
	dd	-8
	dd	2
	dd	_3169
	dd	_210
	dd	-12
	dd	2
	dd	_3170
	dd	_210
	dd	-16
	dd	2
	dd	_3171
	dd	_210
	dd	-20
	dd	2
	dd	_3172
	dd	_210
	dd	-24
	dd	2
	dd	_3173
	dd	_210
	dd	-28
	dd	0
	align	4
_2966:
	dd	_418
	dd	437
	dd	3
	align	4
_2971:
	dd	_418
	dd	438
	dd	3
	align	4
_2977:
	dd	_418
	dd	439
	dd	3
	align	4
_2983:
	dd	_418
	dd	440
	dd	3
	align	4
_2985:
	dd	_418
	dd	441
	dd	3
	align	4
_2989:
	dd	_418
	dd	442
	dd	3
	align	4
_2993:
	dd	_418
	dd	445
	dd	3
	align	4
_3029:
	dd	3
	dd	0
	dd	0
	align	4
_2999:
	dd	_418
	dd	446
	dd	4
	align	4
_3028:
	dd	3
	dd	0
	dd	0
	align	4
_3003:
	dd	_418
	dd	447
	dd	5
	align	4
_3017:
	dd	3
	dd	0
	dd	0
	align	4
_3007:
	dd	_418
	dd	448
	dd	6
	align	4
_3011:
	dd	_418
	dd	449
	dd	6
	align	4
_3027:
	dd	3
	dd	0
	dd	0
	align	4
_3019:
	dd	_418
	dd	451
	dd	6
	align	4
_3023:
	dd	_418
	dd	452
	dd	6
	align	4
_3030:
	dd	_418
	dd	456
	dd	3
	align	4
_3040:
	dd	3
	dd	0
	dd	0
	align	4
_3034:
	dd	_418
	dd	456
	dd	38
	align	4
_3041:
	dd	_418
	dd	458
	dd	3
	align	4
_3051:
	dd	3
	dd	0
	dd	0
	align	4
_3045:
	dd	_418
	dd	458
	dd	37
	align	4
_3052:
	dd	_418
	dd	459
	dd	3
	align	4
_3062:
	dd	3
	dd	0
	dd	0
	align	4
_3056:
	dd	_418
	dd	459
	dd	37
	align	4
_3063:
	dd	_418
	dd	460
	dd	3
	align	4
_3073:
	dd	3
	dd	0
	dd	0
	align	4
_3067:
	dd	_418
	dd	460
	dd	37
	align	4
_3074:
	dd	_418
	dd	462
	dd	3
	align	4
_3086:
	dd	3
	dd	0
	dd	0
	align	4
_3080:
	dd	_418
	dd	462
	dd	57
	align	4
_3087:
	dd	_418
	dd	463
	dd	3
	align	4
_3099:
	dd	3
	dd	0
	dd	0
	align	4
_3093:
	dd	_418
	dd	463
	dd	57
	align	4
_3100:
	dd	_418
	dd	465
	dd	3
	align	4
_3112:
	dd	3
	dd	0
	dd	0
	align	4
_3106:
	dd	_418
	dd	465
	dd	58
	align	4
_3113:
	dd	_418
	dd	466
	dd	3
	align	4
_3125:
	dd	3
	dd	0
	dd	0
	align	4
_3119:
	dd	_418
	dd	466
	dd	58
	align	4
_3126:
	dd	_418
	dd	468
	dd	3
	align	4
_3138:
	dd	3
	dd	0
	dd	0
	align	4
_3132:
	dd	_418
	dd	468
	dd	49
	align	4
_3146:
	dd	3
	dd	0
	dd	0
	align	4
_3140:
	dd	_418
	dd	468
	dd	77
	align	4
_3147:
	dd	_418
	dd	469
	dd	3
	align	4
_3159:
	dd	3
	dd	0
	dd	0
	align	4
_3153:
	dd	_418
	dd	469
	dd	49
	align	4
_3167:
	dd	3
	dd	0
	dd	0
	align	4
_3161:
	dd	_418
	dd	469
	dd	77
_3176:
	db	"PixelX",0
_3177:
	db	"tileX",0
_3178:
	db	"tileY",0
_3179:
	db	"tileW",0
	align	4
_3175:
	dd	1
	dd	_3176
	dd	2
	dd	_3177
	dd	_218
	dd	-4
	dd	2
	dd	_3178
	dd	_218
	dd	-8
	dd	2
	dd	_3179
	dd	_218
	dd	-12
	dd	0
	align	4
_3174:
	dd	_418
	dd	484
	dd	2
_3182:
	db	"PixelY",0
_3183:
	db	"tileH",0
	align	4
_3181:
	dd	1
	dd	_3182
	dd	2
	dd	_3177
	dd	_218
	dd	-4
	dd	2
	dd	_3178
	dd	_218
	dd	-8
	dd	2
	dd	_3183
	dd	_218
	dd	-12
	dd	0
	align	4
_3180:
	dd	_418
	dd	488
	dd	2
_3188:
	db	"TileX",0
_3189:
	db	"offsetX",0
_3190:
	db	"offsetY",0
	align	4
_3187:
	dd	1
	dd	_3188
	dd	2
	dd	_3176
	dd	_210
	dd	-4
	dd	2
	dd	_3182
	dd	_210
	dd	-8
	dd	2
	dd	_3179
	dd	_218
	dd	-12
	dd	2
	dd	_3183
	dd	_218
	dd	-16
	dd	2
	dd	_3189
	dd	_210
	dd	-20
	dd	2
	dd	_3190
	dd	_210
	dd	-24
	dd	0
	align	4
_3184:
	dd	_418
	dd	492
	dd	2
	align	4
_3185:
	dd	_418
	dd	493
	dd	2
	align	4
_3186:
	dd	_418
	dd	494
	dd	2
	align	4
_4264:
	dd	0x40000000
_3195:
	db	"TileY",0
	align	4
_3194:
	dd	1
	dd	_3195
	dd	2
	dd	_3176
	dd	_210
	dd	-4
	dd	2
	dd	_3182
	dd	_210
	dd	-8
	dd	2
	dd	_3179
	dd	_218
	dd	-12
	dd	2
	dd	_3183
	dd	_218
	dd	-16
	dd	2
	dd	_3189
	dd	_210
	dd	-20
	dd	2
	dd	_3190
	dd	_210
	dd	-24
	dd	0
	align	4
_3191:
	dd	_418
	dd	498
	dd	2
	align	4
_3192:
	dd	_418
	dd	499
	dd	2
	align	4
_3193:
	dd	_418
	dd	500
	dd	2
	align	4
_4268:
	dd	0x40000000
_3292:
	db	"TileIndex",0
_3293:
	db	"le",0
_3294:
	db	"ri",0
_3295:
	db	"up",0
_3296:
	db	"do",0
_3297:
	db	"leup",0
_3298:
	db	"ledo",0
_3299:
	db	"riup",0
_3300:
	db	"rido",0
	align	4
_3291:
	dd	1
	dd	_3292
	dd	2
	dd	_209
	dd	_218
	dd	-4
	dd	2
	dd	_211
	dd	_218
	dd	-8
	dd	2
	dd	_3293
	dd	_218
	dd	-12
	dd	2
	dd	_3294
	dd	_218
	dd	-16
	dd	2
	dd	_3295
	dd	_218
	dd	-20
	dd	2
	dd	_3296
	dd	_218
	dd	-24
	dd	2
	dd	_3297
	dd	_218
	dd	-28
	dd	2
	dd	_3298
	dd	_218
	dd	-32
	dd	2
	dd	_3299
	dd	_218
	dd	-36
	dd	2
	dd	_3300
	dd	_218
	dd	-40
	dd	0
	align	4
_3196:
	dd	_418
	dd	504
	dd	3
	align	4
_3205:
	dd	_418
	dd	506
	dd	3
_3289:
	db	"te",0
	align	4
_3288:
	dd	3
	dd	0
	dd	2
	dd	_3289
	dd	_218
	dd	-44
	dd	0
	align	4
_3213:
	dd	_418
	dd	508
	dd	4
	align	4
_3221:
	dd	3
	dd	0
	dd	0
	align	4
_3220:
	dd	_418
	dd	508
	dd	37
	align	4
_3222:
	dd	_418
	dd	509
	dd	4
	align	4
_3230:
	dd	3
	dd	0
	dd	0
	align	4
_3229:
	dd	_418
	dd	509
	dd	37
	align	4
_3231:
	dd	_418
	dd	510
	dd	4
	align	4
_3239:
	dd	3
	dd	0
	dd	0
	align	4
_3238:
	dd	_418
	dd	510
	dd	37
	align	4
_3240:
	dd	_418
	dd	511
	dd	4
	align	4
_3248:
	dd	3
	dd	0
	dd	0
	align	4
_3247:
	dd	_418
	dd	511
	dd	37
	align	4
_3249:
	dd	_418
	dd	512
	dd	4
	align	4
_3257:
	dd	3
	dd	0
	dd	0
	align	4
_3256:
	dd	_418
	dd	512
	dd	39
	align	4
_3258:
	dd	_418
	dd	513
	dd	4
	align	4
_3266:
	dd	3
	dd	0
	dd	0
	align	4
_3265:
	dd	_418
	dd	513
	dd	39
	align	4
_3267:
	dd	_418
	dd	514
	dd	4
	align	4
_3275:
	dd	3
	dd	0
	dd	0
	align	4
_3274:
	dd	_418
	dd	514
	dd	39
	align	4
_3276:
	dd	_418
	dd	515
	dd	4
	align	4
_3284:
	dd	3
	dd	0
	dd	0
	align	4
_3283:
	dd	_418
	dd	515
	dd	39
	align	4
_3285:
	dd	_418
	dd	517
	dd	4
	align	4
_3287:
	dd	_418
	dd	519
	dd	4
	align	4
_3290:
	dd	_418
	dd	521
	dd	3
_3369:
	db	"LoadMap",0
_3370:
	db	"ordner",0
_3371:
	db	"name",0
	align	4
_3368:
	dd	1
	dd	_3369
	dd	2
	dd	_3370
	dd	_475
	dd	-4
	dd	2
	dd	_3371
	dd	_475
	dd	-8
	dd	0
	align	4
_3301:
	dd	_418
	dd	526
	dd	2
	align	4
_174:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	46,109,97,112,32,76,97,100,101,110,63
	align	4
_173:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_172:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	77,97,112,110,97,109,101,58,32
_3364:
	db	"file",0
_3365:
	db	":TStream",0
_3366:
	db	"existent",0
	align	4
_3363:
	dd	3
	dd	0
	dd	2
	dd	_3364
	dd	_3365
	dd	-12
	dd	2
	dd	_3366
	dd	_218
	dd	-16
	dd	0
	align	4
_3303:
	dd	_418
	dd	527
	dd	3
	align	4
_3305:
	dd	_418
	dd	528
	dd	3
	align	4
_175:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,97,112
	align	4
_3307:
	dd	_418
	dd	529
	dd	3
	align	4
_3362:
	dd	3
	dd	0
	dd	0
	align	4
_3309:
	dd	_418
	dd	530
	dd	4
	align	4
_3310:
	dd	_418
	dd	531
	dd	4
	align	4
_3311:
	dd	_418
	dd	532
	dd	4
	align	4
_3312:
	dd	_418
	dd	533
	dd	4
	align	4
_3313:
	dd	_418
	dd	534
	dd	4
	align	4
_3343:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-20
	dd	0
	align	4
_3317:
	dd	_418
	dd	535
	dd	5
	align	4
_3342:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-24
	dd	0
	align	4
_3321:
	dd	_418
	dd	536
	dd	6
	align	4
_3328:
	dd	_418
	dd	537
	dd	6
	align	4
_3335:
	dd	_418
	dd	538
	dd	6
	align	4
_3344:
	dd	_418
	dd	542
	dd	4
	align	4
_3360:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-28
	dd	0
	align	4
_3348:
	dd	_418
	dd	543
	dd	5
	align	4
_3359:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-32
	dd	0
	align	4
_3352:
	dd	_418
	dd	544
	dd	6
	align	4
_3361:
	dd	_418
	dd	548
	dd	4
	align	4
_3367:
	dd	_418
	dd	551
	dd	2
_3427:
	db	"SaveMap",0
	align	4
_3426:
	dd	1
	dd	_3427
	dd	2
	dd	_3370
	dd	_475
	dd	-4
	dd	2
	dd	_3371
	dd	_475
	dd	-8
	dd	0
	align	4
_3372:
	dd	_418
	dd	556
	dd	2
	align	4
_188:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	46,109,97,112,32,83,112,101,105,99,104,101,114,110,63
	align	4
_3424:
	dd	3
	dd	0
	dd	2
	dd	_3364
	dd	_3365
	dd	-12
	dd	0
	align	4
_3374:
	dd	_418
	dd	557
	dd	3
	align	4
_3376:
	dd	_418
	dd	558
	dd	3
	align	4
_3377:
	dd	_418
	dd	559
	dd	3
	align	4
_3378:
	dd	_418
	dd	560
	dd	3
	align	4
_3379:
	dd	_418
	dd	562
	dd	3
	align	4
_3406:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-16
	dd	0
	align	4
_3383:
	dd	_418
	dd	563
	dd	4
	align	4
_3405:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-20
	dd	0
	align	4
_3387:
	dd	_418
	dd	564
	dd	5
	align	4
_3393:
	dd	_418
	dd	565
	dd	5
	align	4
_3399:
	dd	_418
	dd	566
	dd	5
	align	4
_3407:
	dd	_418
	dd	570
	dd	3
	align	4
_3422:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-24
	dd	0
	align	4
_3411:
	dd	_418
	dd	571
	dd	4
	align	4
_3421:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-28
	dd	0
	align	4
_3415:
	dd	_418
	dd	572
	dd	5
	align	4
_3423:
	dd	_418
	dd	576
	dd	3
	align	4
_3425:
	dd	_418
	dd	578
	dd	2
_3446:
	db	"ClearAutoMap",0
	align	4
_3445:
	dd	1
	dd	_3446
	dd	0
	align	4
_3428:
	dd	_418
	dd	581
	dd	2
	align	4
_3444:
	dd	3
	dd	0
	dd	2
	dd	_209
	dd	_218
	dd	-4
	dd	0
	align	4
_3432:
	dd	_418
	dd	582
	dd	3
	align	4
_3443:
	dd	3
	dd	0
	dd	2
	dd	_211
	dd	_218
	dd	-8
	dd	0
	align	4
_3436:
	dd	_418
	dd	583
	dd	4
