summaryrefslogtreecommitdiff
path: root/maps/VictoryRoadGate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/VictoryRoadGate.asm')
-rw-r--r--maps/VictoryRoadGate.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/maps/VictoryRoadGate.asm b/maps/VictoryRoadGate.asm
index 451bf9371..a2c996a1c 100644
--- a/maps/VictoryRoadGate.asm
+++ b/maps/VictoryRoadGate.asm
@@ -26,7 +26,7 @@ VictoryRoadGateBadgeCheckScript:
opentext
writetext VictoryRoadGateOfficerText
buttonsound
- checkcode VAR_BADGES
+ readvar VAR_BADGES
ifgreater NUM_JOHTO_BADGES - 1, .AllEightBadges
writetext VictoryRoadGateNotEnoughBadgesText
waitbutton