• 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!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Transferring Data?

  • 13
    Posts
    13
    Years
    • Seen Oct 24, 2022
    So I was planning to make a sequel to my game, but i don't know how to transfer save data such as pokemon stats to the other game. Also, if my first game was made so that your choices affect the story, would it be possible to change the second story based on switches in the first game? I know it's asking a lot but this is really important. Thanks in advance!

    Looking for music composers and spriters. PM me if you're interested!
     
    Yes it is possible, you would need to look in pokemon load script to check data marshall, so if you made definition of load game files data use AddPokemon(trainer.party[0].species,trainer.party[0].level) for switches it woudl work the same way probably i dont test it remeber to put it without $
     
    Certain knowledge of scripting is needed to do this advanced feature.
    Look at 'def pbStartLoadScreen' in PokemonLoad. You can put the main save data with other name and load the old one with the previous name, just load the data in other global variables line changing a '$game_switches=Marshal.load(f)' to '$game_switches2=Marshal.load(f)'.
    To block the player for renaming the old save for the new save you can put a switch check in screen to block it, but the best way is to put a new object in save/load method, so if the old save try to load as the new one, the game isn't load right, so it closes.
     
    Wow! Thanks! And thanks for the quick reply! I haven't tested this yet but i'm hopeful again!
     
    Back
    Top