From 61cc7a619fd0f4f6e4b265e11e94c1e3f185c9da Mon Sep 17 00:00:00 2001 From: Madmadness65 Date: Tue, 4 Jun 2024 17:48:21 -0500 Subject: [PATCH] Remove unnecessary Reshiram/Zekrom music calls The default legendary battle music is the Reshiram & Zekrom battle theme anyways, so removing these lines make it functionally identical. --- src/battle.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/battle.ts b/src/battle.ts index a696aafe532..dd5feee0da4 100644 --- a/src/battle.ts +++ b/src/battle.ts @@ -216,9 +216,6 @@ export default class Battle { if (pokemon.species.speciesId === Species.COBALION || pokemon.species.speciesId === Species.TERRAKION || pokemon.species.speciesId === Species.VIRIZION || pokemon.species.speciesId === Species.TORNADUS || pokemon.species.speciesId === Species.THUNDURUS || pokemon.species.speciesId === Species.LANDORUS || pokemon.species.speciesId === Species.KELDEO || pokemon.species.speciesId === Species.MELOETTA || pokemon.species.speciesId === Species.GENESECT) { return "battle_legendary_unova"; } - if (pokemon.species.speciesId === Species.RESHIRAM || pokemon.species.speciesId === Species.ZEKROM) { - return "battle_legendary_res_zek"; - } if (pokemon.species.speciesId === Species.KYUREM) { return "battle_legendary_kyurem"; } @@ -275,9 +272,6 @@ export default class Battle { if (pokemon.species.speciesId === Species.COBALION || pokemon.species.speciesId === Species.TERRAKION || pokemon.species.speciesId === Species.VIRIZION || pokemon.species.speciesId === Species.TORNADUS || pokemon.species.speciesId === Species.THUNDURUS || pokemon.species.speciesId === Species.LANDORUS || pokemon.species.speciesId === Species.KELDEO || pokemon.species.speciesId === Species.MELOETTA || pokemon.species.speciesId === Species.GENESECT) { return "battle_legendary_unova"; } - if (pokemon.species.speciesId === Species.RESHIRAM || pokemon.species.speciesId === Species.ZEKROM) { - return "battle_legendary_res_zek"; - } if (pokemon.species.speciesId === Species.KYUREM) { return "battle_legendary_kyurem"; }