ref: bb58230ca7a3f0f3c58af2b182051cf33ba609ac
parent: 8c265476455c4793d263c7f2e6386904fbd3e305
author: pikalaxalt <[email protected]>
date: Thu May 5 11:12:59 EDT 2016
Credit to chaos_lord2 for decoding that load in computing enemy stats
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -6526,7 +6526,7 @@
; Fill stats
ld de, EnemyMonMaxHP
ld b, FALSE
- ld hl, LinkBattleRNs + 7 ; ?
+ ld hl, EnemyMonDVs - (MON_DVS - MON_STAT_EXP + 1) ; LinkBattleRNs + 7 ; ?
predef CalcPkmnStats
; If we're in a trainer battle,