Fix namebox not updating with theme

Fix namebox not updating with theme; ban certain species from being used by trainers
This commit is contained in:
Flashfyre committed 2024-04-04 18:00:21 -04:00
1 parent 3e99ed6bb6
commit 4f0b1fdcfb
4 files changed
+13 -5

No files matched your search

+1
View File
@@ -878,6 +878,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
&& !species.pseudoLegendary
&& !species.legendary
&& !species.mythical
&& !species.isTrainerForbidden()
&& species.speciesId !== this.species.speciesId
};