Files
pokeyellow/scripts/PewterPokecenter.asm
Yoann Fievez d150f7f4f4 Identify wPikachuSpawnStateFlags and wPikachuMapScriptFlags bits, and PIKAMOVEMENT_* constants (#158)
- Rename `wd471` to` wPikachuSpawnStateFlags`, with `BIT_PIKACHU_SPAWN_*` bits
- Rename `wd492` to `wPikachuMapScriptFlags`, with `BIT_PIKACHU_MAP_*` bits
- Introduce `PIKAMOVEMENT_*` constants for `ApplyPikachuMovementData`
- Refactor `BillsHouse` scripts and Pikachu/Bill movement data
2026-06-24 14:43:48 -04:00

41 lines
1.2 KiB
NASM

PewterPokecenter_Script:
ld hl, wPikachuMapScriptFlags
set BIT_PIKACHU_MAP_SCRIPT_ACTIVE, [hl]
call Serial_TryEstablishingExternallyClockedConnection
call EnableAutoTextBoxDrawing
ret
PewterPokecenter_TextPointers:
def_text_pointers
dw_const PewterPokecenterNurseText, TEXT_PEWTERPOKECENTER_NURSE
dw_const PewterPokecenterGentlemanText, TEXT_PEWTERPOKECENTER_GENTLEMAN
dw_const PewterPokecenterJigglypuffText, TEXT_PEWTERPOKECENTER_JIGGLYPUFF
dw_const PewterPokecenterLinkReceptionistText, TEXT_PEWTERPOKECENTER_LINK_RECEPTIONIST
dw_const PewterPokecenterCooltrainerFText, TEXT_PEWTERPOKECENTER_COOLTRAINER_F
dw_const PewterPokecenterChanseyText, TEXT_PEWTERPOKECENTER_CHANSEY
PewterPokecenterNurseText:
script_pokecenter_nurse
PewterPokecenterGentlemanText:
text_far _PewterPokecenterGentlemanText
text_end
PewterPokecenterJigglypuffText:
text_asm
farcall PewterJigglypuff
jp TextScriptEnd
PewterPokecenterLinkReceptionistText:
script_cable_club_receptionist
PewterPokecenterCooltrainerFText:
text_asm
farcall PewterPokecenterPrintCooltrainerFText
jp TextScriptEnd
PewterPokecenterChanseyText:
text_asm
callfar PokecenterChanseyText
jp TextScriptEnd