Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_slow_surround_checker_Draw_0

(view raw script w/o annotations or w/e)
1
object[0] = 2863;
2
object[1] = 2859;
3
object[2] = 2860;
4
object[3] = 2869;
5
object[4] = 2876;
6
object[5] = 2877;
7
object[6] = 2891;
8
object[7] = 2377;
9
object[8] = 2379;
10
var alpha_new = starlo_take_aim_overlay_alpha;
11
var alpha_id = shader_alpha;
12
for (var i = 0; i < array_length_1d(object); i++)
13
{
14
    with (object[i])
15
    {
16
        shader_set(sh_grayscale);
17
        shader_set_uniform_f(alpha_id, alpha_new);
18
        draw_self();
19
        shader_reset();
20
    }
21
}