Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_jumping_flowers_checker_Step_0

(view raw script w/o annotations or w/e)
1
switch (counter_current)
2
{
3
    case 0:
4
        with (instance_create(320, room_height + 60, obj_battle_enemy_attack_ceroba_jumping_flower))
5
            ring_object = 2725;
6
        counter_timer = 35;
7
        counter_current++;
8
        break;
9
    case 1:
10
        if (counter_timer > 0)
11
        {
12
            counter_timer--;
13
            exit;
14
        }
15
        with (instance_create(370, room_height + 60, obj_battle_enemy_attack_ceroba_jumping_flower))
16
            ring_object = 2727;
17
        counter_timer = 20;
18
        counter_current++;
19
        break;
20
    case 2:
21
        if (counter_timer > 0)
22
        {
23
            counter_timer--;
24
            exit;
25
        }
26
        with (instance_create(270, room_height + 60, obj_battle_enemy_attack_ceroba_jumping_flower))
27
            ring_object = 2725;
28
        counter_timer = 40;
29
        counter_current++;
30
        break;
31
    case 3:
32
        if (counter_timer > 0)
33
        {
34
            counter_timer--;
35
            exit;
36
        }
37
        with (instance_create(250, room_height + 60, obj_battle_enemy_attack_ceroba_jumping_flower))
38
            ring_object = 2727;
39
        with (instance_create(390, room_height + 60, obj_battle_enemy_attack_ceroba_jumping_flower))
40
            ring_object = 2725;
41
        counter_timer = 130;
42
        counter_current++;
43
        break;
44
    case 4:
45
        if (counter_timer > 0)
46
        {
47
            counter_timer--;
48
            exit;
49
        }
50
        instance_destroy();
51
        break;
52
}