pokegold-spaceworld/maps/Route1Gate1F.asm
2019-03-13 00:08:15 +10:00

53 lines
985 B
NASM

include "constants.asm"
INCLUDE "hack/text/Route1Gate1F.inc"
SECTION "maps/Route1Gate1F.asm", ROMX
Route1Gate1FScriptLoader:: ;4061
ld hl, Route1Gate1FScriptPointers
call RunMapScript
call WriteBackMapScriptNumber
ret
Route1Gate1FScriptPointers:
dw Route1Gate1FScript ;>> routine
dw Route1Gate1FNPCIDs ;>> data
Route1Gate1FNPCIDs: ; 406F
db $00
db $01
db $FF
Route1Gate1FSignPointers: ; 4072
dw MapDefaultText ;no signs
Route1Gate1FTextPointers:: ; 4074
dw Route1Gate1FText1
dw Route1Gate1FText2
Route1Gate1FScript: ; 4078
ld hl, Route1Gate1FNPCIDs
ld de, Route1Gate1FSignPointers
call CallMapTextSubroutine
ret
Route1Gate1FText1: ; 4082
ld hl, Route1Gate1FText1String
call OpenTextbox
ret
Route1Gate1FText2: ; 4089
ld hl, Route1Gate1FText2String
call OpenTextbox
ret
Route1Gate1FText1String: ; 4090
text_Route1Gate1FText1String
Route1Gate1FText2String: ; 40AC
text_Route1Gate1FText2String
Route1Gate1FPadding:
textpad_Route1Gate1F
;ends at 40D9