Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_arc_diamond_Alarm_0

(view raw script w/o annotations or w/e)
1
if (image_blend != c_red)
2
{
3
    audio_play_sound(snd_bullet_warning, 1, 0);
4
    image_blend = c_red;
5
    alarm[0] = 2;
gml_Object_obj_battle_enemy_attack_ceroba_arc_diamond_Alarm_0.gml

if (image_blend != c_red) { audio_play_sound(snd_bullet_warning, 1, 0); image_blend = c_red; alarm[0] = 2; } else { image_blend = c_white; alarm[1] = 15; audio_play_sound(snd_ceroba_swoosh, 1, 0); }
6
}
7
else
8
{
9
    image_blend = c_white;
10
    alarm[1] = 15;
gml_Object_obj_battle_enemy_attack_ceroba_arc_diamond_Alarm_1.gml

bullet_state = 2; direction = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y); audio_play_sound(snd_ceroba_diamond_fire, 1, 0);
11
    audio_play_sound(snd_ceroba_swoosh, 1, 0);
12
}