| 1 |
image_speed = 0; |
| 2 |
xx = view_xview[view_current]; |
| 3 |
yy = view_yview[view_current]; |
| 4 |
image_xscale = 0.5; |
| 5 |
image_yscale = 0.5; |
| 6 |
mode = 0; |
| 7 |
alarm[0] |
| 8 |
clapper = 1; |
| 9 |
claps = 0; |
| 10 |
if (global.transtype == 0) |
| 11 |
{ |
| 12 |
clapper = 0; |
| 13 |
mychoicex = (xx + 160) - 3; |
| 14 |
mychoicey = yy + 211 + 1; |
| 15 |
snd_play(snd_battlefall); |
| 16 |
event_user(0); |
| 17 |
} |
| 18 |
if (global.transtype == 1) |
| 19 |
{ |
| 20 |
sprite_index = spr_allsoul; |
| 21 |
image_index = 0; |
| 22 |
mychoicex = xx + 110; |
| 23 |
mychoicey = yy + 100; |
| 24 |
x = mychoicex + 30; |
| 25 |
y = mychoicey - 20; |
| 26 |
} |
| 27 |
if (global.transtype == 2) |
| 28 |
{ |
| 29 |
sprite_index = spr_allsoul; |
| 30 |
image_index = 1; |
| 31 |
mychoicex = xx + 210; |
| 32 |
mychoicey = yy + 100; |
| 33 |
x = mychoicex - 30; |
| 34 |
y = mychoicey - 20; |
| 35 |
} |
| 36 |
if (global.transtype == 3) |
| 37 |
{ |
| 38 |
sprite_index = spr_allsoul; |
| 39 |
image_index = 2; |
| 40 |
mychoicex = xx + 90; |
| 41 |
mychoicey = yy + 60; |
| 42 |
x = mychoicex + 30; |
| 43 |
y = mychoicey; |
| 44 |
} |
| 45 |
if (global.transtype == 4) |
| 46 |
{ |
| 47 |
sprite_index = spr_allsoul; |
| 48 |
image_index = 3; |
| 49 |
mychoicex = xx + 230; |
| 50 |
mychoicey = yy + 60; |
| 51 |
x = mychoicex - 30; |
| 52 |
y = mychoicey; |
| 53 |
} |
| 54 |
if (global.transtype == 5) |
| 55 |
{ |
| 56 |
sprite_index = spr_allsoul; |
| 57 |
image_index = 4; |
| 58 |
mychoicex = xx + 110; |
| 59 |
mychoicey = yy + 20; |
| 60 |
x = mychoicex + 30; |
| 61 |
y = mychoicey + 20; |
| 62 |
} |
| 63 |
if (global.transtype == 6) |
| 64 |
{ |
| 65 |
sprite_index = spr_allsoul; |
| 66 |
image_index = 5; |
| 67 |
mychoicex = xx + 210; |
| 68 |
mychoicey = yy + 20; |
| 69 |
x = mychoicex - 30; |
| 70 |
y = mychoicey + 20; |
| 71 |
} |
| 72 |
if (clapper == 1) |
| 73 |
{ |
| 74 |
mychoicex -= 4; |
| 75 |
xx -= 4; |
| 76 |
alarm[4] = 2; |
| 77 |
snd_play(snd_noise); |
| 78 |
} |