• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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.

XSE error 9 "Subscript out of Range" Help

  • 4
    Posts
    5
    Years
    • Seen Feb 26, 2023
    I've been working on a rom hack of emerald recently and when scripting text and data for a gym leader I got this error. I have no idea what causing it and I could not find a solution on the internet. I have the script here
    Spoiler:


    Any help would be greatly accepted thanks!
     

    Hi Myi64, I've moved your thread to ROM Hacking Help, because Tools, Tutorials & Resources is for posting completed things, not asking questions. Hopefully someone will be able to help you here. :)
     
    I've been working on a rom hack of emerald recently and when scripting text and data for a gym leader I got this error. I have no idea what causing it and I could not find a solution on the internet. I have the script here
    Spoiler:


    Any help would be greatly accepted thanks!

    Firstly, move the "#org @before" and "#org @after" at the end. It's giving me autism.
    Second, there is definitely a character in the script that XSE doesn't register.
    Visit here to get the point.
     
    Last edited:
    Thanks! I figured it was the apostrophes were wrong so I fixed it.
     
    Back
    Top