mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30: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
|
ld bc, NUM_MOVES
|
||||||
call CopyData
|
call CopyData
|
||||||
ld de, wBattleMonLevel
|
ld de, wBattleMonLevel
|
||||||
ld bc, $b
|
ld bc, wBattleMonPP - wBattleMonLevel
|
||||||
call CopyData
|
call CopyData
|
||||||
ld a, [wBattleMonSpecies2]
|
ld a, [wBattleMonSpecies2]
|
||||||
ld [wd0b5], a
|
ld [wd0b5], a
|
||||||
|
@ -1771,7 +1771,7 @@ LoadEnemyMonFromParty: ; 3cc13 (f:4c13)
|
||||||
ld bc, NUM_MOVES
|
ld bc, NUM_MOVES
|
||||||
call CopyData
|
call CopyData
|
||||||
ld de, wEnemyMonLevel
|
ld de, wEnemyMonLevel
|
||||||
ld bc, $b
|
ld bc, wEnemyMonPP - wEnemyMonLevel
|
||||||
call CopyData
|
call CopyData
|
||||||
ld a, [wEnemyMonSpecies]
|
ld a, [wEnemyMonSpecies]
|
||||||
ld [wd0b5], a
|
ld [wd0b5], a
|
||||||
|
@ -1913,11 +1913,11 @@ DrawPlayerHUDAndHPBar: ; 3cd60 (f:4d60)
|
||||||
call PlaceString
|
call PlaceString
|
||||||
ld hl, wBattleMonSpecies
|
ld hl, wBattleMonSpecies
|
||||||
ld de, wLoadedMon
|
ld de, wLoadedMon
|
||||||
ld bc, $c
|
ld bc, wBattleMonDVs - wBattleMonSpecies
|
||||||
call CopyData
|
call CopyData
|
||||||
ld hl, wBattleMonLevel
|
ld hl, wBattleMonLevel
|
||||||
ld de, wLoadedMonLevel
|
ld de, wLoadedMonLevel
|
||||||
ld bc, $b
|
ld bc, wBattleMonPP - wBattleMonLevel
|
||||||
call CopyData
|
call CopyData
|
||||||
coord hl, 14, 8
|
coord hl, 14, 8
|
||||||
push hl
|
push hl
|
||||||
|
|
Loading…
Reference in a new issue