Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_sinusoid_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var flame = instance_create_depth(x, y, -100, obj_battle_enemy_attack_asgore_sinusoid_flame)
4
flame.vspeed = bullet_speed
5
flame.spawner_id = id
6
var flame_2 = instance_create_depth(x, y, -100, obj_battle_enemy_attack_asgore_sinusoid_flame)
7
flame_2.x_dir = -1
8
flame_2.vspeed = bullet_speed
9
flame_2.spawner_id = id
10
bullet_count--
11
if (bullet_count > 0)
12
    alarm[0] = 2
alarm[0]

if live_call() return global.live_result; var flame = instance_create_depth(x, y, -100, obj_battle_enemy_attack_asgore_sinusoid_flame) flame.vspeed = bullet_speed flame.spawner_id = id var flame_2 = instance_create_depth(x, y, -100, obj_battle_enemy_attack_asgore_sinusoid_flame) flame_2.x_dir = -1 flame_2.vspeed = bullet_speed flame_2.spawner_id = id bullet_count-- if (bullet_count > 0) alarm[0] = 2