| 1 | if (active == 1) |
| 2 | { |
| 3 | if (image_xscale < 1) |
| 4 | { |
| 5 | image_xscale += 0.08; |
| 6 | if (image_xscale > 0.2) |
| 7 | visible = true; |
| 8 | } |
| 9 | else if (con == 0) |
| 10 | { |
| 11 | image_xscale = 1; |
| 12 | con = 2; |
| 13 | alarm[4] = 10; |
| 14 | } |
| 15 | if (con == 3) |
| 16 | { |
| 17 | con = 4; |
| 18 | alarm[4] = 3; |
| 19 | } |
| 20 | if (con == 4) |
| 21 | image_blend = make_color_rgb(255, 160 + (alarm[4] * (70/3)), 160 + (alarm[4] * (70/3))); |
| 22 | if (con == 5) |
| 23 | { |
| 24 | image_alpha -= 0.2; |
| 25 | if (memorymode == 0) |
| 26 | { |
| 27 | if (image_alpha < 0.1) |
| 28 | instance_destroy(); |
| 29 | } |
| 30 | if (memorymode == 1) |
| 31 | { |
| 32 | if (image_alpha < 0.1) |
| 33 | { |
| 34 | visible = false; |
| 35 | active = 0; |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | } |