Don't know if anyone asked this yet, but anyway...
I added two new types (Spirit and God). Everything was going fine. I decided to make a move of one of them (a move with the God type) and did everything that was needed, as far as moves and types go (i.e. adding the image block for it in the types graphic, changing the number in PBTypes, adding it and such). I opened the Editor, but it gave me an error.
Exception: RuntimeError
Message: Undefined value GOD in PBTypes (section File PBS/moves.txt, line 355
GOD,Special,100,10,0,08,0,ef,Tough,"Strikes the foe with world-ending power."
, key )
Compiler:1881:in `checkEnumField'
Compiler:1906:in `csvEnumField!'
Compiler:397:in `pbGetCsvRecord'
Compiler:363:in `each'
Compiler:363:in `pbGetCsvRecord'
Compiler:969:in `pbCompileMoves'
Compiler:968:in `pbCompilerEachPreppedLine'
Compiler:497:in `each_line'
Compiler:497:in `pbCompilerEachPreppedLine'
Compiler:494:in `open'
This is the move itself: 355,RAGNAROK,RAGNAROK,00,100,GOD,Special,100,10,0,08,0,ef,Tough,"Strikes the foe with world-ending power."
I don't understand what went wrong. Anyone got the answer?