summaryrefslogtreecommitdiff
path: root/maps/VictoryRoadGate.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-01-22 01:06:48 -0500
committerGitHub <noreply@github.com>2018-01-22 01:06:48 -0500
commitc60f1331fef22b886adf3472d2b4f348832cfaf7 (patch)
tree5a471fad61e406f5b3ca1aba67ced0186de01c52 /maps/VictoryRoadGate.asm
parentf27f79488a460f0a89670f3611e1e9e175baf5d6 (diff)
parent7fba864883732ccecb1221ae7ff97492d112362a (diff)
Merge pull request #456 from Rangi42/master
OAM data documentation; move more content into data/; move palettes into gfx/; more code+script constants; consistent map naming
Diffstat (limited to 'maps/VictoryRoadGate.asm')
-rw-r--r--maps/VictoryRoadGate.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/maps/VictoryRoadGate.asm b/maps/VictoryRoadGate.asm
index 95011fd5e..b466a32b6 100644
--- a/maps/VictoryRoadGate.asm
+++ b/maps/VictoryRoadGate.asm
@@ -3,7 +3,7 @@ const_value set 2
const VICTORYROADGATE_BLACK_BELT1
const VICTORYROADGATE_BLACK_BELT2
-VictoryRoadGate_MapScriptHeader:
+VictoryRoadGate_MapScripts:
.SceneScripts:
db 2
scene_script .DummyScene0
@@ -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
@@ -40,7 +40,7 @@ VictoryRoadGateBadgeCheckScript:
writetext VictoryRoadGateEightBadgesText
waitbutton
closetext
- setscene $1
+ setscene 1
end
VictoryRoadGateLeftBlackBeltScript:
@@ -97,7 +97,7 @@ VictoryRoadGateRightBlackBeltText:
line "ready for you!"
done
-VictoryRoadGate_MapEventHeader:
+VictoryRoadGate_MapEvents:
; filler
db 0, 0