• 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!
  • Dawn, Gloria, Juliana, or Summer - 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.

[Script] Need help with understanding some scripts configuration

  • 2
    Posts
    7
    Years
    • Seen Jun 3, 2019
    Well, I'm starting to get used to scripts. I'm reading diegoisawesome's MEGA-HUGE XSE Scripting Tutorial and even though it helped me so much, some thing i can't figure out.

    I wrote this script for the starting town, so i had to settle this battle to happen after MC got his pokemon.
    But, after battle ends, the text
    You have a pokemon i can steal? No? Get out of here!
    appears again, before the give item text.
    So, what i'm doing wrong here?
    Or what i should do to skip this message after battle won?

    Here's the script:
    Spoiler:
     
    There are quite a few issues with your script that either double up or just won't work properly. Here's a version that should work correctly with some comments on why things were changed:

    Spoiler:


    Hopefully this helps~
     
    Thanks! That was very enlightening.
    Really think i'm understanding better.
    I'll try a few more scripts to practice, but for now I understand some of my mistakes.
    Thank you!
     
    Back
    Top