The full script can be found at 0x166FCD. I have no idea why its not showing up properly in A-Map, but oh well :/
Here's an edited version of the script which has Bill give you HM06:
Just compile it and don't do anything with the offsets it give you. Since we're unable to properly edit it in A-Map this script will go to 0x166FCD before immediately branching away to the new dynamic offset chosen for @Repoint.