[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Bad line syntax (expected syntax like XXX=YYY)
File PBS/moves.txt, section FLY
Effect Chance = 30
Backtrace:
Compiler:119:in `block in pbEachFileSectionEx'
Compiler:100:in `each_line'
Compiler:100:in `pbEachFileSectionEx'
Compiler:142:in `pbEachFileSection'
Compiler_CompilePBS:22:in `block (2 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:16:in `open'
Compiler_CompilePBS:16:in `block in compile_PBS_file_generic'
Compiler_CompilePBS:11:in `each'
Compiler_CompilePBS:11:in `compile_PBS_file_generic'
Compiler_CompilePBS:206:in `compile_moves'
ALSO:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Unknown exception when compiling.
Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'
These are the two errors I get.
I was trying to add the effect of flinching to Fly. Plus I made Splash do random status moves, but to do so had to try to make it so it cannot use other moves:
[FLY]
Name = Fly
Type = FLYING
Category = Physical
Power = 90
Accuracy = 95
TotalPP = 15
Target = Other
FunctionCode = FlinchTargetTwoTurnAttackInvulnerableInSky
Flags = Contact,CanProtect,CanMirrorMove,CannotSplash
Effect Chance = 30
Description = The user soars, then strikes on the second turn. It can also be used for flying to any familiar town.
[SPLASH]
Name = Splash
Type = NORMAL
Category = Status
Accuracy = 0
TotalPP = 40
Target = User
FunctionCode = UseRandomMove
Description = The user just flops around so much it causes a random status effect.
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Bad line syntax (expected syntax like XXX=YYY)
File PBS/moves.txt, section FLY
Effect Chance = 30
Backtrace:
Compiler:119:in `block in pbEachFileSectionEx'
Compiler:100:in `each_line'
Compiler:100:in `pbEachFileSectionEx'
Compiler:142:in `pbEachFileSection'
Compiler_CompilePBS:22:in `block (2 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:16:in `open'
Compiler_CompilePBS:16:in `block in compile_PBS_file_generic'
Compiler_CompilePBS:11:in `each'
Compiler_CompilePBS:11:in `compile_PBS_file_generic'
Compiler_CompilePBS:206:in `compile_moves'
ALSO:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Unknown exception when compiling.
Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'
These are the two errors I get.
I was trying to add the effect of flinching to Fly. Plus I made Splash do random status moves, but to do so had to try to make it so it cannot use other moves:
[FLY]
Name = Fly
Type = FLYING
Category = Physical
Power = 90
Accuracy = 95
TotalPP = 15
Target = Other
FunctionCode = FlinchTargetTwoTurnAttackInvulnerableInSky
Flags = Contact,CanProtect,CanMirrorMove,CannotSplash
Effect Chance = 30
Description = The user soars, then strikes on the second turn. It can also be used for flying to any familiar town.
[SPLASH]
Name = Splash
Type = NORMAL
Category = Status
Accuracy = 0
TotalPP = 40
Target = User
FunctionCode = UseRandomMove
Description = The user just flops around so much it causes a random status effect.