• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

New trainer type isn't valid

Pookachurin

Pooka The Pikachu
18
Posts
8
Years
  • Hi, I'm having some trouble with creating a trainer. I have registered the trainer types into the trainertypes.txt file like so:
    0,RIVALBOY,Rival,40,Rival Battle,,,Male,
    1,RIVALGIRL,Rival,40,Rival Battle,,,Female,

    For some reason, however, I get the following error message whenever the game initiates the battle:
    Spoiler:

    The error says that "RIVALGIRL" is not a valid trainer type even though I've registered into the txt file.
    If anyone knows what is wrong please reply, thanks.
     

    Sir_Tman

    Overworked game Dev
    201
    Posts
    8
    Years
  • Asumming that "Rival Battle" is your rivals theme music you need to say what type of flie it is i.e .mp3 .ogg .wav <-these are what you put after the music.
    Code:
    52,RIVAL1,Hardcore,48,Rival.mp3,,,Female,90
    you also need to put a number after the gender to specify the skill level.
     
    Back
    Top