mirror of https://github.com/AbePralle/FGB.git
62 lines
1.7 KiB
NASM
62 lines
1.7 KiB
NASM
; L0408.asm death valley
|
|
; Generated 11.08.2000 by mlevel
|
|
; Modified 11.08.2000 by Abe Pralle
|
|
|
|
INCLUDE "Source/Defs.inc"
|
|
INCLUDE "Source/Levels.inc"
|
|
|
|
;---------------------------------------------------------------------
|
|
SECTION "Level0408Section",ROMX
|
|
;---------------------------------------------------------------------
|
|
|
|
L0408_Contents::
|
|
DW L0408_Load
|
|
DW L0408_Init
|
|
DW L0408_Check
|
|
DW L0408_Map
|
|
|
|
;---------------------------------------------------------------------
|
|
; Load
|
|
;---------------------------------------------------------------------
|
|
L0408_Load:
|
|
DW ((L0408_LoadFinished - L0408_Load2)) ;size
|
|
L0408_Load2:
|
|
call ParseMap
|
|
ret
|
|
|
|
L0408_LoadFinished:
|
|
;---------------------------------------------------------------------
|
|
; Map
|
|
;---------------------------------------------------------------------
|
|
L0408_Map:
|
|
INCBIN "Data/Levels/L0408_deathvalley.lvl"
|
|
|
|
;---------------------------------------------------------------------
|
|
; Init
|
|
;---------------------------------------------------------------------
|
|
L0408_Init:
|
|
DW ((L0408_InitFinished - L0408_Init2)) ;size
|
|
L0408_Init2:
|
|
ld a,ENV_DIRT
|
|
call SetEnvEffect
|
|
ret
|
|
|
|
L0408_InitFinished:
|
|
;---------------------------------------------------------------------
|
|
; Check
|
|
;---------------------------------------------------------------------
|
|
L0408_Check:
|
|
DW ((L0408_CheckFinished - L0408_Check2)) ;size
|
|
L0408_Check2:
|
|
ret
|
|
|
|
L0408_CheckFinished:
|
|
PRINTT "0408 Script Sizes (Load/Init/Check) (of $500): "
|
|
PRINTV (L0408_LoadFinished - L0408_Load2)
|
|
PRINTT " / "
|
|
PRINTV (L0408_InitFinished - L0408_Init2)
|
|
PRINTT " / "
|
|
PRINTV (L0408_CheckFinished - L0408_Check2)
|
|
PRINTT "\n"
|
|
|