I am encountering an error that I cannot seem to fix well when exiting a map while being pursued by an event. This is not a bug, I think, just the script was not intended to do this.
[Pok?mon Essentials version 17.2]
Exception: TypeError
Message: no implicit conversion from nil to integer...