1 | draw_set_color(c_black) |
2 | draw_set_alpha(draw_alpha) |
3 | draw_rectangle(0, 0, room_width, room_height, false) |
4 | draw_set_alpha(1) |
5 | if instance_exists(obj_player_npc) |
6 | { |
7 | shader_set(sh_yellow) |
8 | draw_set_alpha(draw_clover_yellow_alpha) |
9 | draw_sprite(obj_player_npc.sprite_index, obj_player_npc.image_index, obj_player_npc.x, obj_player_npc.y) |
10 | draw_set_alpha(1) |
11 | shader_reset() |
12 | } |