You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
623 views
in Bug by (530 points)
edited by

If you put wild battle in a middle of the event, the event doesn't play out properly. 

As shown in the image above. I put the conditional branch of different event outcomes whether the player wins or loses. However, the event will just stop playing altogether right after the battle ends instead of going either to the outcome of whether you won or lost. That's because the events went through the whole event before the battle was even over. 

Here's a video demonstrating what I mean. 

https://youtu.be/Yab5XHEdtV0 (the event just immediately ends after the wild battle).

2 Answers

0 like 0 dislike
by (17.1k points)
$wild_battle.start_battle shouldn't be used in this context. You should prefer the Interpreter command call_battle_wild over it. Here's this method documentation : https://psdk.pokemonworkshop.com/yard/Interpreter.html#call_battle_wild-instance_method
0 like 0 dislike
by (28.0k points)
If you add @wait_count = 2 right after the $wild_battle.start_battle command does it continue to play the event?
by (530 points)
yeah, it does.
by (28.0k points)
If it is fixed don't hesitate to mark the answer as best answer.
...