Cheat code database files for all the popular flash carts.
You might also want to check out this website, containing all the latest cheat code databases: Cheats.GBAtemp.net
Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)