From 22922bbb5965dfbcd9fc4aaffff92967d1f7f390 Mon Sep 17 00:00:00 2001 From: entrpntr Date: Fri, 10 Apr 2020 18:30:21 -0400 Subject: Add engine/overworld/map_setup.asm. --- engine/events/overworld.asm | 6 +++--- engine/events/whiteout.asm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/events') 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 diff --git a/engine/events/whiteout.asm b/engine/events/whiteout.asm index bcab820b..fd273b51 100755 --- a/engine/events/whiteout.asm +++ b/engine/events/whiteout.asm @@ -71,5 +71,5 @@ GetWhiteoutSpawn: xor a ; SPAWN_HOME .yes - ld [wceec], a + ld [wDefaultSpawnpoint], a ret -- cgit v1.2.3