I had never thought of that Jimmy!
I changed it to
if ((yz mod 512) <= 0) then begin inc(yz); writeln('Error #001 caught'); end;
and suddenly partway through I found that being written to my console, went up the the top left corner of the map and there were goblins outside the map! I just need to make it so they'll auto-delete if they try going outside the map, and that should fix the crash!
Thank you so much Jimmy, you've saved the entry from random crashing
EDIT: Nope, seems there are other issues too. But that was one of them. :///
Double Edit: I seem to have trapped all the crashes now and stopped them from happening, so if it does crash when it's entered, I'll be pretty annoyed, heh
Bookmarks