aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/safarizoneentrance.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/safarizoneentrance.asm
parentA few missed TX_ASM (diff)
downloadpokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.gz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.xz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.zip
misc
Diffstat (limited to 'scripts/safarizoneentrance.asm')
-rwxr-xr-xscripts/safarizoneentrance.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/safarizoneentrance.asm b/scripts/safarizoneentrance.asm
index e89630fc..2e5b55f7 100755
--- a/scripts/safarizoneentrance.asm
+++ b/scripts/safarizoneentrance.asm
@@ -26,7 +26,7 @@ SafariZoneEntranceScriptPointers: ; 751d9 (1d:51d9)
ld [hJoyHeld], a
ld a, SPRITE_FACING_RIGHT
ld [wSpriteStateData1 + 9], a
- ld a, [wWhichTrade]
+ ld a, [wCoordIndex]
cp $1
jr z, .asm_7520f
ld a, $2