mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-26 16:17:19 -05:00
Regex patterns used:
; [0-9a-f]{1,5} \([0-9a-f]{1,2}:[0-9a-f]{1,4}\)
; [0-9a-f]{1,2}:[0-9a-f]{4}
; [0-9a-f]{4,5}
;[0-9a-f]{4,5}
;[0-9a-f]{1,2}:[0-9a-f]{1,4}
48 lines
940 B
NASM
48 lines
940 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "maps/OldCityPokecenterTrade.asm", ROMX
|
|
|
|
OldCityPokecenterTradeScriptLoader:
|
|
ld hl, OldCityPokecenterTradeScriptPointers
|
|
call RunMapScript
|
|
call WriteBackMapScriptNumber
|
|
ret
|
|
|
|
OldCityPokecenterTradeScriptPointers:
|
|
dw OldCityPokecenterTradeScript1
|
|
dw OldCityPokecenterTradeNPCIds
|
|
|
|
OldCityPokecenterTradeScript1:
|
|
ld hl, OldCityPokecenterTradeNPCIds
|
|
ld de, OldCityPokecenterTradeSignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
OldCityPokecenterTradeNPCIds:
|
|
db $00, $ff
|
|
|
|
OldCityPokecenterTradeSignPointers:
|
|
dw MapDefaultText
|
|
|
|
OldCityPokecenterTradeTextPointers:
|
|
dw OldCityPokecenterTradeText1
|
|
|
|
OldCityPokecenterTradeText1:
|
|
ld hl, wJoypadFlags
|
|
set 5, [hl]
|
|
ld hl, OldCityPokecenterTradeTextString1
|
|
call OpenTextbox
|
|
ld hl, wJoypadFlags
|
|
res 5, [hl]
|
|
callab Function28000
|
|
ret
|
|
|
|
OldCityPokecenterTradeTextString1:
|
|
text "ちょっとまってね!@"
|
|
text_exit
|
|
text_exit
|
|
text_exit
|
|
db "@"
|
|
|
|
; 25:48ac
|