From 501f502ebc847361a3f6929c2c8605e4bab54feb Mon Sep 17 00:00:00 2001 From: The Immortal Date: Sat, 31 Oct 2020 00:07:31 +0400 Subject: [PATCH] Add Pikachu-World event --- data/formats-data.ts | 4 ++-- data/learnsets.ts | 13 +++++++++---- data/random-teams.ts | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/data/formats-data.ts b/data/formats-data.ts index 2e81226f0cb1..43db3925ad3d 100644 --- a/data/formats-data.ts +++ b/data/formats-data.ts @@ -246,8 +246,8 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = { doublesTier: "(DUber)", }, pikachuworld: { - isNonstandard: "Unobtainable", - tier: "Unreleased", + tier: "(PU)", + doublesTier: "(DUU)", }, raichu: { randomBattleMoves: ["encore", "focusblast", "grassknot", "nastyplot", "thunderbolt", "voltswitch"], diff --git a/data/learnsets.ts b/data/learnsets.ts index 1c5e4bda7826..ac339305017f 100644 --- a/data/learnsets.ts +++ b/data/learnsets.ts @@ -3282,7 +3282,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = { drainingkiss: ["8M"], electricterrain: ["8M"], electroball: ["8M", "8L12"], - electroweb: ["8M"], + electroweb: ["8M", "8S0"], encore: ["8M"], endure: ["8M"], facade: ["8M"], @@ -3293,7 +3293,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = { grassknot: ["8M"], growl: ["8L1"], helpinghand: ["8M"], - irontail: ["8M"], + irontail: ["8M", "8S0"], lightscreen: ["8M", "8L40"], megakick: ["8M"], megapunch: ["8M"], @@ -3304,7 +3304,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = { playrough: ["8M"], present: ["8E"], protect: ["8M"], - quickattack: ["8L1"], + quickattack: ["8L1", "8S0"], raindance: ["8M"], reflect: ["8M"], rest: ["8M"], @@ -3322,16 +3322,21 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = { tailwhip: ["8L1"], thief: ["8M"], thunder: ["8M", "8L44"], - thunderbolt: ["8M", "8L36"], + thunderbolt: ["8M", "8L36", "8S0"], thunderpunch: ["8M"], thundershock: ["8L1"], thunderwave: ["8M", "8L4"], tickle: ["8E"], uproar: ["8M"], voltswitch: ["8M"], + volttackle: ["8S0"], wildcharge: ["8M"], wish: ["8E"], }, + eventData: [ + {generation: 8, level: 25, nature: "Hardy", isHidden: false, moves: ["thunderbolt", "quickattack", "irontail", "electroweb", "volttackle"], pokeball: "pokeball"}, + ], + eventOnly: true, }, raichu: { learnset: { diff --git a/data/random-teams.ts b/data/random-teams.ts index cf981ae0b5da..32fe4c0cd252 100644 --- a/data/random-teams.ts +++ b/data/random-teams.ts @@ -1257,7 +1257,7 @@ export class RandomTeams { } else if (species.baseSpecies === 'Marowak') { item = 'Thick Club'; } else if (species.baseSpecies === 'Pikachu') { - forme = 'Pikachu' + this.sample(['', '-Original', '-Hoenn', '-Sinnoh', '-Unova', '-Kalos', '-Alola', '-Partner']); + forme = 'Pikachu' + this.sample(['', '-Original', '-Hoenn', '-Sinnoh', '-Unova', '-Kalos', '-Alola', '-Partner', '-World']); item = 'Light Ball'; } else if (species.name === 'Regieleki' && !isDoubles) { item = 'Normal Gem';