diff options
| author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-11 23:44:29 -0500 |
|---|---|---|
| committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-11 23:44:29 -0500 |
| commit | 79873a1bfc0e40067c45dc74fbbebf547d177978 (patch) | |
| tree | 0c0bedcd311ab83262e31cf6d9d4c37257143acc /data | |
| parent | 265d36c6b8bba5fd38baf426f5f80e1722c27b03 (diff) | |
Move pic animation documentation to docs/
Move growth rates to a data/ table
Name more SECTIONs
Diffstat (limited to 'data')
| -rw-r--r-- | data/growth_rates.asm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/data/growth_rates.asm b/data/growth_rates.asm new file mode 100644 index 000000000..4a1564515 --- /dev/null +++ b/data/growth_rates.asm @@ -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 |
