clean up trash to treasure encounter

This commit is contained in:
ImperialSympathizer 2024-08-01 13:56:42 -04:00
parent a231f853b8
commit 3030fc6c9d
1 changed files with 1 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import { ModifierRewardPhase } from "#app/phases";
import { MysteryEncounterTier } from "#enums/mystery-encounter-tier";
import { MysteryEncounterOptionMode } from "#enums/mystery-encounter-option-mode";
import { Species } from "#enums/species";
import { HitHealModifier, PokemonHeldItemModifier, RemoveHealShopModifier, TurnHealModifier } from "#app/modifier/modifier";
import { HitHealModifier, PokemonHeldItemModifier, TurnHealModifier } from "#app/modifier/modifier";
import { applyModifierTypeToPlayerPokemon } from "#app/data/mystery-encounters/utils/encounter-pokemon-utils";
import { showEncounterText } from "#app/data/mystery-encounters/utils/encounter-dialogue-utils";
import i18next from "#app/plugins/i18n";
@ -54,9 +54,6 @@ export const TrashToTreasureEncounter: IMysteryEncounter =
.withQuery(`${namespace}.query`)
.withOnInit((scene: BattleScene) => {
const encounter = scene.currentBattle.mysteryEncounter;
const blackSludge = scene.findModifier(m => m instanceof RemoveHealShopModifier);
scene.removeModifier(blackSludge);
scene.updateModifiers(true, true);
// Calculate boss mon
const bossSpecies = getPokemonSpecies(Species.GARBODOR);