Undertale Yellow script viewer
← back to main script listing
gml_Object_obj_battle_enemy_attack_penilla_drawing_Step_0
(view raw script w/o annotations or w/e)
| 1 |
if (can_fade == true) |
| 2 |
{ |
| 3 |
if (image_alpha > 0) |
| 4 |
{ |
| 5 |
image_alpha -= 0.1; |
| 6 |
if (image_alpha < 0) |
| 7 |
image_alpha = 0; |
| 8 |
if (image_alpha == 0) |
| 9 |
instance_destroy(); |
| 10 |
} |
| 11 |
} |