Skip to content

EventDialogue

This is a coroutine that will process what is known as an EventDialogue. An EventDialogue is a specialised version of an event, but specifically made for being handled during a battle.

Starting this coroutine is all that's needed to have any event start and they may be started in a variety of ways mainly through eventondeath, eventonfall (which is practically UNUSED) and CheckEvent. The game can know if an EventDialogue is in progress by checking the inevent field.

private IEnumerator EventDialogue(int id)

Parameters

  • id: The id of the EventDialogue to start

Procedure

  • inevent is set to true
  • caninputcooldown and blockcooldown are reset to 0.0 which resets the GetBlock state
  • choicevine's position is set to offscreen (999.0 in y) if it exists
  • UpdateAnim is called
  • UpdateText is called
  • RefreshEnemyHP is called
  • The EventDialogue whose id is the sent id value has its logic happen (see the section below for more information on them)
  • ReorganizeEnemies is called with order
  • inevent is set to false
  • UpdateConditionIcons is called which, if we aren't in the enemy, calls UpdateConditionBubbles on all battleentity (all playerdata with right to false and all enemydata with hp above 0 with right to true)
  • UpdateText

EventDialogue tables

Here are all the EventDialogues defined along with links to their detail:

ID Description
0 Basic combat and action commands tutorial
1 Part of the combat tutorial about turn flow
2 Skills tutorial
3 Turn Relay tutorial
4 Spuder first encounter event
5 Spuder second encounter event
6 MothWeb death event
7 Spuder third encounter event when they are past an hp treshold
8 Spuder third encounter event when starting the battle with their moves set to 2
9 Acolyte and AcolyteVine death event
10 VenusBos death event
11 Scarlet death event
12 Kali death event
13 SandWyrmTail1 death event
14 SandWyrm death event
15 Cenn and Pisci first encounter fleeing event (also happens on their death)
16 UltimaxTank death event
17 WaspKing death event
18 EverlastingKing death event
19 Pitcher event where either their death or early spit out are processed