Skip to content

Cenn and Pisci EventDialogue

This event dialogue occurs either by Cenn or Pisci's action pre move logic when flags 497 is false (the player haven't beaten them for the first time) or by either of them dying due to their eventondeath which is assumed to be configured to this EventDialogue. Their eventondeath gets disabled in StartBattle if flags 497 is true meaning this EventDialogue only manages the ending of the first fight.

EventDialogue 15

This EventDialogue will make sure to thoroughly kill both Cenn and Pisci through a mini cutscene and call ExitBattle to switch the battle to a terminal flow:

  • The enemydata id of both Cenn and Pisci are obtained
  • Cenn and Pisci each gets BreakIce called on them
  • Yield for 0.5 seconds
  • SetText is called in dialogue with the following:
    • text: commondialogue[163]
    • fonttype: 0 (BubblegumSans)
    • linebreak: messagebreak
    • tridimensional: false
    • position: Vector3.zero
    • size: Vector3.one
    • parent: Cenn
    • caller: null
  • Yield all frames until the message lock is released
  • SetText is called in dialogue with the following:
    • text: commondialogue[164]
    • fonttype: 0 (BubblegumSans)
    • linebreak: messagebreak
    • tridimensional: false
    • position: Vector3.zero
    • size: Vector3.one
    • parent: Pisci
    • caller: null
  • Yield all frames until the message lock is released
  • Flee sound plays
  • Cenn and Pisci's flip gets set to true
  • Cenn and Pisci moves through a ForceMove to (15.0, 0.0, 0.0) with 50.0 frametime with changeanim
  • Both Cenn and Pisci has their defeated counter in their bestiary entry set to 0 (this cancels what CheckDead would have done in case the EventDialogue was triggered through eventondeath)
  • Yield all frames until Cenn's forcemoving is done (in theory, Pisci's would be done before)
  • CleanKill called on both Cenn and Pisci leaving them at (15.0, 0.0, 0.0) as a blank enemy shell
  • Yield for a frame
  • ExitBattle called changing the battle to a terminal flow