Skip to content

ExitBattle

This method is a wrapper around the ReturnToOverWorld terminal coroutine. It is primarily used as part of EventDialogues and is also the last step of AddExperience.

  • ReturnToOverWorld is called
  • cancelupdate is set to true changing to a Terminal flow
  • enemy is set to false which normally makes the flow go to the player phase, but we just changed to a terminal flow so nothing will happen
  • action is set to true, but not only ReturnToOverworld already did that, this doesn't do anything because we are in a terminal flow