2022-06-06 21:25:42 +00:00
|
|
|
MACRO mon_prob
|
2018-01-17 17:45:16 +00:00
|
|
|
; percent, index
|
|
|
|
db \1, \2 * 2
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 14:09:41 +00:00
|
|
|
GrassMonProbTable:
|
2021-03-04 03:22:41 +00:00
|
|
|
table_width 2, GrassMonProbTable
|
2018-01-17 17:45:16 +00:00
|
|
|
mon_prob 30, 0 ; 30% chance
|
|
|
|
mon_prob 60, 1 ; 30% chance
|
|
|
|
mon_prob 80, 2 ; 20% chance
|
|
|
|
mon_prob 90, 3 ; 10% chance
|
|
|
|
mon_prob 95, 4 ; 5% chance
|
|
|
|
mon_prob 99, 5 ; 4% chance
|
|
|
|
mon_prob 100, 6 ; 1% chance
|
2021-03-04 03:22:41 +00:00
|
|
|
assert_table_length NUM_GRASSMON
|
2017-12-11 18:47:58 +00:00
|
|
|
|
2018-06-24 14:09:41 +00:00
|
|
|
WaterMonProbTable:
|
2021-03-04 03:22:41 +00:00
|
|
|
table_width 2, WaterMonProbTable
|
2018-01-17 17:45:16 +00:00
|
|
|
mon_prob 60, 0 ; 60% chance
|
|
|
|
mon_prob 90, 1 ; 30% chance
|
|
|
|
mon_prob 100, 2 ; 10% chance
|
2021-03-04 03:22:41 +00:00
|
|
|
assert_table_length NUM_WATERMON
|