Fix UI layering issue with evolution screen

This commit is contained in:
Flashfyre 2023-04-11 00:56:05 -04:00
parent 8e6e1fd233
commit 525cf41b5e
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
- Moves
- Move logic
- Can't use when PP consumed
- Multi hit moves should still show 1 time(s) when hitting once
- Abilities
- Ability logic
- Ability activation indicator (?)

View File

@ -118,7 +118,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
this.calculateStats();
(scene as BattleScene).fieldUI.add(this.battleInfo);
(scene as BattleScene).fieldUI.addAt(this.battleInfo, 0);
this.battleInfo.initInfo(this);