change count to parameter in trash-to-treasure

This commit is contained in:
EnochG1 2024-09-26 02:46:33 +09:00
parent f9da29b21b
commit 02e7ee583d

View File

@ -190,7 +190,7 @@ async function tryApplyDigRewardItems(scene: BattleScene) {
} }
scene.playSound("item_fanfare"); scene.playSound("item_fanfare");
await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: "2x " + leftovers.name }), null, undefined, true); await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: leftovers.name, count: 2 }), null, undefined, true);
// First Shell bell // First Shell bell
for (const pokemon of party) { for (const pokemon of party) {
@ -217,7 +217,7 @@ async function tryApplyDigRewardItems(scene: BattleScene) {
} }
scene.playSound("item_fanfare"); scene.playSound("item_fanfare");
await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: "2x " + shellBell.name }), null, undefined, true); await showEncounterText(scene, i18next.t("battle:rewardGain", { modifierName: shellBell.name, count: 2 }), null, undefined, true);
} }
async function doGarbageDig(scene: BattleScene) { async function doGarbageDig(scene: BattleScene) {