Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_box_battle_transformation_any_in_Alarm_0

(view raw script w/o annotations or w/e)
1
global.enemy_attacking = false;
2
instance_create(32, 250, obj_dialogue_box_battle);
3
if (global.last_text_move_select == -1)
4
    script_execute(scr_late_audio_enemy_encounter);
5
if (global.last_text_move_select < 1)
6
    global.last_text_move_select += 1;
7
var game_mode = global.game_mode;
8
if (game_mode == "customs")
9
{
10
    global.determine_attack_priority = 1;
11
    script_execute(scr_determine_enemy_attack);
12
}
13
else if (game_mode == "yellow")
14
{
15
    global.determine_attack_priority = 1;
16
    script_execute(scr_determine_enemy_attack_yellow);
17
}
18
if (global.important_cutscene == false)
19
{
20
    with (obj_heart_battle_menu)
21
        event_user(0);
22
}
23
instance_destroy();