aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/seafoamislands3.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/seafoamislands3.asm
parentA few missed TX_ASM (diff)
downloadpokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.gz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.tar.xz
pokeyellow-c169073eed4f0362ef42170098a141a2fcbd71d0.zip
misc
Diffstat (limited to 'scripts/seafoamislands3.asm')
-rwxr-xr-xscripts/seafoamislands3.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/seafoamislands3.asm b/scripts/seafoamislands3.asm
index 882553ab..0b650135 100755
--- a/scripts/seafoamislands3.asm
+++ b/scripts/seafoamislands3.asm
@@ -8,7 +8,7 @@ SeafoamIslands3Script: ; 46451 (11:6451)
call CheckBoulderCoords
ret nc
ld hl, wd880
- ld a, [wWhichTrade]
+ ld a, [wCoordIndex]
cp $1
jr nz, .asm_4647c
set 0, [hl]
@@ -34,7 +34,7 @@ SeafoamIslands3Script: ; 46451 (11:6451)
ld a, $a1
ld [wDungeonWarpDestinationMap], a
ld hl, Seafoam3HolesCoords
- jp Func_46981
+ jp IsPlayerOnDungeonWarp
Seafoam3HolesCoords: ; 464a9 (11:64a9)
db $06,$13