summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-15 15:40:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-15 15:40:50 -0400
commit591132ace59d59ec8416ada2f1b386c0af2eb6e2 (patch)
treeb5696be22818c98de2167f50e4a6cef5179e6e23 /engine/battle/core.asm
parent48e6bed93afcde45a29d7cfd3d5dd353cf08f04a (diff)
$11 = wTempMonStructEnd - wTempMonLevel
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