Grey Metagross
B/W e4 music for the win.
- 19
- Posts
- 14
- Years
- Littleroot Town
- Seen Oct 17, 2015
When I added a new POKéMON to the Pokemon.txt recently, I got this error when I tried to run the game:
---------------------------
Pokemon Version
---------------------------
Exception: RuntimeError
Message: Bad line syntax (expected syntax like XXX=YYY)
File PBS/pokemon.txt, section 651, key WildItemRare
Compiler:1652:in `pbEachFileSectionEx'
Compiler:1635:in `each_line'
Compiler:1635:in `pbEachFileSectionEx'
Compiler:1673:in `pbEachFileSection'
Compiler:2263:in `pbCompilePokemonData'
Compiler:2261:in `open'
Compiler:2261:in `pbCompilePokemonData'
Compiler:3947:in `pbCompileAllData'
Compiler:4071
This exception was logged in
C:\Users\Me\Saved Games/Pokemon Version/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I don't know why it's giving me an error for a line that isn't even in there. Also, when I DO add the "WildItemRare" line, it still gives me the same error.
I had added a completely different POKéMON to the dex a little while earlier without problems. It's just when I added this one that the error popped up, and the game works fine without it in Pokemon.txt.
Here's this POKéMON's section in Pokemon.txt:
[651]
Name=Batoxi
InternalName=BATOXI
Type1=FAERIE
Type2=POISON
BaseStats=65,45,65,35,65,45
GenderRate=Female50Percent
GrowthRate=Medium
BaseEXP=169
EffortPoints,0,1,0,1,0,0
Rareness=190
Happiness=0
Abilities=LEVITATE
Moves=1,TACKLE,1,TOXIC,4,TACKLE,7,FAKETEARS,13,BITE,19,CUTEKISS,24,FEATHERDANCE,27,POISONFANG,30,FUTURESIGHT,33,DRAININGKISS,35,VENOSHOCK,39,MOONBLAST,42,SLUDGEBOMB
EggMoves=
Compatibility=6,4
StepsToHatch=53355
Height=0.43
Weight=7.16
Color=White
Kind=Deception
Pokedex=BATOXI attack when prey let their guard down because of its cute appearance. Their fangs have a paralyzing venom.
BattlerPlayerY=0
BattlerEnemyY=2
BattlerAltitude=5
Evolutions=
If anyone knows what's causing this problem, please let me know!
Spoiler:
---------------------------
Pokemon Version
---------------------------
Exception: RuntimeError
Message: Bad line syntax (expected syntax like XXX=YYY)
File PBS/pokemon.txt, section 651, key WildItemRare
Compiler:1652:in `pbEachFileSectionEx'
Compiler:1635:in `each_line'
Compiler:1635:in `pbEachFileSectionEx'
Compiler:1673:in `pbEachFileSection'
Compiler:2263:in `pbCompilePokemonData'
Compiler:2261:in `open'
Compiler:2261:in `pbCompilePokemonData'
Compiler:3947:in `pbCompileAllData'
Compiler:4071
This exception was logged in
C:\Users\Me\Saved Games/Pokemon Version/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I don't know why it's giving me an error for a line that isn't even in there. Also, when I DO add the "WildItemRare" line, it still gives me the same error.
I had added a completely different POKéMON to the dex a little while earlier without problems. It's just when I added this one that the error popped up, and the game works fine without it in Pokemon.txt.
Here's this POKéMON's section in Pokemon.txt:
Spoiler:
[651]
Name=Batoxi
InternalName=BATOXI
Type1=FAERIE
Type2=POISON
BaseStats=65,45,65,35,65,45
GenderRate=Female50Percent
GrowthRate=Medium
BaseEXP=169
EffortPoints,0,1,0,1,0,0
Rareness=190
Happiness=0
Abilities=LEVITATE
Moves=1,TACKLE,1,TOXIC,4,TACKLE,7,FAKETEARS,13,BITE,19,CUTEKISS,24,FEATHERDANCE,27,POISONFANG,30,FUTURESIGHT,33,DRAININGKISS,35,VENOSHOCK,39,MOONBLAST,42,SLUDGEBOMB
EggMoves=
Compatibility=6,4
StepsToHatch=53355
Height=0.43
Weight=7.16
Color=White
Kind=Deception
Pokedex=BATOXI attack when prey let their guard down because of its cute appearance. Their fangs have a paralyzing venom.
BattlerPlayerY=0
BattlerEnemyY=2
BattlerAltitude=5
Evolutions=
If anyone knows what's causing this problem, please let me know!
Last edited: