So i've been trying this code for the past hour(on yuzu) and nothing I do seems to make a difference I go to the pokedex click on a pokemon press r exit out of the menu by pressing b 3 times walk into grass encounter and boom white screenopen pokedex. stand on a pokemon. press a and you go to your pokemon screen with type and height. Than press r once.
go to the field and find a wild pokemon. It should be that pokemon. if you pressed wrong you're game will crash