1 |
if (obj_heart_battle_fighting_parent.vulnerable == true && (obj_heart_battle_fighting_parent.hsp != 0 || obj_heart_battle_fighting_parent.vsp != 0)) |
2 |
{ |
3 |
collide_id = other.id; |
4 |
with (obj_heart_battle_fighting_parent) |
5 |
{ |
6 |
collide_id = obj_heart_hitbox_parent.collide_id; |
7 |
damage_number = collide_id.damage_number; |
8 |
} |
9 |
if (!instance_exists(obj_dialogue_box_battle_transformation_any) || other.depth < obj_dialogue_box_battle_transformation_any.depth) |
10 |
hit = true; |
11 |
else |
12 |
hit = false; |
13 |
} |
14 |
else |
15 |
{ |
16 |
hit = false; |
17 |
} |
18 |
event_user(1); |