I edited a copy of one of the demos so I wouldn't get any errors, but I still got some.
Exception `SyntaxError' at Section008:635 - [Deluxe Battle Kit] [003] MidbattleScripts Module.rb:572: syntax error, unexpected string literal, expecting '}'
"UserDealtCriticalHit_SNORLAX"...
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:573: syntax error, unexpected terminator, expecting literal content or tSTRING_DBEG or tSTRING_DVAR or tLABEL_END
"text_A" => "A critical hit fro...
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:574: syntax error, unexpected '}', expecting `end'
},
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:579: syntax error, unexpected terminator, expecting literal content or tSTRING_DBEG or tSTRING_DVAR or tLABEL_END
"text_A" => "A critical hit fro...
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:580: syntax error, unexpected '}', expecting `end'
},
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:585: syntax error, unexpected terminator, expecting literal content or tSTRING_DBEG or tSTRING_DVAR or tLABEL_END
"text_A" => "Snorlax got a supe...
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:586: syntax error, unexpected '}', expecting `end'
},
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:591: syntax error, unexpected terminator, expecting literal content or tSTRING_DBEG or tSTRING_DVAR or tLABEL_END
"text_A" => "Clodsire got a sup...
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:592: syntax error, unexpected '}', expecting `end'
},
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:597: syntax error, unexpected terminator, expecting literal content or tSTRING_DBEG or tSTRING_DVAR or tLABEL_END
"text_A" => "Snor! Lax!",
^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:597: syntax error, unexpected ',', expecting `end'
..."text_A" => "Snor! Lax!",
... ^
[Deluxe Battle Kit] [003] MidbattleScripts Module.rb:599: syntax error, unexpected '}', expecting `end'
}
^
this is what my code looks like:
################################################################################
# 1-1
################################################################################
SNORLAXVSCLODSIRE = {
#---------------------------------------------------------------------------
# Turn 1 - Battle cry
#---------------------------------------------------------------------------
"RoundStartCommand_1_foe" => {
"text_A" => "CLODSIRRRE!",
},
"RoundStartCommand_1" => {
"text_B" => "Snor..."
}
#---------------------------------------------------------------------------
# Snorlax crit
#---------------------------------------------------------------------------
"UserDealtCriticalHit_SNORLAX" => {
"text_A" => "A critical hit from Snorlax! \nHe clearly knows Clodsire's weak points!"
},
#---------------------------------------------------------------------------
# Clodsire crit
#---------------------------------------------------------------------------
"UserDealtCriticalHit_CLODSIRE" => {
"text_A" => "A critical hit from Clodsire! \nHe clearly knows Snorlax's weak points!"
},
#---------------------------------------------------------------------------
# Snorlax super effective
#---------------------------------------------------------------------------
"UserMoveEffective_SNORLAX" => {
"text_A" => "Snorlax got a super-effective hit! Watch out, Clodsire!"
},
#---------------------------------------------------------------------------
# Clodsire super effective
#---------------------------------------------------------------------------
"UserMoveEffective_CLODSIRE" => {
"text_A" => "Clodsire got a super-effective hit! Watch out, Snorlax!"
},
#---------------------------------------------------------------------------
# Pulverizing Pancake
#---------------------------------------------------------------------------
"BeforeZMove_PULVERIZINGPANCAKE" => {
"text_A" => "Snor! Lax!",
"text_B" => "Snorlax seems to be preparing to flatten Clodire! "
}
}