Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_credits_Draw_64

(view raw script w/o annotations or w/e)
1
draw_set_alpha(1 - alpha)
2
draw_set_color(c_black)
3
draw_rectangle(0, 0, 640, 480, false)
4
draw_set_alpha(1)
5
display_set_gui_size(640, 480)
6
var xx = room_width / 2
7
var xx2 = 370
8
var yy2 = yy + 320
9
draw_set_alpha(alpha)
10
draw_sprite(spr_logo_undertale, 1, 320, yy)
11
draw_sprite(logo_yellow, 1, 320, (yy + 52))
12
draw_set_alpha(1)
13
draw_set_font(fnt_mainb)
14
draw_set_halign(fa_center)
15
draw_set_color(c_white)
16
draw_text_ext(xx, yy2, string_hash_to_newline(string_credits), -1, -1)
17
draw_set_color(c_yellow)
18
draw_text_ext(xx, yy2, string_hash_to_newline(string_credits_yellow), -1, -1)
19
draw_set_color(c_white)
20
if draw_bye
21
    draw_text(xx, 400, string_hash_to_newline("(Yes, this is the end.)"))
22
display_set_gui_size(320, 240)