From 4cb51f9dac1ffa73accf01455af868c522bc0859 Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 26 Mar 2025 02:22:51 -0700 Subject: [PATCH] Add more data entries --- lib/Consts.dart | 2 +- lib/pokemon.dart | 75 ++++++++++++++++++++++++++++++++++++++++++++++++ pubspec.yaml | 2 +- 3 files changed, 77 insertions(+), 2 deletions(-) diff --git a/lib/Consts.dart b/lib/Consts.dart index c0c27f5..ff1a4bf 100644 --- a/lib/Consts.dart +++ b/lib/Consts.dart @@ -1,7 +1,7 @@ import 'dart:io'; class Constants { - static const VERSION = "1.0.032625+0207"; + static const VERSION = "1.0.032625+0222"; //static bool get isMobile => Platform.isAndroid || Platform.isIOS; } diff --git a/lib/pokemon.dart b/lib/pokemon.dart index ee5c61d..1fdffd3 100644 --- a/lib/pokemon.dart +++ b/lib/pokemon.dart @@ -673,6 +673,81 @@ enum Pokemon { [Type.Water], SingleEvolution(9, 36), previousPokemon: 7, + locations: [ + Location( + Game.Red, + [GameRoute.Evolve], + Generation.One, + additionalGames: [Game.Blue, Game.Yellow], + ), + Location( + Game.Gold, + [GameRoute.TradeOrMigrate], + 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], + ), + ], + dexEntries: [ + DexEntry( + Game.Red, + "Often hides in water to stalk unwary prey. For swimming fast, it moves its ears to maintain balance.", + Generation.One, + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "When tapped, this POKéMON will pull in its head, but its tail will still stick out a little bit.", + Generation.One, + ), + DexEntry( + Game.Gold, + "It is recognized as a symbol of longevity. If its shell has algae on it, that WARTORTLE is very old.", + Generation.Two, + ), + DexEntry( + Game.Silver, + "It cleverly controls its furry ears and tail to maintain its balance while swimming.", + Generation.Two, + ), + DexEntry( + Game.Crystal, + "Its long, furry tail is a symbol of longevity, making it quite popular among older people.", + Generation.Two, + ), + DexEntry( + Game.Ruby, + "Its tail is large and covered with a rich, thick fur. The tail becomes increasingly deeper in color as WARTORTLE ages. The scratches on its shell are evidence of this POKéMON’s toughness as a battler.", + Generation.Three, + additionalGames: [Game.Sapphire], + ), + DexEntry( + Game.FireRed, + "This POKéMON is very popular as a pet. Its fur-covered tail is a symbol of its longevity.", + Generation.Three, + ), + DexEntry( + Game.LeafGreen, + "It often hides in water to stalk unwary prey. For fast swimming, it moves its ears to maintain balance.", + Generation.Three, + ), + DexEntry( + Game.Emerald, + "Its large tail is covered with rich, thick fur that deepens in color with age. The scratches on its shell are evidence of this POKéMON’s toughness in battle.", + Generation.Three, + ), + ], ), Blastoise(9, Generation.One, [Type.Water], null, previousPokemon: 8), Caterpie( diff --git a/pubspec.yaml b/pubspec.yaml index 8984ddc..784fbc2 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.032625+0207 +version: 1.0.032625+0222 environment: sdk: ^3.7.0