Commit graph

37 commits

Author SHA1 Message Date
Andrew Ekstedt
722a4664dd
Generation 2 (GSC) encounters (#289)
Source: https://www.pokebip.com/page/jeuxvideo/dossier_shasse/encounter_slot

This covers the following encounter methods: Walking, Fishing (3 rods), Surf and Rock Smash
2020-03-04 14:52:07 -08:00
Andrew Ekstedt
b6dfbbcd58 gift-pokemon: rerun script
This removes a few location areas that are no longer needed now that
we've dropped fossil pokemon.
2019-07-12 19:14:59 -07:00
Andrew Ekstedt
8161bd84e4 gift-pokemon: fix Cosplay Pikachu and Sinnoh starter gift locations
Cosplay Pikachu was listed as being encountered in contest-hall, but
that's a Sinnoh location. In OR/AS, the contest halls are not a
first-class location but rather just treated as part of the town or city
they are in. Cosplay Pikachu is given to the player after they
participate in their first contest, so its location can be any of the
four cities with a contest hall.

The Sinnoh starter that the player obtains in OR/AS is on Hoenn Route
101, not Sinnoh Route 201 (probably a copy/paste error).

Add a test to make sure that encounter regions always match the
region(s) that their game takes place in.
2019-07-12 18:48:07 -07:00
Andrew Ekstedt
53e0fc0085 gift-encounters: fix Yellow gift pokemon
They were being interpreted as being in Y instead.
2018-11-03 17:19:19 -07:00
Andrew Ekstedt
14bcc8f2bf Rerun gift encounters script 2018-10-27 15:19:59 -07:00
Jonathan Rubin
4155bc4459 gift pokemon CSV updates - 3rd time is the charm
use `pokedex dump` to apply CSV changes
2018-10-06 14:38:06 -04:00
Jonathan Rubin
10db4d9d23 gift-pokemon: Rerun with changes
Using the following steps:
* Unroll the previous commit with bulk CSV changes (b7500e92f0)
* remove and re-initialize the database
* follow the steps in that commit
* Only select location_area_prose in English
    (there's a bunch of czech translations tracked separately in pokedex/data/csv/translations/cs.csv)
2018-09-22 21:45:34 -04:00
Jonathan Rubin
b7500e92f0 gift-pokemon: CSV file updates
From sqlite:
.headers on
.mode csv
.output $filename
select * from $table
Then remove all the dumb carriage returns in vim
2018-09-19 13:58:25 -04:00
Andrew Ekstedt
ddf987a110 Load/dump dance 2016-09-24 12:44:13 -07:00
Andrew Ekstedt
d70cd810cd Fix Pokémon Mansion encounters.
There was a mix up with B1F and 1F in FireRed and LeafGreen.
Both floors got labeled as 1F during the location area cleanup,
and the B1F encounters were copied to 2F and 3F instead of the 1F
encounters.
2016-09-24 12:31:04 -07:00
Seii
c5b1b5e033 Fix an Encounter mismatch (hopefully the last one) 2016-07-20 14:11:32 -05:00
Seii
6978771321 Fix ID duplication in Encounters table 2016-07-19 14:02:09 -05:00
Seii
48bf32299c Merge all separate FR/LG locations back into existing locations 2016-07-19 12:01:04 -05:00
Seii
9ff5609890 Merge victory-road-3 into victory-road-2 2016-07-19 10:04:00 -05:00
Seii
52f5b94a67 Fix Pokemon Mansion encounters in FR/LG 2016-07-19 09:29:48 -05:00
Seii
be251eb308 Merge FR/LG safari zone entries into existing entries 2016-07-18 15:41:54 -05:00
Seii
f33531aff0 Merge separate FR/LG encounters on Victory Road, merge FR/LG "sea routes"
into existing R/B/Y equivalent routes
2016-07-18 15:30:33 -05:00
Andrew Ekstedt
33fab44d0d Add X/Y wild encounters.
The following locations have multiple areas, which have been assigned
placeholder names (Unknown Area ###).

- Frost Cavern
- Glittering Cave
- Reflection Cave
- Terminus Cave
- Victory Road

No horde encounters because i'm not sure how we want to represent them.

No swarm encounters because they aren't in the normal encounter data.

Fixes #146.
2015-05-30 15:00:54 -07:00
Lynn "Zhorken" Vaughan
c36e09089f Move alternate forms to ids 10001+ again. 2013-10-27 22:43:48 -04:00
Andrew Ekstedt
32d88bf97f Add B/W 2 encounters
- Victory Road, Giant Chasm, and Reversal Mountain have unknown area
  names. The others are hopefully accurate.

- Swarms are, again, not present. Neither are Hidden Grove encounters.
2012-09-29 00:03:40 -07:00
Andrew Ekstedt
7d9381699a Add B/W encounters
- Victory Road still has unknown area names

- Swarms don't work like normal encounters so are not present
2012-09-28 23:50:04 -07:00
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
Eevee
7c69492aeb Removed a ton of nonsensical HG/SS swarm encounters. #297 2011-01-27 20:44:56 -08: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
Eevee
373ec780bc Filled in missing Vermilion port encounters. 2010-02-04 01:12:22 -08:00
Eevee
d169a24d97 Added Yellow fishing encounters. 2010-02-04 01:03:10 -08:00
Eevee
c324f0c629 Whoops; removed some R/B fishing from places with no water. 2010-02-03 20:52:14 -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
e3c6cf7d10 Updated some location/area names; collapsed Turnback Cave.
This had been done before, but some of the changes were lost when I
re-ripped Diamond and Pearl.

Also, Turnback Cave has been collapsed into seven sections rather than
four.  The previous change in particular ignored that the encounter
rates for the first three areas were lower than elsewhere.  I'm
conjecturing wildly, but I believe those first three are the actual
pillar rooms, and the following four identical groups are the groups of
rooms between the pillars.
2010-01-28 01:21:35 -08:00
Eevee
e163c13038 Re-re-ripped HG/SS encounters.
Turns out "fishing swarm 2" is time of day; it represents some water
Pokémon that only appear at night.
2010-01-28 01:21:34 -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
Eevee
beb9be4084 Added preliminary HG/SS encounter data. 2009-09-14 21:18:47 -07:00
Eevee
b9820bec29 Consolidated Solaceon Ruins and Old Chateau areas. #7
All Solaceon Ruins rooms are identical, so there is no reason to have
them duplicated.

All the Old Chateau rooms are similarly identical, EXCEPT for the lone
room that can spawn Gengar.  I also left the Rotom room in, for when I
get around to adding event encounters.
2009-05-16 23:34:24 -07:00
Eevee
9f6f210fa5 Added encounter data for Diamond, Pearl, and Platinum.
Finally!  Location order is the same as from the old dex, which was
something like the game but ultimately arbitrary, so it's not any better
now.

This takes a very different approach to storage, rather than copying the
game exactly and trying to fix everything in code.  Comments coming
shortly so other people can actually make use of this.
2009-05-01 06:20:18 -07:00