• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • 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
    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.
    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:
    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