Skip to content

VenusBoss EventDialogue

VenusBoss has an EventDialogue that is meant to trigger as their eventondeath. This is mostly a mini cutscene supplementing their death.

Logic sequence

  • extraentities[0] (Venus) animstate set to 11 (Hurt)
  • VenusBoss has their basestate set to 11 (Hurt)
  • BreakIce called on VenusBoss
  • If VenusBoss's position is Flying:
    • Their droproutine is set to a new Drop call
    • Yield all frames until droproutine is null (when it completes)
  • Camera moves to look near (1.25, 1.5, 2.0)
  • Yield for 0.75 seconds
  • cancelupdate set to true switching to a terminal flow (this is too early to do this, but it is safe because the battle will end here)
  • SetText is called in dialogue with the following:
    • text: |boxstyle,1||center||shaky||halfline||size,1.75| followed by commondialogue[92]
    • fonttype: 0 (BubblegumSans)
    • linebreak: messagebreak
    • tridimensional: false
    • position: Vector3.zero
    • size: Vector3.one
    • parent: extraentities[0] (Venus)
    • caller: null
  • Yield all frames until the message lock is released
  • extraentities[0] (Venus) animstate set to 17 (WeakBattleIdle)
  • All enemydata has their hp set to 0 and their eventondeath to -1. This will force the death of everyone to happen normally without triggering this EventDialogue again
  • SetDefaultCamera called with reset
  • Yield for 0.5 seconds
  • checkingdead set to a new CheckDead call which will properly kill every enemydata
  • Yield until checkingdead is null (the CheckDead completed)