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(gml_Script_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
32
for (i = 0; i < circle_count; i++)
33
{
34
    outline[i] = outline_start
35
    shrink[i] = true
36
    hit[i] = 0
37
    imagea[i] = imagea_default
38
    thickness[i] = thick_default
39
    cursor_color[i] = color_default[0]
40
    outline_color[i] = color_default[1]
41
    color_hit_number[i] = 0
42
    color_alt_total[i] = (-color_alt_speed)
43
    outline_start += outline_start_inc
44
}
45
shot_total = 0
46
button_pressed = false
47
circle_current = 0
48
no_loop = false
49
execute_create = true