Skip to content

Commit

Permalink
Add Kiwi
Browse files Browse the repository at this point in the history
  • Loading branch information
WarriorGallade committed Feb 20, 2024
1 parent 3cea8f6 commit 50204a0
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
26 changes: 26 additions & 0 deletions data/mods/gen9ssb/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,32 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
flags: {failroleplay: 1, noreceiver: 1, noentrain: 1, notrace: 1, failskillswap: 1, cantsuppress: 1},
},

// Kiwi
surehitsorcery: {
name: "Sure Hit Sorcery",
shortDesc: "No Guard + Prankster + Grassy Surge",
onAnyInvulnerabilityPriority: 1,
onAnyInvulnerability(target, source, move) {
if (move && (source === this.effectState.target || target === this.effectState.target)) return 0;
},
onAnyAccuracy(accuracy, target, source, move) {
if (move && (source === this.effectState.target || target === this.effectState.target)) {
return true;
}
return accuracy;
},
onModifyPriority(priority, pokemon, target, move) {
if (move?.category === 'Status') {
move.pranksterBoosted = true;
return priority + 1;
}
},
onStart(source) {
this.field.setTerrain('grassyterrain');
},
flags: {},
},

// Kris
cacophony: {
name: "Cacophony",
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 @@ -513,6 +513,18 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin
this.add(`c:|${getName('Kennedy')}|LOOOOOOL ffs`);
},
},
kiwi: {
noCopy: true,
onStart() {
this.add(`c:|${getName('Kiwi')}|Hey, are you a goldfish or a shark? I guess it depends on how quickly you get flushed down`);
},
onSwitchOut() {
this.add(`c:|${getName('Kiwi')}|You're lively, but I'm not done peeling off your scales`);
},
onFaint() {
this.add(`c:|${getName('Kiwi')}|Too late, the manifestation has completed. You'll be reduced to a fillet one day unexpectedly...`);
},
},
kris: {
noCopy: true,
onStart() {
Expand Down
44 changes: 44 additions & 0 deletions data/mods/gen9ssb/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,50 @@ export const Moves: {[k: string]: ModdedMoveData} = {
type: "Psychic",
},

// Kiwi
madmanifest: {
accuracy: true,
basePower: 0,
category: "Status",
shortDesc: "Curses foe without self-damage, 50% chance for brn/par/psn. Raises Speed by 1 stage.",
name: "Mad Manifest",
pp: 10,
priority: 0,
flags: {},
secondaries: [
{
chance: 100,
volatileStatus: 'curse',
},
{
chance: 50,
onHit(target, source) {
const result = this.random(3);
if (result === 0) {
target.trySetStatus('psn', source);
} else if (result === 1) {
target.trySetStatus('par', source);
} else {
target.trySetStatus('brn', source);
}
},
}, {
chance: 100,
self: {
boosts: {
spe: 1,
},
},
},
],
onPrepareHit(target, source) {
this.attrLastMove('[anim] Dark Void');
},
target: "normal",
type: "Fairy",

},

// Kris
ok: {
accuracy: 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 @@ -229,6 +229,12 @@ export const ssbSets: SSBSets = {
signatureMove: 'Hat-Trick',
evs: {atk: 252, def: 4, spe: 252}, nature: 'Jolly', teraType: 'Any',
},
Kiwi: {
species: 'Minccino', ability: 'Sure Hit Sorcery', item: 'Heavy-Duty Boots', gender: 'M',
moves: ['Dynamic Punch', 'Substitute', 'Noble Roar'],
signatureMove: 'Mad Manifest',
evs: {hp: 252, atk: 144, spe: 112}, nature: 'Adamant', teraType: 'Fighting', shiny: true,
},
Kris: {
species: 'Nymble', ability: 'Cacophony', item: 'Heavy-Duty Boots', gender: 'N',
moves: ['Boomburst', 'Bug Buzz', 'Torch Song'],
Expand Down

0 comments on commit 50204a0

Please sign in to comment.