Compare commits

..

1 Commits

Author SHA1 Message Date
Amani H.
41f6517797
Merge 023fe62eea into 23271901cf 2025-08-13 21:12:03 -04:00
3 changed files with 8 additions and 5 deletions

View File

@ -813,7 +813,7 @@ export async function catchPokemon(
} else if (addStatus.value) { } else if (addStatus.value) {
catchMessage = "battle:pokemonCaught"; catchMessage = "battle:pokemonCaught";
} else { } else {
catchMessage = "battle:pokemonCaughtButChallenge"; catchMessage = "battle:pokemonCaughtChallenge";
} }
globalScene.ui.showText( globalScene.ui.showText(
i18next.t(catchMessage, { pokemonName: pokemon.getNameToRender() }), i18next.t(catchMessage, { pokemonName: pokemon.getNameToRender() }),

View File

@ -257,7 +257,7 @@ export class AttemptCapturePhase extends PokemonPhase {
applyChallenges(ChallengeType.POKEMON_ADD_TO_PARTY, pokemon, addStatus); applyChallenges(ChallengeType.POKEMON_ADD_TO_PARTY, pokemon, addStatus);
globalScene.ui.showText( globalScene.ui.showText(
i18next.t(addStatus.value ? "battle:pokemonCaught" : "battle:pokemonCaughtButChallenge", { i18next.t(addStatus.value ? "battle:pokemonCaught" : "battle:pokemonCaughtChallenge", {
pokemonName: getPokemonNameWithAffix(pokemon), pokemonName: getPokemonNameWithAffix(pokemon),
}), }),
null, null,

View File

@ -594,9 +594,13 @@ class SessionSlot extends Phaser.GameObjects.Container {
TextStyle.PARTY, TextStyle.PARTY,
{ fontSize: "54px", color: "#f8f8f8" }, { fontSize: "54px", color: "#f8f8f8" },
); );
text.setShadow(0, 0, undefined).setStroke("#424242", 14).setOrigin(1, 0); text.setShadow(0, 0, undefined);
text.setStroke("#424242", 14);
text.setOrigin(1, 0);
iconContainer.add(icon);
iconContainer.add(text);
iconContainer.add([icon, text]);
pokemonIconsContainer.add(iconContainer); pokemonIconsContainer.add(iconContainer);
pokemon.destroy(); pokemon.destroy();
@ -641,7 +645,6 @@ class SessionSlot extends Phaser.GameObjects.Container {
return; return;
} }
this.saveData = sessionData; this.saveData = sessionData;
this.setupWithData(sessionData);
resolve(true); resolve(true);
}) })
.catch(e => { .catch(e => {