summaryrefslogtreecommitdiff
path: root/engine/pokemon/caught_data.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/pokemon/caught_data.asm
parent65f22544e0a2d3fdbbd23b0fee026120d84202d8 (diff)
Add a `LANDMARK_` prefix to landmark constants
Resolves #697
Diffstat (limited to 'engine/pokemon/caught_data.asm')
-rw-r--r--engine/pokemon/caught_data.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/caught_data.asm b/engine/pokemon/caught_data.asm
index 0633b8e9a..7bf57cdc3 100644
--- a/engine/pokemon/caught_data.asm
+++ b/engine/pokemon/caught_data.asm
@@ -76,7 +76,7 @@ CheckPartyFullAfterContest:
call GetPartyLocation
ld a, [hl]
and CAUGHT_GENDER_MASK
- ld b, NATIONAL_PARK
+ ld b, LANDMARK_NATIONAL_PARK
or b
ld [hl], a
xor a
@@ -136,7 +136,7 @@ CheckPartyFullAfterContest:
ld hl, sBoxMon1CaughtLocation
ld a, [hl]
and CAUGHT_GENDER_MASK
- ld b, NATIONAL_PARK
+ ld b, LANDMARK_NATIONAL_PARK
or b
ld [hl], a
call CloseSRAM
@@ -226,7 +226,7 @@ SetGiftPartyMonCaughtData:
SetGiftMonCaughtData:
xor a
ld [hli], a
- ld a, GIFT_LOCATION
+ ld a, LANDMARK_GIFT
rrc b
or b
ld [hl], a