Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_beam_vertical_Draw_0

(view raw script w/o annotations or w/e)
1
var y_original = 0
2
var y_max = room_height
3
draw_set_color(attack_beam_draw_color)
4
draw_rectangle((x - attack_beam_width_current / 2), y_original, (x + attack_beam_width_current / 2), y_max, false)
5
draw_rectangle((x - attack_beam_width_current / 2), y_original, (x + attack_beam_width_current / 2), y_max, true)