Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jg_1_Alarm_1

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
audio_pos = "middle"
4
spawn_notes = false
5
speaker_left.image_speed = 0
6
speaker_right.image_speed = 0
7
alarm[0] = 45
alarm[0]

if live_call() return global.live_result; audio_pos = choose("left", "right") spawn_offset_x = 0 spawn_interval = 5 if (audio_pos == "right") { speaker_right.image_speed = 1 spawn_offset_dir = 1 } else { speaker_left.image_speed = 1 spawn_offset_dir = -1 } alarm[3] = 30