1 | if (launch_count == launch_max) |
2 | { |
3 | instance_destroy() |
4 | return; |
5 | } |
6 | else if (launch_count == 0) |
7 | { |
8 | with (id_arm) |
9 | launch_state = 2 |
10 | } |
11 | else |
12 | { |
13 | with (id_arm) |
14 | launch_state = 1 |
15 | } |
16 | launch_count += 1 |
17 | launch_alarm_active = false |