• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Essentials Tutorial] Quicksave Script

971
Posts
7
Years
    • Age 21
    • 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.
    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:
    971
    Posts
    7
    Years
    • Age 21
    • Seen Nov 28, 2022
    Change Input.trigger?(Input::F8) to Input.triggerex?(0x51).
     
    285
    Posts
    5
    Years
    • Seen Oct 1, 2023
    When I press the quicksave button and enter a battle right afterwards (I assume this can also be triggered through other means), the quicksave icon stays on the screen and stays faded away as much as it got to before the battle starts (so it doesn't disappear in this situation). Do you know of a way to either have the animation finish executing in these situations, have the icon disappear, or even prevent the player from moving when the icon is on the screen (though I guess this would still allow the problem to happen when approached by a trainer)?
     
    Back
    Top