aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/pokecenter.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-05 17:29:11 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-05 17:51:29 -0400
commit2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e (patch)
treea418c4ef57d272e7e2a70337ac8c2a8194545541 /engine/events/pokecenter.asm
parentPort _RemovePokemon documentation from pokeyellow (diff)
downloadpokeyellow-2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e.tar.gz
pokeyellow-2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e.tar.xz
pokeyellow-2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e.zip
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
Diffstat (limited to 'engine/events/pokecenter.asm')
-rwxr-xr-xengine/events/pokecenter.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/pokecenter.asm b/engine/events/pokecenter.asm
index f6ec6491..030c333f 100755
--- a/engine/events/pokecenter.asm
+++ b/engine/events/pokecenter.asm
@@ -19,7 +19,7 @@ DisplayPokemonCenterDialogue_::
ld hl, NeedYourPokemonText
call PrintText
ld a, $18
- ld [wSpriteStateData1 + $12], a ; make the nurse turn to face the machine
+ ld [wSprite01StateData1ImageIndex], a ; make the nurse turn to face the machine
call Delay3
predef HealParty
callba AnimateHealingMachine ; do the healing machine animation
@@ -34,7 +34,7 @@ DisplayPokemonCenterDialogue_::
ld hl, PokemonFightingFitText
call PrintText
ld a, $14
- ld [wSpriteStateData1 + $12], a ; make the nurse bow
+ ld [wSprite01StateData1ImageIndex], a ; make the nurse bow
ld c, a
call DelayFrames
jr .done