There multiple ways those ones will work but but you have to put the new codes and activate Encounter on + Default Encounter code on (posted here) + the pokemon you want to spawn and it will work normally also with other codes active like ability, nature, items, lvl, only the default Encounter...