diff options
| author | Vortyne <104168801+Vortyne@users.noreply.github.com> | 2025-09-03 11:59:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 11:59:22 -0400 |
| commit | 8da7deb893a29683614326b34e5257b222734fac (patch) | |
| tree | 035461d12e6a7a3b65de4b6f9e7851fc7a8abdfc | |
| parent | Label and constant cleanup (#528) (diff) | |
| download | pokeyellow-8da7deb893a29683614326b34e5257b222734fac.tar.gz pokeyellow-8da7deb893a29683614326b34e5257b222734fac.tar.xz pokeyellow-8da7deb893a29683614326b34e5257b222734fac.zip | |
Update comment for clarity (#529)
Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
| -rw-r--r-- | engine/battle/core.asm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 296f9019..6285a330 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -1794,7 +1794,8 @@ AnimateRetreatingPlayerMon: lb bc, 7, 7 jp ClearScreenArea -; reads player's current mon's HP into wBattleMonHP +; Copies player's current pokemon's current HP and status into the party +; struct data so it stays after battle or switching ReadPlayerMonCurHPAndStatus: ld a, [wPlayerMonNumber] ld hl, wPartyMon1HP |
