summaryrefslogtreecommitdiff
path: root/engine/move_mon.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-01-29 01:00:48 -0500
committeryenatch <yenatch@gmail.com>2016-01-29 01:00:48 -0500
commit11173a3807bde4e2d5b681717258b5b14f5f2d43 (patch)
tree8e1692fe02b30ceeb2d797c001e0594175e29b78 /engine/move_mon.asm
parent289d3dea86b82c4ce7eb7268ef33980688306587 (diff)
parent5322b56a8357e5e5a8847f3329b52faa3f7016d8 (diff)
Merge pull request #333 from PikalaxALT/master
Split base stats, rearrange wram.asm, naming screen
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