aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/victoryroad2.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/victoryroad2.asm
parentA few missed TX_ASM (diff)
downloadpokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.gz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.xz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.zip
misc
Diffstat (limited to 'scripts/victoryroad2.asm')
-rwxr-xr-xscripts/victoryroad2.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/victoryroad2.asm b/scripts/victoryroad2.asm
index 51346032..fd095638 100755
--- a/scripts/victoryroad2.asm
+++ b/scripts/victoryroad2.asm
@@ -49,7 +49,7 @@ VictoryRoad2Script0: ; 517f1 (14:57f1)
call CheckBoulderCoords
jp nc, CheckFightingMapTrainers
ld hl, wd7ee
- ld a, [wWhichTrade]
+ ld a, [wCoordIndex]
cp $2
jr z, .asm_5180b
bit 0, [hl]