Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_sinusoid_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
x_offset_max = 30
4
bullet_count = 16
5
bullet_speed = 3.5
6
sin_value = 180
7
alarm[0] = 1
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