$11 = wTempMonStructEnd - wTempMonLevel

This commit is contained in:
Rangi 2021-03-15 15:40:48 -04:00
parent 97a11c623e
commit ec1fe073a3
2 changed files with 3 additions and 3 deletions

View File

@ -4660,8 +4660,8 @@ PrintPlayerHUD:
ld [de], a ld [de], a
ld hl, wBattleMonLevel ld hl, wBattleMonLevel
ld de, wTempMonLevel ld de, wTempMonLevel
ld bc, $11 ld bc, wTempMonStructEnd - wTempMonLevel
call CopyBytes call CopyBytes ; battle_struct and party_struct end with the same data
ld a, [wCurBattleMon] ld a, [wCurBattleMon]
ld hl, wPartyMon1Species ld hl, wPartyMon1Species
call GetPartyLocation call GetPartyLocation

View File

@ -138,7 +138,7 @@ ScriptCommandTable:
dw Script_opentext ; 47 dw Script_opentext ; 47
dw Script_refreshscreen ; 48 dw Script_refreshscreen ; 48
dw Script_closetext ; 49 dw Script_closetext ; 49
dw Script_writeunusedbyte ; 4a dw Script_writeunusedbyte ; 4a
dw Script_farwritetext ; 4b dw Script_farwritetext ; 4b
dw Script_writetext ; 4c dw Script_writetext ; 4c
dw Script_repeattext ; 4d dw Script_repeattext ; 4d