v21.1 Strange crash occouring after beating a trainer

This thread pertains to v21.1 of Pokémon Essentials.

Darkonius Mavakar

Novice
Member
Joined
Aug 21, 2023
Posts
10
Age
25
I was doing yet another test runthrough of the game to see if everything flowed well, and strangely after beating a trainer, the game crashed, giving me this error:

immagine_2023-11-18_204315426.png


Upon testing again and getting to the same spot, the battle did NOT crash.

However, the time it did crash, one of my pokémon leveled up, and by the looks of the error, leveling up seems to be the problem?
yet, in an earlier trainer battle i also leveled up and won, yet i didn't crash, so i'm a little stumped.

this is the PBS trainer script associated with this trainer:
immagine_2023-11-18_204522845.png


And this is the Event to trigger the battle:

immagine_2023-11-18_204555776.png
immagine_2023-11-18_204617414.png


Pages 1 and 2, respectively.

If anyone knows what could be the issue, lemme know!
I'll keep trying to research the issue...
 

Cherry202

Novice
Member
Joined
Nov 14, 2023
Posts
13
Age
16
I was doing yet another test runthrough of the game to see if everything flowed well, and strangely after beating a trainer, the game crashed, giving me this error:

View attachment 22700

Upon testing again and getting to the same spot, the battle did NOT crash.

However, the time it did crash, one of my pokémon leveled up, and by the looks of the error, leveling up seems to be the problem?
yet, in an earlier trainer battle i also leveled up and won, yet i didn't crash, so i'm a little stumped.

this is the PBS trainer script associated with this trainer:
View attachment 22701

And this is the Event to trigger the battle:

View attachment 22702View attachment 22703

Pages 1 and 2, respectively.

If anyone knows what could be the issue, lemme know!
I'll keep trying to research the issue...
Well i definitly wont be able to help with the error totally, but evolution seems to be involved ? It casts an error specifically on the evolution check so... (if it can help)
 

Vendily

Elite Trainer
Member
do you remember what mon you had in the battle that crashed? its evolution method appears to be malformed, trying to compare its level with a string (as opposed to the level it's supposed to evolve at)
I'm not sure how you managed that, but perhaps try a full recompile, to see if that corrects the bad evolution data it has.
 
Top