summaryrefslogtreecommitdiff
path: root/scripts/victoryroad3.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-18 20:49:52 -0700
committerYamaArashi <shadow962@live.com>2015-07-18 21:58:55 -0700
commitc169073eed4f0362ef42170098a141a2fcbd71d0 (patch)
treea4f97ff8eff1a9fc80cadc4dba3fe9d088410656 /scripts/victoryroad3.asm
parentb96ef8d2d495b8c39f703742e8c1965c774fc54f (diff)
misc
Diffstat (limited to 'scripts/victoryroad3.asm')
-rwxr-xr-xscripts/victoryroad3.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/victoryroad3.asm b/scripts/victoryroad3.asm
index 9aeb1d18..14b6895d 100755
--- a/scripts/victoryroad3.asm
+++ b/scripts/victoryroad3.asm
@@ -34,7 +34,7 @@ VictoryRoad3Script0: ; 449b7 (11:49b7)
ld hl, .coordsData_449f9
call CheckBoulderCoords
jp nc, .asm_449fe
- ld a, [wWhichTrade]
+ ld a, [wCoordIndex]
cp $1
jr nz, .asm_449dc
ld hl, wd126
@@ -60,11 +60,11 @@ VictoryRoad3Script0: ; 449b7 (11:49b7)
db $FF
.asm_449fe
- ld a, $c2
+ ld a, VICTORY_ROAD_2
ld [wDungeonWarpDestinationMap], a
ld hl, .coordsData_449f9
- call Func_46981
- ld a, [wWhichTrade]
+ call IsPlayerOnDungeonWarp
+ ld a, [wCoordIndex]
cp $1
jr nz, .asm_44a1b
ld hl, wd72d