awesome! I can enter the Mart now. However, I think the Event header might also be off? I talked to the people in the Mart, and it crashed, or went straight to the end game credits. I tried to repoint that as well, but it didn't help.
So just have to change the Map Script pointer to an empty one and then it will work again? But those bytes are empty. Don't I have to change the code or something?
The bytes in the Script header are not empty, accidentally wrote something there. You only use the pointer that I gave and I hope that solves it.
With the trainers, I think the problem was just that there wasn't enough room. Once it hit the extra data, It would no longer allow me to add Pokemon to trainers. I freed up some space, but I'm almost out of room again.
An a possible solution is copy the trainer from a clean ROM, paste in your rom and edit trainers again.
The script of Kurt is in $111A49 (and the pointer is in $111A47). To find it I only follow the script that runs when the last rocket challenges you.
First: You altered the Map script header of the Mart in Ecruteak (offset $148F7D). To fix it you can repoint to another offset with double zero, for example $149056 in your rom.
Second: A possible problem with the trainer editor can be one (or more) trash byte in the Bank that dont let modify the data, but, looking what you say, it seems that the graphics have been inserted with Agixp, right? The problem with Agixp is the "automatic free space finder" that finish put the graphics in places that need after.