| 1 |
if (instance_exists(obj_heart_battle_fighting_blue_down)) |
| 2 |
{ |
| 3 |
if (obj_heart_battle_fighting_blue_down.vsp >= 0) |
| 4 |
{ |
| 5 |
if (place_meeting(x, y - 1, obj_heart_battle_fighting_blue_down)) |
| 6 |
obj_heart_battle_fighting_blue_down.hsp_carry = hsp; |
| 7 |
} |
| 8 |
} |
| 9 |
else if (instance_exists(obj_heart_battle_fighting_blue_up)) |
| 10 |
{ |
| 11 |
if (obj_heart_battle_fighting_blue_up.vsp <= 0) |
| 12 |
{ |
| 13 |
if (place_meeting(x, y - 1, obj_heart_battle_fighting_blue_up)) |
| 14 |
obj_heart_battle_fighting_blue_up.hsp_carry = hsp; |
| 15 |
} |
| 16 |
} |