if (sprite_index == spr_hoodoff) { image_speed = 0 image_index = 18 }