From cc47a1c53bdc608c7d10db2a75bddea510ae618b Mon Sep 17 00:00:00 2001 From: Zachary Perlmutter Date: Mon, 13 Mar 2023 13:20:46 -0700 Subject: [PATCH] =?UTF-8?q?National=20Dex:=20Let=20Rayquaza=20terastallize?= =?UTF-8?q?=20if=20it=20can=E2=80=99t=20Mega=20Evolve=20(#9299)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Because Terastal is handled through a field rather than a method, MRC's failure to update it caused inconsistent behavior. This resolves the inconsistency with gen 8 implementation behavior (Rayquaza was able to dynamax under MRC). --- data/rulesets.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/rulesets.ts b/data/rulesets.ts index a84b52d4b1..8585a18682 100644 --- a/data/rulesets.ts +++ b/data/rulesets.ts @@ -1239,7 +1239,11 @@ export const Rulesets: {[k: string]: FormatData} = { onBegin() { this.add('rule', 'Mega Rayquaza Clause: You cannot mega evolve Rayquaza'); for (const pokemon of this.getAllPokemon()) { - if (pokemon.species.id === 'rayquaza') pokemon.canMegaEvo = null; + if (pokemon.species.id === 'rayquaza') { + pokemon.canMegaEvo = null; + // ability to terastal was determined before the clause activated, causing incorrect behavior + pokemon.canTerastallize = this.actions.canTerastallize(pokemon); + } } }, },