Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mainmenu_debug_Draw_64

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_font(fnt_main)
4
draw_set_halign(fa_center)
5
display_set_gui_size(640, 480)
6
draw_text(320, 60, "Undertale Yellow DEBUG BUILD")
7
draw_set_color(c_white)
8
draw_text(320, 100, "CONTINUE")
9
draw_text(320, 160, "RESET OPTIONS:")
10
draw_text(320, 190, ("ROUTE: " + route_selection))
11
draw_text(320, 210, ("BONUS ITEMS:" + string(bonus_items)))
12
draw_text(320, 230, ("FOLLOWER:" + object_get_name(follower_selection)))
13
draw_text(320, 250, ("ROOM: " + room_selection))
14
draw_text(320, 270, "RESET")
15
draw_text(320, 300, "INSTANT CEROBA")
16
draw_text(320, 330, "INSTANT FLOWEY")
17
draw_text(320, 360, "INSTANT MARTLET")
18
draw_set_color(c_white)
19
var soul_xx = 240
20
var soul_yy = 100
21
switch menu_selection
22
{
23
    case 0:
24
        soul_yy = 100
25
        break
26
    case 1:
27
        soul_yy = 190
28
        break
29
    case 2:
30
        soul_yy = 210
31
        break
32
    case 3:
33
        soul_yy = 230
34
        break
35
    case 4:
36
        soul_yy = 250
37
        break
38
    case 5:
39
        soul_yy = 270
40
        break
41
    case 6:
42
        soul_yy = 300
43
        break
44
    case 7:
45
        soul_yy = 330
46
        break
47
    case 8:
48
        soul_yy = 360
49
        break
50
}
51
52
draw_sprite(spr_heart_yellow_down, 0, soul_xx, (soul_yy + 8))
53
draw_set_halign(fa_left)
54
display_set_gui_size(320, 240)