Move pic animation documentation to docs/

Move growth rates to a data/ table
Name more SECTIONs
This commit is contained in:
Remy Oukaour
2017-12-11 23:44:29 -05:00
parent 265d36c6b8
commit 79873a1bfc
9 changed files with 154 additions and 184 deletions

20
data/growth_rates.asm Normal file
View File

@@ -0,0 +1,20 @@
growth_rate: MACRO
; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
dn \1, \2
if \3 & $80 ; signed
db -\3 | $80
else
db \3
endc
db \4, \5
ENDM
GrowthRates: ; 50efa
; entries correspond to base growth rate constants (see constants/pokemon_data_constants.asm)
growth_rate 1, 1, 0, 0, 0 ; Medium Fast
growth_rate 3, 4, 10, 0, 30 ; Slightly Fast
growth_rate 3, 4, 20, 0, 70 ; Slightly Slow
growth_rate 6, 5, -15, 100, 140 ; Medium Slow
growth_rate 4, 5, 0, 0, 0 ; Fast
growth_rate 5, 4, 0, 0, 0 ; Slow
; 50f12