Apply Biome

This commit is contained in:
NightKev 2025-05-29 21:53:28 -07:00
parent 95025f315a
commit 8679f82367

View File

@ -23,7 +23,7 @@ import type Pokemon from "#app/field/pokemon";
import { CLASSIC_MODE_MYSTERY_ENCOUNTER_WAVES } from "#app/constants"; import { CLASSIC_MODE_MYSTERY_ENCOUNTER_WAVES } from "#app/constants";
import { isPokemonValidForEncounterOptionSelection } from "#app/data/mystery-encounters/utils/encounter-pokemon-utils"; import { isPokemonValidForEncounterOptionSelection } from "#app/data/mystery-encounters/utils/encounter-pokemon-utils";
import { MoneyMultiplierModifier } from "#app/modifier/modifier"; import { MoneyMultiplierModifier } from "#app/modifier/modifier";
import * as Utils from "#app/utils"; import { NumberHolder } from "#app/utils/common";
/** the i18n namespace for the encounter */ /** the i18n namespace for the encounter */
const namespace = "mysteryEncounters/partTimer"; const namespace = "mysteryEncounters/partTimer";
@ -346,7 +346,7 @@ function doSalesSfx() {
} }
function applyMoneyMultipliers(moneyMultiplier) { function applyMoneyMultipliers(moneyMultiplier) {
const moneyChange = new Utils.IntegerHolder(globalScene.getWaveMoneyAmount(moneyMultiplier)); const moneyChange = new NumberHolder(globalScene.getWaveMoneyAmount(moneyMultiplier));
globalScene.applyModifiers(MoneyMultiplierModifier, true, moneyChange); globalScene.applyModifiers(MoneyMultiplierModifier, true, moneyChange);
updatePlayerMoney(moneyChange.value, true, false); updatePlayerMoney(moneyChange.value, true, false);