1 |
timer = 0; |
2 |
timermax = 180; |
3 |
playerinput = 0; |
4 |
playerinputtimer = 0; |
5 |
actcon = 0; |
6 |
krisgooffscreen = 0; |
7 |
susiegooffscreen = 0; |
8 |
ralseigooffscreen = 0; |
9 |
buttonspressed = 0; |
10 |
bumpmercy = 0; |
11 |
mykey[0] = 90; |
12 |
mykey[1] = 88; |
13 |
mykey[2] = 67; |
14 |
for (i = 0; i < 3; i += 1) |
15 |
{ |
16 |
HeroCoaster[i] = instance_create(0, 0, o_coaster_hero_sneo); |
17 |
HeroCoaster[i].HeroID = i; |
18 |
HeroCoaster[i].image_index = i; |
19 |
HeroCoaster[i].depth = HeroCoaster[i].y * -100; |
20 |
HeroCoaster[i].siner = 0; |
21 |
HeroCoaster[i].mykey = mykey[i]; |
22 |
with (HeroCoaster[i]) |
23 |
{ |
24 |
back = instance_create(x, y, o_coaster_hero_back_sneo); |
25 |
back.parentid = id; |
26 |
back.depth = depth + 2; |
27 |
} |
28 |
yspot[i] = HeroCoaster[i].y; |
29 |
} |