• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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] XSE Error: "Type Mismatch on Line 21. Missing #define"

  • 3
    Posts
    6
    Years
    • Seen Jun 20, 2018
    Don't want to keep bugging the community but this one's got me stumped, because I really can't see what's wrong with the script. I put it in the Spoliers box and pointed out Line 21.

    Spoiler:


    Very strange. Happens when I try to compile it btw
     
    Last edited:
    Seems like you may be missing the "std.rbh" file that contains the original definition for the variable MSG_OBTAIN, which is, by default, 0x0.

    Either investigate the std.rbh file in the same folder or try changing 'MSG_OBTAIN' to '0x0'.
     
    Back
    Top