summaryrefslogtreecommitdiff
path: root/engine/move_mon.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/move_mon.asm')
-rwxr-xr-xengine/move_mon.asm7
1 files changed, 3 insertions, 4 deletions
diff --git a/engine/move_mon.asm b/engine/move_mon.asm
index 8bda52daa..0a8c340ed 100755
--- a/engine/move_mon.asm
+++ b/engine/move_mon.asm
@@ -287,17 +287,16 @@ endr
dec a
jr nz, .generatestats
ld hl, EnemyMonMaxHP
- ld bc, 2*6 ; MaxHP + 5 Stats
+ ld bc, 2 * 6 ; MaxHP + 5 Stats
call CopyBytes
pop hl
jr .next3
.generatestats
pop hl
- ld bc, 2*5 ; 5 Stats
+ ld bc, MON_STAT_EXP - 1
add hl, bc
- ld b, $0 ; if b = 1, then the Stats of the Pkmn are calculated
- ; only the current HP aren't set to MaxHP after this
+ ld b, $0 ; if b = 1, then stat calculation takes stat exp into account.
call CalcPkmnStats
.next3