1 | if (image_index >= index_trigger_obj && trigger_obj == false) |
2 | { |
3 | event_user(0) |
4 | trigger_obj = true |
5 | } |
6 | if (image_index >= index_trigger_bg && trigger_bg == false) |
7 | { |
8 | event_user(1) |
9 | trigger_bg = true |
10 | } |