From 72d169a219388c405e4e990107036048d57569fc Mon Sep 17 00:00:00 2001 From: AJ Fontaine Date: Mon, 24 Feb 2025 10:24:05 -0500 Subject: [PATCH] Move Rotom form code to separate PR --- src/battle-scene.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 00149db3d50..962b9c8ca91 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -1953,26 +1953,6 @@ export default class BattleScene extends SceneBase { } } - if ( // For Rotom in Trainer battles, set form to match specialty type if applicable - species.speciesId === Species.ROTOM - && this.currentBattle.battleType === BattleType.TRAINER && !isNullOrUndefined(this.currentBattle.trainer) - && [ Type.FLYING, Type.GHOST, Type.FIRE, Type.GRASS, Type.WATER, Type.ICE ].includes(this.currentBattle.trainer.config.specialtyType)) { - switch (this.currentBattle.trainer.config.specialtyType) { - case Type.FLYING: - return 4; // Fan Rotom - case Type.GHOST: - return 0; // Light bulb Rotom - case Type.FIRE: - return 1; // Heat Rotom - case Type.GRASS: - return 5; // Mow Rotom - case Type.WATER: - return 2; // Wash Rotom - case Type.ICE: - return 3; // Frost Rotom - } - } - if (ignoreArena) { switch (species.speciesId) { case Species.BURMY: