MaKiPL / OpenVIII-monogame

Open source Final Fantasy VIII engine implementation in C# working on Windows and Linux (Android and iOS planned too!) [Monogame]
MIT License
637 stars 58 forks source link

Small update to module_field_debug #117

Closed Sebanisu closed 5 years ago

Sebanisu commented 5 years ago

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.