changed the alternative flows for enemy