| 1 |
switch (slide_count) |
| 2 |
{ |
| 3 |
case 1: |
| 4 |
with (obj_intro_slide_1_parent) |
| 5 |
instance_destroy(); |
| 6 |
instance_create(0, 0, obj_intro_border_slide_2); |
| 7 |
instance_create(60, 36, obj_intro_coffins_slide_2); |
| 8 |
alarm[0] = 250; |
| 9 |
with (obj_intro_text) |
| 10 |
increase_message_count = true; |
| 11 |
break; |
| 12 |
case 2: |
| 13 |
with (obj_intro_slide_2_parent) |
| 14 |
instance_destroy(); |
| 15 |
instance_create(60, 36, obj_intro_slide_3_new); |
| 16 |
alarm[0] = 250; |
| 17 |
with (obj_intro_text) |
| 18 |
increase_message_count = true; |
| 19 |
break; |
| 20 |
case 3: |
| 21 |
with (obj_intro_slide_3_parent) |
| 22 |
instance_destroy(); |
| 23 |
instance_create(0, 0, obj_intro_border_slide_4); |
| 24 |
instance_create(0, 0, obj_intro_background_slide_4); |
| 25 |
instance_create(0, 0, obj_intro_dood_slide_4); |
| 26 |
instance_create(0, 0, obj_intro_canister_slide_4); |
| 27 |
instance_create(0, 0, obj_intro_heart_slide_4); |
| 28 |
alarm[0] = 340; |
| 29 |
with (obj_intro_text) |
| 30 |
increase_message_count = true; |
| 31 |
break; |
| 32 |
case 4: |
| 33 |
with (obj_intro_slide_4_parent) |
| 34 |
instance_destroy(); |
| 35 |
instance_create(60, 36, obj_intro_mountain_slide_5); |
| 36 |
alarm[0] = 240; |
| 37 |
with (obj_intro_text) |
| 38 |
increase_message_count = true; |
| 39 |
break; |
| 40 |
case 5: |
| 41 |
with (obj_intro_slide_5_parent) |
| 42 |
instance_destroy(); |
| 43 |
instance_create(60, 36, obj_intro_slide_6_new); |
| 44 |
alarm[0] = 200; |
| 45 |
with (obj_intro_text) |
| 46 |
increase_message_count = true; |
| 47 |
break; |
| 48 |
case 6: |
| 49 |
with (obj_intro_slide_6_parent) |
| 50 |
instance_destroy(); |
| 51 |
instance_create(60, 36, obj_intro_slide_7_new); |
| 52 |
alarm[0] = 140; |
| 53 |
if (instance_exists(obj_intro_text)) |
| 54 |
{ |
| 55 |
with (obj_intro_text) |
| 56 |
instance_destroy(); |
| 57 |
} |
| 58 |
break; |
| 59 |
case 7: |
| 60 |
with (obj_intro_slide_7_parent) |
| 61 |
instance_destroy(); |
| 62 |
instance_create(60, 36, obj_intro_slide_8_new); |
| 63 |
alarm[0] = 140; |
| 64 |
break; |
| 65 |
case 8: |
| 66 |
with (obj_intro_slide_8_parent) |
| 67 |
instance_destroy(); |
| 68 |
instance_create(60, 36, obj_intro_clover_slide_9); |
| 69 |
alarm[0] = 140; |
| 70 |
break; |
| 71 |
case 9: |
| 72 |
with (obj_intro_slide_9_parent) |
| 73 |
instance_destroy(); |
| 74 |
instance_create(0, 0, obj_intro_border_slide_10); |
| 75 |
instance_create(60, 36, obj_intro_cave_slide_10); |
| 76 |
instance_create(0, 0, obj_intro_clover_slide_10); |
| 77 |
alarm[0] = 200; |
| 78 |
break; |
| 79 |
case 10: |
| 80 |
with (obj_intro_slide_10_parent) |
| 81 |
instance_destroy(); |
| 82 |
alarm[2] = 20; |
| 83 |
alarm[3] = 50; |
| 84 |
break; |
| 85 |
} |
| 86 |
fade_direction = "in"; |
| 87 |
slide_count += 1; |