mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-26 08:13:44 -05:00
Some checks failed
CI / build (push) Has been cancelled
* Add Katakana `リ`, `ヘ`, `ベ`, `ペ` in charmap and text strings * Format text strings, using macro where possible * Remove unused charmap entries, name `Function3036` * Charmap update and reorder, `TextAsmEnd`
46 lines
937 B
NASM
46 lines
937 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "scripts/OldCityPokecenterTrade.asm", ROMX
|
|
|
|
OldCityPokecenterTrade_ScriptLoader:
|
|
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
|
|
|
|
OldCityPokecenterTrade_TextPointers:
|
|
dw OldCityPokecenterTradeText1
|
|
|
|
OldCityPokecenterTradeText1:
|
|
ld hl, wJoypadFlags
|
|
set 5, [hl]
|
|
ld hl, OldCityPokecenterTradeTextString1
|
|
call OpenTextbox
|
|
ld hl, wJoypadFlags
|
|
res 5, [hl]
|
|
callfar Function28000
|
|
ret
|
|
|
|
OldCityPokecenterTradeTextString1:
|
|
text "ちょっとまってね!@"
|
|
text_exit
|
|
text_exit
|
|
text_exit
|
|
text_end
|