summaryrefslogtreecommitdiff
path: root/engine/battle
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-15 15:40:48 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-15 15:40:48 -0400
commitec1fe073a341a796cf7e3125ef95280c615a5eb8 (patch)
tree2141ad2665f8e3296dfff933a8a172dabf1310be /engine/battle
parent97a11c623ebd2c3e8d40a9c01b42669b2094da2c (diff)
$11 = wTempMonStructEnd - wTempMonLevel
Diffstat (limited to 'engine/battle')
-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 ff94859f3..aa197bea2 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4660,8 +4660,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