Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_battle_move_selected_action_4_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(global.font_type_text)
2
draw_set_halign(fa_left)
3
draw_set_valign(fa_top)
4
scr_battle_core_directory_action_4_name
scr_battle_core_directory_action_4_name

function scr_battle_core_directory_action_4_name() //gml_Script_scr_battle_core_directory_action_4_name { if (global.battling_boss == true) { var battle_enemy_name = global.battle_enemy_name if (global.action_4_important == true) draw_set_color(global.action_4_color) else draw_set_color(c_white) } else { var act_number = global.act_number switch act_number { case 1: battle_enemy_name = global.battle_enemy_name_1 if (global.action_4_important == true) draw_set_color(global.action_4_color) else draw_set_color(c_white) break case 2: battle_enemy_name = global.battle_enemy_name_2 if (global.action_4_important_2 == true) draw_set_color(global.action_4_color_2) else draw_set_color(c_white) break case 3: battle_enemy_name = global.battle_enemy_name_3 if (global.action_4_important_3 == true) draw_set_color(global.action_4_color_3) else draw_set_color(c_white) break default: battle_enemy_name = global.battle_enemy_name_1 if (global.action_4_important == true) { draw_set_color(global.action_4_color) break } else draw_set_color(c_white) } } var game_mode = global.game_mode if (game_mode == "customs") { } else if (game_mode == "yellow") { } }
(68, 84)