- 2
- Posts
- 13
- Years
- Seen Jul 16, 2011
I added a new pokemon I made to the pokemon.txt file in the PBS folder.
I gave it new moves, following the format for moves(all CAPS and get a lvl in front of them).
Then I tried to run my testgame and a runtime error appeared saying
" Message: Undefined value ANGRYFIST in PBMoves
File PBS/pokemon.txt, section 494, key Moves
Compiler:1518:in `checkEnumField'
Compiler:1553:in `csvEnumField!'Compiler:2225:in `pbCompilePokemonData'Compiler:2198:in `each'
Compiler:2198:in `pbCompilePokemonData'
Compiler:2196:in `loop'
Compiler:2275:in `pbCompilePokemonData'
Compiler:2180:in `each'
Compiler:2180:in `pbCompilePokemonData'
Compiler:2179:in `each'
"
I saw help online for undefined other things but not a UNDEFINED VALUE for a MOVE.
Please help because if I can't fix this I have to start over.
Nv mind. I fixed it. The problem was multiple PBS files with different txt saved to each. The game couldn't compile.
If anyone could help with pokemon encounters it would be great.
My character bounces over grass and won't find any pokemon in it
Thanks
I gave it new moves, following the format for moves(all CAPS and get a lvl in front of them).
Then I tried to run my testgame and a runtime error appeared saying
" Message: Undefined value ANGRYFIST in PBMoves
File PBS/pokemon.txt, section 494, key Moves
Compiler:1518:in `checkEnumField'
Compiler:1553:in `csvEnumField!'Compiler:2225:in `pbCompilePokemonData'Compiler:2198:in `each'
Compiler:2198:in `pbCompilePokemonData'
Compiler:2196:in `loop'
Compiler:2275:in `pbCompilePokemonData'
Compiler:2180:in `each'
Compiler:2180:in `pbCompilePokemonData'
Compiler:2179:in `each'
"
I saw help online for undefined other things but not a UNDEFINED VALUE for a MOVE.
Please help because if I can't fix this I have to start over.
Nv mind. I fixed it. The problem was multiple PBS files with different txt saved to each. The game couldn't compile.
If anyone could help with pokemon encounters it would be great.
My character bounces over grass and won't find any pokemon in it
Thanks
Last edited: