If you opened A-Map, compare the .bak file created by A-map to the bugged rom, then find the byte in bugged that isn't similar to the bak file, try to do manual hex edit or think if that byte is the byte you had changed, if that's the byte you had changed then try to put the bytes and address on notepad for a back-up then try to edit those bytes, see if it fixes the problem.
about the starter
the simplest way of giving starter
is the givepokemon command then followed by setflag 0x828 but that's very simple, if you want to make it more cool, read Scripting tutorials or take a look on Scripting thread.