TrainerBattle.dx_start([:LEADER_Esmaralda, "Esmaralda"], {
# Rules
:canlose => true,
:environ => :grass,
:terrain => :grassy,
:backdrop => ["grass", "grass"],
},
{ # Midbattle
"turnCommand" => {
:speech => ["Trees, flowers, leaves, grass, they all have beats."],
:text => ["Her Pokemon seems to be given extra vitality from the surrounding plants.",
"Finish the battle as quickly as possible before your Pokemon are exhausted."]
},
#-----------------------------------------------------------------------------
"turnEnd_repeat_foe" => { #Opp Pokemon heal each turn
:battler => 1,
:text => "The plants is healing her Pokemon!",
:hp => 12
},
#-----------------------------------------------------------------------------
"switchIn_CHERRIM_foe" => { #Auto HarshSun when switch in Cherrim
:weather => :HarshSun
},
#-----------------------------------------------------------------------------
"switchSentOutLast_foe" => {
:speech => "The most beautiful roses are the most resilient flowers!",
:stats => [:DEFENSE, 1, :SPECIAL_DEFENSE, 1]
},
#-----------------------------------------------------------------------------
"loss" => "Haha...you'll never make it out alive!" # Triggers upon losing the battle.
})