Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_body_Other_76

(view raw script w/o annotations or w/e)
1
if (ds_map_find_value(event_data, "event_type") == "sprite event")
2
{
3
    switch ds_map_find_value(event_data, "message")
4
    {
5
        case "ceroba_phase_switch":
6
            audio_play_sound(snd_ceroba_yell, 1, 0)
7
            audio_sound_gain(mus_trial_by_fury_2, 1, 0)
8
            audio_sound_pitch(mus_trial_by_fury_2, 1)
9
            audio_play_sound(mus_trial_by_fury_2, 20, true)
10
            scr_screenshake_battle
scr_screenshake_battle

function scr_screenshake_battle() //gml_Script_scr_screenshake_battle { instance_destroy(obj_screenshake_battle) var screenshake = instance_create(0, 0, obj_screenshake_battle) battle_screenshake_duration = argument[0] battle_screenshake_intensity = argument[1] battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration }
(6, 2)
11
            break
12
    }
13
14
}