summaryrefslogtreecommitdiff
path: root/engine/pokemon
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 10:13:06 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 10:13:06 -0500
commit826e070f0443b50ff31a49b4faf7c66577f1e26e (patch)
tree5a466635490c15e6a9e78e037507a22fceb1da9f /engine/pokemon
parent01d6e6c75843fdc0035499ce0214c19be74a9bda (diff)
More syncing with pokegold
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/level_up_happiness.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokemon/level_up_happiness.asm b/engine/pokemon/level_up_happiness.asm
index 533399d9f..3dac4e671 100644
--- a/engine/pokemon/level_up_happiness.asm
+++ b/engine/pokemon/level_up_happiness.asm
@@ -3,7 +3,7 @@ LevelUpHappinessMod:
ld hl, wPartyMon1CaughtLocation
call GetPartyLocation
ld a, [hl]
- and $7f
+ and CAUGHT_LOCATION_MASK
ld d, a
ld a, [wMapGroup]
ld b, a