The parallel event is at odd with Battle Processing

When both Community_Basic and MadeWithMV plugins are on, TypeError happens when the player tried to enter Battle Processing.
Remember, I use a parallel event to set the movement routes for the player. Here is a simple parallel event.


Paralle Event.PNG


Bat.PNG


Dark Screen.PNG

Nice try on the other plugins might be conflict because it is no other plugin.
Plugin Manager.PNG

Anyhow, a simple fix: I found a solution either I turn off Community_Basic, MadeWithMV, or both to make the RPG Maker MV Battle Processing Function.:|

Code Screen.PNG

@Oddball, thanks, the problem is the conditional breach undefined when I did use the random number variable. It works now lol.

I found the problem when I create a deployment of the game and someone uploaded of the rar file. When, I test and another people upload and extract of the game folder files. Next, I and another person try to play the game. The game will give a error when a parallel event and a battle progressing without a dialogues or wait before the battle processing.
I concluded that the parallel and the battle processing without a dialogue or wait event command. It will create a collision. Is anyone encountered this before?
It might help to also post your event, so people can fully see the problem

Edit: You have the dice roll from 0 to 6. What happens if it's 0? You didn't specify that
@Oddball, that might be the problem. You are right if the conditional breach is not defined there will be an error. Thank you. 🙏
@Oddball, first I thought it was the script, but it is just an event missing problem.
Hey my scripting knowlage may be piss poor. but i'm at least decent with events (though not an expert)
Thread closed aAt OP's request, as he found the problem.

I'm reopening this thread because OP said the solution was inadequate.

@MushroomCake28, thank you, I didn't know it either before someone reported the problem to me. I thought it is just a small problem at first and fix by create a missing event condition.
That is showing TypeError like the one on top.
And the headaches of troubleshooting and uploading the files in the website lol.:LZSyum:
Is anyone encountered this problem? I know when the plugin conflict the screen show this too.

Original thread: https://forums.rpgmakerweb.com/threads/the-parallel-event-is-at-odd-with-battle-processing.124560/