summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattlePikeThreePathRoom
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-06-21 01:56:57 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-06-22 17:18:58 -0400
commitfac62881560190b3380d7fdbf197aa48ce337982 (patch)
tree028ddeb79c29fb61466b630ef7ff05706a7f81a0 /data/maps/BattleFrontier_BattlePikeThreePathRoom
parent46f4a4bbf7239743c333cd32d30b74a7b3176acc (diff)
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/BattleFrontier_BattlePikeThreePathRoom')
-rw-r--r--data/maps/BattleFrontier_BattlePikeThreePathRoom/scripts.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_BattlePikeThreePathRoom/scripts.inc b/data/maps/BattleFrontier_BattlePikeThreePathRoom/scripts.inc
index a9da7a092..46edebce6 100644
--- a/data/maps/BattleFrontier_BattlePikeThreePathRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePikeThreePathRoom/scripts.inc
@@ -1,3 +1,5 @@
+.set LOCALID_HINT_GIVER, 2
+
BattleFrontier_BattlePikeThreePathRoom_MapScripts:: @ 825C843
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoom_OnResume
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeThreePathRoom_OnFrame
@@ -159,12 +161,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint:: @ 825CA91
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint:: @ 825CA97
- applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer
+ applymovement LOCALID_HINT_GIVER, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer
waitmovement 0
lockall
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent, MSGBOX_DEFAULT
releaseall
- applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos
+ applymovement LOCALID_HINT_GIVER, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos
waitmovement 0
setvar VAR_TEMP_5, 255
end