mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-10 00:29:29 +02:00
Have English Status Symbols show up again :)
This commit is contained in:
parent
3ed2c74f38
commit
a27bd1f098
@ -162,7 +162,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
|
||||
this.splicedIcon.setInteractive(new Phaser.Geom.Rectangle(0, 0, 12, 15), Phaser.Geom.Rectangle.Contains);
|
||||
this.add(this.splicedIcon);
|
||||
|
||||
this.statusIndicator = this.scene.add.sprite(0, 0, `statuses_${i18next.resolvedLanguage}`);
|
||||
this.statusIndicator = this.scene.add.sprite(0, 0, `statuses${Utils.verifyLang(i18next.language) ? `_${i18next.language}` : ""}`);
|
||||
this.statusIndicator.setName("icon_status");
|
||||
this.statusIndicator.setVisible(false);
|
||||
this.statusIndicator.setOrigin(0, 0);
|
||||
|
@ -1272,7 +1272,7 @@ class PartySlot extends Phaser.GameObjects.Container {
|
||||
}
|
||||
|
||||
if (this.pokemon.status) {
|
||||
const statusIndicator = this.scene.add.sprite(0, 0, `statuses_${i18next.resolvedLanguage}`);
|
||||
const statusIndicator = this.scene.add.sprite(0, 0, `statuses${Utils.verifyLang(i18next.language) ? `_${i18next.language}` : ""}`);
|
||||
statusIndicator.setFrame(StatusEffect[this.pokemon.status?.effect].toLowerCase());
|
||||
statusIndicator.setOrigin(0, 0);
|
||||
statusIndicator.setPositionRelative(slotLevelLabel, this.slotIndex >= battlerCount ? 43 : 55, 0);
|
||||
|
@ -214,7 +214,7 @@ export default class SummaryUiHandler extends UiHandler {
|
||||
|
||||
this.statusContainer.add(statusLabel);
|
||||
|
||||
this.status = this.scene.add.sprite(91, 4, `statuses_${i18next.resolvedLanguage}`);
|
||||
this.status = this.scene.add.sprite(91, 4, `statuses${Utils.verifyLang(i18next.language) ? `_${i18next.language}` : ""}`);
|
||||
this.status.setOrigin(0.5, 0);
|
||||
|
||||
this.statusContainer.add(this.status);
|
||||
|
Loading…
Reference in New Issue
Block a user