1 | if (ch == 1) |
2 | { |
3 | if (obj_heart.x == obj_heart.xprevious && obj_heart.y == obj_heart.yprevious) |
4 | scr_damagestandard_x(); |
5 | } |
6 | if (ch == 0) |
7 | { |
8 | if (obj_heart.x != obj_heart.xprevious || obj_heart.y != obj_heart.yprevious) |
9 | scr_damagestandard_x(); |
10 | } |