• 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!
  • Scottie, Todd, Serena, Kris - 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.

Displaying Pictures on Menu Screen

Sero

私はセクシーです
  • 82
    Posts
    16
    Years
    I want to know if there is a way to edit the PokemonLoad script so that, depending on either a switch or variable in the game, a specific picture or background will be displayed on the loading screen. I had tried to do this myself, but I couldn't get the picture to be be dependent on a switch. I'm guessing this is because the game data wasn't loaded. Is it possible to get it to work like the party sprites, where they show up before you load the game.
     
    I'm guessing this is because the game data wasn't loaded.
    Correct. More specifically, the game switches haven't been loaded yet. The only (useful) sets of information which are loaded by then are $Trainer, $game_system and $PokemonSystem. The party information and the other info you see in the right-hand pane comes from these. You could use any of those three to put your new switch/variable in.

    It should also be mentioned that the background is (initially) set even before those are loaded. You would need to tweak the code to set the background a little later, and do so immediately after loading the information. Be sure that there will be some background shown regardless of whether there's a save file or not, and whether your switch/variable exists and is set and valid or not.
     
    Back
    Top