Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_flow_horizontal_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (x < 359)
3
    angle = 0
4
else
5
    angle = 180
6
angle_movement = choose(-1, 1)
7
angle_max = angle + 45
8
angle_min = angle - 45
9
angle_sway = 3
10
image_angle = angle