Fix RBY grass/water encounter slot rarities.

<http://tasvideos.org/PokemonTricks.html>
This page explains how the RNG in RBY works, and gives exact rarities.
They are out of 256 rather than 100, so some rounding is necessary to
fit them into the database.

====  =======  ======  ==========  =======
Slot   Range   Chance  Percentage  Rounded
====  =======  ======  ==========  =======
0       0-50   51/256  19.921875%    20%
1      51-101  51/256  19.921875%    20%
2     102-140  39/256  15.234375%    15%
3     141-165  25/256   9.765625%    10%
4     166-190  25/256   9.765625%    10%
5     191-215  25/256   9.765625%    10%
6     216-228  13/256   5.078125%     5%
7     229-241  13/256   5.078125%     5%
8     242-252  11/256   4.296875%     4%
9     253-255   3/256   1.171875%     1%
====  =======  ======  ==========  =======
This commit is contained in:
a_magical_me 2010-03-17 21:31:07 -07:00
parent ef798afdcb
commit eeac034240

View file

@ -65,8 +65,8 @@ id,version_group_id,encounter_terrain_id,slot,rarity
64,9,5,5,1 64,9,5,5,1
65,9,6,1,90 65,9,6,1,90
66,9,6,2,10 66,9,6,2,10
67,1,1,1,25 67,1,1,1,20
68,1,1,2,15 68,1,1,2,20
69,1,1,3,15 69,1,1,3,15
70,1,1,4,10 70,1,1,4,10
71,1,1,5,10 71,1,1,5,10
@ -75,8 +75,8 @@ id,version_group_id,encounter_terrain_id,slot,rarity
74,1,1,8,5 74,1,1,8,5
75,1,1,9,4 75,1,1,9,4
76,1,1,10,1 76,1,1,10,1
77,1,5,1,25 77,1,5,1,20
78,1,5,2,15 78,1,5,2,20
79,1,5,3,15 79,1,5,3,15
80,1,5,4,10 80,1,5,4,10
81,1,5,5,10 81,1,5,5,10
@ -85,8 +85,8 @@ id,version_group_id,encounter_terrain_id,slot,rarity
84,1,5,8,5 84,1,5,8,5
85,1,5,9,4 85,1,5,9,4
86,1,5,10,1 86,1,5,10,1
87,2,1,1,25 87,2,1,1,20
88,2,1,2,15 88,2,1,2,20
89,2,1,3,15 89,2,1,3,15
90,2,1,4,10 90,2,1,4,10
91,2,1,5,10 91,2,1,5,10
@ -95,8 +95,8 @@ id,version_group_id,encounter_terrain_id,slot,rarity
94,2,1,8,5 94,2,1,8,5
95,2,1,9,4 95,2,1,9,4
96,2,1,10,1 96,2,1,10,1
97,2,5,1,25 97,2,5,1,20
98,2,5,2,15 98,2,5,2,20
99,2,5,3,15 99,2,5,3,15
100,2,5,4,10 100,2,5,4,10
101,2,5,5,10 101,2,5,5,10

1 id version_group_id encounter_terrain_id slot rarity
65 64 9 5 5 1
66 65 9 6 1 90
67 66 9 6 2 10
68 67 1 1 1 25 20
69 68 1 1 2 15 20
70 69 1 1 3 15
71 70 1 1 4 10
72 71 1 1 5 10
75 74 1 1 8 5
76 75 1 1 9 4
77 76 1 1 10 1
78 77 1 5 1 25 20
79 78 1 5 2 15 20
80 79 1 5 3 15
81 80 1 5 4 10
82 81 1 5 5 10
85 84 1 5 8 5
86 85 1 5 9 4
87 86 1 5 10 1
88 87 2 1 1 25 20
89 88 2 1 2 15 20
90 89 2 1 3 15
91 90 2 1 4 10
92 91 2 1 5 10
95 94 2 1 8 5
96 95 2 1 9 4
97 96 2 1 10 1
98 97 2 5 1 25 20
99 98 2 5 2 15 20
100 99 2 5 3 15
101 100 2 5 4 10
102 101 2 5 5 10