Skip to content

Commit 8da7deb

Browse files
authored
Update comment for clarity (#529)
Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
1 parent 4d2594c commit 8da7deb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/battle/core.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,8 @@ AnimateRetreatingPlayerMon:
17941794
lb bc, 7, 7
17951795
jp ClearScreenArea
17961796

1797-
; reads player's current mon's HP into wBattleMonHP
1797+
; Copies player's current pokemon's current HP and status into the party
1798+
; struct data so it stays after battle or switching
17981799
ReadPlayerMonCurHPAndStatus:
17991800
ld a, [wPlayerMonNumber]
18001801
ld hl, wPartyMon1HP

0 commit comments

Comments
 (0)