summaryrefslogtreecommitdiff
path: root/engine/events/trainer_scripts.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/trainer_scripts.asm')
-rw-r--r--engine/events/trainer_scripts.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/trainer_scripts.asm b/engine/events/trainer_scripts.asm
index 212cd7f28..abfcd8dee 100644
--- a/engine/events/trainer_scripts.asm
+++ b/engine/events/trainer_scripts.asm
@@ -11,7 +11,7 @@ SeenByTrainerScript:: ; 0xbe675
encountermusic
showemote EMOTE_SHOCK, LAST_TALKED, 30
callasm TrainerWalkToPlayer
- applymovement2 MovementBuffer
+ applymovement2 wMovementBuffer
writeobjectxy LAST_TALKED
faceobject PLAYER, LAST_TALKED
jump StartBattleWithMapTrainerScript