- 971
- Posts
- 8
- Years
- Age 22
- Seen Nov 28, 2022
Saving in Pok?mon Essentials itself is almost instant, but the text that precedes it and that what comes after it is what makes saving take longer.
This script will automatically save the game if you hit a specific button, F8 by default.
Inside the script section "Scene_Map", find "def update" by doing Ctrl + F.
Then, inside that "def update", look for "updateSpritesets". Right underneath, paste this.
You'll also need to put these two graphics in your "Graphics/Pictures" folder.
Credits:
This script will automatically save the game if you hit a specific button, F8 by default.
Inside the script section "Scene_Map", find "def update" by doing Ctrl + F.
Then, inside that "def update", look for "updateSpritesets". Right underneath, paste this.
Code:
if Input.trigger?(Input::F8) && !$game_player.moving? && @mode.nil?
pbSave
@mode = 0
@vp = Viewport.new(0,0,Graphics.width,Graphics.height)
@vp.z = 100000
@disk = Sprite.new(@vp)
@disk.bitmap = BitmapCache.load_bitmap("Graphics/Pictures/saveDisk")
@disk.x, @disk.y = 8, 8
@disk.opacity = 0
@arrow = Sprite.new(@vp)
@arrow.bitmap = BitmapCache.load_bitmap("Graphics/Pictures/saveArrow")
@arrow.x, @arrow.y = 8, -4
@arrow.opacity = 0
end
if @mode == 0
@disk.opacity += 16
@mode = 1 if @disk.opacity >= 255
end
if @mode == 1
@arrow.opacity += 16
@mode = 2 if @arrow.opacity >= 255
end
if @mode == 2
@arrow.y += 1
@mode = 3 if @arrow.y >= 22
end
if @mode == 3
@arrow.opacity -= 16
@disk.opacity -= 16
if @disk.opacity <= 0
@arrow.dispose
@disk.dispose
@vp.dispose
@mode = nil
end
end
You'll also need to put these two graphics in your "Graphics/Pictures" folder.
Credits:
- Marin
- KaysCollapse for the sprites
Last edited: