summaryrefslogtreecommitdiff
path: root/engine/events/overworld.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-10 18:30:21 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-10 18:31:36 -0400
commit22922bbb5965dfbcd9fc4aaffff92967d1f7f390 (patch)
treea399bf51b38a165eac97abb3839df0b62db2633d /engine/events/overworld.asm
parent48c658ccdbb1c79608f805264c83a39d20c60817 (diff)
Add engine/overworld/map_setup.asm.
Diffstat (limited to 'engine/events/overworld.asm')
-rwxr-xr-xengine/events/overworld.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/overworld.asm b/engine/events/overworld.asm
index f4e420bb..a0633db2 100755
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -555,7 +555,7 @@ TryToFly:
jr z, .asm_caaa
cp $1c
jr nc, .asm_caaa
- ld [wceec], a
+ ld [wDefaultSpawnpoint], a
call CloseWindow
ld a, $1
ret
@@ -592,7 +592,7 @@ FlyScript:
callasm FlyFromAnimation
farscall Script_AbortBugContest
special WarpToSpawnPoint
- callasm DelayLoadingNewSprites ; 1560c
+ callasm SkipUpdateMapSprites
loadvar VAR_MOVEMENT, PLAYER_NORMAL
newloadmap MAPSETUP_TELEPORT
callasm FlyToAnimation
@@ -868,7 +868,7 @@ TryTeleport:
rst FarCall
jr nc, .asm_cc9c
ld a, c
- ld [wceec], a
+ ld [wDefaultSpawnpoint], a
ld a, $1
ret