Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_no_attack_martlet_genocide

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

function scr_start_enemy_no_attack_martlet_genocide() //gml_Script_scr_start_enemy_no_attack_martlet_genocide { 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_genocide_standard) break case 2: instance_create(0, 0, obj_quote_battle_martlet_genocide_attack) break case 4: instance_create(0, 0, obj_quote_battle_martlet_genocide_apologize) break } }
() //gml_Script_scr_start_enemy_no_attack_martlet_genocide
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_genocide_standard)
9
            break
10
        case 2:
11
            instance_create(0, 0, obj_quote_battle_martlet_genocide_attack)
12
            break
13
        case 4:
14
            instance_create(0, 0, obj_quote_battle_martlet_genocide_apologize)
15
            break
16
    }
17
18
}