Deltarune script viewer

← back to main script listing

gml_Object_obj_sneo_faceattack_Destroy_0

(view raw script w/o annotations or w/e)
1
if (boss == 1)
2
{
3
    if (obj_spamton_neo_enemy.eyeshp <= 0 && obj_spamton_neo_enemy.nosehp <= 0 && obj_spamton_neo_enemy.mouthhp <= 0 && i_ex(obj_spamton_neo_enemy))
4
    {
5
        with (obj_spamton_neo_enemy)
6
        {
7
            eyeshp = 16
8
            nosehp = 16
9
            mouthhp = 16
10
            facebroken = 2
11
        }
12
    }
13
}
14
with (obj_sneo_faceattack_target)
15
    instance_destroy()