mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Clarify signed magnitude in the growth_rate macro
This commit is contained in:
parent
9978126309
commit
fff343349d
@ -1,8 +1,8 @@
|
||||
growth_rate: MACRO
|
||||
; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
|
||||
dn \1, \2
|
||||
if \3 & $80 ; signed
|
||||
db -\3 | $80
|
||||
if \3 < 0
|
||||
db -\3 | $80 ; signed magnitude
|
||||
else
|
||||
db \3
|
||||
endc
|
||||
|
Loading…
Reference in New Issue
Block a user