v18 Error on wild battle finish

This thread pertains to v18 of Pokémon Essentials.

Zygoat

Trainer
Member
Joined
Dec 21, 2020
Posts
74
Age
22
I get the following error at the end of any wild battle. The game doesn't crash, it just displays this and my Pokémon doesn't get any exp and the wild battle victory theme doesn't play. I've gone multiple times and copied over the vanilla version of the PokeBattle_Scene script because I knew I hadn't modified it, but the error still happens. It was working fine until recently.
Capture.PNG

If I add a def for that variable, it stops the error from coming up and allows exp to work properly, but the music doesn't work as it should.
 
Last edited:
Top