mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 22:39:31 +02:00
Compare commits
1 Commits
500f9a9939
...
41f6517797
Author | SHA1 | Date | |
---|---|---|---|
|
41f6517797 |
@ -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() }),
|
||||||
|
@ -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,
|
||||||
|
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user