summaryrefslogtreecommitdiff
path: root/engine/events/overworld.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/overworld.asm')
-rwxr-xr-xengine/events/overworld.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/events/overworld.asm b/engine/events/overworld.asm
index a0633db2..c169b7aa 100755
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -219,7 +219,7 @@ CutDownTreeOrGrass:
CheckOverworldTileArrays: ; c87c (3:487c)
push bc
- ld a, [wd082]
+ ld a, [wMapTileset]
ld de, $3
call IsInArray
pop bc
@@ -762,7 +762,7 @@ TryEscapeFromDungeon:
EscapeFromDungeon:
ld hl, wDigWarpNumber
- ld de, wNextWarpNumber
+ ld de, wNextWarp
ld bc, $3
call CopyBytes
call FieldMoveGetPartyNick
@@ -859,9 +859,9 @@ TryTeleport:
jr .asm_cc9c
.asm_cc85
- ld a, [wd9fb]
+ ld a, [wLastSpawnMapGroup]
ld d, a
- ld a, [wd9fc]
+ ld a, [wLastSpawnMapNumber]
ld e, a
ld a, $5
ld hl, $5465