Game Freezing on ultra complicated AI

Me and my friend have been working for a while now on a boss battle for a game, and instead of using random moveset, weve made a specific AI. For some reason we and our beta testers are experiencing a problem of the game permanently freezing late into the battle, tho some say it happens a lot. The only solutions we could think of were to search for extra labels causing an actionless moment to repeat as the music still plays. The other thought was that the AI was too complicated to handle, does anyone know a fix for this? The file is down below.

Phantom Refurbs(1).rar
I was going to take a look for you, but none of your files will open. Am I supposed to put them some where specific or open them a certain way?
Is the battle on the map or in the default battle system?


If it's on the map, look for events (including common events) that are set to autorun - even ones that have no commands in them. Also look for events that contain loops that you don't allow to end correctly.


I can't open your file either.
Extract the files, and the actual battle is in a troop, the bottom most troop which had data in it.

EDIT: By extract your supposed to put them in a new project
Ya, that didn't work very well unless I'm doing something wrong. Your skill show up in the database as do your Enemy names, but barely any of your troops graphics show up (just double checked, you didn't include the whole Data file, which accounts for the missing Actors). But this does not explain why your maps aren't loading. The file doesn't find the character "Freddy".

Have you tried cutting out the boss battle and placing it in a brand new game so you only have to test the boss battle? Are you able to post screen shots of what you think the problem may be?

Original thread: https://forums.rpgmakerweb.com/threads/game-freezing-on-ultra-complicated-ai.42981/