summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_ReceptionGate/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/BattleFrontier_ReceptionGate/scripts.inc')
-rw-r--r--data/maps/BattleFrontier_ReceptionGate/scripts.inc26
1 files changed, 15 insertions, 11 deletions
diff --git a/data/maps/BattleFrontier_ReceptionGate/scripts.inc b/data/maps/BattleFrontier_ReceptionGate/scripts.inc
index 94fadd69a..495ad165f 100644
--- a/data/maps/BattleFrontier_ReceptionGate/scripts.inc
+++ b/data/maps/BattleFrontier_ReceptionGate/scripts.inc
@@ -1,3 +1,7 @@
+.set LOCALID_GREETER, 1
+.set LOCALID_GUIDE, 2
+.set LOCALID_SCOTT, 4
+
BattleFrontier_ReceptionGate_MapScripts:: @ 82661DA
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_ReceptionGate_OnFrame
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_ReceptionGate_OnTransition
@@ -15,9 +19,9 @@ BattleFrontier_ReceptionGate_EventScript_FirstTimeEntering:: @ 82661F3
lockall
setvar VAR_HAS_ENTERED_BATTLE_FRONTIER, 1
playse SE_PIN
- applymovement 1, Common_Movement_ExclamationMark
+ applymovement LOCALID_GREETER, Common_Movement_ExclamationMark
waitmovement 0
- applymovement 1, Common_Movement_Delay48
+ applymovement LOCALID_GREETER, Common_Movement_Delay48
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_FirstTimeHereThisWay, MSGBOX_DEFAULT
closemessage
@@ -38,27 +42,27 @@ BattleFrontier_ReceptionGate_EventScript_ScottScene:: @ 8266229
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_IfItIsntPlayerYouCame, MSGBOX_DEFAULT
closemessage
- applymovement 1, Common_Movement_WalkInPlaceFastestUp
- applymovement 2, Common_Movement_WalkInPlaceFastestUp
+ applymovement LOCALID_GREETER, Common_Movement_WalkInPlaceFastestUp
+ applymovement LOCALID_GUIDE, Common_Movement_WalkInPlaceFastestUp
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
playse SE_PIN
- applymovement 1, Common_Movement_ExclamationMark
- applymovement 2, Common_Movement_ExclamationMark
+ applymovement LOCALID_GREETER, Common_Movement_ExclamationMark
+ applymovement LOCALID_GUIDE, Common_Movement_ExclamationMark
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_ExclamationMark
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_OhMrScottGoodDay, MSGBOX_DEFAULT
closemessage
- applymovement 1, BattleFrontier_ReceptionGate_Movement_GreeterFaceScott
- applymovement 2, BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott
+ applymovement LOCALID_GREETER, BattleFrontier_ReceptionGate_Movement_GreeterFaceScott
+ applymovement LOCALID_GUIDE, BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_PlayerFaceScott
- applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottEnter
+ applymovement LOCALID_SCOTT, BattleFrontier_ReceptionGate_Movement_ScottEnter
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_ScottGreatToSeeYouHere, MSGBOX_DEFAULT
closemessage
- applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottExit
+ applymovement LOCALID_SCOTT, BattleFrontier_ReceptionGate_Movement_ScottExit
waitmovement 0
- removeobject 4
+ removeobject LOCALID_SCOTT
releaseall
end