RuntimeError in section that doesn't exist?

MagentaGiratina

Distortion World Enthusiast
Member
Joined
Jun 16, 2019
Posts
46
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Bad line syntax (expected syntax like XXX=YYY)

File PBS/pokemon.txt, section 684, key WildItemRare





Compiler:1712:in `pbEachFileSectionEx'

Compiler:1695:in `each_line'

Compiler:1695:in `pbEachFileSectionEx'

Compiler:1733:in `pbEachFileSection'

Compiler:2339:in `pbCompilePokemonData'

Compiler:2337:in `open'

Compiler:2337:in `pbCompilePokemonData'

Compiler:4050:in `pbCompileAllData'

Compiler:4174



This exception was logged in

C:\Users\Alli\Saved Games/Pokemon Magenta/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

This Pokemon doesn't and has never had a "WildItemRare" section, and none of this happened previously. I changed moveset and base stat information on 3 Pokemon before it, but nothing in that section. Any idea what's going on and are there solutions other than reinstalling?

Solved:
I used a backup of my PBS, something got encoded incorrectly when I saved the file.
 
Last edited:

Hollow_Ego

Trainer
Member
Joined
May 19, 2018
Posts
83
You must have messed up syntax on the Pokemon you edited. Check if you got an extra comma or anything or maybe even miss one
 
Top