1 | if (on == 1) |
2 | { |
3 | image_index = 1; |
4 | if (control_check_pressed(0)) |
5 | { |
6 | if (con == 0) |
7 | { |
8 | con = 1; |
9 | with (obj_sansb_body) |
10 | death_c = 1; |
11 | with (obj_heart) |
12 | movement = -1; |
13 | } |
14 | } |
15 | } |
16 | else |
17 | { |
18 | image_index = 0; |
19 | } |
20 | on = 0; |