• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

Showing a picture when speaking to a trainer

  • 22
    Posts
    14
    Years
    I'm trying to make it so that a picture is shown when you talk to a trainer, both before and after battle, but I need a bit of help.
    I've tried using the show picture command, but the trainer event seems to ignore that, so I thought I would edit the scripts to show the picture. The problem is, I have no idea which script I need to edit.
    I want to display the picture during "Comment: Battle:" and "Comment: EndBattle"

    Any ideas of which script I should be editing?
     
    I figured that's what you wanted! Was going to refer you to the Wiki... Try using the Wiki first!
     
    I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.
     
    You don't need the comments, but pbTrainerBattle is needed.
     
    I guess the comments are only assistance. When the game was compiled, Essentials fill the event with the required commands.

    Anyway you can give Messages a "face"-Graphic. Put \f[x] to the Message, at which the X means a graphic in the Grapihcs/Pictures folder.

    quod vide: (broken link removed)
     
    Thanks, but I already know that command. I needed the show picture for something else.
     
    I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.
    Long time before, when I am starting I also had this problem, maybe Maruno should put examples in test maps using one, another and both (maybe this last isn't necessary).
     
    I thought the wiki explained that well enough. You just need to put in the comments, and when you compile, the game itself turns those into the proper event commands and adds them to the events. Remove the comments before tweaking those auto-generated commands, because otherwise the tweaks will just be overwritten by the comments compiling themselves again.

    I suppose I could include a note about that in Essentials itself, though. There will be plenty of example trainers, at least.
     
    Back
    Top