Skip to content

Commit

Permalink
Add Arya (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
WarriorGallade authored Feb 21, 2024
1 parent 9c68e12 commit d93299c
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 10 deletions.
16 changes: 16 additions & 0 deletions data/mods/gen9ssb/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,22 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin
this.add(`c:|${getName('Archas')}|What would Grandfather... think of me now...`);
},
},
arya: {
noCopy: true,
onStart() {
this.add(`c:|${getName('Arya')}|NORMAL SUMMON DEEP SEA DIVA`);
},
onSwitchOut() {
this.add(`c:|${getName('Arya')}|Oleeeee too good for this fight!`);
},
onFaint() {
this.add(`c:|${getName('Arya')}|Nevermind, happy tuesday and let's pray for the 33.`);
},
onAfterMega() {
this.add(`c:|${getName('Arya')}|Oh yeaaaaah!!!!! Finally??!! I can finally Mega-Evolve!!! Vamossss`);
this.add(`c:|${getName('Arya')}|W-whats this? Oh, come on...!!!`);
}, // Is a message before going mega supported(unlikely)? if so, the first message in onAfterMega goes there.
},
berry: {
noCopy: true,
onStart(pokemon) {
Expand Down
23 changes: 13 additions & 10 deletions data/mods/gen9ssb/items.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
export const Items: {[k: string]: ModdedItemData} = {
// Aeonic
fossilizedfish: {
inherit: true,
onResidualOrder: 5,
onResidualSubOrder: 4,
onResidual(pokemon) {
this.heal(pokemon.baseMaxhp / 16);
},
desc: "At the end of every turn, holder restores 1/16 of its max HP.",
},
// Archas
lilligantiumz: {
name: "Lilligantium Z",
Expand All @@ -18,6 +8,19 @@ export const Items: {[k: string]: ModdedItemData} = {
itemUser: ["Lilligant"],
desc: "If held by a Lilligant with Quiver Dance, it can use Aura Rain.",
},
// Arya
flygonite: {
inherit: true,
spritenum: 111,
itemUser: ["Flygon"],
megaEvolves: "Flygon",
megaStone: "Trapinch",
onTakeItem(item, source) {
if (item.megaEvolves === source.baseSpecies.baseSpecies) return false;
return true;
},
desc: "If held by a Flygon, this item allows it to Mega Evolve in battle.",
},
// Irpachuza
irpatuziniumz: {
name: "Irpatuzinium Z",
Expand Down
35 changes: 35 additions & 0 deletions data/mods/gen9ssb/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,41 @@ export const Moves: {[k: string]: ModdedMoveData} = {
type: "Grass",
},

// Arya
anyonecanbekilled: {
accuracy: 95,
basePower: 80,
category: "Status",
shortDesc: "Raises the user's Sp. Atk by 2 stages for the next 2 turns, -2 Sp. Atk afterwards.",
name: "Anyone can be killed",
pp: 15,
priority: 0,
flags: {sound: 1},
onTryMove() {
this.attrLastMove('[still]');
},
self: {
volatileStatus: 'anyonecanbekilled',
},
condition: {
duration: 3,
onResidualOrder: 3,
onStart(target, source, sourceEffect) {
this.boost({spa: 2}, source);
},
onEnd(target) {
this.boost({spa: -2}, target);
},
},
onPrepareHit(target, source) {
this.add('-anim', source, 'Dragon Dance', target);
this.add('-anim', source, 'Earth Power', target);
},
target: "normal",
type: "Ground",
},


// berry
whatkind: {
accuracy: true,
Expand Down
8 changes: 8 additions & 0 deletions data/mods/gen9ssb/pokedex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ export const Pokedex: {[k: string]: ModdedSpeciesData} = {
abilities: {0: "Saintly Bullet"},
},

// Arya
trapinch: {
inherit: true,
types: ["Ground", "Dragon"],
baseStats: {hp: 80, atk: 100, def: 90, spa: 120, spd: 100, spe: 130},
abilities: {0: "Punk Rock"},
},

// berry
regirock: {
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 @@ -78,6 +78,12 @@ export const ssbSets: SSBSets = {
signatureMove: 'Quiver Dance',
evs: {spa: 252, spd: 4, spe: 252}, nature: 'Timid',
},
Arya: {
species: 'Flygon', ability: 'Tinted Lens', item: 'Flygonite', gender: 'F',
moves: ['Clanging Scales', 'Roost', 'Bug Buzz'],
signatureMove: 'Anyone can be killed',
evs: {spa: 252, spd: 4, spe: 252}, nature: 'Timid', shiny: false,
},
berry: {
species: 'Regirock', ability: 'Sturdy', item: 'Maranga Berry', gender: 'F',
moves: ['Curse', 'Salt Cure', 'Stone Axe'],
Expand Down

0 comments on commit d93299c

Please sign in to comment.