summaryrefslogtreecommitdiff
path: root/maps/VictoryRoadGate.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-12 01:40:20 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-12 02:27:42 -0500
commitd83aefb30af180eae03bbd65878e8de45166f3d0 (patch)
tree403ca7f5d1ba0428dc542d268efebc0f6f0bf0cb /maps/VictoryRoadGate.asm
parentb23085f526fab9c72d8851e1aba41a27f8ba7e14 (diff)
Use more constants in scripts
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 3d15be073..f1ae34fab 100644
--- a/maps/VictoryRoadGate.asm
+++ b/maps/VictoryRoadGate.asm
@@ -29,7 +29,7 @@ VictoryRoadGateBadgeCheckScript:
writetext VictoryRoadGateOfficerText
buttonsound
checkcode VAR_BADGES
- if_greater_than 7, .AllEightBadges
+ if_greater_than NUM_JOHTO_BADGES - 1, .AllEightBadges
writetext VictoryRoadGateNotEnoughBadgesText
waitbutton
closetext