======End Battle====== ---- Ends the current battle. The specified outcome determines whether or not the battle ends in victory. ====Signature:==== end_battle(victory) ^Argument^Description^Type^Required^ |victory|Determines whether or not the battle ends in victory.|[[Boolean]]|Yes| ====Example:==== end_battle(false); //Results:// The current battle ends with a defeat. Use the **End Battle** function to allow the player to "flee" a tactical turn-based battle when stepping on a specific tile within the battle map. ---- ====Editor Node:==== {{:wiki:end_battle_node.png?nolink|}} ====Visual Demo:==== {{:wiki:end_battle_demo.gif?nolink|}} ~~NOTOC~~