Skip to content

Commit

Permalink
RBY tier shift, Gen 3 NFE
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaD173 committed Nov 18, 2024
1 parent 125a704 commit fa7dc00
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 6 deletions.
7 changes: 7 additions & 0 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
12 changes: 6 additions & 6 deletions data/mods/gen1/formats-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "ZUBL",
},
pikachu: {
tier: "IU",
tier: "SU",
},
raichu: {
tier: "UU",
Expand Down Expand Up @@ -219,7 +219,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "UU",
},
geodude: {
tier: "IU",
tier: "SU",
},
graveler: {
tier: "PU",
Expand Down Expand Up @@ -249,7 +249,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "IU",
},
doduo: {
tier: "IU",
tier: "SU",
},
dodrio: {
tier: "UU",
Expand Down Expand Up @@ -318,7 +318,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "SU",
},
hitmonchan: {
tier: "IU",
tier: "SU",
},
lickitung: {
tier: "SU",
Expand Down Expand Up @@ -351,7 +351,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "NU",
},
goldeen: {
tier: "8U",
tier: "SU",
},
seaking: {
tier: "PU",
Expand Down Expand Up @@ -417,7 +417,7 @@ export const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormat
tier: "UU",
},
kabuto: {
tier: "SU",
tier: "IU",
},
kabutops: {
tier: "NU",
Expand Down
37 changes: 37 additions & 0 deletions data/mods/gen9vgcgay/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fa7dc00

Please sign in to comment.