Compare commits

..

5 Commits

Author SHA1 Message Date
Amani H.
500f9a9939
Merge 220a9d7a49 into 076ef81691 2025-08-14 02:57:05 +00:00
damocleas
220a9d7a49
Update attempt-capture-phase.ts 2025-08-13 22:57:02 -04:00
damocleas
52140bfac6
Update encounter-pokemon-utils.ts 2025-08-13 22:56:42 -04:00
xsn34kzx
674a9b2a18 Merge beta 2025-08-13 22:44:28 -04:00
Sirz Benjie
076ef81691
[Bug] [UI/UX] [Beta] Fix icons not showing in save slot selection (#6262)
Fix icons not showing in save slot selection
2025-08-13 20:49:46 -05:00
3 changed files with 5 additions and 8 deletions

View File

@ -813,7 +813,7 @@ export async function catchPokemon(
} else if (addStatus.value) {
catchMessage = "battle:pokemonCaught";
} else {
catchMessage = "battle:pokemonCaughtChallenge";
catchMessage = "battle:pokemonCaughtButChallenge";
}
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:pokemonCaughtChallenge", {
i18next.t(addStatus.value ? "battle:pokemonCaught" : "battle:pokemonCaughtButChallenge", {
pokemonName: getPokemonNameWithAffix(pokemon),
}),
null,

View File

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