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

@@ -591,9 +591,7 @@ end
def pbScreenCapture
t = pbGetTimeNow
filestart = t.strftime("[%Y-%m-%d] %H_%M_%S.%L")
# capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
# Graphics.snap_to_bitmap.save_to_png(capturefile)
capturefile = RTP.getSaveFileName(sprintf("%s.bmp", filestart))
capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
Graphics.screenshot(capturefile)
pbSEPlay("Pkmn exp full") if FileTest.audio_exist?("Audio/SE/Pkmn exp full")
end