Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_feisty_four_ed_legs_Destroy_0

(view raw script w/o annotations or w/e)
1
with (obj_feisty_four_ed_head)
2
    instance_destroy()
3
with (obj_feisty_four_ed_body)
4
    instance_destroy()
5
with (obj_feisty_four_ed_hand_left)
6
    instance_destroy()
7
with (obj_feisty_four_ed_hand_right)
8
    instance_destroy()
9
with (obj_enemy_controller_feisty_four)
10
{
11
    if (global.attack_cycle == 1)
12
    {
13
        case_exec = "T1 Appear Moray"
14
        event_user(0)
15
    }
16
    else if (global.attack_cycle == 5)
17
    {
18
        case_exec = "T5 Appear Moray"
19
        event_user(0)
20
    }
21
}