1 |
if (HeroID == 0) |
2 |
{ |
3 |
depth = 80; |
4 |
if (instance_exists(obj_herokris)) |
5 |
obj_herokris.depth = depth + 1; |
6 |
} |
7 |
if (HeroID == 1) |
8 |
{ |
9 |
depth = 75; |
10 |
if (instance_exists(obj_herosusie)) |
11 |
obj_herosusie.depth = depth + 1; |
12 |
} |
13 |
if (HeroID == 2) |
14 |
{ |
15 |
depth = 70; |
16 |
if (instance_exists(obj_heroralsei)) |
17 |
obj_heroralsei.depth = depth + 1; |
18 |
} |
19 |
if (instance_exists(obj_encounterbasic)) |
20 |
{ |
21 |
if (HeroID == 0) |
22 |
{ |
23 |
} |
24 |
if (HeroID == 1) |
25 |
obj_encounterbasic.c[1].depth = depth + 1; |
26 |
if (HeroID == 2) |
27 |
obj_encounterbasic.c[2].depth = depth + 1; |
28 |
} |