[Localization] Update menu.ts with "attackFailed" translation (#2547)

* Update menu.ts with new translation and choosePokemon option

* revert ptbr

* fix

* minor fix
This commit is contained in:
José Ricardo Fleury Oliveira 2024-06-23 21:38:17 -03:00 committed by GitHub
parent b5ffb9aae3
commit fd7e547750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3991,7 +3991,7 @@ export class CurseAttr extends MoveEffectAttr {
apply(user: Pokemon, target: Pokemon, move:Move, args: any[]): boolean {
if (user.getTypes(true).includes(Type.GHOST)) {
if (target.getTag(BattlerTagType.CURSED)) {
user.scene.queueMessage("But it failed!");
user.scene.queueMessage(i18next.t("battle:attackFailed"));
return false;
}
const curseRecoilDamage = Math.max(1, Math.floor(user.getMaxHp() / 2));
@ -4448,7 +4448,7 @@ export class RevivalBlessingAttr extends MoveEffectAttr {
}
resolve(true);
} else {
user.scene.queueMessage("But it failed!");
user.scene.queueMessage(i18next.t("battle:attackFailed"));
resolve(false);
}
});