Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_toy_gun_circle_multi_Other_11

(view raw script w/o annotations or w/e)
1
script_execute(scr_color_light_blue);
2
final_circle = circle_count - 1;
3
small_circle = 64;
4
outline_start = 120;
5
outline_start_inc = 0;
6
imagea_default = 1;
7
imagea_dec = 0.05263157894736842;
8
thick_default = 0;
9
thick_increase = 2;
10
color_default[0] = 16777215;
11
color_default[1] = 0;
12
color_hit[0] = c_lightblue;
13
color_hit[1] = 65535;
14
color_hit[2] = 255;
15
color_alt_speed = 0.5;
16
color_alt_max = 1;
17
switch (global.player_weapon_modifier)
18
{
19
    case "Flint":
20
        shrink_speed = 5;
21
        outline_start_inc = shrink_speed * 10;
22
        break;
23
    case "Ice Pellets":
24
        shrink_speed = 5;
25
        outline_start_inc = shrink_speed * 10;
26
        break;
27
    default:
28
        shrink_speed = 6;
29
        outline_start_inc = shrink_speed * 10;
30
}
31
for (i = 0; i < circle_count; i++)
32
{
33
    outline[i] = outline_start;
34
    shrink[i] = true;
35
    hit[i] = 0;
36
    imagea[i] = imagea_default;
37
    thickness[i] = thick_default;
38
    cursor_color[i] = color_default[0];
39
    outline_color[i] = color_default[1];
40
    color_hit_number[i] = 0;
41
    color_alt_total[i] = -color_alt_speed;
42
    outline_start += outline_start_inc;
43
}
44
shot_total = 0;
45
button_pressed = false;
46
circle_current = 0;
47
no_loop = false;
48
execute_create = true;