AbePralle-FGB/Source/Levels/L1001.asm

66 lines
1.8 KiB
NASM
Raw Permalink Normal View History

; L1001.asm
; Generated 11.13.2000 by mlevel
; Modified 11.13.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
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:
INCBIN "Data/Levels/L1001_iceplain.lvl"
;---------------------------------------------------------------------
; 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:
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"