summaryrefslogtreecommitdiff
path: root/data/maps/Route112/scripts.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-17 18:18:47 -0400
committerGitHub <noreply@github.com>2020-07-17 18:18:47 -0400
commit96fd719a1906346db062daf13e1107b3c4b220ed (patch)
tree5df2369f01325a40ca65a4f744545460e348a198 /data/maps/Route112/scripts.inc
parent50e48898d2ab25b792b563825dca79d327bcb542 (diff)
parent89bcf3cbd9ad9d3c3631159c5ba20d3660819066 (diff)
Merge pull request #1081 from GriffinRichards/add-localids
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/Route112/scripts.inc')
-rw-r--r--data/maps/Route112/scripts.inc19
1 files changed, 11 insertions, 8 deletions
diff --git a/data/maps/Route112/scripts.inc b/data/maps/Route112/scripts.inc
index 4dd4fe112..67f776f67 100644
--- a/data/maps/Route112/scripts.inc
+++ b/data/maps/Route112/scripts.inc
@@ -1,3 +1,6 @@
+.set LOCALID_GRUNT_1, 1
+.set LOCALID_GRUNT_2, 6
+
Route112_MapScripts:: @ 81F1DA8
map_script MAP_SCRIPT_ON_TRANSITION, Route112_OnTransition
.byte 0
@@ -10,36 +13,36 @@ Route112_OnTransition: @ 81F1DAE
Route112_EventScript_MagmaGrunts:: @ 81F1DB7
lockall
delay 40
- applymovement 1, Common_Movement_WalkInPlaceFastestRight
+ applymovement LOCALID_GRUNT_1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 20
msgbox Route112_Text_LeaderGoingToAwakenThing, MSGBOX_DEFAULT
closemessage
- applymovement 1, Common_Movement_FaceOriginalDirection
+ applymovement LOCALID_GRUNT_1, Common_Movement_FaceOriginalDirection
waitmovement 0
delay 40
- applymovement 6, Common_Movement_WalkInPlaceFastestLeft
+ applymovement LOCALID_GRUNT_2, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
delay 20
msgbox Route112_Text_YeahWeNeedMeteorite, MSGBOX_DEFAULT
closemessage
- applymovement 6, Common_Movement_FaceOriginalDirection
+ applymovement LOCALID_GRUNT_2, Common_Movement_FaceOriginalDirection
waitmovement 0
delay 40
- applymovement 1, Common_Movement_WalkInPlaceFastestRight
+ applymovement LOCALID_GRUNT_1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 20
msgbox Route112_Text_OhThatsWhyCrewWentToFallarbor, MSGBOX_DEFAULT
closemessage
- applymovement 1, Common_Movement_FaceOriginalDirection
+ applymovement LOCALID_GRUNT_1, Common_Movement_FaceOriginalDirection
waitmovement 0
delay 40
- applymovement 6, Common_Movement_WalkInPlaceFastestLeft
+ applymovement LOCALID_GRUNT_2, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
delay 20
msgbox Route112_Text_CantLetAnyonePassUntilTheyreBack, MSGBOX_DEFAULT
closemessage
- applymovement 6, Common_Movement_FaceOriginalDirection
+ applymovement LOCALID_GRUNT_2, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end