aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/seafoamislands4.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/seafoamislands4.asm
parentA few missed TX_ASM (diff)
downloadpokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.gz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.xz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.zip
misc
Diffstat (limited to 'scripts/seafoamislands4.asm')
-rwxr-xr-xscripts/seafoamislands4.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/seafoamislands4.asm b/scripts/seafoamislands4.asm
index 8009e221..f16ab2c6 100755
--- a/scripts/seafoamislands4.asm
+++ b/scripts/seafoamislands4.asm
@@ -8,7 +8,7 @@ SeafoamIslands4Script: ; 4658d (11:658d)
call CheckBoulderCoords
ret nc
ld hl, wd881
- ld a, [wWhichTrade]
+ ld a, [wCoordIndex]
cp $1
jr nz, .asm_465b8
set 0, [hl]
@@ -35,7 +35,7 @@ SeafoamIslands4Script: ; 4658d (11:658d)
ld a, $a2
ld [wDungeonWarpDestinationMap], a
ld hl, Seafoam4HolesCoords
- call Func_46981
+ call IsPlayerOnDungeonWarp
ld a, [wd732]
bit 4, a
ret nz