summaryrefslogtreecommitdiff
path: root/home/region.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-03-15 17:26:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-03-15 19:50:39 -0400
commitad50e94b5029ce5a7d45fd3576f8f017eae6449c (patch)
tree5a81c2c1d2bfc29206d29ff3c107f784b0b18be4 /home/region.asm
parent65f22544e0a2d3fdbbd23b0fee026120d84202d8 (diff)
Add a `LANDMARK_` prefix to landmark constants
Resolves #697
Diffstat (limited to 'home/region.asm')
-rw-r--r--home/region.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/region.asm b/home/region.asm
index eedcbbee4..185f5ed25 100644
--- a/home/region.asm
+++ b/home/region.asm
@@ -7,10 +7,10 @@ IsInJohto::
ld c, a
call GetWorldMapLocation
- cp FAST_SHIP
+ cp LANDMARK_FAST_SHIP
jr z, .Johto
- cp SPECIAL_MAP
+ cp LANDMARK_SPECIAL
jr nz, .CheckRegion
ld a, [wBackupMapGroup]
@@ -24,11 +24,11 @@ IsInJohto::
jr nc, .Kanto
.Johto:
- xor a
+ xor a ; JOHTO_REGION
ret
.Kanto:
- ld a, 1
+ ld a, KANTO_REGION
ret
ret_2f3e::