Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_fire_circle_explosion_Alarm_0

(view raw script w/o annotations or w/e)
1
if (global.battle_phase == 1)
2
{
3
    switch obj_battle_enemy_attack_ceroba_fire_circle_checker.counter_circle_number
4
    {
5
        case 0:
6
        case 3:
7
        case 5:
8
        case 6:
9
            var ring_object = obj_battle_enemy_attack_ceroba_fire_circle_ring_orange
10
            break
11
        case 1:
12
        case 2:
13
        case 4:
14
        default:
15
            ring_object = obj_battle_enemy_attack_ceroba_fire_circle_ring_blue
16
            break
17
    }
18
19
}
20
if (global.battle_phase == 2)
21
{
22
    switch obj_battle_enemy_attack_ceroba_fire_circle_checker.counter_circle_number
23
    {
24
        case 0:
25
        case 2:
26
        case 3:
27
        case 5:
28
        case 8:
29
        case 9:
30
            ring_object = 2727
31
            break
32
        case 1:
33
        case 4:
34
        case 6:
35
        case 7:
36
        default:
37
            ring_object = 2725
38
            break
39
    }
40
41
}
42
obj_battle_enemy_attack_ceroba_fire_circle_checker.counter_circle_number += 1
43
instance_create(x, y, ring_object)
44
screenshake = true