summaryrefslogtreecommitdiff
path: root/data/maps/VictoryRoad_1F/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/VictoryRoad_1F/scripts.inc')
-rw-r--r--data/maps/VictoryRoad_1F/scripts.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/VictoryRoad_1F/scripts.inc b/data/maps/VictoryRoad_1F/scripts.inc
index f5efbe38a..96f3c6f42 100644
--- a/data/maps/VictoryRoad_1F/scripts.inc
+++ b/data/maps/VictoryRoad_1F/scripts.inc
@@ -3,9 +3,9 @@ VictoryRoad_1F_MapScripts:: @ 8235D7A
.byte 0
VictoryRoad_1F_MapScript1_235D80: @ 8235D80
- compare VAR_0x40C3, 1
+ compare VAR_VICTORY_ROAD_1F_STATE, 1
call_if_eq VictoryRoad_1F_EventScript_235D97
- compare VAR_0x40C3, 2
+ compare VAR_VICTORY_ROAD_1F_STATE, 2
call_if_eq VictoryRoad_1F_EventScript_235DA3
end
@@ -46,7 +46,7 @@ VictoryRoad_1F_EventScript_235DE1:: @ 8235DE1
clearflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
moveobjectoffscreen 4
setflag FLAG_DEFEATED_WALLY_VICTORY_ROAD
- copyvar VAR_0x40C3, VAR_0x8008
+ copyvar VAR_VICTORY_ROAD_1F_STATE, VAR_0x8008
releaseall
end