1 | if (sprite_index == spr_martlet_p_full_fly_begin || sprite_index == spr_martlet_g_full_fly_begin) |
2 | { |
3 | if (sprite_index == spr_martlet_p_full_fly_begin) |
4 | sprite_index = spr_martlet_p_full_fly_during |
5 | else |
6 | sprite_index = spr_martlet_g_full_fly_during |
7 | image_speed = image_speed_during |
8 | image_index = image_index_during_s |
9 | } |
10 | if (sprite_index == spr_martlet_p_full_fly_end || sprite_index == spr_martlet_g_full_fly_end) |
11 | instance_destroy() |