Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_battle_move_selected_enemy_fight_3_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(global.font_type_text)
2
if (global.enemy_sparing_3 == true || global.enemy_low_hp_3 == true)
3
    draw_set_color(c_yellow)
4
else
5
    draw_set_color(c_white)
6
draw_set_halign(fa_left)
7
draw_set_valign(fa_top)
8
scr_battle_core_directory_enemy_3_name
scr_battle_core_directory_enemy_3_name

function scr_battle_core_directory_enemy_3_name(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_3_name { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { } else if (game_mode == "yellow") { if (battle_enemy_name == "flier trio") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Flier C" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "trihecta separated") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Ta" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } } }
(68, 84)