1 | function scr_determine_if_in_battle_box |
2 | { |
3 | if (bbox_top > (obj_dialogue_box_battle_transformation_any.bbox_top + 5) && bbox_bottom < (obj_dialogue_box_battle_transformation_any.bbox_bottom - 5) && bbox_left > (obj_dialogue_box_battle_transformation_any.bbox_left + 5) && bbox_right < (obj_dialogue_box_battle_transformation_any.bbox_right + 5)) |
4 | return true; |
5 | else |
6 | return false; |
7 | } |