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) {
catchMessage = "battle:pokemonCaught";
} else {
catchMessage = "battle:pokemonCaughtButChallenge";
catchMessage = "battle:pokemonCaughtChallenge";
}
globalScene.ui.showText(
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);
globalScene.ui.showText(
i18next.t(addStatus.value ? "battle:pokemonCaught" : "battle:pokemonCaughtButChallenge", {
i18next.t(addStatus.value ? "battle:pokemonCaught" : "battle:pokemonCaughtChallenge", {
pokemonName: getPokemonNameWithAffix(pokemon),
}),
null,

View File

@ -594,9 +594,13 @@ class SessionSlot extends Phaser.GameObjects.Container {
TextStyle.PARTY,
{ 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);
pokemon.destroy();
@ -641,7 +645,6 @@ class SessionSlot extends Phaser.GameObjects.Container {
return;
}
this.saveData = sessionData;
this.setupWithData(sessionData);
resolve(true);
})
.catch(e => {