Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_no_attack_martlet_pacifist

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

function scr_start_enemy_no_attack_martlet_pacifist() //gml_Script_scr_start_enemy_no_attack_martlet_pacifist { instance_create(380, 74, obj_quote_bubble_battle_yellow_3) var enemy_mode = global.enemy_mode switch enemy_mode { case 1: instance_create(0, 0, obj_quote_battle_martlet_pacifist_miss) break case 4: instance_create(0, 0, obj_quote_battle_martlet_pacifist_pacifist) break case 5: instance_create(0, 0, obj_quote_battle_martlet_pacifist_true_pacifist) break case 6: instance_create(0, 0, obj_quote_battle_martlet_pacifist_insult_1) break case 8: instance_create(0, 0, obj_quote_battle_martlet_pacifist_confused_1) break case 9: instance_create(0, 0, obj_quote_battle_martlet_pacifist_confused_2) break } }
() //gml_Script_scr_start_enemy_no_attack_martlet_pacifist
2
{
3
    instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
4
    var enemy_mode = global.enemy_mode
5
    switch enemy_mode
6
    {
7
        case 1:
8
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_miss)
9
            break
10
        case 4:
11
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_pacifist)
12
            break
13
        case 5:
14
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_true_pacifist)
15
            break
16
        case 6:
17
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_insult_1)
18
            break
19
        case 8:
20
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_confused_1)
21
            break
22
        case 9:
23
            instance_create(0, 0, obj_quote_battle_martlet_pacifist_confused_2)
24
            break
25
    }
26
27
}