aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PewterPokecenter_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PewterPokecenter_2.asm')
-rw-r--r--scripts/PewterPokecenter_2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/PewterPokecenter_2.asm b/scripts/PewterPokecenter_2.asm
index 2aeb23f7..4495f1ab 100644
--- a/scripts/PewterPokecenter_2.asm
+++ b/scripts/PewterPokecenter_2.asm
@@ -59,8 +59,8 @@ PewterJigglypuff::
ld c, 48
call DelayFrames
call PlayDefaultMusic
- ld a, [wd471]
- bit 7, a
+ ld a, [wPikachuSpawnStateFlags]
+ bit BIT_PIKACHU_SPAWN_STARTER, a
ret z
callfar CheckPikachuStatusCondition
ret c