1 |
switch irandom_range(1, 4) |
2 |
{ |
3 |
case 1: |
4 |
idle_sprite = 3228 |
5 |
flip_sprite = spr_attack_ace_flip_card_1 |
6 |
shape_sprite = 3121 |
7 |
break |
8 |
case 2: |
9 |
idle_sprite = 2099 |
10 |
flip_sprite = spr_attack_ace_flip_card_2 |
11 |
shape_sprite = 2986 |
12 |
break |
13 |
case 3: |
14 |
idle_sprite = 110 |
15 |
flip_sprite = spr_attack_ace_flip_card_3 |
16 |
shape_sprite = 1459 |
17 |
break |
18 |
case 4: |
19 |
idle_sprite = 3479 |
20 |
flip_sprite = spr_attack_ace_flip_card_4 |
21 |
shape_sprite = 1525 |
22 |
break |
23 |
} |
24 |
|
25 |
sprite_index = flip_sprite |
26 |
image_speed = 0 |
27 |
card_original_x = xstart |
28 |
card_original_y = ystart |
29 |
card_target_x = 0 |
30 |
card_target_y = 0 |
31 |
card_active = true |
32 |
attack_stage = 0 |
33 |
audio_play_sound(snd_card_game_deal, 1, 0) |
34 |
depth = -999999 |