Kali EventDialogue¶
Kali
has an EventDialogue that is meant to trigger as their eventondeath. This is mostly a mini cutscene supplementing their death, but also to ensure that Beetle also dies with them.
Logic sequence¶
- BreakIce called on
Kali
Kali
'sisnumb
andisasleep
are set to falseKali
animstate set to 18 (KO
)Kali
'snotalk
set to true- Yield for a second
- SetText is called in dialogue with the following:
- text:
commondialogue[160]
- fonttype: 0 (
BubblegumSans
) - linebreak:
messagebreak
- tridimensional: false
- position: Vector3.zero
- size: Vector3.one
- parent:
Kali
- caller: null
- text:
- Yield all frames until the message lock is released
- Yield for 0.5 seconds
- If
Beetle
is still present (they could have already died):- Their
exp
is set to 0 - Their animstate is set to 11 (
Hurt
) - Their
hp
is set to 0
- Their
- EndBattleWon is called with addexp and no skipids which will end the battle and switch to a terminal flow