Ok so many users are asking, how to decrypt the 3ds roms. Ill post here a tutorial made by Asia81.
Its in french but u can use Google translate.
Link:http://www.pokemontrash.com/jeux-pokemon/decrypter-compiler-rom-3ds.php
Do I must get xorpads of the edited rom?
Because when i tried the edited rom when i was getting decryptedexefs.bin and in the cmd i got that .code is missing.
I used uyou tutorial on pokemonthrash
Use this tutorial to decrypt.
I know that its french but u can use Google translate. ☺
http://www.pokemontrash.com/jeux-pokemon/decrypter-compiler-rom-3ds.php