summaryrefslogtreecommitdiff
path: root/scripts/victoryroad2.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-01-03 14:21:56 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-01-03 14:21:56 -0500
commit115fba107d6e319e2a047a17f5c0dfca723a8d05 (patch)
treef242eec26b51c08505ecb5b8d39bfe5eaac14cd5 /scripts/victoryroad2.asm
parent1a5a108bdf6904423bfa80cc7bcb5582331740cb (diff)
parent28dc5686b05477e13a9cc078975315140bee9800 (diff)
Merge pull request #120 from PikalaxALT/master
Fix game time labels, wCurrentMapScriptFlags
Diffstat (limited to 'scripts/victoryroad2.asm')
-rwxr-xr-xscripts/victoryroad2.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/victoryroad2.asm b/scripts/victoryroad2.asm
index 6fc4747c..c1fc6dc7 100755
--- a/scripts/victoryroad2.asm
+++ b/scripts/victoryroad2.asm
@@ -1,9 +1,9 @@
VictoryRoad2Script: ; 5179d (14:579d)
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 6, [hl]
res 6, [hl]
call nz, VictoryRoad2Script_517c4
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
call nz, VictoryRoad2Script_517c9
@@ -59,7 +59,7 @@ VictoryRoad2Script0: ; 517f1 (14:57f1)
SetEventReuseHL EVENT_VICTORY_ROAD_2_BOULDER_ON_SWITCH2
ret nz
.asm_51810
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
set 5, [hl]
ret