Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_dw_cyber_tasque_battle_controller_Draw_0

(view raw script w/o annotations or w/e)
1
if (global.interact == 0)
2
{
3
    wait++;
4
    if (wait > 1800 && global.flag[330 found_tasque_switch] == 0)
5
    {
6
        alpha1 += 0.0025;
7
        alpha2 += 0.00125;
8
        alpha1 = clamp(alpha1, 0, 0.5);
9
        alpha2 = clamp(alpha1, 0, 0.32);
10
        draw_sprite_ext(spr_tasqueHintLine_h1, 0, 556, 498, 2, 2, 0, c_white, alpha1);
11
        draw_sprite_ext(spr_tasqueHintLine_h2, 0, 556, 498, 2, 2, 0, c_white, alpha2);
12
        draw_sprite_ext(spr_tasqueHintLine_v1, 0, 558, 498, 2, 2, 0, c_white, alpha1);
13
        draw_sprite_ext(spr_tasqueHintLine_v2, 0, 558, 498, 2, 2, 0, c_white, alpha2);
14
    }
15
}