diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 17:39:09 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 17:39:09 -0500 |
commit | a1951cefc09035e11077a433b28ec8c66b3b03db (patch) | |
tree | 4de98db5a6edb6d74192028d50893da2b764421f /engine/routines/leveluphappinessmod.asm | |
parent | 79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff) |
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/routines/leveluphappinessmod.asm')
-rw-r--r-- | engine/routines/leveluphappinessmod.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/routines/leveluphappinessmod.asm b/engine/routines/leveluphappinessmod.asm index c253e8872..8c6dd92fe 100644 --- a/engine/routines/leveluphappinessmod.asm +++ b/engine/routines/leveluphappinessmod.asm @@ -1,13 +1,13 @@ LevelUpHappinessMod: ; 2709e - ld a, [CurPartyMon] - ld hl, PartyMon1CaughtLocation + ld a, [wCurPartyMon] + ld hl, wPartyMon1CaughtLocation call GetPartyLocation ld a, [hl] and $7f ld d, a - ld a, [MapGroup] + ld a, [wMapGroup] ld b, a - ld a, [MapNumber] + ld a, [wMapNumber] ld c, a call GetWorldMapLocation cp d |