diff options
Diffstat (limited to 'engine/events/overworld.asm')
-rwxr-xr-x | engine/events/overworld.asm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engine/events/overworld.asm b/engine/events/overworld.asm index 76e6b91..8a6d0f4 100755 --- a/engine/events/overworld.asm +++ b/engine/events/overworld.asm @@ -42,9 +42,7 @@ TeleportFunction: ; 03:52db ld d, a
ld a, [wLastSpawnMapNumber]
ld e, a
- ld hl, IsSpawnPoint
- ld a, BANK(IsSpawnPoint)
- call FarCall_hl
+ callab IsSpawnPoint
jr c, .not_spawn
ld hl, .Text_CantFindDestination
call MenuTextBoxBackup
@@ -94,9 +92,7 @@ TeleportFunction: ; 03:52db call Function1fea
ld a, MAPSETUP_TELEPORT
ldh [hMapEntryMethod], a
- ld hl, Functionfcc24
- ld a, BANK(Functionfcc24)
- jp FarCall_hl
+ jpab Functionfcc24
.Text_ReturnToLastMonCenter:
db "<NULL>"
|