diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-07-17 18:18:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 18:18:47 -0400 |
commit | 96fd719a1906346db062daf13e1107b3c4b220ed (patch) | |
tree | 5df2369f01325a40ca65a4f744545460e348a198 /data/scripts/apprentice.inc | |
parent | 50e48898d2ab25b792b563825dca79d327bcb542 (diff) | |
parent | 89bcf3cbd9ad9d3c3631159c5ba20d3660819066 (diff) |
Merge pull request #1081 from GriffinRichards/add-localids
Add local object event ids for referenced objects
Diffstat (limited to 'data/scripts/apprentice.inc')
-rw-r--r-- | data/scripts/apprentice.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/scripts/apprentice.inc b/data/scripts/apprentice.inc index b3ae904a0..f5fa3aeeb 100644 --- a/data/scripts/apprentice.inc +++ b/data/scripts/apprentice.inc @@ -1,3 +1,5 @@ +.set LOCALID_APPRENTICE, 6 + BattleFrontier_BattleTowerLobby_EventScript_Apprentice:: @ 82B688D lock faceplayer @@ -225,7 +227,7 @@ Apprentice_EventScript_LeaveNorth: @ 82B6E54 apprentice_shouldleave compare VAR_0x8004, FALSE @ Always TRUE here goto_if_eq Apprentice_EventScript_DontMove - applymovement 6, Apprentice_Movement_LeaveNorth + applymovement LOCALID_APPRENTICE, Apprentice_Movement_LeaveNorth waitmovement 0 end @@ -233,7 +235,7 @@ Apprentice_EventScript_Leave: @ 82B6E72 apprentice_shouldleave compare VAR_0x8004, FALSE @ Always TRUE here goto_if_eq Apprentice_EventScript_DontMove - applymovement 6, Apprentice_Movement_Leave + applymovement LOCALID_APPRENTICE, Apprentice_Movement_Leave waitmovement 0 end |