The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Multiple save files 2.2

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Reply
 
Thread Tools
  #1    
Old April 12th, 2014 (6:16 AM). Edited September 27th, 2015 by mej71.
mej71's Avatar
mej71 mej71 is offline
     
    Join Date: Mar 2014
    Location: Omnipresence
    Gender: Male
    Posts: 1,226
    Okay, completely revamped this. It looks a lot nicer and makes a lot more sense. Supports virtually unlimited save files (which is not recommended, but it can do a very large amount, albeit taking longer the more save files). Nice slidy menus. Can choose to load your regular save file, or autosave file if you have one (for use with my autosave function, won't effect performance or cause crashes if you don't have autosaves though, it just checks to see if you have them). When choosing these, the last modified date/time is displayed, so you can choose the newer one or whatever. In menu option to delete the currently loaded save file (have to confirm two serious confirms, so you shouldn't accidentally do it).

    Most importantly, when you choose a save file it reloads the Load menu with the chosen save file, so it shows the party and location, etc. That way you know which save file you're actually loading.

    Note, when looking for files, it will skip up to two before quitting. For example, if you have only Game_2 and Game_5 files, it will find both of them, but if you have Game_2 and Game_6, it will not look for Game_6. This can be changed, I just figured two was a decent amount and I had to pick something.

    Should work for v13+


    This script uses game_variables[99] to determine which slot it should save in in-game. So keep that variable open or change all the instances in these to whatever variable you want.
    Replace PokemonLoad with this (PScreen_Load in v15)
    PokemonLoad
    If using v13, replace line 309 here with
    Spoiler:
    Code:
    @sprites["player"]=IconSprite.new(64,64,@viewport)
          @sprites["player"].setBitmap("Graphics/Characters/"+filename)



    Replace PokemonSave with this (PScreen_Save in v15)
    PokemonSave

    Replace PokemonSystem with this (I only changed a few lines, but I'd rather not walk people through bugs and it's a short section)
    (PSystem_System in v15)
    PokemonSystem

    You need the attatched graphics, put them in your Pictures folder.

    When you start a new game, it finds the next available game slot for you. Also removed the begunNewGame part of PokemonSave, because it doesn't really make sense with this.

    Replace Main with this (I've highlighted the added code in red, if you've made changes
    Spoiler:

    Code:
    class Scene_DebugIntro
      def main
        Graphics.transition(0)
        if File.exists?("Data/LastSave.dat")
          lastsave=pbGetLastPlayed
          if lastsave[1].to_s=="true"
            if lastsave[0]==0 || lastsave[0]==1
              savefile=RTP.getSaveFileName("Game_autosave.rxdata")
            else  
              savefile = RTP.getSaveFileName("Game_#{lastsave[0]}_autosave.rxdata")
            end 
          elsif lastsave[0]==0 || lastsave[0]==1
            savefile=RTP.getSaveFileName("Game.rxdata")
          else
            savefile = RTP.getSaveFileName("Game_#{lastsave[0]}.rxdata")
          end
          lastsave[1]=nil if lastsave[1]!="true"
          if safeExists?(savefile)
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen(lastsave[0].to_i,lastsave[1],"Save File #{lastsave[0]}")
          else
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen
          end
        else
          sscene=PokemonLoadScene.new
          sscreen=PokemonLoad.new(sscene)
          sscreen.pbStartLoadScreen
        end
        Graphics.freeze
      end
    end
    
    
    
    def pbCallTitle #:nodoc:
      if $DEBUG
        return Scene_DebugIntro.new
      else
        # First parameter is an array of images in the Titles
        # directory without a file extension, to show before the
        # actual title screen.  Second parameter is the actual
        # title screen filename, also in Titles with no extension.
        return Scene_Intro.new(['intro1'], 'splash') 
      end
    end
    
    def mainFunction #:nodoc:
      if $DEBUG
        pbCriticalCode { mainFunctionDebug }
      else
        mainFunctionDebug
      end
      return 1
    end
    
    def mainFunctionDebug #:nodoc:
      begin
        getCurrentProcess=Win32API.new("kernel32.dll","GetCurrentProcess","","l")
        setPriorityClass=Win32API.new("kernel32.dll","SetPriorityClass",%w(l i),"")
        setPriorityClass.call(getCurrentProcess.call(),32768) # "Above normal" priority class
        $data_animations    = pbLoadRxData("Data/Animations")
        $data_tilesets      = pbLoadRxData("Data/Tilesets")
        $data_common_events = pbLoadRxData("Data/CommonEvents")
        $data_system        = pbLoadRxData("Data/System")
        $game_system        = Game_System.new
        setScreenBorderName("border") # Sets image file for the border
        Graphics.update
        Graphics.freeze
        $scene = pbCallTitle
        while $scene != nil
          $scene.main
        end
        Graphics.transition(20)
      rescue Hangup
        pbEmergencySave
        raise
      end
    end
    
    loop do
      retval=mainFunction
      if retval==0 # failed
        loop do
          Graphics.update
        end
      elsif retval==1 # ended successfully
        break
      end
    end


    And finally replace these two defs in Scene_Intro (closeSplash, and closeSplashDelete)
    Spoiler:

    Code:
      def closeSplash(scene,args)
        onCTrigger.clear
        onUpdate.clear
        # Play random cry
        cry=pbResolveAudioSE(pbCryFile(1+rand(PBSpecies.maxValue)))
        pbSEPlay(cry,100,100) if cry
        # Fade out
        @pic.moveOpacity(15,0,0)
        @pic2.moveOpacity(15,0,0)
        pbBGMStop(1.0)
        pictureWait
        scene.dispose # Close the scene
        Graphics.transition(0)
        if File.exists?("Data/LastSave.dat")
          lastsave=pbGetLastPlayed
          lastsave[0]=lastsave[0].to_i
          if lastsave[1].to_s=="true"
            if lastsave[0]==0 || lastsave[0]==1
              savefile=RTP.getSaveFileName("Game_autosave.rxdata")
            else  
              savefile = RTP.getSaveFileName("Game_#{lastsave[0]}_autosave.rxdata")
            end 
          elsif lastsave[0]==0 || lastsave[0]==1
            savefile=RTP.getSaveFileName("Game.rxdata")
          else
            savefile = RTP.getSaveFileName("Game_#{lastsave[0]}.rxdata")
          end
          lastsave[1]=nil if lastsave[1]!="true"
          if safeExists?(savefile)
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen(lastsave[0].to_i,lastsave[1],"Save File #{lastsave[0]}")
          else
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen
          end
        else
          sscene=PokemonLoadScene.new
          sscreen=PokemonLoad.new(sscene)
          sscreen.pbStartLoadScreen
        end
      end
    
      def closeSplashDelete(scene,args)
        onCTrigger.clear
        onUpdate.clear
        # Play random cry
        cry=pbResolveAudioSE(pbCryFile(1+rand(PBSpecies.maxValue)))
        pbSEPlay(cry,100,100) if cry
        # Fade out
        @pic.moveOpacity(15,0,0)
        @pic2.moveOpacity(15,0,0)
        pbBGMStop(1.0)
        pictureWait
        scene.dispose # Close the scene
        Graphics.transition(0)
        if File.exists?("Data/LastSave.dat")
          lastsave=pbGetLastPlayed
          lastsave[0]=lastsave[0].to_i
          if lastsave[1].to_s=="true"
            if lastsave[0]==0 || lastsave[0]==1
              savefile=RTP.getSaveFileName("Game_autosave.rxdata")
            else  
              savefile = RTP.getSaveFileName("Game_#{lastsave[0]}_autosave.rxdata")
            end 
          elsif lastsave[0]==0 || lastsave[0]==1
            savefile=RTP.getSaveFileName("Game.rxdata")
          else
            savefile = RTP.getSaveFileName("Game_#{lastsave[0]}.rxdata")
          end
          lastsave[1]=nil if lastsave[1]!="true"
          if safeExists?(savefile)
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen(lastsave[0].to_i,lastsave[1],"Save File #{lastsave[0]}")
          else
            sscene=PokemonLoadScene.new
            sscreen=PokemonLoad.new(sscene)
            sscreen.pbStartLoadScreen
          end
        else
          sscene=PokemonLoadScene.new
          sscreen=PokemonLoad.new(sscene)
          sscreen.pbStartLoadScreen
        end
      end
    end



    Please give credit if you use it.

    Removed security features, they did more harm than good. Fixed it so that when changing between save files, it resizes the screen if you have them set differently (large on one file, medium on another). Automatically stores the last accessed file to a separate data file, to read and load the last accessed game on start-up
    Attached Thumbnails
    loadsavepanel.png‎   loadsavepanel_1.png‎  
    Reply With Quote

    Relevant Advertising!

      #2    
    Old April 12th, 2014 (6:42 AM).
    Radical Raptr's Avatar
    Radical Raptr Radical Raptr is offline
    #BAMFPokemonNerd
       
      Join Date: Mar 2011
      Location: everywhere
      Age: 23
      Gender: Male
      Nature: Sassy
      Posts: 1,120
      Very Very cool, I'll definitely give it a try
      __________________

      ~My Deviantart - Litharreon Wiki - Litharreon Game Download~

      Reply With Quote
        #3    
      Old April 14th, 2014 (12:45 AM).
      mej71's Avatar
      mej71 mej71 is offline
         
        Join Date: Mar 2014
        Location: Omnipresence
        Gender: Male
        Posts: 1,226
        Quote:
        Originally Posted by Saving Raven View Post
        Very Very cool, I'll definitely give it a try
        What did you think? I've gotten zero response to this, I'd really like to know if people like it and/or what I could improve on.
        Reply With Quote
          #4    
        Old April 14th, 2014 (6:19 AM).
        akane159 akane159 is offline
           
          Join Date: Oct 2012
          Gender: Female
          Posts: 72
          when I try to save I get an error, here







          and when I open the game does not see options
          new game
          options
          "continue"

          the text does not appear :S
          Reply With Quote
            #5    
          Old April 14th, 2014 (10:46 AM).
          miniking's Avatar
          miniking miniking is offline
             
            Join Date: Jul 2013
            Location: São paulo,Brazil
            Gender: Male
            Nature: Adamant
            Posts: 41
            has an error, when he will continue pokes picks up the first save, the more the story runs usually remains
            __________________
            Reply With Quote
              #6    
            Old April 14th, 2014 (11:09 AM). Edited April 14th, 2014 by mej71.
            mej71's Avatar
            mej71 mej71 is offline
               
              Join Date: Mar 2014
              Location: Omnipresence
              Gender: Male
              Posts: 1,226
              Quote:
              Originally Posted by akane159 View Post
              when I try to save I get an error, here







              and when I open the game does not see options
              new game
              options
              "continue"

              the text does not appear :S
              Are you running 1.3? I tried it with a stock version and it worked fine. I did not change anything on that line or before it.

              Edit: I double checked, that error does show up on v12, and runs fine on v13. MetaId was not added until v13, because it is part of the support added for multiple outfits.

              Do you mean that the load options don't show up for the other save files? Because that's supposed to happen, it runs a check and the options don't appear unless a save file exists.


              Quote:
              has an error, when he will continue pokes picks up the first save, the more the story runs usually remains
              Can you reword that? I'm not understanding you.
              Reply With Quote
                #7    
              Old April 14th, 2014 (1:10 PM).
              akane159 akane159 is offline
                 
                Join Date: Oct 2012
                Gender: Female
                Posts: 72
                so only works for v13 :S
                i use Pokémon Essentials 2012-05-15 (I guess ver 10 ) :S , well :S thanx :)

                PD: you dont have this script for ver10? or you can do it please xD?
                Reply With Quote
                  #8    
                Old April 14th, 2014 (1:54 PM).
                mej71's Avatar
                mej71 mej71 is offline
                   
                  Join Date: Mar 2014
                  Location: Omnipresence
                  Gender: Male
                  Posts: 1,226
                  Quote:
                  Originally Posted by akane159 View Post
                  so only works for v13 :S
                  i use Pokémon Essentials 2012-05-15 (I guess ver 10 ) :S , well :S thanx :)

                  PD: you dont have this script for ver10? or you can do it please xD?
                  I'm attempting to, but for some reason I'm having conflicts with this line in PokemonLoad
                  Code:
                  @sprites["cmdwindow"].commands=commands
                  Reply With Quote
                    #9    
                  Old April 14th, 2014 (2:45 PM).
                  miniking's Avatar
                  miniking miniking is offline
                     
                    Join Date: Jul 2013
                    Location: São paulo,Brazil
                    Gender: Male
                    Nature: Adamant
                    Posts: 41
                    I already have a saved game, started another to simultaneously test both saved, the second saved game copies the entire page saved the first team.,
                    the same happens as copy pokedex and badges.
                    __________________
                    Reply With Quote
                      #10    
                    Old April 14th, 2014 (3:30 PM).
                    Derxwna Kapsyla's Avatar
                    Derxwna Kapsyla Derxwna Kapsyla is offline
                    Derxwna "The Badman" Kapsyla
                       
                      Join Date: Jun 2011
                      Location: Margate, FL
                      Age: 25
                      Gender: Male
                      Nature: Lax
                      Posts: 405
                      I'm going to assume - I might be wrong - that this is because it stores the values for Pokedex Entries, Money, Badges, Trainer ID, and Play Time in a global variable, which doesn't get overwritten unless the new game overwrites those variables. (Again, just a guess).
                      The script would need to differentiate between the different variables for each saved game in order to work perfectly. Alternatively, I don't see a supermassive issue with sharing ID number, money, Pokedex Entries, or Play Time. Badges, however, could be troublesome, but it's best to rectify these issues.
                      __________________
                      Development Blog:
                      For more information future news and updates to any projects, the following blogs are where I post information. You can usually hit me with a message there when it comes to bug reports or feedback, or general conversation about something.
                      Game Projects:
                      In Progress:
                      Reply With Quote
                        #11    
                      Old April 14th, 2014 (3:41 PM).
                      mej71's Avatar
                      mej71 mej71 is offline
                         
                        Join Date: Mar 2014
                        Location: Omnipresence
                        Gender: Male
                        Posts: 1,226
                        Quote:
                        Originally Posted by Derxwna Kapsyla View Post
                        I'm going to assume - I might be wrong - that this is because it stores the values for Pokedex Entries, Money, Badges, Trainer ID, and Play Time in a global variable, which doesn't get overwritten unless the new game overwrites those variables. (Again, just a guess).
                        The script would need to differentiate between the different variables for each saved game in order to work perfectly. Alternatively, I don't see a supermassive issue with sharing ID number, money, Pokedex Entries, or Play Time. Badges, however, could be troublesome, but it's best to rectify these issues.
                        Yes, this is the problem. I'm trying to rectify it now, it's proving to be tricky for me.
                        Reply With Quote
                          #12    
                        Old April 14th, 2014 (5:07 PM).
                        mej71's Avatar
                        mej71 mej71 is offline
                           
                          Join Date: Mar 2014
                          Location: Omnipresence
                          Gender: Male
                          Posts: 1,226
                          Quote:
                          Originally Posted by miniking View Post
                          I already have a saved game, started another to simultaneously test both saved, the second saved game copies the entire page saved the first team.,
                          the same happens as copy pokedex and badges.
                          Alright, I believe it's fixed for real now. Sorry about that, I hope I didn't mess anything of yours up.

                          The real problem was because (I'm an idiot) I needed to call pbTryLoadFile for each load selection in order to actually load the correct trainer data. Otherwise it was just using the trainer data it calls at the beginning to display your team and info in the continue screen

                          Let me know if there are any more errors found. Again, sorry about that.
                          Reply With Quote
                            #13    
                          Old April 15th, 2014 (7:16 AM).
                          akane159 akane159 is offline
                             
                            Join Date: Oct 2012
                            Gender: Female
                            Posts: 72
                            still Only works for v13 , :s well thnx anyway :)
                            Reply With Quote
                              #14    
                            Old April 15th, 2014 (10:50 AM).
                            miniking's Avatar
                            miniking miniking is offline
                               
                              Join Date: Jul 2013
                              Location: São paulo,Brazil
                              Gender: Male
                              Nature: Adamant
                              Posts: 41
                              now working properly
                              thanks for fix this script

                              to continue helping with useful things
                              __________________
                              Reply With Quote
                                #15    
                              Old July 16th, 2014 (12:56 PM).
                              bbwong91900 bbwong91900 is offline
                                 
                                Join Date: Dec 2013
                                Gender: Male
                                Posts: 15
                                Found a few minor bugs with this.

                                If I have 3 filled save slots and I start a New Game for the fourth slot, it will give me the warning that I have all 4 save slots filled.

                                Also, when I had all save slots filled, select New Game and respond No to if it is OK to replace save slot four, then select an existing save slot, the game crashes and gives me this error code (Not sure if this happens without all save slots filled):

                                Code:
                                ---------------------------
                                Pokemon Essentials
                                ---------------------------
                                Exception: NoMethodError
                                
                                Message: undefined method `index' for nil:NilClass
                                
                                PokemonLoad:93:in `pbUpdate'
                                
                                PokemonLoad:186:in `pbEndScene'
                                
                                PokemonLoad:186:in `pbFadeOutAndHide'
                                
                                SpriteWindow:1625:in `each'
                                
                                SpriteWindow:1625:in `pbFadeOutAndHide'
                                
                                SpriteWindow:1624:in `pbDeactivateWindows'
                                
                                SpriteWindow:1551:in `pbActivateWindow'
                                
                                SpriteWindow:1551:in `pbDeactivateWindows'
                                
                                SpriteWindow:1624:in `pbFadeOutAndHide'
                                
                                PokemonLoad:186:in `pbEndScene'
                                
                                
                                
                                This exception was logged in 
                                
                                C:\Users\Wong\Saved Games/Pokemon Essentials/errorlog.txt.
                                
                                Press Ctrl+C to copy this message to the clipboard.
                                And just a question, if I wanted to start a New Game but keep Save Slot 4 and overwrite Save Slot 2, for example, would there be any way to do that?

                                Great script though. Thanks!
                                Reply With Quote
                                  #16    
                                Old July 16th, 2014 (2:43 PM). Edited July 16th, 2014 by mej71.
                                mej71's Avatar
                                mej71 mej71 is offline
                                   
                                  Join Date: Mar 2014
                                  Location: Omnipresence
                                  Gender: Male
                                  Posts: 1,226
                                  Quote:
                                  Originally Posted by Dunnyworld View Post
                                  Found a few minor bugs with this.

                                  If I have 3 filled save slots and I start a New Game for the fourth slot, it will give me the warning that I have all 4 save slots filled.

                                  Also, when I had all save slots filled, select New Game and respond No to if it is OK to replace save slot four, then select an existing save slot, the game crashes and gives me this error code (Not sure if this happens without all save slots filled):

                                  Code:
                                  ---------------------------
                                  Pokemon Essentials
                                  ---------------------------
                                  Exception: NoMethodError
                                  
                                  Message: undefined method `index' for nil:NilClass
                                  
                                  PokemonLoad:93:in `pbUpdate'
                                  
                                  PokemonLoad:186:in `pbEndScene'
                                  
                                  PokemonLoad:186:in `pbFadeOutAndHide'
                                  
                                  SpriteWindow:1625:in `each'
                                  
                                  SpriteWindow:1625:in `pbFadeOutAndHide'
                                  
                                  SpriteWindow:1624:in `pbDeactivateWindows'
                                  
                                  SpriteWindow:1551:in `pbActivateWindow'
                                  
                                  SpriteWindow:1551:in `pbDeactivateWindows'
                                  
                                  SpriteWindow:1624:in `pbFadeOutAndHide'
                                  
                                  PokemonLoad:186:in `pbEndScene'
                                  
                                  
                                  
                                  This exception was logged in 
                                  
                                  C:\Users\Wong\Saved Games/Pokemon Essentials/errorlog.txt.
                                  
                                  Press Ctrl+C to copy this message to the clipboard.
                                  And just a question, if I wanted to start a New Game but keep Save Slot 4 and overwrite Save Slot 2, for example, would there be any way to do that?

                                  Great script though. Thanks!
                                  Thank you for bringing these to my attention! I've fixed them in the main post and added your suggestion.
                                  Reply With Quote
                                    #17    
                                  Old July 16th, 2014 (3:05 PM).
                                  bbwong91900 bbwong91900 is offline
                                     
                                    Join Date: Dec 2013
                                    Gender: Male
                                    Posts: 15
                                    Quote:
                                    Originally Posted by mej71 View Post
                                    Thank you for bringing these to my attention! I've fixed them in the main post and added your suggestion.
                                    Thanks for the fix!

                                    And the lines with $game_quests in PokemonLoad were causing an error code so I just took them out and it's working fine now. (I'm assuming they're for your Quest Log script)
                                    Reply With Quote
                                      #18    
                                    Old July 16th, 2014 (3:11 PM).
                                    mej71's Avatar
                                    mej71 mej71 is offline
                                       
                                      Join Date: Mar 2014
                                      Location: Omnipresence
                                      Gender: Male
                                      Posts: 1,226
                                      Quote:
                                      Originally Posted by Dunnyworld View Post
                                      Thanks for the fix!

                                      And the lines with $game_quests in PokemonLoad were causing an error code so I just took them out and it's working fine now. (I'm assuming they're for your Quest Log script)
                                      Oh yeah, I totally forgot about those lol. I'll take them out.
                                      Reply With Quote
                                        #19    
                                      Old August 1st, 2014 (5:28 AM).
                                      Wootius's Avatar
                                      Wootius Wootius is offline
                                      Glah
                                         
                                        Join Date: Mar 2013
                                        Gender: Male
                                        Posts: 302
                                        I get a Syntax error on line 59 with a clean version of v13. Any idea what'd it be?

                                        __________________
                                        Pokemon Rebalanced: Red
                                        Where every Pokemon is useful.
                                        Reply With Quote
                                          #20    
                                        Old August 3rd, 2014 (8:05 AM).
                                        Wootius's Avatar
                                        Wootius Wootius is offline
                                        Glah
                                           
                                          Join Date: Mar 2013
                                          Gender: Male
                                          Posts: 302
                                          Mayhap this is the problem? http://www.pokecommunity.com/showthread.php?t=333023

                                          I've notice several spots that were missing ")"s, close quotes, and "|"s. If someone has the complete scripts I'd love them.
                                          __________________
                                          Pokemon Rebalanced: Red
                                          Where every Pokemon is useful.
                                          Reply With Quote
                                            #21    
                                          Old August 3rd, 2014 (8:08 PM).
                                          mej71's Avatar
                                          mej71 mej71 is offline
                                             
                                            Join Date: Mar 2014
                                            Location: Omnipresence
                                            Gender: Male
                                            Posts: 1,226
                                            Quote:
                                            Originally Posted by lauerolus View Post
                                            Mayhap this is the problem? http://www.pokecommunity.com/showthread.php?t=333023

                                            I've notice several spots that were missing ")"s, close quotes, and "|"s. If someone has the complete scripts I'd love them.
                                            Thank you for pointing this out. I'll upload a mirror of the script on pastebin and add the link to the main post. I'll probably start doing that for all my tutorials, since I was not aware of this problem.
                                            Reply With Quote
                                              #22    
                                            Old August 4th, 2014 (2:34 AM).
                                            Wootius's Avatar
                                            Wootius Wootius is offline
                                            Glah
                                               
                                              Join Date: Mar 2013
                                              Gender: Male
                                              Posts: 302
                                              No problem. Thank you for the script.
                                              __________________
                                              Pokemon Rebalanced: Red
                                              Where every Pokemon is useful.
                                              Reply With Quote
                                                #23    
                                              Old August 5th, 2014 (10:05 AM).
                                              Wootius's Avatar
                                              Wootius Wootius is offline
                                              Glah
                                                 
                                                Join Date: Mar 2013
                                                Gender: Male
                                                Posts: 302
                                                I didn't touch the script at all except to remove the gamequest stuff.

                                                It saves as game4 first, which means it never shows a save game because you need "game" there for it to look for the other saves I believe.
                                                __________________
                                                Pokemon Rebalanced: Red
                                                Where every Pokemon is useful.
                                                Reply With Quote
                                                  #24    
                                                Old August 5th, 2014 (1:01 PM).
                                                mej71's Avatar
                                                mej71 mej71 is offline
                                                   
                                                  Join Date: Mar 2014
                                                  Location: Omnipresence
                                                  Gender: Male
                                                  Posts: 1,226
                                                  Change this
                                                  Code:
                                                   commands[cmdContinue=commands.length]=_INTL("Continue") if showContinue
                                                        commands[cmdNewGame=commands.length]=_INTL("New Game")
                                                        commands[cmdChooseSaveTwo=commands.length]=_INTL("Load Save 2") if safeExists?(savefile2)
                                                        commands[cmdChooseSaveThree=commands.length]=_INTL("Load Save 3") if safeExists?(savefile3)
                                                        commands[cmdChooseSaveFour=commands.length]=_INTL("Load Save 4") if safeExists?(savefile4)
                                                        commands[cmdMysteryGift=commands.length]=_INTL("Mystery Gift") if (trainer.mysterygiftaccess rescue false)
                                                        commands[cmdOption=commands.length]=_INTL("Options")
                                                      else
                                                        commands[cmdNewGame=commands.length]=_INTL("New Game")
                                                        commands[cmdOption=commands.length]=_INTL("Options")
                                                  to this

                                                  Code:
                                                   commands[cmdContinue=commands.length]=_INTL("Continue") if showContinue
                                                        commands[cmdNewGame=commands.length]=_INTL("New Game")
                                                        commands[cmdChooseSaveTwo=commands.length]=_INTL("Load Save 2") if safeExists?(savefile2)
                                                        commands[cmdChooseSaveThree=commands.length]=_INTL("Load Save 3") if safeExists?(savefile3)
                                                        commands[cmdChooseSaveFour=commands.length]=_INTL("Load Save 4") if safeExists?(savefile4)
                                                        commands[cmdMysteryGift=commands.length]=_INTL("Mystery Gift") if (trainer.mysterygiftaccess rescue false)
                                                        commands[cmdOption=commands.length]=_INTL("Options")
                                                      else
                                                        commands[cmdNewGame=commands.length]=_INTL("New Game")
                                                        commands[cmdChooseSaveTwo=commands.length]=_INTL("Load Save 2") if safeExists?(savefile2)
                                                        commands[cmdChooseSaveThree=commands.length]=_INTL("Load Save 3") if safeExists?(savefile3)
                                                        commands[cmdChooseSaveFour=commands.length]=_INTL("Load Save 4") if safeExists?(savefile4)
                                                        commands[cmdOption=commands.length]=_INTL("Options")
                                                  Reply With Quote
                                                    #25    
                                                  Old August 5th, 2014 (1:31 PM).
                                                  Wootius's Avatar
                                                  Wootius Wootius is offline
                                                  Glah
                                                     
                                                    Join Date: Mar 2013
                                                    Gender: Male
                                                    Posts: 302
                                                    100% awesome. Thanks again.
                                                    __________________
                                                    Pokemon Rebalanced: Red
                                                    Where every Pokemon is useful.
                                                    Reply With Quote
                                                    Reply

                                                    Quick Reply

                                                    Join the conversation!

                                                    Create an account to post a reply in this thread, participate in other discussions, and more!

                                                    Create a PokéCommunity Account

                                                    Sponsored Links
                                                    Thread Tools

                                                    Posting Rules
                                                    You may not post new threads
                                                    You may not post replies
                                                    You may not post attachments
                                                    You may not edit your posts

                                                    BB code is On
                                                    Smilies are On
                                                    [IMG] code is On
                                                    HTML code is Off

                                                    Forum Jump


                                                    All times are GMT -8. The time now is 9:34 PM.