diff --git a/lib/Consts.dart b/lib/Consts.dart index c8dfa42..6e46564 100644 --- a/lib/Consts.dart +++ b/lib/Consts.dart @@ -1,5 +1,5 @@ class Constants { - static const VERSION = "1.0.060225+1506"; + static const VERSION = "1.0.060225+1652"; //static bool get isMobile => Platform.isAndroid || Platform.isIOS; } diff --git a/lib/dexMisc.dart b/lib/dexMisc.dart index eee9bc1..29bb059 100644 --- a/lib/dexMisc.dart +++ b/lib/dexMisc.dart @@ -50,6 +50,7 @@ enum GameRoute { RT111, RT113, RT115, + RT116, RT117, RT119, RT120, diff --git a/lib/generations/Gen1Data.dart b/lib/generations/Gen1Data.dart index 7e84a19..f1f8cfc 100644 --- a/lib/generations/Gen1Data.dart +++ b/lib/generations/Gen1Data.dart @@ -2353,6 +2353,95 @@ class Gen1Locations { additionalGames: [Game.LeafGreen], ), ]; + static const List Abra = [ + Location( + Game.Red, + [GameRoute.RT24, GameRoute.RT25, GameRoute.CeladonCity], + additionalGames: [Game.Blue], + ), + Location(Game.Yellow, [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.CeladonCity, + ]), + Location( + Game.Gold, + [ + GameRoute.RT5, + GameRoute.RT6, + GameRoute.RT8, + GameRoute.RT24, + GameRoute.RT25, + GameRoute.RT34, + GameRoute.RT35, + GameRoute.GoldenrodCity, + ], + additionalGames: [Game.Silver], + ), + Location(Game.Crystal, [ + GameRoute.RT5, + GameRoute.RT7, + GameRoute.RT8, + GameRoute.RT24, + GameRoute.RT34, + GameRoute.RT35, + GameRoute.GoldenrodCity, + ]), + Location( + Game.Ruby, + [GameRoute.GraniteCave], + additionalGames: [Game.Sapphire], + ), + Location( + Game.FireRed, + [GameRoute.RT24, GameRoute.RT25, GameRoute.CeladonCity], + additionalGames: [Game.LeafGreen], + ), + Location(Game.Emerald, [GameRoute.RT116, GameRoute.GraniteCave]), + ]; + static const List Kadabra = [ + Location(Game.Red, [GameRoute.CeruleanCave], additionalGames: [Game.Blue]), + Location(Game.Yellow, [GameRoute.RT8]), + Location( + Game.Gold, + [GameRoute.RT8], + additionalGames: [Game.Silver, Game.Crystal], + ), + Location( + Game.Ruby, + [GameRoute.Evolve], + additionalGames: [Game.Sapphire, Game.Emerald], + ), + Location( + Game.FireRed, + [GameRoute.CeruleanCave], + additionalGames: [Game.LeafGreen], + ), + ]; + static const List Alakazam = [ + Location( + Game.Red, + [GameRoute.Evolve], + additionalGames: [Game.Blue, Game.Yellow], + ), + Location( + Game.Gold, + [GameRoute.Evolve], + additionalGames: [Game.Silver, Game.Crystal], + ), + Location( + Game.Ruby, + [GameRoute.Evolve], + additionalGames: [ + Game.Sapphire, + Game.FireRed, + Game.LeafGreen, + Game.Emerald, + ], + ), + ]; } class Gen1DexData { @@ -4965,4 +5054,133 @@ class Gen1DexData { "Its highly developed muscles never grow fatigued, however much it exercises. This POKéMON can swim back and forth across the Pacific Ocean without effort.", ), ]; + static const List Abra = [ + DexEntry( + Game.Red, + "Using its ability to read minds, it will identify impending danger and TELEPORT to safety.", + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "Sleeps 18 hours a day. If it senses danger, it will teleport itself to safety even as it sleeps.", + ), + DexEntry( + Game.Gold, + "It senses impending attacks and TELEPORTS away to safety before the actual attacks can strike.", + ), + DexEntry( + Game.Silver, + "If it decides to TELEPORT randomly, it creates the illusion that it has created copies of itself.", + ), + DexEntry( + Game.Crystal, + "It hypnotizes itself so that it can teleport away when it senses danger, even if it is asleep.", + ), + DexEntry( + Game.Ruby, + "ABRA sleeps for eighteen hours a day. However, it can sense the presence of foes even while it is sleeping. In such a situation, this POKéMON immediately teleports to safety.", + ), + DexEntry( + Game.Sapphire, + "ABRA needs to sleep for eighteen hours a day. If it doesn’t, this POKéMON loses its ability to use telekinetic powers. If it is attacked, ABRA escapes using TELEPORT while it is still sleeping.c", + ), + DexEntry( + Game.FireRed, + "It sleeps for 18 hours a day. It uses a variety of extrasensory powers even while asleep.", + ), + DexEntry( + Game.LeafGreen, + "Using its ability to read minds, it will sense impending danger and TELEPORT to safety.", + ), + DexEntry( + Game.Emerald, + "A POKéMON that sleeps 18 hours a day. Observation revealed that it uses TELEPORT to change its location once every hour.", + ), + ]; + static const List Kadabra = [ + DexEntry( + Game.Red, + "It emits special alpha waves from its body that induce headaches just by being close by.", + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Yellow, + "Many odd things happen if this POKéMON is close by. For example, it makes clocks run backwards.", + ), + DexEntry( + Game.Gold, + "It possesses strong spiritual power. The more danger it faces, the stronger its psychic power.", + ), + DexEntry( + Game.Silver, + "If it uses its abilities, it emits special alpha waves that cause machines to malfunction.", + ), + DexEntry( + Game.Crystal, + "When it closes its eyes, twice as many alpha particles come out of the surface of its body.", + ), + DexEntry( + Game.Ruby, + "KADABRA emits a peculiar alpha wave if it develops a headache. Only those people with a particularly strong psyche can hope to become a TRAINER of this POKéMON.", + ), + DexEntry( + Game.Sapphire, + "KADABRA holds a silver spoon in its hand. The spoon is used to amplify the alpha waves in its brain. Without the spoon, the POKéMON is said to be limited to half the usual amount of its telekinetic powers.", + ), + DexEntry( + Game.FireRed, + "It happened one morning - a boy with extrasensory powers awoke in bed transformed into KADABRA.", + ), + DexEntry( + Game.LeafGreen, + "It emits special alpha waves from its body that induce headaches just by being close.", + ), + DexEntry( + Game.Emerald, + "It is rumored that a boy with psychic abilities suddenly transformed into KADABRA while he was assisting research into extrasensory powers.", + ), + ]; + static const List Alakazam = [ + DexEntry( + Game.Red, + "Its brain can outperform a supercomputer. Its intelligence quotient is said to be 5,000.", + additionalGames: [Game.Blue], + ), + DexEntry( + Game.Black, + "A POKéMON that can memorize anything. It never forgets what it learns--that’s why this POKéMON is smart.", + ), + DexEntry( + Game.Gold, + "Closing both its eyes heightens all its other senses. This enables it to use its abilities to their extremes.", + ), + DexEntry( + Game.Silver, + "Its brain cells multiply continually until it dies. As a result, it remembers everything.", + ), + DexEntry( + Game.Crystal, + "It has an IQ of 5000. It calculates many things in order to gain the edge in every battle.", + ), + DexEntry( + Game.Ruby, + "ALAKAZAM’s brain continually grows, making its head far too heavy to support with its neck. This POKéMON holds its head up using its psychokinetic power instead.", + ), + DexEntry( + Game.Sapphire, + "ALAKAZAM’s brain continually grows, infinitely multiplying brain cells. This amazing brain gives this POKéMON an astoundingly high IQ of 5,000. It has a thorough memory of everything that has occurred in the world.", + ), + DexEntry( + Game.FireRed, + "It does not like physical attacks very much. Instead, it freely uses extrasensory powers to defeat foes.", + ), + DexEntry( + Game.LeafGreen, + "Its brain can outperform a supercomputer. Its IQ (intelligence quotient) is said to be around 5,000.", + ), + DexEntry( + Game.Emerald, + "While it has strong psychic abilities and high intelligence, an ALAKAZAM’s muscles are very weak. It uses psychic power to move its body.", + ), + ]; } diff --git a/lib/pokemon.dart b/lib/pokemon.dart index 2bca295..989b316 100644 --- a/lib/pokemon.dart +++ b/lib/pokemon.dart @@ -642,15 +642,32 @@ enum Pokemon { locations: Gen1Locations.Poliwrath, dexEntries: Gen1DexData.Poliwrath, ), - Abra(63, Generation.One, [Type.Psychic], SingleEvolution(64, 16)), + Abra( + 63, + Generation.One, + [Type.Psychic], + SingleEvolution(64, 16), + locations: Gen1Locations.Abra, + dexEntries: Gen1DexData.Abra, + ), Kadabra( 64, Generation.One, [Type.Psychic], SingleEvolution(65, -1, condition: [EvolutionCondition.Trading]), previousPokemon: 63, + locations: Gen1Locations.Kadabra, + dexEntries: Gen1DexData.Kadabra, + ), + Alakazam( + 65, + Generation.One, + [Type.Psychic], + null, + previousPokemon: 64, + locations: Gen1Locations.Alakazam, + dexEntries: Gen1DexData.Alakazam, ), - Alakazam(65, Generation.One, [Type.Psychic], null, previousPokemon: 64), Machop(66, Generation.One, [Type.Fighting], SingleEvolution(67, 28)), Machoke( 67, diff --git a/pubspec.yaml b/pubspec.yaml index e0cb571..f129678 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+1506 +version: 1.0.060225+1652 environment: sdk: ^3.7.0