Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Nah, that won't work, you either need to input a badge or change how surf works entirely. If you need it at the the very beginning of a game you can use one of the flags that are set during the start script. You can find it at 0x1A6481 and it looks like this:
Those two bytes at that offset (24 08) refer to the flag 0x824 (Fifth Badge Flag). So you should change that to any flag (your own pick) that you will set somewhere at the start of the game. I'm not sure if flag 0x0000 is safe to use, so I wouldn't change it to that personally.
I would suggest using 0x828 (hex value 28 08)- that's the flag that controls the "Pokemon" menu option being available. It's set as soon as you get your first Pokemon. I used this as the default flag for any HMs I wanted to be immediately usable in all my HM work. But you could also use any of the flags in DrFuji's post.