mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Changed functionality of running key, added compatibility with old Mystery Gifts
This commit is contained in:
@@ -10,8 +10,10 @@ def pbScreenCapture
|
||||
t = pbGetTimeNow
|
||||
filestart = t.strftime("[%Y-%m-%d] %H_%M_%S")
|
||||
filestart = sprintf("%s.%03d", filestart, (t.to_f - t.to_i) * 1000) # milliseconds
|
||||
capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
|
||||
Graphics.snap_to_bitmap.save_to_png(capturefile)
|
||||
# capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
|
||||
# Graphics.snap_to_bitmap.save_to_png(capturefile)
|
||||
capturefile = RTP.getSaveFileName(sprintf("%s.bmp", filestart))
|
||||
Graphics.screenshot(capturefile)
|
||||
pbSEPlay("Pkmn exp full") if FileTest.audio_exist?("Audio/SE/Pkmn exp full")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user