Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_noellepuzzle_screen_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
draw_sprite_ext(spr_ch2_keyboard_speaker_small_city, speaker_index, x + 87, y + (sprite_get_height(sprite_index) * image_xscale) + 10, 2, 2, 1, c_white, 1);
3
_xx = x + 95;
4
_yy = y + 25;
5
if (myString == "?")
6
    won = false;
7
else
8
    won = true;
9
draw_set_font(fnt_mainbig);
10
draw_set_color(unsolved);
11
if (won)
12
    draw_set_color(c_yellow);
13
draw_text(_xx, _yy, myString);