From 4b4467f728d564470aa0d77997a28dbf2d6485ac Mon Sep 17 00:00:00 2001 From: xenua Date: Wed, 22 Nov 2023 21:12:51 +0100 Subject: [PATCH] wip 3 --- src/general.rs | 1370 ++++++++++++++++++++++++++++++++++++++++++++ src/pokemon/mod.rs | 2 + 2 files changed, 1372 insertions(+) diff --git a/src/general.rs b/src/general.rs index c14dd60..688d6c6 100644 --- a/src/general.rs +++ b/src/general.rs @@ -1181,3 +1181,1373 @@ pub enum Species { Fezandipiti, Ogerpon, } + +pub enum Ability { + Stench, + Drizzle, + SpeedBoost, + BattleArmor, + Sturdy, + Damp, + Limber, + SandVeil, + Static, + VoltAbsorb, + WaterAbsorb, + Oblivious, + CloudNine, + CompoundEyes, + Insomnia, + ColorChange, + Immunity, + FlashFire, + ShieldDust, + OwnTempo, + SuctionCups, + Intimidate, + ShadowTag, + RoughSkin, + WonderGuard, + Levitate, + EffectSpore, + Synchronize, + ClearBody, + NaturalCure, + LightningRod, + SereneGrace, + SwiftSwim, + Chlorophyll, + Illuminate, + Trace, + HugePower, + PoisonPoint, + InnerFocus, + MagmaArmor, + WaterVeil, + MagnetPull, + Soundproof, + RainDish, + SandStream, + Pressure, + ThickFat, + EarlyBird, + FlameBody, + RunAway, + KeenEye, + HyperCutter, + Pickup, + Truant, + Hustle, + CuteCharm, + Plus, + Minus, + Forecast, + StickyHold, + ShedSkin, + Guts, + MarvelScale, + LiquidOoze, + Overgrow, + Blaze, + Torrent, + Swarm, + RockHead, + Drought, + ArenaTrap, + VitalSpirit, + WhiteSmoke, + PurePower, + ShellArmor, + AirLock, + TangledFeet, + MotorDrive, + Rivalry, + Steadfast, + SnowCloak, + Gluttony, + AngerPoint, + Unburden, + Heatproof, + Simple, + DrySkin, + Download, + IronFist, + PoisonHeal, + Adaptability, + SkillLink, + Hydration, + SolarPower, + QuickFeet, + Normalize, + Sniper, + MagicGuard, + NoGuard, + Stall, + Technician, + LeafGuard, + Klutz, + MoldBreaker, + SuperLuck, + Aftermath, + Anticipation, + Forewarn, + Unaware, + TintedLens, + Filter, + SlowStart, + Scrappy, + StormDrain, + IceBody, + SolidRock, + SnowWarning, + HoneyGather, + Frisk, + Reckless, + Multitype, + FlowerGift, + BadDreams, + Pickpocket, + SheerForce, + Contrary, + Unnerve, + Defiant, + Defeatist, + CursedBody, + Healer, + FriendGuard, + WeakArmor, + HeavyMetal, + LightMetal, + Multiscale, + ToxicBoost, + FlareBoost, + Harvest, + Telepathy, + Moody, + Overcoat, + PoisonTouch, + Regenerator, + BigPecks, + SandRush, + WonderSkin, + Analytic, + Illusion, + Imposter, + Infiltrator, + Mummy, + Moxie, + Justified, + Rattled, + MagicBounce, + SapSipper, + Prankster, + SandForce, + IronBarbs, + ZenMode, + VictoryStar, + Turboblaze, + Teravolt, + AromaVeil, + FlowerVeil, + CheekPouch, + Protean, + FurCoat, + Magician, + Bulletproof, + Competitive, + StrongJaw, + Refrigerate, + SweetVeil, + StanceChange, + GaleWings, + MegaLauncher, + GrassPelt, + Symbiosis, + ToughClaws, + Pixilate, + Gooey, + Aerilate, + ParentalBond, + DarkAura, + FairyAura, + AuraBreak, + PrimordialSea, + DesolateLand, + DeltaStream, + Stamina, + WimpOut, + EmergencyExit, + WaterCompaction, + Merciless, + ShieldsDown, + Stakeout, + WaterBubble, + Steelworker, + Berserk, + SlushRush, + LongReach, + LiquidVoice, + Triage, + Galvanize, + SurgeSurfer, + Schooling, + Disguise, + BattleBond, + PowerConstruct, + Corrosion, + Comatose, + QueenlyMajesty, + InnardsOut, + Dancer, + Battery, + Fluffy, + Dazzling, + SoulHeart, + TanglingHair, + Receiver, + PowerofAlchemy, + BeastBoost, + RKSSystem, + ElectricSurge, + PsychicSurge, + MistySurge, + GrassySurge, + FullMetalBody, + ShadowShield, + PrismArmor, + Neuroforce, + IntrepidSword, + DauntlessShield, + Libero, + BallFetch, + CottonDown, + PropellerTail, + MirrorArmor, + GulpMissile, + Stalwart, + SteamEngine, + PunkRock, + SandSpit, + IceScales, + Ripen, + IceFace, + PowerSpot, + Mimicry, + ScreenCleaner, + SteelySpirit, + PerishBody, + WanderingSpirit, + GorillaTactics, + NeutralizingGas, + PastelVeil, + HungerSwitch, + QuickDraw, + UnseenFist, + CuriousMedicine, + Transistor, + DragonsMaw, + ChillingNeigh, + GrimNeigh, + AsOneI, + AsOneG, + LingeringAroma, + SeedSower, + ThermalExchange, + AngerShell, + PurifyingSalt, + WellBakedBody, + WindRider, + GuardDog, + RockyPayload, + WindPower, + ZerotoHero, + Commander, + Electromorphosis, + Protosynthesis, + QuarkDrive, + GoodasGold, + VesselofRuin, + SwordofRuin, + TabletsofRuin, + BeadsofRuin, + OrichalcumPulse, + HadronEngine, + Opportunist, + CudChew, + Sharpness, + SupremeOverlord, + Costar, + ToxicDebris, + ArmorTail, + EarthEater, + MyceliumMight, + Hospitality, + MindsEye, + EmbodyAspect0, + EmbodyAspect1, + EmbodyAspect2, + EmbodyAspect3, + ToxicChain, + SupersweetSyrup, +} + +pub enum PokeBall { + Master, + Ultra, + Great, + Standard, + Safari, + Net, + Dive, + Nest, + Repeat, + Timer, + Luxury, + Premier, + Dusk, + Heal, + Quick, + Cherish, + Fast, + Level, + Lure, + Heavy, + Love, + Friend, + Moon, + Sport, + Dream, + Beast, + Park, + Strange, + HisuiStandard, + HisuiGreat, + HisuiUltra, + Feather, + Wing, + Jet, + HisuiHeavy, + Leaden, + Gigaton, + Origin, +} + +pub enum Region3DS { + None = 0, + Japan = 1, + NorthAmerica = 2, + Europe = 3, + China = 4, + Korea = 5, + Taiwan = 6, +} + +pub enum Move { + Pound, + KarateChop, + DoubleSlap, + CometPunch, + MegaPunch, + PayDay, + FirePunch, + IcePunch, + ThunderPunch, + Scratch, + ViseGrip, + Guillotine, + RazorWind, + SwordsDance, + Cut, + Gust, + WingAttack, + Whirlwind, + Fly, + Bind, + Slam, + VineWhip, + Stomp, + DoubleKick, + MegaKick, + JumpKick, + RollingKick, + SandAttack, + Headbutt, + HornAttack, + FuryAttack, + HornDrill, + Tackle, + BodySlam, + Wrap, + TakeDown, + Thrash, + DoubleEdge, + TailWhip, + PoisonSting, + Twineedle, + PinMissile, + Leer, + Bite, + Growl, + Roar, + Sing, + Supersonic, + SonicBoom, + Disable, + Acid, + Ember, + Flamethrower, + Mist, + WaterGun, + HydroPump, + Surf, + IceBeam, + Blizzard, + Psybeam, + BubbleBeam, + AuroraBeam, + HyperBeam, + Peck, + DrillPeck, + Submission, + LowKick, + Counter, + SeismicToss, + Strength, + Absorb, + MegaDrain, + LeechSeed, + Growth, + RazorLeaf, + SolarBeam, + PoisonPowder, + StunSpore, + SleepPowder, + PetalDance, + StringShot, + DragonRage, + FireSpin, + ThunderShock, + Thunderbolt, + ThunderWave, + Thunder, + RockThrow, + Earthquake, + Fissure, + Dig, + Toxic, + Confusion, + Psychic, + Hypnosis, + Meditate, + Agility, + QuickAttack, + Rage, + Teleport, + NightShade, + Mimic, + Screech, + DoubleTeam, + Recover, + Harden, + Minimize, + Smokescreen, + ConfuseRay, + Withdraw, + DefenseCurl, + Barrier, + LightScreen, + Haze, + Reflect, + FocusEnergy, + Bide, + Metronome, + MirrorMove, + SelfDestruct, + EggBomb, + Lick, + Smog, + Sludge, + BoneClub, + FireBlast, + Waterfall, + Clamp, + Swift, + SkullBash, + SpikeCannon, + Constrict, + Amnesia, + Kinesis, + SoftBoiled, + HighJumpKick, + Glare, + DreamEater, + PoisonGas, + Barrage, + LeechLife, + LovelyKiss, + SkyAttack, + Transform, + Bubble, + DizzyPunch, + Spore, + Flash, + Psywave, + Splash, + AcidArmor, + Crabhammer, + Explosion, + FurySwipes, + Bonemerang, + Rest, + RockSlide, + HyperFang, + Sharpen, + Conversion, + TriAttack, + SuperFang, + Slash, + Substitute, + Struggle, + Sketch, + TripleKick, + Thief, + SpiderWeb, + MindReader, + Nightmare, + FlameWheel, + Snore, + Curse, + Flail, + Conversion2, + Aeroblast, + CottonSpore, + Reversal, + Spite, + PowderSnow, + Protect, + MachPunch, + ScaryFace, + FeintAttack, + SweetKiss, + BellyDrum, + SludgeBomb, + MudSlap, + Octazooka, + Spikes, + ZapCannon, + Foresight, + DestinyBond, + PerishSong, + IcyWind, + Detect, + BoneRush, + LockOn, + Outrage, + Sandstorm, + GigaDrain, + Endure, + Charm, + Rollout, + FalseSwipe, + Swagger, + MilkDrink, + Spark, + FuryCutter, + SteelWing, + MeanLook, + Attract, + SleepTalk, + HealBell, + Return, + Present, + Frustration, + Safeguard, + PainSplit, + SacredFire, + Magnitude, + DynamicPunch, + Megahorn, + DragonBreath, + BatonPass, + Encore, + Pursuit, + RapidSpin, + SweetScent, + IronTail, + MetalClaw, + VitalThrow, + MorningSun, + Synthesis, + Moonlight, + HiddenPower, + CrossChop, + Twister, + RainDance, + SunnyDay, + Crunch, + MirrorCoat, + PsychUp, + ExtremeSpeed, + AncientPower, + ShadowBall, + FutureSight, + RockSmash, + Whirlpool, + BeatUp, + FakeOut, + Uproar, + Stockpile, + SpitUp, + Swallow, + HeatWave, + Hail, + Torment, + Flatter, + WillOWisp, + Memento, + Facade, + FocusPunch, + SmellingSalts, + FollowMe, + NaturePower, + Charge, + Taunt, + HelpingHand, + Trick, + RolePlay, + Wish, + Assist, + Ingrain, + Superpower, + MagicCoat, + Recycle, + Revenge, + BrickBreak, + Yawn, + KnockOff, + Endeavor, + Eruption, + SkillSwap, + Imprison, + Refresh, + Grudge, + Snatch, + SecretPower, + Dive, + ArmThrust, + Camouflage, + TailGlow, + LusterPurge, + MistBall, + FeatherDance, + TeeterDance, + BlazeKick, + MudSport, + IceBall, + NeedleArm, + SlackOff, + HyperVoice, + PoisonFang, + CrushClaw, + BlastBurn, + HydroCannon, + MeteorMash, + Astonish, + WeatherBall, + Aromatherapy, + FakeTears, + AirCutter, + Overheat, + OdorSleuth, + RockTomb, + SilverWind, + MetalSound, + GrassWhistle, + Tickle, + CosmicPower, + WaterSpout, + SignalBeam, + ShadowPunch, + Extrasensory, + SkyUppercut, + SandTomb, + SheerCold, + MuddyWater, + BulletSeed, + AerialAce, + IcicleSpear, + IronDefense, + Block, + Howl, + DragonClaw, + FrenzyPlant, + BulkUp, + Bounce, + MudShot, + PoisonTail, + Covet, + VoltTackle, + MagicalLeaf, + WaterSport, + CalmMind, + LeafBlade, + DragonDance, + RockBlast, + ShockWave, + WaterPulse, + DoomDesire, + PsychoBoost, + Roost, + Gravity, + MiracleEye, + WakeUpSlap, + HammerArm, + GyroBall, + HealingWish, + Brine, + NaturalGift, + Feint, + Pluck, + Tailwind, + Acupressure, + MetalBurst, + Uturn, + CloseCombat, + Payback, + Assurance, + Embargo, + Fling, + PsychoShift, + TrumpCard, + HealBlock, + WringOut, + PowerTrick, + GastroAcid, + LuckyChant, + MeFirst, + Copycat, + PowerSwap, + GuardSwap, + Punishment, + LastResort, + WorrySeed, + SuckerPunch, + ToxicSpikes, + HeartSwap, + AquaRing, + MagnetRise, + FlareBlitz, + ForcePalm, + AuraSphere, + RockPolish, + PoisonJab, + DarkPulse, + NightSlash, + AquaTail, + SeedBomb, + AirSlash, + XScissor, + BugBuzz, + DragonPulse, + DragonRush, + PowerGem, + DrainPunch, + VacuumWave, + FocusBlast, + EnergyBall, + BraveBird, + EarthPower, + Switcheroo, + GigaImpact, + NastyPlot, + BulletPunch, + Avalanche, + IceShard, + ShadowClaw, + ThunderFang, + IceFang, + FireFang, + ShadowSneak, + MudBomb, + PsychoCut, + ZenHeadbutt, + MirrorShot, + FlashCannon, + RockClimb, + Defog, + TrickRoom, + DracoMeteor, + Discharge, + LavaPlume, + LeafStorm, + PowerWhip, + RockWrecker, + CrossPoison, + GunkShot, + IronHead, + MagnetBomb, + StoneEdge, + Captivate, + StealthRock, + GrassKnot, + Chatter, + Judgment, + BugBite, + ChargeBeam, + WoodHammer, + AquaJet, + AttackOrder, + DefendOrder, + HealOrder, + HeadSmash, + DoubleHit, + RoarofTime, + SpacialRend, + LunarDance, + CrushGrip, + MagmaStorm, + DarkVoid, + SeedFlare, + OminousWind, + ShadowForce, + HoneClaws, + WideGuard, + GuardSplit, + PowerSplit, + WonderRoom, + Psyshock, + Venoshock, + Autotomize, + RagePowder, + Telekinesis, + MagicRoom, + SmackDown, + StormThrow, + FlameBurst, + SludgeWave, + QuiverDance, + HeavySlam, + Synchronoise, + ElectroBall, + Soak, + FlameCharge, + Coil, + LowSweep, + AcidSpray, + FoulPlay, + SimpleBeam, + Entrainment, + AfterYou, + Round, + EchoedVoice, + ChipAway, + ClearSmog, + StoredPower, + QuickGuard, + AllySwitch, + Scald, + ShellSmash, + HealPulse, + Hex, + SkyDrop, + ShiftGear, + CircleThrow, + Incinerate, + Quash, + Acrobatics, + ReflectType, + Retaliate, + FinalGambit, + Bestow, + Inferno, + WaterPledge, + FirePledge, + GrassPledge, + VoltSwitch, + StruggleBug, + Bulldoze, + FrostBreath, + DragonTail, + WorkUp, + Electroweb, + WildCharge, + DrillRun, + DualChop, + HeartStamp, + HornLeech, + SacredSword, + RazorShell, + HeatCrash, + LeafTornado, + Steamroller, + CottonGuard, + NightDaze, + Psystrike, + TailSlap, + Hurricane, + HeadCharge, + GearGrind, + SearingShot, + TechnoBlast, + RelicSong, + SecretSword, + Glaciate, + BoltStrike, + BlueFlare, + FieryDance, + FreezeShock, + IceBurn, + Snarl, + IcicleCrash, + Vcreate, + FusionFlare, + FusionBolt, + FlyingPress, + MatBlock, + Belch, + Rototiller, + StickyWeb, + FellStinger, + PhantomForce, + TrickorTreat, + NobleRoar, + IonDeluge, + ParabolicCharge, + ForestsCurse, + PetalBlizzard, + FreezeDry, + DisarmingVoice, + PartingShot, + TopsyTurvy, + DrainingKiss, + CraftyShield, + FlowerShield, + GrassyTerrain, + MistyTerrain, + Electrify, + PlayRough, + FairyWind, + Moonblast, + Boomburst, + FairyLock, + KingsShield, + PlayNice, + Confide, + DiamondStorm, + SteamEruption, + HyperspaceHole, + WaterShuriken, + MysticalFire, + SpikyShield, + AromaticMist, + EerieImpulse, + VenomDrench, + Powder, + Geomancy, + MagneticFlux, + HappyHour, + ElectricTerrain, + DazzlingGleam, + Celebrate, + HoldHands, + BabyDollEyes, + Nuzzle, + HoldBack, + Infestation, + PowerUpPunch, + OblivionWing, + ThousandArrows, + ThousandWaves, + LandsWrath, + LightofRuin, + OriginPulse, + PrecipiceBlades, + DragonAscent, + HyperspaceFury, + BreakneckBlitzP, + BreakneckBlitzS, + AllOutPummelingP, + AllOutPummelingS, + SupersonicSkystrikeP, + SupersonicSkystrikeS, + AcidDownpourP, + AcidDownpourS, + TectonicRageP, + TectonicRageS, + ContinentalCrushP, + ContinentalCrushS, + SavageSpinOutP, + SavageSpinOutS, + NeverEndingNightmareP, + NeverEndingNightmareS, + CorkscrewCrashP, + CorkscrewCrashS, + InfernoOverdriveP, + InfernoOverdriveS, + HydroVortexP, + HydroVortexS, + BloomDoomP, + BloomDoomS, + GigavoltHavocP, + GigavoltHavocS, + ShatteredPsycheP, + ShatteredPsycheS, + SubzeroSlammerP, + SubzeroSlammerS, + DevastatingDrakeP, + DevastatingDrakeS, + BlackHoleEclipseP, + BlackHoleEclipseS, + TwinkleTackleP, + TwinkleTackleS, + Catastropika, + ShoreUp, + FirstImpression, + BanefulBunker, + SpiritShackle, + DarkestLariat, + SparklingAria, + IceHammer, + FloralHealing, + HighHorsepower, + StrengthSap, + SolarBlade, + Leafage, + Spotlight, + ToxicThread, + LaserFocus, + GearUp, + ThroatChop, + PollenPuff, + AnchorShot, + PsychicTerrain, + Lunge, + FireLash, + PowerTrip, + BurnUp, + SpeedSwap, + SmartStrike, + Purify, + RevelationDance, + CoreEnforcer, + TropKick, + Instruct, + BeakBlast, + ClangingScales, + DragonHammer, + BrutalSwing, + AuroraVeil, + SinisterArrowRaid, + MaliciousMoonsault, + OceanicOperetta, + GuardianofAlola, + SoulStealing7StarStrike, + StokedSparksurfer, + PulverizingPancake, + ExtremeEvoboost, + GenesisSupernova, + ShellTrap, + FleurCannon, + PsychicFangs, + StompingTantrum, + ShadowBone, + Accelerock, + Liquidation, + PrismaticLaser, + SpectralThief, + SunsteelStrike, + MoongeistBeam, + TearfulLook, + ZingZap, + NaturesMadness, + MultiAttack, + TenMVoltThunderbolt, + MindBlown, + PlasmaFists, + PhotonGeyser, + LightThatBurnstheSky, + SearingSunrazeSmash, + MenacingMoonrazeMaelstrom, + LetsSnuggleForever, + SplinteredStormshards, + ClangorousSoulblaze, + ZippyZap, + SplishySplash, + FloatyFall, + PikaPapow, + BouncyBubble, + BuzzyBuzz, + SizzlySlide, + GlitzyGlow, + BaddyBad, + SappySeed, + FreezyFrost, + SparklySwirl, + VeeveeVolley, + DoubleIronBash, + MaxGuard, + DynamaxCannon, + SnipeShot, + JawLock, + StuffCheeks, + NoRetreat, + TarShot, + MagicPowder, + DragonDarts, + Teatime, + Octolock, + BoltBeak, + FishiousRend, + CourtChange, + MaxFlare, + MaxFlutterby, + MaxLightning, + MaxStrike, + MaxKnuckle, + MaxPhantasm, + MaxHailstorm, + MaxOoze, + MaxGeyser, + MaxAirstream, + MaxStarfall, + MaxWyrmwind, + MaxMindstorm, + MaxRockfall, + MaxQuake, + MaxDarkness, + MaxOvergrowth, + MaxSteelspike, + ClangorousSoul, + BodyPress, + Decorate, + DrumBeating, + SnapTrap, + PyroBall, + BehemothBlade, + BehemothBash, + AuraWheel, + BreakingSwipe, + BranchPoke, + Overdrive, + AppleAcid, + GravApple, + SpiritBreak, + StrangeSteam, + LifeDew, + Obstruct, + FalseSurrender, + MeteorAssault, + Eternabeam, + SteelBeam, + ExpandingForce, + SteelRoller, + ScaleShot, + MeteorBeam, + ShellSideArm, + MistyExplosion, + GrassyGlide, + RisingVoltage, + TerrainPulse, + SkitterSmack, + BurningJealousy, + LashOut, + Poltergeist, + CorrosiveGas, + Coaching, + FlipTurn, + TripleAxel, + DualWingbeat, + ScorchingSands, + JungleHealing, + WickedBlow, + SurgingStrikes, + ThunderCage, + DragonEnergy, + FreezingGlare, + FieryWrath, + ThunderousKick, + GlacialLance, + AstralBarrage, + EerieSpell, + DireClaw, + PsyshieldBash, + PowerShift, + StoneAxe, + SpringtideStorm, + MysticalPower, + RagingFury, + WaveCrash, + Chloroblast, + MountainGale, + VictoryDance, + HeadlongRush, + BarbBarrage, + EsperWing, + BitterMalice, + Shelter, + TripleArrows, + InfernalParade, + CeaselessEdge, + BleakwindStorm, + WildboltStorm, + SandsearStorm, + LunarBlessing, + TakeHeart, + TeraBlast, + SilkTrap, + AxeKick, + LastRespects, + LuminaCrash, + OrderUp, + JetPunch, + SpicyExtract, + SpinOut, + PopulationBomb, + IceSpinner, + GlaiveRush, + RevivalBlessing, + SaltCure, + TripleDive, + MortalSpin, + Doodle, + FilletAway, + KowtowCleave, + FlowerTrick, + TorchSong, + AquaStep, + RagingBull, + MakeItRain, + Psyblade, + HydroSteam, + Ruination, + CollisionCourse, + ElectroDrift, + ShedTail, + ChillyReception, + TidyUp, + Snowscape, + Pounce, + Trailblaze, + ChillingWater, + HyperDrill, + TwinBeam, + RageFist, + ArmorCannon, + BitterBlade, + DoubleShock, + GigatonHammer, + Comeuppance, + AquaCutter, + BlazingTorque, + WickedTorque, + NoxiousTorque, + CombatTorque, + MagicalTorque, + BloodMoon, + MatchaGotcha, + SyrupBomb, + IvyCudgel, +} + +pub enum Type { + Normal, + Fighting, + Flying, + Poison, + Ground, + Rock, + Bug, + Ghost, + Steel, + Fire, + Water, + Grass, + Electric, + Psychic, + Ice, + Dragon, + Dark, + Fairy, +} + +pub enum GCRegion { + NoRegion = 0, + NTSCJ = 1, + NTSCU = 2, + PAL = 3, +} + +pub enum GCVersion { + None = 0, + FR = 1, + LG = 2, + S = 8, + R = 9, + E = 10, + CXD = 11, +} + +#[repr(u8)] +pub enum GameVersion { + Any = 0, + Unknown = 0xFE, + Invalid = 0xFF, + + // gen 3 + Sapphire = 1, + Ruby = 2, + Emerald = 3, + FireRed = 4, + LeafGreen = 5, + ColosseumXD = 15, + + // gen 4 + Diamond = 10, + Pearl = 11, + Platinum = 12, + HeartGold = 7, + SoulSilver = 8, + + // gen 5 + White = 20, + Black = 21, + White2 = 22, + Black2 = 23, + + // gen 6 + X = 24, + Y = 25, + AlphaSapphire = 26, + OmegaRuby = 27, + + // gen 7 + Sun = 30, + Moon = 31, + UltraSun = 32, + UltraMoon = 33, + + GO = 34, + + // 3ds vc gen1 + Red = 35, + Green = 36, + Blue = 37, + Yellow = 38, + + // 3ds vc gen2 + Gold = 39, + Silver = 40, + Crystal = 41, + + // switch + LetsGoPikachu = 42, + LetsGoEevee = 43, + Sword = 44, + Shield = 45, + HOME = 46, + LegendsArceus = 47, + BrilliantDiamond = 48, + ShiningPearl = 49, + Scarlet = 50, + Violet = 51, +} diff --git a/src/pokemon/mod.rs b/src/pokemon/mod.rs index 7e167d4..0104e36 100644 --- a/src/pokemon/mod.rs +++ b/src/pokemon/mod.rs @@ -1,5 +1,7 @@ use std::io::Read; +use crate::general::{BinaryGender, Gender, Language, Nature, PokeBall, Species}; + pub mod gen5; pub trait StringConverter {