• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

XSE help? (movement into a battle)

  • 5
    Posts
    7
    Years
    • Seen Feb 24, 2018
    I don't know if this question has been asked already or not, so I'll just ask here.

    Basically I just want to know the code to have a character walk up to the player, and go straight into a battle.

    I already know how to do both things, just not together.

    Thanks in advance!

    (also, this is my first thread :O)
     
    What's the matter if you can do both things? Write the first part of the code with applymovement etc, then just put a trainerbattle command after that.
     
    Last edited:
    You got two ways:
    1. What Auros said, you put a trainerbattle command in the correct location of your script.
    Make sure to use the correct trainerbattle if it's a part of a longer script, or something happens after it.

    2. If you're talking about overworld trainers, the ones that spin/walk/look around and stop you when you enter their line of sight, you need to tick the "Trainer" box in their sprite in A-Map, then give them a vision radius. Afterwards, their script should be the trainerbattle, followed by a msgbox 0x2 and an end, so they say something after they are fought.

    3. Hack Emerald.
     
    I don't know if this question has been asked already or not, so I'll just ask here.

    Basically I just want to know the code to have a character walk up to the player, and go straight into a battle.

    I already know how to do both things, just not together.

    Thanks in advance!

    (also, this is my first thread :O)

    You can combine various lines of codes to make a proper script :)
     
    Back
    Top