mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 02:32:21 +02:00
Experimental sparkle fix
This commit is contained in:
parent
b16754e631
commit
820d51bba0
@ -27,7 +27,7 @@ export default class PokemonSpriteSparkleHandler {
|
||||
if (!s.visible || (s.parentContainer instanceof Pokemon && !s.parentContainer.parentContainer)) {
|
||||
continue;
|
||||
}
|
||||
if (s.parentContainer instanceof Pokemon && !(s.parentContainer as Pokemon).isTerastallized) {
|
||||
if (!(s.parentContainer instanceof Pokemon) || !(s.parentContainer as Pokemon).isTerastallized) {
|
||||
continue;
|
||||
}
|
||||
const pokemon = s.parentContainer instanceof Pokemon ? s.parentContainer as Pokemon : null;
|
||||
|
Loading…
Reference in New Issue
Block a user