Fix a crash happening when encountering a wild Pokémon with an allied trainer
MR Description
- This MR fixes a typo in the script responsible of turning wild encounters into a double battle when an allied trainer is specified
Before testing
- Have an event change the value of the variable 36 to the ID of a trainer in Studio (or change it using the command
$game_variables[36] = X
directly in the console)
Tests to realize
-
Head to a zone with encounters and have the game launch a wild battle: the game shouldn't crash and you should have a double battle with an ally
Sources related to this MR
Edited by Aerun