Add ability bar UI
This commit is contained in:
1 parent
c614295b5e
commit
18679241e9
7 files changed
+116
-13
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user