Skip to content

Commit

Permalink
Add Opple (#169)
Browse files Browse the repository at this point in the history
Co-authored-by: Kris Johnson <[email protected]>
  • Loading branch information
WarriorGallade and KrisXV authored Apr 16, 2024
1 parent ee74c44 commit 560901b
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.
27 changes: 27 additions & 0 deletions data/mods/gen9ssb/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1574,6 +1574,33 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
},
},

// Opple
orchardsgift: {
name: "Orchard's Gift",
shortDesc: "Summons Grassy Terrain. 1.5x Sp. Atk and Sp. Def during Grassy Terrain.",
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 @@ -1478,6 +1478,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 @@ -3568,6 +3568,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 @@ -586,6 +586,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 @@ -625,6 +625,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

0 comments on commit 560901b

Please sign in to comment.