• 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!
  • Scottie, Todd, Serena, Kris - 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.

[Other] "src/data/text/species_names.h:1: syntax error before 'const'"

  • 5
    Posts
    4
    Years
    • Seen Nov 24, 2022
    Hi all

    I tried making a script for a trainer battle, but once the script was complete, when I tried to make the .gba file, WSL showed the error in the title: https://i.imgur.com/OPdzN9D.png
    I have no idea why it would be showing that error, as I have not edited the 'species_names' folder at all, as shown: https://i.imgur.com/7ZwEKU5.png
    The files which I had edited were 'trainers.h', 'trainer_parties.h', and the '.pory' file for my Test map.

    Did you forget to define TRAINER_Testtrainer in include/constants/opponents.h ?
    EDIT: Also if that is the end of trainers.h, you're missing a ; at the end
     
    Oh, so it just mistook the name because I didn't end the previous file properly?
     
    Back
    Top