1 |
if (cardg_selected_card[1] != -1) |
2 |
{ |
3 |
if (cardg_selected_card[0].card_type == cardg_selected_card[1].card_type) |
4 |
{ |
5 |
cardg_selected_card[0].card_success = true |
6 |
cardg_selected_card[1].card_success = true |
7 |
audio_play_sound(snd_card_game_match, 1, 0) |
8 |
} |
9 |
} |
10 |
cardg_selected_card[0].card_is_selected = false |
11 |
if (cardg_selected_card[1] != -1) |
12 |
cardg_selected_card[1].card_is_selected = false |
13 |
cardg_selected_card[0] = -1 |
14 |
if (cardg_selected_card[1] != -1) |
15 |
cardg_selected_card[1] = -1 |
16 |
with (obj_card_game_card) |
17 |
image_alpha = 1 |