Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_fleeing_martlet_genocide

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

function scr_start_enemy_fleeing_martlet_genocide() //gml_Script_scr_start_enemy_fleeing_martlet_genocide { scr_audio_fade_out_battle(1000) instance_create(380, 74, obj_quote_bubble_battle_yellow_3) var enemy_mode = global.enemy_mode switch enemy_mode { case 5: instance_create(0, 0, obj_quote_battle_martlet_genocide_fight_end) break case 6: break } }
() //gml_Script_scr_start_enemy_fleeing_martlet_genocide
2
{
3
    scr_audio_fade_out_battle
scr_audio_fade_out_battle

function scr_audio_fade_out_battle(argument0) //gml_Script_scr_audio_fade_out_battle { var audio_array_val = 0 sound_y[audio_array_val] = mus_apprehension_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvbattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvopening_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_01_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_02_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_03_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_04_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_05_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_06_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_07_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_08_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_09_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_10_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_finale_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_battle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_decibat_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_floweynew_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_funsized_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_genobattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_mart_geno_wind_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_martletbattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_nobodycame_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_occupied_turf_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle1_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle2_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle3_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_battle_snowdin audio_array_val += 1 sound_y[audio_array_val] = mus_trial_by_fury audio_array_val += 1 sound_y[audio_array_val] = mus_heatwave_approaching for (i = 0; i < array_length_1d(sound_y); i += 1) { if audio_is_playing(sound_y[i]) audio_sound_gain(sound_y[i], 0, argument0) } }
(1000)
4
    instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
5
    var enemy_mode = global.enemy_mode
6
    switch enemy_mode
7
    {
8
        case 5:
9
            instance_create(0, 0, obj_quote_battle_martlet_genocide_fight_end)
10
            break
11
        case 6:
12
            break
13
    }
14
15
}