1 | collide_id = other.id; |
2 | with (obj_heart_battle_fighting_parent) |
3 | { |
4 | collide_id = obj_heart_hitbox_parent.collide_id; |
5 | damage_number = collide_id.damage_number; |
6 | } |
7 | if (!instance_exists(obj_dialogue_box_battle_transformation_any) || other.depth < obj_dialogue_box_battle_transformation_any.depth) |
8 | heal = true; |
9 | else |
10 | heal = false; |
11 | event_user(2); |