Workaround for broken screenshot-taking code due to latest mkxp-z

This commit is contained in:
Maruno17
2022-01-03 19:55:54 +00:00
parent 6d23d0101a
commit f623fad42e

View File

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