aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PalletTown.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PalletTown.asm')
-rw-r--r--scripts/PalletTown.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/PalletTown.asm b/scripts/PalletTown.asm
index 4d5bebf0..a787fcc4 100644
--- a/scripts/PalletTown.asm
+++ b/scripts/PalletTown.asm
@@ -91,8 +91,8 @@ PalletTownOakWalksToPlayerScript:
ret
PalletTownOakNotSafeComeWithMeScript:
- ld a, [wd730]
- bit 0, a
+ ld a, [wStatusFlags5]
+ bit BIT_SCRIPTED_NPC_MOVEMENT, a
ret nz
xor a ; ld a, SPRITE_FACING_DOWN
ld [wSpritePlayerStateData1FacingDirection], a