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

What's Going on with the game's parsing?

  • 21
    Posts
    12
    Years
    • Seen Oct 25, 2021
    So I was changing a couple of TMs and I came across something odd.

    Spoiler:


    I don't get it it's trying to read the index number of the next item as part of the move the TM teaches name even though it's formatted exactly the same as every other TM but it's the only one causing problems.
     
    It is because you didn't put a comma - or deleted the existing comma - after the phrase SLEEPTALK. When reading the text files, the compiler usually ignores newline characters.
     
    The compiler does NOT ignore newline characters. The method that crops up in this error message several times called pbCompilerEachCommentedLine does indeed imply that it cares about lines, and checks them one at a time.

    The problem here is that there ISN'T a newline character where there should be. One item per line. You have two items on the same line here.
     
    Back
    Top