| 1 | event_inherited(); |
| 2 | if (hp_self <= 0) |
| 3 | { |
| 4 | if (jump_noloop == false) |
| 5 | { |
| 6 | jump_noloop = true; |
| 7 | vspeed = -12; |
| 8 | gravity = 0.5; |
| 9 | image_speed = 0; |
| 10 | } |
| 11 | image_alpha -= 0.1; |
| 12 | if (image_alpha <= 0) |
| 13 | image_alpha = 0; |
| 14 | } |