timer = 0; timermax = 180; playerinput = 0; playerinputtimer = 0; actcon = 0; krisgooffscreen = 0; susiegooffscreen = 0; ralseigooffscreen = 0; buttonspressed = 0; bumpmercy = 0; endcoaster = 0; endcoastertimer = 0; mykey[0] = 90; mykey[1] = 88; mykey[2] = 67; BerdlyCoaster = instance_create(camerax() + 470, cameray() + 203, o_coaster_berdly); if (instance_exists(obj_ch2_scene11a)) o_coaster_berdly.x = obj_ch2_scene11a.coaster_berdly.x + 16; for (i = 0; i < 3; i += 1) { HeroCoaster[i] = instance_create((camerax() + 100) - (i * 20), cameray() + 149 + (60 * i), o_coaster_hero); HeroCoaster[i].HeroID = i; HeroCoaster[i].image_index = i; HeroCoaster[i].depth = HeroCoaster[i].y * -100; HeroCoaster[i].siner = 0; HeroCoaster[i].mykey = mykey[i]; with (HeroCoaster[i]) { back = instance_create(x, y, o_coaster_hero_back); back.image_index = HeroID; back.parentid = id; } yspot[i] = HeroCoaster[i].y; BerdlyCoaster.yspot[i] = HeroCoaster[i].y; obj_herokris.x = camerax() - 200; if (instance_exists(obj_herosusie)) obj_herosusie.x = camerax() - 200; if (instance_exists(obj_heroralsei)) obj_heroralsei.x = camerax() - 200; if (HeroCoaster[i].HeroID == 0) HeroCoaster[i].sprite_index = spr_krisb_idle; if (HeroCoaster[i].HeroID == 1) HeroCoaster[i].sprite_index = spr_susieb_idle; if (HeroCoaster[i].HeroID == 2) HeroCoaster[i].sprite_index = spr_ralsei_idle; if (instance_exists(obj_ch2_scene11a)) { if (i == 0) { HeroCoaster[i].x = obj_ch2_scene11a.coaster_kris.x - 22; HeroCoaster[i].sprite_index = spr_krisb_attack; } if (i == 1) { HeroCoaster[i].x = obj_ch2_scene11a.coaster_susie.x - 22; HeroCoaster[i].sprite_index = spr_susie_attack; } if (i == 2) { HeroCoaster[i].x = obj_ch2_scene11a.coaster_ralsei.x - 22; HeroCoaster[i].sprite_index = spr_ralsei_battleintro; } } } jamatime = 90; jamatimer = 0; littime = 120; littimer = 0;