mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Remove hardcoded values for CopyData in battle core.
This commit is contained in:
parent
af6fa345d6
commit
213f6dfc98
|
@ -1727,7 +1727,7 @@ LoadBattleMonFromParty: ; 3cba6 (f:4ba6)
|
|||
ld bc, NUM_MOVES
|
||||
call CopyData
|
||||
ld de, wBattleMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wBattleMonPP - wBattleMonLevel
|
||||
call CopyData
|
||||
ld a, [wBattleMonSpecies2]
|
||||
ld [wd0b5], a
|
||||
|
@ -1771,7 +1771,7 @@ LoadEnemyMonFromParty: ; 3cc13 (f:4c13)
|
|||
ld bc, NUM_MOVES
|
||||
call CopyData
|
||||
ld de, wEnemyMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wEnemyMonPP - wEnemyMonLevel
|
||||
call CopyData
|
||||
ld a, [wEnemyMonSpecies]
|
||||
ld [wd0b5], a
|
||||
|
@ -1913,11 +1913,11 @@ DrawPlayerHUDAndHPBar: ; 3cd60 (f:4d60)
|
|||
call PlaceString
|
||||
ld hl, wBattleMonSpecies
|
||||
ld de, wLoadedMon
|
||||
ld bc, $c
|
||||
ld bc, wBattleMonDVs - wBattleMonSpecies
|
||||
call CopyData
|
||||
ld hl, wBattleMonLevel
|
||||
ld de, wLoadedMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wBattleMonPP - wBattleMonLevel
|
||||
call CopyData
|
||||
coord hl, 14, 8
|
||||
push hl
|
||||
|
|
Loading…
Reference in a new issue