Fix UI layering issue with evolution screen

This commit is contained in:
Flashfyre committed 2023-04-11 00:56:05 -04:00
1 parent 8e6e1fd233
commit 525cf41b5e
2 files changed
+2 -1

No files matched your search

+1
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 (?)
+1 -1
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);