Main function simplified
It's possible to categorize situation, when planet is captured