summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 728fa9f4..063383bf 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4424,8 +4424,8 @@ PrintPlayerHUD:
ld [de], a
ld hl, wBattleMonLevel
ld de, wTempMonLevel
- ld bc, $11
- call CopyBytes
+ ld bc, wTempMonStructEnd - wTempMonLevel
+ call CopyBytes ; battle_struct and party_struct end with the same data
ld a, [wCurBattleMon]
ld hl, wPartyMon1Species
call GetPartyLocation