I don't know how to edit the cheats, or if it is even possible to, so I decided I would just post my knowledge here.
To get Mew in the original pokemon games:
There is a trainer north of Cerulean that uses only a slowpoke. You must avoid that trainer for the cheat to work. On route eight, at...