From a52e43dd442823a15af0e9eff57d4c5402cbe823 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 2 Jun 2025 01:47:45 -0700 Subject: [PATCH] Add more entries --- lib/Consts.dart | 2 +- lib/dexMisc.dart | 1 + lib/generations/Gen1Data.dart | 167 ++++++++++++++++++++++++++++++++++ lib/pokemon.dart | 19 +++- pubspec.yaml | 2 +- 5 files changed, 187 insertions(+), 4 deletions(-) diff --git a/lib/Consts.dart b/lib/Consts.dart index edfdee3..3878c96 100644 --- a/lib/Consts.dart +++ b/lib/Consts.dart @@ -1,5 +1,5 @@ class Constants { - static const VERSION = "1.0.060225+0125"; + static const VERSION = "1.0.060225+0147"; //static bool get isMobile => Platform.isAndroid || Platform.isIOS; } diff --git a/lib/dexMisc.dart b/lib/dexMisc.dart index f64675d..15772da 100644 --- a/lib/dexMisc.dart +++ b/lib/dexMisc.dart @@ -122,6 +122,7 @@ enum GameRoute { LostCave(commonName: "Lost Cave"), SkyPillar(commonName: "Sky Pillar"), DiglettCave(commonName: "Diglett's Cave"), + BattleTower(commonName: "Battle Tower"), // The following mark the pokemon as not usually obtainable TradeOrMigrate(commonName: "Trade or Migrate from another game"), diff --git a/lib/generations/Gen1Data.dart b/lib/generations/Gen1Data.dart index f703665..717aac9 100644 --- a/lib/generations/Gen1Data.dart +++ b/lib/generations/Gen1Data.dart @@ -1923,6 +1923,93 @@ class Gen1Locations { additionalGames: [Game.LeafGreen], ), ]; + static const List Meowth = [ + Location( + Game.Red, + [GameRoute.TradeOrMigrate], + additionalGames: [Game.Yellow], + ), + Location(Game.Blue, [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + ]), + Location(Game.Gold, [GameRoute.TradeOrMigrate]), + Location(Game.Silver, [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.RT38, + GameRoute.RT39, + ]), + Location(Game.Crystal, [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.RT11, + GameRoute.RT38, + GameRoute.RT39, + ]), + Location( + Game.Ruby, + [GameRoute.TradeOrMigrate], + additionalGames: [Game.Sapphire], + ), + Location(Game.Emerald, [GameRoute.BattleTower]), + Location( + Game.FireRed, + [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.BondBridge, + GameRoute.CanyonEntrance, + GameRoute.CapeBrink, + GameRoute.FiveIsleMeadow, + GameRoute.KindleRoad, + GameRoute.RuinValley, + GameRoute.SevaultCanyon, + GameRoute.TreasureBeach, + GameRoute.WaterPath, + ], + additionalGames: [Game.LeafGreen], + ), + ]; + static const List Persian = [ + Location( + Game.Red, + [GameRoute.TradeOrMigrate], + additionalGames: [Game.Yellow], + ), + Location(Game.Blue, [GameRoute.Evolve]), + Location(Game.Gold, [GameRoute.TradeOrMigrate]), + Location(Game.Silver, [GameRoute.RT7], additionalGames: [Game.Crystal]), + Location( + Game.Ruby, + [GameRoute.TradeOrMigrate], + additionalGames: [Game.Sapphire], + ), + Location(Game.Emerald, [GameRoute.Evolve]), + Location( + Game.FireRed, + [ + GameRoute.BondBridge, + GameRoute.CanyonEntrance, + GameRoute.CapeBrink, + GameRoute.FiveIsleMeadow, + GameRoute.KindleRoad, + GameRoute.RuinValley, + GameRoute.SevaultCanyon, + GameRoute.TreasureBeach, + GameRoute.WaterPath, + ], + additionalGames: [Game.LeafGreen], + ), + ]; } class Gen1DexData { @@ -4089,4 +4176,84 @@ class Gen1DexData { "Because the triplets originally split from one body, they think exactly alike. They work cooperatively to burrow endlessly through the ground.", ), ]; + static const List Meowth = [ + DexEntry( + Game.Red, + "Adores circular objects. Wanders the streets on a nightly basis to look for dropped loose change.", + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "Appears to be more active at night. It loves round and shiny things. It can’t stop from picking them up.", + ), + DexEntry( + Game.Gold, + "It is fascinated by round objects. It can’t stop playing with them until it tires and falls asleep.", + ), + DexEntry( + Game.Silver, + "It loves anything that shines. It especially adores coins that it picks up and secretly hoards.", + ), + DexEntry( + Game.Crystal, + "It loves things that sparkle. When it sees a shiny object, the gold coin on its head shines too.", + ), + DexEntry( + Game.Ruby, + "MEOWTH withdraws its sharp claws into its paws to slinkily sneak about without making any incriminating footsteps. For some reason, this POKéMON loves shiny coins that glitter with light.", + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "All it does is sleep during the daytime. At night, it patrols its territory with its eyes aglow.", + ), + DexEntry( + Game.LeafGreen, + "Adores round objects. It wanders the streets on a nightly basis to look for dropped loose change.", + ), + DexEntry( + Game.Emerald, + "MEOWTH withdraw their sharp claws into their paws to silently sneak about. For some reason, this POKéMON loves shiny coins that glitter with light.", + ), + ]; + static const List Persian = [ + DexEntry( + Game.Red, + "Although its fur has many admirers, it is tough to raise as a pet because of its fickle meanness.", + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "The gem in its forehead glows on its own! It walks with all the grace and elegance of a proud queen.", + ), + DexEntry( + Game.Gold, + "Many adore it for its sophisticated air. However, it will lash out and scratch for little reason.", + ), + DexEntry( + Game.Silver, + "Its lithe muscles allow it to walk without making a sound. It attacks in an instant.", + ), + DexEntry( + Game.Crystal, + "Behind its lithe, elegant appearance lies a barbaric side. It will tear apart its prey on a mere whim.", + ), + DexEntry( + Game.Ruby, + "PERSIAN has six bold whiskers that give it a look of toughness. The whiskers sense air movements to determine what is in the POKéMON’s surrounding vicinity. It becomes docile if grabbed by the whiskers.", + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "Has a vicious temperament. Beware if it raises its tail straight up. It is a signal that it is about to pounce and bite.", + ), + DexEntry( + Game.LeafGreen, + "Although its fur has many admirers, it is tough to raise as a pet because of its fickle meanness.", + ), + DexEntry( + Game.Emerald, + "A PERSIAN’s six bold whiskers sense air movements to determine what is in its vicinity. It becomes docile if grabbed by the whiskers.", + ), + ]; } diff --git a/lib/pokemon.dart b/lib/pokemon.dart index d95d365..b061357 100644 --- a/lib/pokemon.dart +++ b/lib/pokemon.dart @@ -541,8 +541,23 @@ enum Pokemon { locations: Gen1Locations.Dugtrio, dexEntries: Gen1DexData.Dugtrio, ), - Meowth(52, Generation.One, [Type.Normal], SingleEvolution(53, 28)), - Persian(53, Generation.One, [Type.Normal], null, previousPokemon: 52), + Meowth( + 52, + Generation.One, + [Type.Normal], + SingleEvolution(53, 28), + locations: Gen1Locations.Meowth, + dexEntries: Gen1DexData.Meowth, + ), + Persian( + 53, + Generation.One, + [Type.Normal], + null, + previousPokemon: 52, + locations: Gen1Locations.Persian, + dexEntries: Gen1DexData.Persian, + ), Psyduck(54, Generation.One, [Type.Water], SingleEvolution(55, 33)), Golduck(55, Generation.One, [Type.Water], null, previousPokemon: 54), Mankey(56, Generation.One, [Type.Fighting], SingleEvolution(57, 28)), diff --git a/pubspec.yaml b/pubspec.yaml index ba69fcb..110f5fb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.060225+0125 +version: 1.0.060225+0147 environment: sdk: ^3.7.0