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 diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index 230ce4e53..e20b2b391 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -138,7 +138,7 @@ ScriptCommandTable: dw Script_opentext ; 47 dw Script_refreshscreen ; 48 dw Script_closetext ; 49 - dw Script_writeunusedbyte ; 4a + dw Script_writeunusedbyte ; 4a dw Script_farwritetext ; 4b dw Script_writetext ; 4c dw Script_repeattext ; 4d