From fa7dc002cc5c6d560bc5246a5988ff9863fbbe9a Mon Sep 17 00:00:00 2001 From: Shiva Devarajan Date: Mon, 18 Nov 2024 00:00:09 -0500 Subject: [PATCH] RBY tier shift, Gen 3 NFE --- config/formats.ts | 7 ++++++ data/mods/gen1/formats-data.ts | 12 +++++----- data/mods/gen9vgcgay/abilities.ts | 37 +++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/config/formats.ts b/config/formats.ts index b028c8dc69df..9c165cf34315 100644 --- a/config/formats.ts +++ b/config/formats.ts @@ -241,6 +241,13 @@ export const Formats: import('../sim/dex-formats').FormatList = [ ruleset: ['[Gen 3] OU', 'Pre RU Tier Shift Mod'], searchShow: true, }, + { + name: "[Gen 3] NFE", + mod: 'gen3', + desc: `Only Pokémon that can evolve are allowed.`, + ruleset: ['Standard', 'Not Fully Evolved'], + searchShow: true, + }, { name: "[Gen 3] SU", mod: 'gen3', diff --git a/data/mods/gen1/formats-data.ts b/data/mods/gen1/formats-data.ts index cee91e083f65..308dc191b965 100644 --- a/data/mods/gen1/formats-data.ts +++ b/data/mods/gen1/formats-data.ts @@ -72,7 +72,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "ZUBL", }, pikachu: { - tier: "IU", + tier: "SU", }, raichu: { tier: "UU", @@ -219,7 +219,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "UU", }, geodude: { - tier: "IU", + tier: "SU", }, graveler: { tier: "PU", @@ -249,7 +249,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "IU", }, doduo: { - tier: "IU", + tier: "SU", }, dodrio: { tier: "UU", @@ -318,7 +318,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "SU", }, hitmonchan: { - tier: "IU", + tier: "SU", }, lickitung: { tier: "SU", @@ -351,7 +351,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "NU", }, goldeen: { - tier: "8U", + tier: "SU", }, seaking: { tier: "PU", @@ -417,7 +417,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat tier: "UU", }, kabuto: { - tier: "SU", + tier: "IU", }, kabutops: { tier: "NU", diff --git a/data/mods/gen9vgcgay/abilities.ts b/data/mods/gen9vgcgay/abilities.ts index 1471fcdac663..647198e7766c 100644 --- a/data/mods/gen9vgcgay/abilities.ts +++ b/data/mods/gen9vgcgay/abilities.ts @@ -1277,6 +1277,43 @@ export const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTa if (type === 'Ground' && move.type === 'Electric') return -1; }, }, + forecast: { + inherit: true, + shortDesc: "Castform's type changes to the current weather condition's type", + onWeatherChange(pokemon) { + if (pokemon.baseSpecies.baseSpecies !== 'Castform' || pokemon.transformed) return; + let forme = null; + if (pokemon.species.id !== 'castform') forme = 'Castform'; + let type = "Normal"; + switch (pokemon.effectiveWeather()) { + case 'sunnyday': + case 'desolateland': + if (pokemon.species.id !== 'castformsunny') forme = 'Castform-Sunny'; + type = "Fire"; + break; + case 'raindance': + case 'primordialsea': + if (pokemon.species.id !== 'castformrainy') forme = 'Castform-Rainy'; + type = "Water"; + break; + case 'hail': + case 'snow': + if (pokemon.species.id !== 'castformsnowy') forme = 'Castform-Snowy'; + type = "Ice"; + break; + case 'sandstorm': + type = "Rock"; + break; + } + if (pokemon.isActive && forme) { + pokemon.formeChange(forme, this.effect, false, '[msg]'); + } + if (type && pokemon.getTypes().join() !== type) { + if (!pokemon.setType(type)) return; + this.add('-start', pokemon, 'typechange', type, '[from] ability: Forecast'); + } + }, + }, // As One now gives Symbioisis asoneglastrier: { inherit: true,