From fac62881560190b3380d7fdbf197aa48ce337982 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 21 Jun 2020 01:56:57 -0400 Subject: Add local object event ids for referenced objects --- data/maps/Route112/scripts.inc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'data/maps/Route112') 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 -- cgit v1.2.3