Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_beam_horizontal_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_color(attack_beam_draw_color)
2
var x_original = 0
3
var x_max = room_width
4
draw_rectangle(x_original, (y - attack_beam_width_current / 2), x_max, (y + attack_beam_width_current / 2), false)
5
draw_rectangle(x_original, (y - attack_beam_width_current / 2), x_max, (y + attack_beam_width_current / 2), true)