From 5836b7d00b1a44fab1afc6744b3bf78a1cd18cf0 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 1 Jun 2025 01:13:37 -0700 Subject: [PATCH] Add more data entries --- LATEST_VERSION | 2 +- lib/Consts.dart | 2 +- lib/generations/Gen1Data.dart | 156 ++++++++++++++++++++++++++++++++++ lib/pokemon.dart | 12 ++- pubspec.yaml | 2 +- 5 files changed, 170 insertions(+), 4 deletions(-) diff --git a/LATEST_VERSION b/LATEST_VERSION index 6878838..586df4b 100644 --- a/LATEST_VERSION +++ b/LATEST_VERSION @@ -1 +1 @@ -1.0.060125+0048 \ No newline at end of file +1.0.060125+0112 \ No newline at end of file diff --git a/lib/Consts.dart b/lib/Consts.dart index fe8d14c..cc078d9 100644 --- a/lib/Consts.dart +++ b/lib/Consts.dart @@ -1,5 +1,5 @@ class Constants { - static const VERSION = "1.0.060125+0048"; + static const VERSION = "1.0.060125+0112"; //static bool get isMobile => Platform.isAndroid || Platform.isIOS; } diff --git a/lib/generations/Gen1Data.dart b/lib/generations/Gen1Data.dart index 6029159..583252f 100644 --- a/lib/generations/Gen1Data.dart +++ b/lib/generations/Gen1Data.dart @@ -1502,6 +1502,64 @@ class Gen1Locations { additionalGames: [Game.LeafGreen], ), ]; + static const List Clefairy = [ + Location( + Game.Red, + [GameRoute.CeladonCity, GameRoute.MtMoon], + Generation.One, + additionalGames: [Game.Blue], + ), + Location(Game.Yellow, [GameRoute.MtMoon], Generation.One), + Location( + Game.Gold, + [GameRoute.MtMoon], + Generation.Two, + additionalGames: [Game.Silver], + ), + Location(Game.Crystal, [ + GameRoute.RT3, + GameRoute.RT4, + GameRoute.MtMoon, + ], Generation.Two), + Location( + Game.Ruby, + [GameRoute.TradeOrMigrate], + Generation.Three, + additionalGames: [Game.Sapphire, Game.Emerald], + ), + Location( + Game.FireRed, + [GameRoute.CeladonCity, GameRoute.MtMoon], + Generation.Three, + additionalGames: [Game.LeafGreen], + ), + ]; + static const List Clefable = [ + Location( + Game.Red, + [GameRoute.Evolve], + Generation.One, + additionalGames: [Game.Blue, Game.Yellow], + ), + Location( + Game.Gold, + [GameRoute.Evolve], + Generation.Two, + additionalGames: [Game.Silver, Game.Crystal], + ), + Location( + Game.Ruby, + [GameRoute.TradeOrMigrate], + Generation.Three, + additionalGames: [Game.Sapphire, Game.Emerald], + ), + Location( + Game.FireRed, + [GameRoute.Evolve], + Generation.Three, + additionalGames: [Game.LeafGreen], + ), + ]; } class Gen1DexData { @@ -3189,4 +3247,102 @@ class Gen1DexData { Generation.Three, ), ]; + static const List Clefairy = [ + DexEntry( + Game.Red, + "Its magical and cute appeal has many admirers. It is rare and found only in certain areas.", + Generation.One, + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "Adored for their cute looks and playfulness. They are thought to be rare, as they do not appear often.", + Generation.One, + ), + DexEntry( + Game.Gold, + "The moonlight that it stores in the wings on its back apparently gives it the ability to float in midair.", + Generation.Two, + ), + DexEntry( + Game.Silver, + "Its adorable behavior and cry make it highly popular. However, this cute POKéMON is rarely found.", + Generation.Two, + ), + DexEntry( + Game.Crystal, + "Though rarely seen, it becomes easier to spot, for some reason, on the night of a full moon.", + Generation.Two, + ), + DexEntry( + Game.Ruby, + "On every night of a full moon, groups of this POKéMON come out to play. When dawn arrives, the tired CLEFAIRY return to their quiet mountain retreats and go to sleep nestled up against each other.", + Generation.Three, + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "Its adorable appearance makes it popular as a pet. However, it is rare and difficult to find.", + Generation.Three, + ), + DexEntry( + Game.LeafGreen, + "With its magical and cute appeal, it has many admirers. It is rare and found only in certain areas.", + Generation.Three, + ), + DexEntry( + Game.Emerald, + "On every night of a full moon, they come out to play. When dawn arrives, the tired CLEFAIRY go to sleep nestled up against each other in deep and quiet mountains.", + Generation.Three, + ), + ]; + static const List Clefable = [ + DexEntry( + Game.Red, + "A timid fairy POKéMON that is rarely seen. It will run and hide the moment it senses people.", + Generation.One, + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "They appear to be very protective of their own world. It is a kind of fairy, rarely seen by people.", + Generation.One, + ), + DexEntry( + Game.Gold, + "With its acute hearing, it can pick up sounds from far away. It usually hides in quiet places.", + Generation.Two, + ), + DexEntry( + Game.Silver, + "Its very sensitive ears lets it distinguish distant sounds. As a result, it prefers quiet places.", + Generation.Two, + ), + DexEntry( + Game.Crystal, + "Said to live in quiet, remote mountains, this type of fairy has a strong aversion to being seen.", + Generation.Two, + ), + DexEntry( + Game.Ruby, + "CLEFABLE moves by skipping lightly as if it were flying using its wings. Its bouncy step lets it even walk on water. It is known to take strolls on lakes on quiet, moonlit nights.", + Generation.Three, + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "It has an acute sense of hearing. It can easily hear a pin being dropped nearly 1,100 yards away.", + Generation.Three, + ), + DexEntry( + Game.LeafGreen, + "A timid fairy POKéMON that is rarely seen, it will run and hide the moment it senses people.", + Generation.Three, + ), + DexEntry( + Game.Emerald, + "A CLEFABLE uses its wings to skip lightly as if it were flying. Its bouncy step lets it even walk on water. On quiet, moonlit nights, it strolls on lakes.", + Generation.Three, + ), + ]; } diff --git a/lib/pokemon.dart b/lib/pokemon.dart index 8b558ca..a17887c 100644 --- a/lib/pokemon.dart +++ b/lib/pokemon.dart @@ -397,8 +397,18 @@ enum Pokemon { [Type.Fairy], SingleEvolution(36, -1, condition: [EvolutionCondition.MoonStone]), previousPokemon: 173, + locations: Gen1Locations.Clefairy, + dexEntries: Gen1DexData.Clefairy, + ), + Clefable( + 36, + Generation.One, + [Type.Fairy], + null, + previousPokemon: 35, + locations: Gen1Locations.Clefable, + dexEntries: Gen1DexData.Clefable, ), - Clefable(36, Generation.One, [Type.Fairy], null, previousPokemon: 35), Vulpix( 37, Generation.One, diff --git a/pubspec.yaml b/pubspec.yaml index 837b7db..ed42d9f 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.060125+0048 +version: 1.0.060125+0112 environment: sdk: ^3.7.0