From e39db6676e5a579722a31d5d4a22cbf00b419768 Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 26 Mar 2025 18:32:41 -0700 Subject: [PATCH] Add another dex entry --- lib/dexMisc.dart | 17 +++++ lib/pokemon.dart | 183 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 199 insertions(+), 1 deletion(-) diff --git a/lib/dexMisc.dart b/lib/dexMisc.dart index 82da21a..ebfac4e 100644 --- a/lib/dexMisc.dart +++ b/lib/dexMisc.dart @@ -5,16 +5,23 @@ enum GameRoute { RT1, RT2, RT3, + RT4, RT5, RT6, RT7, RT8, + RT9, + RT10, RT11, RT12, RT13, RT14, RT15, + RT16, + RT17, + RT18, RT21, + RT22, RT24, RT25, RT26, @@ -23,13 +30,16 @@ enum GameRoute { RT30, RT31, RT32, + RT33, RT34, RT35, RT36, RT37, RT38, RT39, + RT42, RT43, + RT46, RT204, ViridianForest(commonName: "Viridian Forest"), AzaleaTown(commonName: "Azalea Town"), @@ -57,6 +67,13 @@ enum GameRoute { BerryForest(commonName: "Berry Forest"), BondBridge(commonName: "Bond Bridge"), FiveIsleMeadow(commonName: "Five Isle Meadow"), + PokemonMansion(commonName: "Pokemon Mansion"), + BurnedTower(commonName: "Burned Tower"), + MtMortar(commonName: "Mt. Mortar"), + SproutTower(commonName: "Sprout Tower"), + TinTower(commonName: "Tin Tower"), + TohjoFalls(commonName: "Tohjo Falls"), + UnionCave(commonName: "Union Cave"), // The following mark the pokemon as not usually obtainable TradeOrMigrate(commonName: "Trade or Migrate from another game"), diff --git a/lib/pokemon.dart b/lib/pokemon.dart index 69a9b43..768ff2d 100644 --- a/lib/pokemon.dart +++ b/lib/pokemon.dart @@ -1813,7 +1813,188 @@ enum Pokemon { ), ], ), - Rattata(19, Generation.One, [Type.Normal], SingleEvolution(20, 20)), + Rattata( + 19, + Generation.One, + [Type.Normal], + SingleEvolution(20, 20), + locations: [ + Location( + Game.Red, + [ + GameRoute.RT1, + GameRoute.RT2, + GameRoute.RT4, + GameRoute.RT9, + GameRoute.RT16, + GameRoute.RT21, + GameRoute.RT22, + ], + Generation.One, + additionalGames: [Game.Blue], + ), + Location(Game.Yellow, [ + GameRoute.RT1, + GameRoute.RT2, + GameRoute.RT3, + GameRoute.RT4, + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.RT9, + GameRoute.RT10, + GameRoute.RT11, + GameRoute.RT16, + GameRoute.RT18, + GameRoute.RT21, + GameRoute.RT22, + GameRoute.PokemonMansion, + ], Generation.One), + Location(Game.Gold, [ + GameRoute.RT1, + GameRoute.RT3, + GameRoute.RT4, + GameRoute.RT7, + GameRoute.RT9, + GameRoute.RT11, + GameRoute.RT22, + GameRoute.RT29, + GameRoute.RT30, + GameRoute.RT31, + GameRoute.RT32, + GameRoute.RT33, + GameRoute.RT34, + GameRoute.RT38, + GameRoute.RT39, + GameRoute.RT46, + GameRoute.BurnedTower, + GameRoute.MtMortar, + GameRoute.SproutTower, + GameRoute.TinTower, + GameRoute.TohjoFalls, + GameRoute.UnionCave, + ], Generation.Two), + Location(Game.Silver, [ + GameRoute.RT1, + GameRoute.RT3, + GameRoute.RT4, + GameRoute.RT7, + GameRoute.RT9, + GameRoute.RT11, + GameRoute.RT22, + GameRoute.RT29, + GameRoute.RT30, + GameRoute.RT31, + GameRoute.RT32, + GameRoute.RT33, + GameRoute.RT34, + GameRoute.RT46, + GameRoute.BurnedTower, + GameRoute.MtMortar, + GameRoute.SproutTower, + GameRoute.TinTower, + GameRoute.TohjoFalls, + GameRoute.UnionCave, + ], Generation.Two), + Location(Game.Crystal, [ + GameRoute.RT1, + GameRoute.RT3, + GameRoute.RT4, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT9, + GameRoute.RT11, + GameRoute.RT21, + GameRoute.RT22, + GameRoute.RT29, + GameRoute.RT32, + GameRoute.RT33, + GameRoute.RT34, + GameRoute.RT38, + GameRoute.RT39, + GameRoute.RT42, + GameRoute.RT46, + GameRoute.BurnedTower, + GameRoute.MtMortar, + GameRoute.SproutTower, + GameRoute.TinTower, + GameRoute.TohjoFalls, + GameRoute.UnionCave, + ], Generation.Two), + Location( + Game.Ruby, + [GameRoute.TradeOrMigrate], + Generation.Three, + additionalGames: [Game.Sapphire, Game.Emerald], + ), + Location( + Game.FireRed, + [ + GameRoute.RT1, + GameRoute.RT2, + GameRoute.RT4, + GameRoute.RT9, + GameRoute.RT16, + GameRoute.RT17, + GameRoute.RT18, + GameRoute.RT22, + GameRoute.PokemonMansion, + ], + Generation.Three, + additionalGames: [Game.LeafGreen], + ), + ], + dexEntries: [ + DexEntry( + Game.Red, + "Bites anything when it attacks. Small and very quick, it is a common sight in many places.", + Generation.One, + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "Will chew on anything with its fangs. If you see one, it is certain that 40 more live in the area.", + Generation.One, + ), + DexEntry( + Game.Gold, + "It eats anything. Wherever food is available, it will settle down and produce offspring continuously.", + Generation.Two, + ), + DexEntry( + Game.Silver, + "Living wherever there is food available, it ceaselessly scavenges for edibles the entire day.", + Generation.Two, + ), + DexEntry( + Game.Crystal, + "This POKéMON’s impressive vitality allows it to live anywhere. It also multiplies very quickly.", + Generation.Two, + ), + DexEntry( + Game.Ruby, + "RATTATA is cautious in the extreme. Even while it is asleep, it constantly listens by moving its ears around. It is not picky about where it lives - it will make its nest anywhere.", + Generation.Three, + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "Its fangs are long and very sharp. They grow continuously, so it gnaws on hard things to whittle them down.", + Generation.Three, + ), + DexEntry( + Game.LeafGreen, + "Bites anything when it attacks. Small and very quick, it is a common sight in many places.", + Generation.Three, + ), + DexEntry( + Game.Emerald, + "A RATTATA is cautious in the extreme. Even while it is asleep, it constantly moves its ears and listens for danger. It will make its nest anywhere.", + Generation.Three, + ), + ], + ), Raticate(20, Generation.One, [Type.Normal], null, previousPokemon: 19), Spearow(21, Generation.One, [ Type.Normal,