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
SandWyrmTail
has itsdeathroutine
set to a new Death call on it with activatekillSandWyrm
animstate set to 105TidalDeath
sound plays with 1.125 pitch- Yield for a second
- Yield for 0.1 second
- DeathSmoke particles plays at the
SandWyrm
position + (-1.5, 0.0, -0.1) - ShakeScreen called with an ammount of 0.05 and 0.25 time
Death3
sound plays- Yield for 0.25 seconds
- SetCondition called to inflict the Flipped condition on
SandWyrm
for 2 main turns SandWyrm
'ssize
set to 2.75SandWyrm
'scursoroffset
set to (-2.5, 1.5, 0.0)- Yield all frames until
SandWyrmTail
'sdeathcoroutine
completed SandWyrm
's VenusBattle is SetUp with itself as the target, but null as the parentSandWyrm
'ssize
set to 2.75SandWyrm
'sbasestate
set 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
SandWyrm
was called when still Flipped) - ShakeScreen called with an ammount of 0.05 and 0.85 time
TidalDeath
sound playsSandWyrm
animstate set to 18 (KO
)SandWyrm
's eventondeath set to -1 (needed for this EventDialogue to not trigger again when theSandWyrm
dies)- If the
SandWyrmTail
exists inenemydata
:- Their
hp
is 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
SandWyrmTail
exists inenemydata
:- Death is called on them with activatekill
SandWyrm
has itsdeathroutine
set to a new Death call on it with activatekill- Yield all frames until
deathroutine
is null (theSandWyrm
death finished) checkingdead
is set to a new CheckDead call which will kill bothSandWyrm
andSandWyrmTail
- Yield all frames until
checkingdead
is null (the CheckDead completed) - If there was no enemy party member alive with an
hp
above 0 at the start of this action andcancelupdate
is false (haven't yet switched to a terminal flow), EndBattleWon is called with addexp and no skipids to end the battle