• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Scripting Question] How can I add an autosave right after the Intro, so that I can playtest the game with the chosen player being in his house?

  • 4
    Posts
    4
    Years
    • Seen Oct 5, 2021
    Hello. First of all, I'm using v.18.1 and my question is not so easy to explain, but I'll try.
    So, I want to add an autosave script inside the Intro event, right after the Intro, at the same time as the player is being transferred to his house.
    So I technically could playtest the game with the chosen character being in his house, and so I could make an autorun event inside the house and add
    some Texts and some Set move Routes to the autorun event and then playtest with the character being there and see if what I did works.

    I hope I could explain it well, and I hope you understood my question, I also hope somebody could help me with this.
    Any help would be appreciated and those who help me will get credited in the Scene_Credits of my game project.
    Thank you in advance. Regards

    Leondrea
     
    Last edited:
    Hello and welcome to PokéCommunity :)
    The function you're looking for is pbSave. Beware that you should put that script after transfering the player, and after any other script call, any switch/variable changes.

    Any help would be appreciated and those who help me will get credited in the Scene_Credits of my game project.
    You don't need to do that, otherwise you'll credit everyone on this forum lol
     
    What StCooler said should work, however, there is an even easier method, without needing any scripts. Simply go to the Intro map (literally the first map in the editor, with map ID 001) and look at the two events there. Go to the top left event, and in the bottom left of the event page, change its trigger from "Autorun" to "Action Button". Then, go to the bottom left event, and change its trigger from "Action Button" to "Autorun". What you're doing here is disabling the standard intro sequence and enabling the "debug" intro sequence - it will just quickly and silently set up the character, then immediately transfer the player to the house. That way, every time you press "New Game" in the starting menu, you immediately go to the house, without needing any sort of save file.
     
    Thanks to both of you, you helped me a lot! I tried both and it works!
    But I prefer to use NettoHikari's method.
     
    Back
    Top