Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_no_attack

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

function scr_battle_core_directory_no_attack() //gml_Script_scr_battle_core_directory_no_attack { var battle_enemy_name = global.battle_enemy_name var enemy_attack = global.enemy_attack var game_mode = global.game_mode if (game_mode == "customs") { } else if (game_mode == "yellow") { if (battle_enemy_name == "decibat") { script_execute(gml_Script_scr_start_enemy_sparing_decibat) no_loop_can_attack = true } else if (battle_enemy_name == "dalv") { script_execute(gml_Script_scr_start_enemy_no_attack_dalv) no_loop_can_attack = true } else if (battle_enemy_name == "insomnitot solo") { script_execute(gml_Script_scr_start_enemy_no_attack_insomnitot_solo) no_loop_can_attack = true } else if (battle_enemy_name == "insomnitot duo") { script_execute(gml_Script_scr_start_enemy_no_attack_insomnitot_duo) no_loop_can_attack = true } else if (battle_enemy_name == "know cone insomnitot duo") { script_execute(gml_Script_scr_start_enemy_no_attack_know_cone_insomnitot_duo) no_loop_can_attack = true } else if (battle_enemy_name == "martlet pacifist") { script_execute(gml_Script_scr_start_enemy_no_attack_martlet_pacifist) no_loop_can_attack = true } else if (battle_enemy_name == "martlet genocide") { script_execute(gml_Script_scr_start_enemy_no_attack_martlet_genocide) no_loop_can_attack = true } else if (battle_enemy_name == "dummy training pacifist") { script_execute(gml_Script_scr_start_enemy_no_attack_dummy_training_pacifist) no_loop_can_attack = true } else if (battle_enemy_name == "axis" || battle_enemy_name == "axis genocide") { script_execute(gml_Script_scr_start_enemy_no_attack_axis) no_loop_can_attack = true } } }
() //gml_Script_scr_battle_core_directory_no_attack
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var enemy_attack = global.enemy_attack
5
    var game_mode = global.game_mode
6
    if (game_mode == "customs")
7
    {
8
    }
9
    else if (game_mode == "yellow")
10
    {
11
        if (battle_enemy_name == "decibat")
12
        {
13
            script_execute(gml_Script_scr_start_enemy_sparing_decibat)
14
            no_loop_can_attack = true
15
        }
16
        else if (battle_enemy_name == "dalv")
17
        {
18
            script_execute(gml_Script_scr_start_enemy_no_attack_dalv)
19
            no_loop_can_attack = true
20
        }
21
        else if (battle_enemy_name == "insomnitot solo")
22
        {
23
            script_execute(gml_Script_scr_start_enemy_no_attack_insomnitot_solo)
24
            no_loop_can_attack = true
25
        }
26
        else if (battle_enemy_name == "insomnitot duo")
27
        {
28
            script_execute(gml_Script_scr_start_enemy_no_attack_insomnitot_duo)
29
            no_loop_can_attack = true
30
        }
31
        else if (battle_enemy_name == "know cone insomnitot duo")
32
        {
33
            script_execute(gml_Script_scr_start_enemy_no_attack_know_cone_insomnitot_duo)
34
            no_loop_can_attack = true
35
        }
36
        else if (battle_enemy_name == "martlet pacifist")
37
        {
38
            script_execute(gml_Script_scr_start_enemy_no_attack_martlet_pacifist)
39
            no_loop_can_attack = true
40
        }
41
        else if (battle_enemy_name == "martlet genocide")
42
        {
43
            script_execute(gml_Script_scr_start_enemy_no_attack_martlet_genocide)
44
            no_loop_can_attack = true
45
        }
46
        else if (battle_enemy_name == "dummy training pacifist")
47
        {
48
            script_execute(gml_Script_scr_start_enemy_no_attack_dummy_training_pacifist)
49
            no_loop_can_attack = true
50
        }
51
        else if (battle_enemy_name == "axis" || battle_enemy_name == "axis genocide")
52
        {
53
            script_execute(gml_Script_scr_start_enemy_no_attack_axis)
54
            no_loop_can_attack = true
55
        }
56
    }
57
}