2020-05-31 09:42:40 +01:00
|
|
|
; L0502.asm
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 09.05.2000 by mlevel
|
|
|
|
; Modified 09.05.2000 by Abe Pralle
|
|
|
|
|
|
|
|
INCLUDE "Source/defs.inc"
|
|
|
|
INCLUDE "Source/levels.inc"
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
SECTION "Level0502Section",ROMX
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
L0502_Contents::
|
|
|
|
DW L0502_Load
|
|
|
|
DW L0502_Init
|
|
|
|
DW L0502_Check
|
|
|
|
DW L0502_Map
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Load
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0502_Load:
|
|
|
|
DW ((L0502_LoadFinished - L0502_Load2)) ;size
|
|
|
|
L0502_Load2:
|
|
|
|
call ParseMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0502_LoadFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Map
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0502_Map:
|
2020-05-31 09:42:40 +01:00
|
|
|
INCBIN "Data/Levels/L0502_chill.lvl"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Init
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0502_Init:
|
|
|
|
DW ((L0502_InitFinished - L0502_Init2)) ;size
|
|
|
|
L0502_Init2:
|
|
|
|
ld a,BANK(main_in_game_gbm)
|
|
|
|
ld hl,main_in_game_gbm
|
|
|
|
call InitMusic
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0502_InitFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Check
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0502_Check:
|
|
|
|
DW ((L0502_CheckFinished - L0502_Check2)) ;size
|
|
|
|
L0502_Check2:
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0502_CheckFinished:
|
|
|
|
PRINTT "0502 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINTV (L0502_LoadFinished - L0502_Load2)
|
|
|
|
PRINTT " / "
|
|
|
|
PRINTV (L0502_InitFinished - L0502_Init2)
|
|
|
|
PRINTT " / "
|
|
|
|
PRINTV (L0502_CheckFinished - L0502_Check2)
|
|
|
|
PRINTT "\n"
|
|
|
|
|