2020-05-31 09:42:40 +01:00
|
|
|
; L0104.asm Spring
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 09.06.2000 by mlevel
|
|
|
|
; Modified 09.06.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 "Level0104Section",ROMX
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
L0104_Contents::
|
|
|
|
DW L0104_Load
|
|
|
|
DW L0104_Init
|
|
|
|
DW L0104_Check
|
|
|
|
DW L0104_Map
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Load
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0104_Load:
|
|
|
|
DW ((L0104_LoadFinished - L0104_Load2)) ;size
|
|
|
|
L0104_Load2:
|
|
|
|
call ParseMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0104_LoadFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Map
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0104_Map:
|
|
|
|
INCBIN "Data/Levels/L0104_spring.lvl"
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Init
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0104_Init:
|
|
|
|
DW ((L0104_InitFinished - L0104_Init2)) ;size
|
|
|
|
L0104_Init2:
|
|
|
|
call UseAlternatePalette
|
|
|
|
ld a,ENV_RAIN
|
|
|
|
call SetEnvEffect
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0104_InitFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Check
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L0104_Check:
|
|
|
|
DW ((L0104_CheckFinished - L0104_Check2)) ;size
|
|
|
|
L0104_Check2:
|
|
|
|
ret
|
|
|
|
|
|
|
|
L0104_CheckFinished:
|
2022-01-08 03:29:25 +00:00
|
|
|
PRINT "0104 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINT (L0104_LoadFinished - L0104_Load2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0104_InitFinished - L0104_Init2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L0104_CheckFinished - L0104_Check2)
|
|
|
|
PRINT "\n"
|
2020-05-31 04:23:06 +01:00
|
|
|
|