Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_wild_revolver_battle_outline_Other_10

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
time_elapsed = 0
4
target_current += 1
5
can_rotate = false
6
no_loop_rotate = false
7
var _target_max = target_max
8
if instance_exists(obj_wild_revolver_circle_multi)
9
    _target_max -= (obj_wild_revolver_circle_multi.circle_count - 1)
10
if (target_current < _target_max)
11
{
12
    if instance_exists(obj_wild_revolver_circle_multi)
13
    {
14
        if (!instance_exists(obj_wild_revolver_circle_multi_pre))
15
        {
16
            var target_circle = instance_create(319, (319 - target_radius), obj_wild_revolver_circle_multi_pre)
17
            multishot_id = target_circle
18
            target_circle.circle_count = obj_wild_revolver_circle_multi.circle_count
19
            with (target_circle)
20
                event_user(1)
21
        }
22
        else
23
            return;
24
    }
25
    else
26
        target_circle = instance_create(319, (319 - target_radius), obj_wild_revolver_circle_pre)
27
    with (target_circle)
28
    {
29
    }
30
}
31
else if instance_exists(obj_target_bar_battle)
32
{
33
    with (obj_target_bar_battle)
34
        can_execute = true
35
    multishot_id = 2856
36
}