Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Opple #169

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions data/mods/gen9ssb/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,33 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
},
},

// Opple
orchardsgift: {
name: "Orchard's Gift",
shortDesc: "On switch-in, summons Grassy Terrain. During Grassy Terrain, Sp. Atk and Sp. Def are 1.5x.",
KrisXV marked this conversation as resolved.
Show resolved Hide resolved
onStart(pokemon) {
if (this.field.setTerrain('grassyterrain')) {
this.add('-activate', pokemon, 'Orchard\'s Gift', '[source]');
} else if (this.field.isTerrain('grassyterrain')) {
this.add('-activate', pokemon, 'ability: Orchard\'s Gift');
}
},
onModifyAtkPriority: 5,
onModifySpA(spa, pokemon) {
if (this.field.isTerrain('grassyterrain')) {
this.debug('Orchard\'s Gift boost');
return this.chainModify(1.5);
}
},
onModifySpDPriority: 6,
onModifySpD(spd, pokemon) {
if (this.field.isTerrain('grassyterrain')) {
this.debug('Orchard\'s Gift boost');
return this.chainModify(1.5);
}
},
},

// PartMan
ctiershitposter: {
shortDesc: "-1 Atk/SpA, +1 Def/SpD. +1 Atk/SpA/Spe, -1 Def/SpD, Mold Breaker if 420+ dmg taken.",
Expand Down
12 changes: 12 additions & 0 deletions data/mods/gen9ssb/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,18 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin
},
innateName: "Natural Cure",
},
opple: {
noCopy: true,
onStart() {
this.add(`c:|${getName('Opple')}|I'm boutta Wopple with Opple!`);
},
onSwitchOut() {
this.add(`c:|${getName('Opple')}|Opple you glad I am leavin'!? Get it? Opple instead of Orange? I'm wasted here! Bu-Bye!`);
},
onFaint() {
this.add(`c:|${getName('Opple')}|Who's the floppling? Opple? AGAIN?!`);
},
},
partman: {
noCopy: true,
onStart(pokemon) {
Expand Down
31 changes: 31 additions & 0 deletions data/mods/gen9ssb/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3456,6 +3456,37 @@ export const Moves: {[k: string]: ModdedMoveData} = {
type: "Fairy",
},

// Opple
woppleorflopple: {
accuracy: true,
basePower: 0,
category: "Status",
shortDesc: "Confuse; +2 SpA/D. Fail=Confuse self; -1 SpA/D.",
name: "Wopple or Flopple",
gen: 9,
pp: 10,
priority: 1,
flags: {protect: 1},
onTryMove() {
this.attrLastMove('[still]');
},
onPrepareHit(target, source) {
this.add('-anim', source, 'Moonlight', source);
},
onHit(pokemon, target, move) {
if (this.randomChance(1, 2)) {
target.addVolatile('confusion');
this.boost({spa: 2, spd: 2}, pokemon);
} else {
pokemon.addVolatile('confusion');
this.boost({spa: -1, spd: -1}, pokemon);
}
},
secondary: null,
target: "normal",
type: "Normal",
},

// PartMan
alting: {
accuracy: true,
Expand Down
7 changes: 7 additions & 0 deletions data/mods/gen9ssb/pokedex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,13 @@ export const Pokedex: {[k: string]: ModdedSpeciesData} = {
abilities: {0: "Last Hymn"},
},

// Opple
applin: {
inherit: true,
baseStats: {hp: 106, atk: 80, def: 110, spa: 120, spd: 80, spe: 44},
abilities: {0: "Orchard's Gift"},
},

// PartMan
chandelure: {
inherit: true,
Expand Down
6 changes: 6 additions & 0 deletions data/mods/gen9ssb/random-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,12 @@ export const ssbSets: SSBSets = {
signatureMove: 'Cotton Candy Crush',
evs: {hp: 248, spd: 164, spe: 96}, nature: 'Careful', shiny: 4,
},
Opple: {
species: 'Applin', ability: 'Orchard\'s Gift', item: 'Lum Berry', gender: ['M', 'F'],
moves: ['Apple Acid', 'Leech Seed', 'Dragon Pulse'],
signatureMove: 'Wopple or Flopple',
evs: {hp: 252, spa: 4, spd: 252}, nature: 'Sassy', shiny: 2, teraType: 'Dragon',
},
PartMan: {
species: 'Chandelure', ability: 'C- Tier Shitposter', item: 'Leek', gender: 'M',
moves: ['Searing Shot', 'Hex', 'Morning Sun'],
Expand Down
Loading