2020-05-31 09:42:40 +01:00
|
|
|
; L0809.asm grenade vs goblin charge
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 11.01.2000 by mlevel
|
|
|
|
; Modified 11.01.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 "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:
|
2020-05-31 09:42:40 +01:00
|
|
|
INCBIN "Data/Levels/L0809_warzone.lvl"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; 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:
|
2022-01-08 03:29:25 +00:00
|
|
|
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"
|
2020-05-31 04:23:06 +01:00
|
|
|
|