mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 00:36:25 +00:00
Correctly capitalize Mega Evolved (#1527)
This commit is contained in:
parent
92db0db2b7
commit
53200b2112
@ -321,7 +321,7 @@ export function getSpeciesFormChangeMessage(pokemon: Pokemon, formChange: Specie
|
|||||||
const isRevert = !isMega && formChange.formKey === pokemon.species.forms[0].formKey;
|
const isRevert = !isMega && formChange.formKey === pokemon.species.forms[0].formKey;
|
||||||
const prefix = !pokemon.isPlayer() ? pokemon.hasTrainer() ? "Foe " : "Wild " : "Your ";
|
const prefix = !pokemon.isPlayer() ? pokemon.hasTrainer() ? "Foe " : "Wild " : "Your ";
|
||||||
if (isMega) {
|
if (isMega) {
|
||||||
return `${prefix}${preName} mega-evolved\ninto ${pokemon.name}!`;
|
return `${prefix}${preName} Mega Evolved\ninto ${pokemon.name}!`;
|
||||||
}
|
}
|
||||||
if (isGmax) {
|
if (isGmax) {
|
||||||
return `${prefix}${preName} Gigantamaxed\ninto ${pokemon.name}!`;
|
return `${prefix}${preName} Gigantamaxed\ninto ${pokemon.name}!`;
|
||||||
|
Loading…
Reference in New Issue
Block a user