• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[ASM & Hex✓] (I need help)How to change waterfall and dive to activate with flags?[EM]

rubenturen

Also Known as: Canned Brain
  • 51
    Posts
    6
    Years
    im using emerald
    Hi I guess that you know that when you go close to a waterfall with the move waterfall you can assend it
    (The same with dive just on dark spots)

    I want to do so that it instead checks for a flag or item
    Instead of a move

    Because I want to do so that hm dive and waterfall are upgrades of surf

    So that I just need to do so that when you get surf you can't ascend waterfalls or dive in deep waters
    But when a flag is active you can do one of them and another flag for the other

    I don't mind if you think that it's stupid
    Bc i just want to know how to do this
     
    Last edited:
    You might want to have a look at the HM scripts and try replacing them with your own scripts that remove the attack check. Once you've created your own custom script, you'd need to repoint to it via hex editor (replace the offset with the offset of your new one).

    Waterfall's script offset: 290A49
    Dive's script offset: 290B0F
    Resurfacing from Dive: 290B5A
     
    You might want to have a look at the HM scripts and try replacing them with your own scripts that remove the attack check. Once you've created your own custom script, you'd need to repoint to it via hex editor (replace the offset with the offset of your new one).

    Waterfall's script offset: 290A49
    Dive's script offset: 290B0F
    Resurfacing from Dive: 290B5A

    Thank you very much
     
    You might want to have a look at the HM scripts and try replacing them with your own scripts that remove the attack check. Once you've created your own custom script, you'd need to repoint to it via hex editor (replace the offset with the offset of your new one).

    Waterfall's script offset: 290A49
    Dive's script offset: 290B0F
    Resurfacing from Dive: 290B5A

    Oh could you also give me the offsets for the other hm scripts
     
    Cut: 2906BB
    Surf: 271EA0
    Strength: 2908BA
    Rock Smash: 2907A6

    Fly & Flash are a bit different since they're called from the party menu rather than the overworld.
     
    Hello, im with the same problem but in fire red, waterfall can be used only when you go to the water first, and i need to change this, how could i fix it to can use waterfall without surf?
     
    Back
    Top