pokegold-spaceworld/scripts/OldCityPokecenterBattle.asm
Narishma-gb d94d75f8fc
Some checks failed
CI / build (push) Has been cancelled
Charmap and text strings update (#124)
* 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`
2025-11-25 14:27:50 -05:00

44 lines
931 B
NASM

INCLUDE "constants.asm"
SECTION "scripts/OldCityPokecenterBattle.asm", ROMX
OldCityPokecenterBattle_ScriptLoader:
ld hl, OldCityPokecenterBattleScriptPointers
call RunMapScript
call WriteBackMapScriptNumber
ret
OldCityPokecenterBattleScriptPointers:
dw OldCityPokecenterBattleScript1
dw OldCityPokecenterBattleNPCIds
OldCityPokecenterBattleScript1:
ld hl, OldCityPokecenterBattleNPCIds
ld de, OldCityPokecenterBattleSignPointers
call CallMapTextSubroutine
ret
OldCityPokecenterBattleNPCIds:
db $00, $ff
OldCityPokecenterBattleSignPointers:
dw MapDefaultText
OldCityPokecenterBattle_TextPointers:
dw OldCityPokecenterBattleText1
OldCityPokecenterBattleText1:
ld hl, wJoypadFlags
set 5, [hl]
ld hl, OldCityPokecenterBattleTextString1
call OpenTextbox
ld hl, wJoypadFlags
res 5, [hl]
callfar Function28000
ret
OldCityPokecenterBattleTextString1:
text "ちょっとまってね!@"
text_exit
text_end