Skip to content

Commit

Permalink
clean up trash to treasure encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperialSympathizer committed Aug 1, 2024
1 parent a231f85 commit 3030fc6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3030fc6

Please sign in to comment.