If you want to RNG properly, kill Gyarados and kill Lugia. You can RNG them later ingame. You can catch the other legends later too: if you face them and you still can't RNG, kill them. Unfortunately I learnt how to RNG after having caught Lugia and Gyarados =(
btw, thank you very much