2020-05-31 09:42:40 +01:00
|
|
|
; L1001.asm
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 11.13.2000 by mlevel
|
|
|
|
; Modified 11.13.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 "Level1001Section",ROMX
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
L1001_Contents::
|
|
|
|
DW L1001_Load
|
|
|
|
DW L1001_Init
|
|
|
|
DW L1001_Check
|
|
|
|
DW L1001_Map
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Load
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1001_Load:
|
|
|
|
DW ((L1001_LoadFinished - L1001_Load2)) ;size
|
|
|
|
L1001_Load2:
|
|
|
|
call ParseMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1001_LoadFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Map
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1001_Map:
|
2020-05-31 09:42:40 +01:00
|
|
|
INCBIN "Data/Levels/L1001_iceplain.lvl"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Init
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1001_Init:
|
|
|
|
DW ((L1001_InitFinished - L1001_Init2)) ;size
|
|
|
|
L1001_Init2:
|
|
|
|
call UseAlternatePalette
|
|
|
|
ld a,ENV_SNOW
|
|
|
|
call SetEnvEffect
|
|
|
|
ld a,BANK(frosty_gbm)
|
|
|
|
ld hl,frosty_gbm
|
|
|
|
call InitMusic
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1001_InitFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Check
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1001_Check:
|
|
|
|
DW ((L1001_CheckFinished - L1001_Check2)) ;size
|
|
|
|
L1001_Check2:
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1001_CheckFinished:
|
2022-01-08 03:29:25 +00:00
|
|
|
PRINT "1001 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINT (L1001_LoadFinished - L1001_Load2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L1001_InitFinished - L1001_Init2)
|
|
|
|
PRINT " / "
|
|
|
|
PRINT (L1001_CheckFinished - L1001_Check2)
|
|
|
|
PRINT "\n"
|
2020-05-31 04:23:06 +01:00
|
|
|
|