added i18 line, reset overrides

This commit is contained in:
James Diefenbach 2024-08-24 22:12:29 +10:00
parent 3172c51266
commit 190003c349
4 changed files with 4 additions and 7 deletions

View File

@ -61,6 +61,7 @@
"skipItemQuestion": "Are you sure you want to skip taking an item?",
"itemStackFull": "The stack for {{fullItemName}} is full.\nYou will receive {{itemName}} instead.",
"eggHatching": "Oh?",
"eggSkipPrompt": "Skip to egg summary?",
"ivScannerUseQuestion": "Use IV Scanner on {{pokemonName}}?",
"wildPokemonWithAffix": "Wild {{pokemonName}}",
"foePokemonWithAffix": "Foe {{pokemonName}}",

View File

@ -29,10 +29,8 @@ import { type ModifierOverride } from "./modifier/modifier-type";
* }
* ```
*/
const overrides = {
EGG_IMMEDIATE_HATCH_OVERRIDE: true,
EGG_FREE_GACHA_PULLS_OVERRIDE: true
} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
const overrides = {} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
/**
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}

View File

@ -30,7 +30,7 @@ export class EggLapsePhase extends Phase {
if (eggsToHatchCount >= 5) {
this.scene.ui.showText(i18next.t("battle:eggHatching"), 0, () => {
// show prompt for skip
this.scene.ui.showText("Skip to egg summary?", 0);
this.scene.ui.showText(i18next.t("battle:eggSkipPrompt"), 0);
this.scene.ui.setModeWithoutClear(Mode.CONFIRM, () => {
for (const egg of eggsToHatch) {
this.hatchEggSilently(egg);

View File

@ -86,11 +86,9 @@ export default class PokemonHatchInfoContainer extends PokemonInfoContainer {
const eggMoveBg = this.scene.add.nineslice(70, 0, "type_bgs", "unknown", 92, 14, 2, 2, 2, 2);
eggMoveBg.setOrigin(1, 0);
eggMoveBg.setZ(3);
const eggMoveLabel = addTextObject(this.scene, 70 -eggMoveBg.width / 2, 0, "???", TextStyle.PARTY);
eggMoveLabel.setOrigin(0.5, 0);
eggMoveLabel.setZ(3);
this.pokemonEggMoveBgs.push(eggMoveBg);
this.pokemonEggMoveLabels.push(eggMoveLabel);