summaryrefslogtreecommitdiff
path: root/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc')
-rw-r--r--data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc b/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
index de508c706..b1fc46abd 100644
--- a/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
+++ b/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
@@ -6,9 +6,9 @@ SevenIsland_TrainerTower_Elevator_MapScripts:: @ 8164AF8
SevenIsland_TrainerTower_Elevator_EventScript_164B03:: @ 8164B03
lockall
setvar VAR_0x8004, 6
- checkflag FLAG_0x002
- call_if 0, EventScript_1A7AB9
- copyvar VAR_0x8005, VAR_0x403A
+ checkflag FLAG_TEMP_2
+ call_if FALSE, EventScript_1A7AB9
+ copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
special sub_80CB580
message Text_1A535C
waitmessage
@@ -40,10 +40,10 @@ EventScript_164B5E:: @ 8164B5E
EventScript_164B90:: @ 8164B90
setvar VAR_0x8006, 3
setdynamicwarp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 17, 8
- compare_var_to_value VAR_0x403A, 3
- goto_if_eq EventScript_164BD3
+ compare_var_to_value VAR_ELEVATOR_FLOOR, 3
+ goto_if eq, EventScript_164BD3
call EventScript_164BD8
- setvar VAR_0x403A, 3
+ setvar VAR_ELEVATOR_FLOOR, 3
special sub_80CB63C
delay 25
applymovement 255, Movement_164BE5
@@ -68,7 +68,7 @@ EventScript_164BD8:: @ 8164BD8
waitse
special sub_80CB498
waitstate
- setflag FLAG_0x002
+ setflag FLAG_TEMP_2
return
Movement_164BE5:: @ 8164BE5