Transfer X/Y pokemons to Ruby Omega and Sapphire Alpha with the emulator

Well, is there any way to do that transfer? I have my X/Y Pokémon and I want to know if it’s possible to transfer them or some method to do it, I don’t want to lose my Greninja :cry:

They must connect to a citra room and wait for the other player of the game to come out through the “passersby” part and exchange.