I was able to make all but flash and fly activate-able without being taught
Cut Original Script:
Cut Modified Script:
I only had to remove five lines that deal with checking the attack, though its obviously preferable to re-point the text to something that talks about using an item, and you can remove the animations for HM moves by editing 0xB8536 with 00 00 00 00 00 00 00 00 00 00 00 00
Here are the locations for Emerald's HM scripts:
But for surf for some reason there has to be other edits, just replace the bytes at 9C80A-9C80B to 00 00
I THINK that was it for surf, but honestly my notes I took about this weren't great, I know I did get it working in my hack though. Hopefully someone else can help with flash and fly! I haven't had much luck asking for help here or on discord (asking multiple times mind you) so I hope I was able to help you out a bit!