AbePralle-FGB/Source/Levels/L0809.asm

66 lines
1.8 KiB
NASM
Raw Permalink Normal View History

; L0809.asm grenade vs goblin charge
; Generated 11.01.2000 by mlevel
; Modified 11.01.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0809Section",ROMX
;---------------------------------------------------------------------
L0809_Contents::
DW L0809_Load
DW L0809_Init
DW L0809_Check
DW L0809_Map
;---------------------------------------------------------------------
; Load
;---------------------------------------------------------------------
L0809_Load:
DW ((L0809_LoadFinished - L0809_Load2)) ;size
L0809_Load2:
call ParseMap
ret
L0809_LoadFinished:
;---------------------------------------------------------------------
; Map
;---------------------------------------------------------------------
L0809_Map:
INCBIN "Data/Levels/L0809_warzone.lvl"
;---------------------------------------------------------------------
; Init
;---------------------------------------------------------------------
L0809_Init:
DW ((L0809_InitFinished - L0809_Init2)) ;size
L0809_Init2:
ld a,ENV_DIRT
call SetEnvEffect
ld a,BANK(fgbwar_gbm)
ld hl,fgbwar_gbm
call InitMusic
ret
L0809_InitFinished:
;---------------------------------------------------------------------
; Check
;---------------------------------------------------------------------
L0809_Check:
DW ((L0809_CheckFinished - L0809_Check2)) ;size
L0809_Check2:
ret
L0809_CheckFinished:
PRINT "0809 Script Sizes (Load/Init/Check) (of $500): "
PRINT (L0809_LoadFinished - L0809_Load2)
PRINT " / "
PRINT (L0809_InitFinished - L0809_Init2)
PRINT " / "
PRINT (L0809_CheckFinished - L0809_Check2)
PRINT "\n"