mirror of
https://github.com/pret/pokeyellow.git
synced 2026-09-26 13:23:04 -04:00
d150f7f4f4
- 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
41 lines
1.2 KiB
NASM
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
|