Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_tornado_follow_Other_10

(view raw script w/o annotations or w/e)
1
image_alpha = id_master.image_alpha
2
feather_angle = id_master.feather_angle
3
x_radius = id_master.x_radius + radius_difference
4
y_radius = id_master.y_radius
5
x = x_center + x_radius * cos(degtorad(feather_angle))
6
y = y_center - y_radius * sin(degtorad(feather_angle))
7
if (id_counter == "above")
8
    y += (id_master.skew_difference + y_difference)
9
else
10
    y += y_difference
11
draw_color = id_master.draw_color
12
depth = id_master.depth
13
image_xscale = id_master.image_xscale
14
if (id_counter == "above")
15
    image_angle = (-sign(id_master.y_skew_multiplier)) * (radtodeg(arctan(abs(id_master.y_skew_multiplier) / x_radius)))
16
else
17
    image_angle = 0