mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
Update battle-flyout.ts
This commit is contained in:
parent
b4f435a86e
commit
98d5dd85e3
@ -134,6 +134,10 @@ export default class BattleFlyout extends Phaser.GameObjects.Container {
|
|||||||
|
|
||||||
if (!moveInfo) {
|
if (!moveInfo) {
|
||||||
const mv = this.pokemon.getMoveset()[i]
|
const mv = this.pokemon.getMoveset()[i]
|
||||||
|
if (mv == undefined) {
|
||||||
|
flyoutText.text = ""
|
||||||
|
continue;
|
||||||
|
}
|
||||||
flyoutText.text = `${highlight == i ? ">> " : ""}${mv.getName()}${highlight == i ? " <<" : ""}`;
|
flyoutText.text = `${highlight == i ? ">> " : ""}${mv.getName()}${highlight == i ? " <<" : ""}`;
|
||||||
flyoutText.text = `${highlight == i ? ">> " : ""}???${highlight == i ? " <<" : ""}`;
|
flyoutText.text = `${highlight == i ? ">> " : ""}???${highlight == i ? " <<" : ""}`;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user