aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/heal_party.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
committerdannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
commitbc2354dd6626ce28bb9561547ed2107cfa56c18e (patch)
tree5902d4c3389253c76b7c3351e0d7dfecb551c28d /engine/events/heal_party.asm
parentIdentify characters in `_OakSpeechText2B` and `Printer_GetMonStats.IDNo` (#144) (diff)
parentUse macros for `WildMonEncounterSlotChances` (#562) (diff)
downloadpokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.gz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.xz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/events/heal_party.asm')
-rw-r--r--engine/events/heal_party.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/events/heal_party.asm b/engine/events/heal_party.asm
index e6551bcd..5532fd92 100644
--- a/engine/events/heal_party.asm
+++ b/engine/events/heal_party.asm
@@ -11,7 +11,7 @@ HealParty:
push hl
push de
- ld hl, wPartyMon1Status - wPartyMon1HP
+ ld hl, MON_STATUS - MON_HP
add hl, de
xor a
ld [hl], a
@@ -19,7 +19,7 @@ HealParty:
push de
ld b, NUM_MOVES ; A Pokémon has 4 moves
.pp
- ld hl, wPartyMon1Moves - wPartyMon1HP
+ ld hl, MON_MOVES - MON_HP
add hl, de
ld a, [hl]
@@ -27,7 +27,7 @@ HealParty:
jr z, .nextmove
dec a
- ld hl, wPartyMon1PP - wPartyMon1HP
+ ld hl, MON_PP - MON_HP
add hl, de
push hl
@@ -60,7 +60,7 @@ HealParty:
jr nz, .pp
pop de
- ld hl, wPartyMon1MaxHP - wPartyMon1HP
+ ld hl, MON_MAXHP - MON_HP
add hl, de
ld a, [hli]
ld [de], a
@@ -72,7 +72,7 @@ HealParty:
pop hl
push hl
- ld bc, wPartyMon2 - wPartyMon1
+ ld bc, PARTYMON_STRUCT_LENGTH
ld h, d
ld l, e
add hl, bc