Deltarune script viewer

← back to main script listing

gml_Object_obj_gif_analyzer_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_color(c_red)
2
draw_set_font(fnt_mainbig)
3
if sprite_exists(mygif)
4
{
5
    sprite_index = mygif
6
    draw_self()
7
    timer++
8
    if keyboard_check(vk_left)
9
        image_index -= 1
10
    if keyboard_check(vk_right)
11
        image_index += 1
12
    if keyboard_check_pressed(vk_up)
13
        image_index++
14
    if keyboard_check_pressed(vk_down)
15
        image_index++
16
    draw_text(20, (cameray() + 440), "This is broken bc GM cant import gifs. lol. see you in 2.3")
17
}
18
else
19
    draw_text(20, (cameray() + 460), "GIF not found.")