Fix UI layering issue with evolution screen

pull/1/head
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 - Moves
- Move logic - Move logic
- Can't use when PP consumed - Can't use when PP consumed
- Multi hit moves should still show 1 time(s) when hitting once
- Abilities - Abilities
- Ability logic - Ability logic
- Ability activation indicator (?) - Ability activation indicator (?)

View File

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