Add more constants for some maximum values

This commit is contained in:
Remy Oukaour
2017-12-24 19:49:57 -05:00
parent 7d4486e6a3
commit 148fd299f9
8 changed files with 33 additions and 27 deletions

View File

@@ -1579,9 +1579,9 @@ CalcPkmnStatC: ; e17b
jr c, .stat_value_okay
.max_stat
ld a, 999 / $100
ld a, MAX_STAT_VALUE / $100
ld [hMultiplicand + 1], a
ld a, 999 % $100
ld a, MAX_STAT_VALUE % $100
ld [hMultiplicand + 2], a
.stat_value_okay