1 | with (obj_card_game_card) |
2 | { |
3 | if (card_number > other.card_number) |
4 | { |
5 | if (!alarm[0]) |
6 | alarm[0] = 1 + (card_row - other.card_row) * 1.2 |
7 | if (card_number == 20) |
8 | alarm[0] = 1 + (5 - other.card_row) * 1.2 |
9 | card_number -= 1 |
10 | } |
11 | } |