Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_sinusoid_flame_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
sin_value += 9
4
if (sin_value > 359)
5
    sin_value -= 360
6
var sin_current = sin(degtorad(sin_value))
7
var x_offset = spawner_id.x_offset_max
8
var b_speed = spawner_id.bullet_speed
9
y += b_speed
10
x = xstart + sin_current * (x_offset * x_dir)