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
|
|
|
|
|
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 "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:
|
2022-01-08 03:29:25 +00:00
|
|
|
PRINT "0502 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINT (L0502_LoadFinished - L0502_Load2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0502_InitFinished - L0502_Init2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0502_CheckFinished - L0502_Check2)
|
|
|
|
PRINT "\n"
|
2020-05-31 04:23:06 +01:00
|
|
|
|