Add local object event ids for referenced objects

This commit is contained in:
GriffinR
2020-06-21 01:56:57 -04:00
parent 46f4a4bbf7
commit fac6288156
192 changed files with 2857 additions and 2205 deletions

View File

@@ -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