Battle system ambush bug

Hello, so I'm using this script for the battle system of my game:

And this addon made by a user here:

and I've encountered a bug: when enemies embush the party, it freezes after saying it. there is still music playing and all, the battle just doesnt start after it says that the enemy has ambushed the party. Could someone tell me what is the problem here and how to solve it please ?
For whatever reason the issue is with @A-Moonless-Night 's script.
Line 315 def start_party_command_selection
Commenting that entire method out makes it work.
Its actually line 319, for whatever reason, checking that function a second time in the method locks it up.
You can just comment out lines 319 & 322.
For whatever reason the issue is with @A-Moonless-Night 's script.
Line 315 def start_party_command_selection
Commenting that entire method out makes it work.
Its actually line 319, for whatever reason, checking that function a second time in the method locks it up.
You can just comment out lines 319 & 322.
Hi, thanks for your reply but I'm not sure to actually understand. Thats how lines 319 and 322 looks like:
not sure.png

are these what I'm supposed to comment out ?
Thank you for your help !
@Red_Comet @Roninator2
Actually there are three versions of the same script posted in that topic.
You should state which version each of you checked because that might be the cause of the confusion.
@Red_Comet in your case it's 316 & 319
@Andar True I had pulled from my saved scripts which was the 10 Dec one.
@Red_Comet in your case it's 316 & 319
@Andar True I had pulled from my saved scripts which was the 10 Dec one.
It works, thank you very much !
Moved to: RGSSx Script Support

Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/battle-system-ambush-bug.141456/