- 8
- Posts
- 7
- Years
- Seen Jun 19, 2018
I keep getting this error while using Infestation. It doesn't make the game crash but it makes the user skips a turn. It also only affect Infestation as similar moves such Fire Spin and Clamp work just fine.
I'm unsure whether it's because I'm using wrong function code in PBS or the script, but here's the move in PBS:
![[PokeCommunity.com] Getting error while using trapping move [PokeCommunity.com] Getting error while using trapping move](https://i.imgur.com/20DqA2l.png)
I'm unsure whether it's because I'm using wrong function code in PBS or the script, but here's the move in PBS:
Code:
583,INFESTATION,Infestation,0CF,20,BUG,Special,100,20,0,01,0,abef,"The target is infested and attacked for four to five turns. The target can't flee during this time."