2020-05-31 09:42:40 +01:00
|
|
|
; L0005.asm trakktor clearing
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 08.24.2000 by mlevel
|
|
|
|
; Modified 08.24.2000 by Abe Pralle
|
|
|
|
|
2020-06-15 06:19:36 +01:00
|
|
|
INCLUDE "Source/Defs.inc"
|
|
|
|
INCLUDE "Source/Levels.inc"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
SECTION "Level0005Section",ROMX
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
L0005_Contents::
|
|
|
|
DW L0005_Load
|
|
|
|
DW L0005_Init
|
|
|
|
DW L0005_Check
|
|
|
|
DW L0005_Map
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Load
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0005_Load:
|
|
|
|
DW ((L0005_LoadFinished - L0005_Load2)) ;size
|
|
|
|
L0005_Load2:
|
|
|
|
call ParseMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0005_LoadFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Map
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0005_Map:
|
|
|
|
INCBIN "Data/Levels/L0005_path.lvl"
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Init
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0005_Init:
|
|
|
|
DW ((L0005_InitFinished - L0005_Init2)) ;size
|
|
|
|
L0005_Init2:
|
|
|
|
ld a,ENV_RAIN
|
|
|
|
call SetEnvEffect
|
|
|
|
|
|
|
|
|
|
|
|
ld a,BANK(main_in_game_gbm)
|
|
|
|
ld hl,main_in_game_gbm
|
|
|
|
call InitMusic
|
|
|
|
ld hl,$1300
|
|
|
|
call SetRespawnMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0005_InitFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Check
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0005_Check:
|
|
|
|
DW ((L0005_CheckFinished - L0005_Check2)) ;size
|
|
|
|
L0005_Check2:
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0005_CheckFinished:
|
2022-01-08 03:29:25 +00:00
|
|
|
PRINT "0005 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINT (L0005_LoadFinished - L0005_Load2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0005_InitFinished - L0005_Init2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0005_CheckFinished - L0005_Check2)
|
|
|
|
PRINT "\n"
|
2020-05-31 04:23:06 +01:00
|
|
|
|