Updated to mkxp-z 2.1.2, added def inspect to some classes

This commit is contained in:
Maruno17
2021-05-02 00:58:25 +01:00
parent 7877f75f99
commit 8e6ee21c20
8 changed files with 23 additions and 113 deletions

View File

@@ -20,6 +20,12 @@ class Interpreter
clear
end
def inspect
str = self.to_s.chop
str << format(' event ID: %d>', @event_id)
return str
end
def clear
@map_id = 0 # map ID when starting up
@event_id = 0 # event ID