Add ability bar UI

This commit is contained in:
Flashfyre committed 2023-04-27 01:14:15 -04:00
1 parent c614295b5e
commit 18679241e9
7 files changed
+116 -13

No files matched your search

+7
View File
@@ -1283,6 +1283,13 @@ export class MessagePhase extends BattlePhase {
this.scene.ui.showText(this.text, null, () => this.end(), this.callbackDelay || (this.prompt ? 0 : 1500), this.prompt);
}
end() {
if (this.scene.abilityBar.shown)
this.scene.abilityBar.hide();
super.end();
}
}
export class DamagePhase extends PokemonPhase {