Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_slow_surround_checker_Draw_0

related scripts: Alarm_0Alarm_1Create_0Destroy_0Draw_0 Step_0

(view raw script w/o annotations or w/e)
1
object[0] = 2865;
2
object[1] = 2861;
3
object[2] = 2862;
4
object[3] = 2871;
5
object[4] = 2878;
6
object[5] = 2879;
7
object[6] = 2893;
8
object[7] = 2378;
9
object[8] = 2380;
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
}