Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_keyboardpuzzle_solo_tile_Draw_0

(view raw script w/o annotations or w/e)
1
image_index = pressed;
2
draw_sprite_ext(sprite_index, image_index, x, y + drawY, 1, 1, 0, image_blend, image_alpha);
3
draw_sprite_ext(spr_ch2_keyboard_tile_text, textImage, x, y + (pressed * 4) + drawY, 2, 2, 0, image_blend, image_alpha);
4
_xx = x + 20;
5
_yy = y - 320;
6
draw_set_font(fnt_mainbig);
7
draw_set_color(c_white);
8
draw_text(_xx, _yy, myString);
9
if (down)
10
{
11
    draw_set_color(c_lime);
12
    if (won)
13
        draw_set_color(c_yellow);
14
    draw_text(_xx, _yy + 28, myString);
15
}