mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
Maximise DVs, WRAM fix..?
Implements a fix with the WRAM stack space that pret mentioned. DVs should be forced to max with the changes I added, will need testing.
This commit is contained in:
parent
8ee7e59d47
commit
e2c1037033
4 changed files with 8 additions and 8 deletions
|
|
@ -6150,10 +6150,9 @@ LoadEnemyMonData:
|
|||
ld b, SPDSPCDV_TRAINER
|
||||
jr z, .storeDVs
|
||||
; random DVs for wild mon
|
||||
call BattleRandom
|
||||
ld b, a
|
||||
call BattleRandom
|
||||
.storeDVs
|
||||
ld a, ATKDEFDV_TRAINER
|
||||
ld b, SPDSPCDV_TRAINER
|
||||
jr z, .storeDVs
|
||||
ld hl, wEnemyMonDVs
|
||||
ld [hli], a
|
||||
ld [hl], b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue