Alright but I dont know where to put this code. I've pasted it in just about every line on this script and the wait command isnt being processed. Should this go inside one of the interpreters or on the script itself?
UPDATE
Actually, after doing some testing, I've decided to just remove "$game_temp.gameover = $game_party.all_dead?" from Interpreter 6, thereby removing the automatic gameover screen, and instead use a common event to force gameover after 20 frames if the party is dead.
Thanks guys