- 15
- Posts
- 291
- Days
- Seen Apr 21, 2025
For some reason during one of my play tests against a wild Beautifly with its new signature Z-move, when the battle ended, whether the Beautifly was defeated or captured and either put in the Party or PC, the game would randomly give me this error that crashes the game.
![[PokeCommunity.com] Issue with Wild Z-Battles Won [PokeCommunity.com] Issue with Wild Z-Battles Won](https://data.pokecommunity.com/attachments/81/81988-a1a8236e3f3f0404d52844e9a2bd7b02.jpg)
I have no idea what started it as I've had play tests where I captured it and it did not show up and I did not change a thing about the script the compiler is yelling at me about so I do not know what to do. This is the line of code I believe it's yelling at me at. What should I do?
![[PokeCommunity.com] Issue with Wild Z-Battles Won [PokeCommunity.com] Issue with Wild Z-Battles Won](https://data.pokecommunity.com/attachments/81/81989-ff66ff01d41ea76c8bc0079e6de72b7e.jpg)
![[PokeCommunity.com] Issue with Wild Z-Battles Won [PokeCommunity.com] Issue with Wild Z-Battles Won](https://data.pokecommunity.com/attachments/81/81988-a1a8236e3f3f0404d52844e9a2bd7b02.jpg)
I have no idea what started it as I've had play tests where I captured it and it did not show up and I did not change a thing about the script the compiler is yelling at me about so I do not know what to do. This is the line of code I believe it's yelling at me at. What should I do?
![[PokeCommunity.com] Issue with Wild Z-Battles Won [PokeCommunity.com] Issue with Wild Z-Battles Won](https://data.pokecommunity.com/attachments/81/81989-ff66ff01d41ea76c8bc0079e6de72b7e.jpg)