SandWyrm and SandWyrmTail EventDialogues¶
This event dialogue occurs either by SandWyrm or SandWyrmTail's eventondeath which is assumed to be configured to this EventDialogue. Each have their own EventDialogue, but they are documented in the same page as they are closely related.
EventDialogue 13¶
This EventDialogue is meant to trigger as the eventondeath of SandWyrmTail.
Due to special logic that happened in EnemyCheck, it is guaranteed that a SandWyrm and a SandWyrmTail are part of the enemy party (the SandWyrm couldn't have died because if they did, the SandWyrmTail would have been killed too, check the EventDialogue 14 details below for why).
This EventDialogue allows to stop SandWyrm temporarilly when SandWyrmTail dies.
- ClearStatus called on the
SandWyrm SandWyrmTailhas itsdeathroutineset to a new Death call on it with activatekillSandWyrmanimstate set to 105TidalDeathsound plays with 1.125 pitch- Yield for a second
- Yield for 0.1 second
- DeathSmoke particles plays at the
SandWyrmposition + (-1.5, 0.0, -0.1) - ShakeScreen called with an ammount of 0.05 and 0.25 time
Death3sound plays- Yield for 0.25 seconds
- SetCondition called to inflict the Flipped condition on
SandWyrmfor 2 main turns SandWyrm'ssizeset to 2.75SandWyrm'scursoroffsetset to (-2.5, 1.5, 0.0)- Yield all frames until
SandWyrmTail'sdeathcoroutinecompleted SandWyrm's VenusBattle is SetUp with itself as the target, but null as the parentSandWyrm'ssizeset to 2.75SandWyrm'sbasestateset to 15 (Fallen)- ReorganizeEnemies called
EventDialogue 14¶
This EventDialogue is meant to trigger as the eventondeath of SandWyrm. It thoroughly kills SandWyrmTail and themselves:
- The enemy party member of the SandWyrmTail is obtained (it's possible it doesn't exist if the
SandWyrmwas called when still Flipped) - ShakeScreen called with an ammount of 0.05 and 0.85 time
TidalDeathsound playsSandWyrmanimstate set to 18 (KO)SandWyrm's eventondeath set to -1 (needed for this EventDialogue to not trigger again when theSandWyrmdies)- If the
SandWyrmTailexists inenemydata:- Their
hpis set to 0 - Their eventondeath is set to -1 (so their EventDialogue don't trigger)
- Their
- Yield for a second
- Yield for 1.5 seconds
- If the
SandWyrmTailexists inenemydata:- Death is called on them with activatekill
SandWyrmhas itsdeathroutineset to a new Death call on it with activatekill- Yield all frames until
deathroutineis null (theSandWyrmdeath finished) checkingdeadis set to a new CheckDead call which will kill bothSandWyrmandSandWyrmTail- Yield all frames until
checkingdeadis null (the CheckDead completed) - If there was no enemy party member alive with an
hpabove 0 at the start of this action andcancelupdateis false (haven't yet switched to a terminal flow), EndBattleWon is called with addexp and no skipids to end the battle