summaryrefslogtreecommitdiff
path: root/maps/VictoryRoadGate.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-03-10 15:31:59 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2019-03-10 16:00:19 -0400
commite002b536af8423f420e13e93d6c0e59f94ee5044 (patch)
treeb5bd658c777fca9e7d464d776a7f438deed61386 /maps/VictoryRoadGate.asm
parent6393ecb7e5d1f105db65cb831964b925db2bb2e8 (diff)
Rename more script commands for consistency and predictability
Fixes #540
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