• 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.

[Script] XSE- Error 13 "type mismatch" line 3

McPaul

On my way to become a controversial and hated memb
  • 289
    Posts
    7
    Years
    Hello!

    I opened and modified a script. I got this error while trying to compile. I didn't know why so I tried to reopen the unmodified original script and tried to compile it. Same error message.
    So Game Freak itself made a mistake while scripting?

    Here is the script:

    Spoiler:


    Thanks for your answer.
     
    Last edited by a moderator:
    You didn't open the script at the correct point. That script actually begins at 0x22CEAE, XSE is just reading values from an earlier script and spitting them out. You can see this on line 4 with the setmaptile command which is completely nonsensical. If you try opening a clean Emerald ROM it should have the correct offset.
     
    Back
    Top