2020-05-31 09:42:40 +01:00
|
|
|
; L1006.asm crouton outpost
|
2020-05-31 04:23:06 +01:00
|
|
|
; Generated 10.30.2000 by mlevel
|
|
|
|
; Modified 10.30.2000 by Abe Pralle
|
|
|
|
|
2020-06-15 06:19:36 +01:00
|
|
|
INCLUDE "Source/Defs.inc"
|
|
|
|
INCLUDE "Source/Levels.inc"
|
|
|
|
INCLUDE "Source/Items.inc"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
SECTION "Level1006Section",ROMX
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
L1006_Contents::
|
|
|
|
DW L1006_Load
|
|
|
|
DW L1006_Init
|
|
|
|
DW L1006_Check
|
|
|
|
DW L1006_Map
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Load
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1006_Load:
|
|
|
|
DW ((L1006_LoadFinished - L1006_Load2)) ;size
|
|
|
|
L1006_Load2:
|
|
|
|
call ParseMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1006_LoadFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Map
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1006_Map:
|
2020-05-31 09:42:40 +01:00
|
|
|
INCBIN "Data/Levels/L1006_outpost.lvl"
|
2020-05-31 04:23:06 +01:00
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Init
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1006_Init:
|
|
|
|
DW ((L1006_InitFinished - L1006_Init2)) ;size
|
|
|
|
L1006_Init2:
|
|
|
|
ld bc,ITEM_CODE1006
|
|
|
|
call RemoveClearanceIfTaken
|
|
|
|
|
|
|
|
ld a,BANK(main_in_game_gbm)
|
|
|
|
ld hl,main_in_game_gbm
|
|
|
|
call InitMusic
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1006_InitFinished:
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
; Check
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
L1006_Check:
|
|
|
|
DW ((L1006_CheckFinished - L1006_Check2)) ;size
|
|
|
|
L1006_Check2:
|
|
|
|
ret
|
|
|
|
|
|
|
|
L1006_CheckFinished:
|
|
|
|
PRINTT "1006 Script Sizes (Load/Init/Check) (of $500): "
|
|
|
|
PRINTV (L1006_LoadFinished - L1006_Load2)
|
|
|
|
PRINTT " / "
|
|
|
|
PRINTV (L1006_InitFinished - L1006_Init2)
|
|
|
|
PRINTT " / "
|
|
|
|
PRINTV (L1006_CheckFinished - L1006_Check2)
|
|
|
|
PRINTT "\n"
|
|
|
|
|