- 226
- Posts
- 8
- Years
- Age 32
- Seen Jul 19, 2023
I was interested in checking the player's party for a shadow Pokemon and I thought I could use this:
However the last line will not work. Does anyone know how to write it properly?
Also, I check each Pokemon one by one, but if an easier way of doing things exists (scanning the whole party for a shadow Pokemon in a single command), it would be cleaner.
I guess it would work in a similar way for shinies.
Thanks in advance!
Conditional Branch: Script: pbCheckAble($Trainer.party[0])
Script: poke=$Trainer.pokemonParty[0]
Script: poke.isShadow?
...
However the last line will not work. Does anyone know how to write it properly?
Also, I check each Pokemon one by one, but if an easier way of doing things exists (scanning the whole party for a shadow Pokemon in a single command), it would be cleaner.
I guess it would work in a similar way for shinies.
Thanks in advance!