I was trying to find the game over field and kept throwing exceptions so I added a try catch debug.writeline that will put the exception into the debugger output and then it changes the mode to disabled so it stops trying to run scripts or drawing anything.
Also changed the way we read s_jsm or s_sy so it wouldn't throw exceptions it'd just return an empty string and then I check for the empty string and set the mode to disabled if it's there.
I was trying to find the game over field and kept throwing exceptions so I added a try catch debug.writeline that will put the exception into the debugger output and then it changes the mode to disabled so it stops trying to run scripts or drawing anything.
Also changed the way we read s_jsm or s_sy so it wouldn't throw exceptions it'd just return an empty string and then I check for the empty string and set the mode to disabled if it's there.