summaryrefslogtreecommitdiff
path: root/engine/events/poke_seer.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 /engine/events/poke_seer.asm
parent65f22544e0a2d3fdbbd23b0fee026120d84202d8 (diff)
Add a `LANDMARK_` prefix to landmark constants
Resolves #697
Diffstat (limited to 'engine/events/poke_seer.asm')
-rw-r--r--engine/events/poke_seer.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/poke_seer.asm b/engine/events/poke_seer.asm
index 9bca9d169..8e62d5ded 100644
--- a/engine/events/poke_seer.asm
+++ b/engine/events/poke_seer.asm
@@ -218,9 +218,9 @@ GetCaughtLocation:
ld a, [wSeerCaughtGender]
and CAUGHT_LOCATION_MASK
jr z, .Unknown
- cp EVENT_LOCATION
+ cp LANDMARK_EVENT
jr z, .event
- cp GIFT_LOCATION
+ cp LANDMARK_GIFT
jr z, .fail
ld e, a
farcall GetLandmarkName
@@ -390,7 +390,7 @@ GetCaughtGender:
ld a, [hl]
and CAUGHT_LOCATION_MASK
jr z, .genderless
- cp EVENT_LOCATION
+ cp LANDMARK_EVENT
jr z, .genderless
ld a, [hl]