summaryrefslogtreecommitdiff
path: root/data/maps/Route112
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-16 05:59:10 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-08-16 05:59:10 -0400
commit65bd2faf9460d4e5986c30e54b283d7674d77c55 (patch)
tree250c345d17b8d8f910d327d98f577afddfb3a64a /data/maps/Route112
parent2749948eebe65aa8b55738d820e4a0252dd45c1a (diff)
parent25f45ffa8441b0f0a999355c9755782ccb4809dc (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into doc-contest
Diffstat (limited to 'data/maps/Route112')
-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