Commit graph

8 commits

Author SHA1 Message Date
a_magical_me eeac034240 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%
====  =======  ======  ==========  =======
2010-04-12 23:10:13 -07:00
a_magical_me ef798afdcb Add slot index to encounter_slots 2010-04-12 23:06:15 -07:00
Eevee d169a24d97 Added Yellow fishing encounters. 2010-02-04 01:03:10 -08:00
Eevee 5647d26765 Added Red/Blue fishing encounters. 2010-02-03 20:28:57 -08:00
Eevee d41c96c23b Added Red/Blue/Yellow grass and surfing encounters. 2010-02-03 19:19:43 -08:00
Eevee 429e660e8e Updated Good/Super Rod rarities to be.. correct. 2010-02-02 00:07:26 -08:00
Eevee 49be86a9d3 Redumped encounters for all five gen4 games. 2010-01-28 01:21:34 -08:00
Eevee e6635b4897 Refactored encounters schema so HG/SS can work.
Conditions are now condition values; condition groups are conditions.
Types are now terrain.  Slots are first-class things.

Encounters' condition values and slots' conditions have been broken off
into their own tables, as HG/SS has several slots affected by multiple
conditions.
2009-12-09 14:35:29 -08:00