Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_recreate_heart_battle_menu_text_ceroba_genocide

(view raw script w/o annotations or w/e)
1
function scr_recreate_heart_battle_menu_text_ceroba_genocide
scr_recreate_heart_battle_menu_text_ceroba_genocide

function scr_recreate_heart_battle_menu_text_ceroba_genocide() //gml_Script_scr_recreate_heart_battle_menu_text_ceroba_genocide { var last_text_move_select = global.last_text_move_select var enemy_mode = global.enemy_mode if (text_deadlock_1 == true) instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), text_deadlock_contents_1) else { var random_text_move_select = irandom_range(1, 5) if (random_text_move_select == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1) text_deadlock_contents_1 = 3020 text_deadlock_1 = true } else if (random_text_move_select == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2) text_deadlock_contents_1 = 3021 text_deadlock_1 = true } else if (random_text_move_select == 3) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3) text_deadlock_contents_1 = 3022 text_deadlock_1 = true } else if (random_text_move_select == 4) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_4) text_deadlock_contents_1 = 3023 text_deadlock_1 = true } else if (random_text_move_select == 5) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_5) text_deadlock_contents_1 = 3024 text_deadlock_1 = true } } }
() //gml_Script_scr_recreate_heart_battle_menu_text_ceroba_genocide
2
{
3
    var last_text_move_select = global.last_text_move_select
4
    var enemy_mode = global.enemy_mode
5
    if (text_deadlock_1 == true)
6
        instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), text_deadlock_contents_1)
7
    else
8
    {
9
        var random_text_move_select = irandom_range(1, 5)
10
        if (random_text_move_select == 1)
11
        {
12
            instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1)
13
            text_deadlock_contents_1 = 3020
14
            text_deadlock_1 = true
15
        }
16
        else if (random_text_move_select == 2)
17
        {
18
            instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2)
19
            text_deadlock_contents_1 = 3021
20
            text_deadlock_1 = true
21
        }
22
        else if (random_text_move_select == 3)
23
        {
24
            instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3)
25
            text_deadlock_contents_1 = 3022
26
            text_deadlock_1 = true
27
        }
28
        else if (random_text_move_select == 4)
29
        {
30
            instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_4)
31
            text_deadlock_contents_1 = 3023
32
            text_deadlock_1 = true
33
        }
34
        else if (random_text_move_select == 5)
35
        {
36
            instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_5)
37
            text_deadlock_contents_1 = 3024
38
            text_deadlock_1 = true
39
        }
40
    }
41
}