Commit graph

13 commits

Author SHA1 Message Date
a_magical_me
81f384e562 Add FR/LG encounters. #136 2011-04-04 17:48:12 -07:00
a_magical_me
841694f83f Add R/S/E encounters. #136
- They actually have LocationAreaEncounterRates this time!

- Make EncounterSlots.rarity nullable, since my script requires it.
2011-04-04 17:48:10 -07:00
a_magical_me
c9a3ceb88f Rename terrain => method. #375
They aren't actually terrains, and i need that name for another table.
2011-04-04 17:48:05 -07:00
Eevee
4414bab714 Lots of encounters were using slots that claimed to be for other games. #297 #281 2011-01-27 20:44:56 -08:00
a_magical_me
b3eb81225a Fix HGSS fishing encounter slot rarities.
<http://www.smogon.com/forums/showpost.php?p=2564048&postcount=215>
mingot has found the correct slot rarities for HGSS fishing encounters.
They are 40/30/15/10/5 for all rods. Surfing is the same as in DPPt.
2010-04-12 23:11:48 -07:00
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