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:
1 parent
3e99ed6bb6
commit
4f0b1fdcfb
4 files changed
+13
-5
No files matched your search
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user