WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 67c8cac

Browse files
authored
Update comment for clarity
Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
1 parent d98b5e6 commit 67c8cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/battle/core.asm

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

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

0 commit comments

Comments
 (0)