summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-02-18 03:24:04 +0000
committerlibjet <libj3t@gmail.com>2020-02-18 03:24:04 +0000
commit3379187ef4d3e3d545cd31cfe74452359169e1ad (patch)
treed7c2c4b98a37b61dc0b385502adf7e9a229e784b /home.asm
parent5462eca2314a6f4578e930c1787ae7fc61b90444 (diff)
Add region.asm
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm27
1 files changed, 1 insertions, 26 deletions
diff --git a/home.asm b/home.asm
index b6ca4562..0ddd8f15 100644
--- a/home.asm
+++ b/home.asm
@@ -75,32 +75,7 @@ Unreferenced_CheckFieldDebug::
INCLUDE "home/sprite_updates.asm"
INCLUDE "home/string.asm"
-
-IsInJohto::
- ld a, [wMapGroup]
- ld b, a
- ld a, [wMapNumber]
- ld c, a
- call GetWorldMapLocation
- cp $5e
- jr z, .asm_2ff9
- cp $0
- jr nz, .asm_2ff5
- ld a, [wd9f6]
- ld b, a
- ld a, [wd9f7]
- ld c, a
- call GetWorldMapLocation
-.asm_2ff5
- cp $2e
- jr nc, .asm_2ffb
-.asm_2ff9
- xor a
- ret
-
-.asm_2ffb
- ld a, $1
- ret
+INCLUDE "home/region.asm"
Function2ffe:: ; 2ffe (0:2ffe)
push hl