Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_battle_stat_lv_Draw_0

(view raw script w/o annotations or w/e)
1
var game_mode = global.game_mode
2
var battle_enemy_name = global.battle_enemy_name
3
draw_set_font(fnt_mars_needs_cunnilingus)
4
draw_set_color(c_white)
5
draw_set_halign(fa_left)
6
draw_set_valign(fa_top)
7
if (game_mode == "customs")
8
    draw_text_colour(147, 400, string_hash_to_newline("LV " + string(global.player_level)), c_white, c_white, c_white, c_white, global.image_alpha_enemy_attacking)
9
else if (game_mode == "yellow")
10
{
11
    if (battle_enemy_name == "flowey intro" || battle_enemy_name == "shufflers")
12
        draw_text_colour(200, 400, string_hash_to_newline("LV " + string(global.player_level)), c_white, c_white, c_white, c_white, global.image_alpha_enemy_attacking)
13
    else
14
        draw_text_colour(147, 400, string_hash_to_newline("LV " + string(global.player_level)), c_white, c_white, c_white, c_white, global.image_alpha_enemy_attacking)
15
}