• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Other] How to change what HM you can use out of Battle, after winning a particular Badge?

Blah

Free supporter
  • 1,924
    Posts
    11
    Years
    https://www.pokecommunity.com/showthread.php?t=335486
    Use it, stop spamming threads. No offense, but it's a little annoying and you're polluting the front page of the lounge with threads which should've been posts in the quick questions thread. Come on...

    For your question
    So, another question is how to change which HM you can use out of Battle, after winning a particular Badge?
    Most are the script. For tile intractable HMs, I suggest you find the HM script and backtrack the routine. Other HMs like Fly, you'd need to edit the field move tables. I've done the research for that on FR, but not Emerald. I imagine the process is the same.

    However, some HM flag checks are done twice, once in the routine and once in the script. Which is why you'll find yourself able to add restrictions, but not reduce them via scripting. I suggest you set a breakpoint with a debugging tool at the flag check routine. It should break twice (once for script and once for routine).
     

    LegendChu

    ❤ CAREFREE, BUT CARING ❤
  • 14,123
    Posts
    10
    Years
    https://www.pokecommunity.com/showthread.php?t=335486
    Use it, stop spamming threads. No offense, but it's a little annoying and you're polluting the front page of the lounge with threads which should've been posts in the quick questions thread. Come on...

    Hey come on FBI, don't you think "polluting" is a harsh word :(. I don't think asking 2-3 questions at a time is "spamming" is it? I know there's a quick questions thread, but (no offense), most questions asked there remain unanswered, which is why I ask my questions here. Sorry if you find it annoying, but I still prefer to ask my questions here :cheeky:

    Most are the script. For tile intractable HMs, I suggest you find the HM script and backtrack the routine. Other HMs like Fly, you'd need to edit the field move tables. I've done the research for that on FR, but not Emerald. I imagine the process is the same.
    However, some HM flag checks are done twice, once in the routine and once in the script. Which is why you'll find yourself able to add restrictions, but not reduce them via scripting. I suggest you set a breakpoint with a debugging tool at the flag check routine. It should break twice (once for script and once for routine).
    By "tile intractable HMs", I'm supposing you mean all other HMs, apart from Fly & Flash (because all of them need you to interact with a tile).

    Okay now where can I find the HM Scripts?

    Also, if you've create a thread for the research you've done for the same on FireRed, can you please give me the link, so that I can check that out too :)

    Pika Pika :chu:
     
  • 1,344
    Posts
    14
    Years
    • Seen Dec 10, 2021
    I can count 9 of your threads on the front page right now, most of them asking very simple questions, so yeah I'd say that constitutes spamming. It comes across to me like you just want someone to spoon feed you answers for everything, go ahead if you want but don't be surprised if you stop getting responses because people are tired of explaining things to you.

    For moves like cut and rock smash, the scripts can be simply located in Advance Map. Otherwise, the scripts can be found in FBI's thread here. Have fun!
     
  • 5,256
    Posts
    16
    Years
    LegendChu is well within his rights to post help threads, provided the individual threads pertain to different topics. If you think somebody is SPAMming, use the Report button, don't call them out in public.
     

    Blah

    Free supporter
  • 1,924
    Posts
    11
    Years
    Hey come on FBI, don't you think "polluting" is a harsh word :(. I don't think asking 2-3 questions at a time is "spamming" is it? I know there's a quick questions thread, but (no offense), most questions asked there remain unanswered, which is why I ask my questions here. Sorry if you find it annoying, but I still prefer to ask my questions here :cheeky:

    By "tile intractable HMs", I'm supposing you mean all other HMs, apart from Fly & Flash (because all of them need you to interact with a tile).

    Okay now where can I find the HM Scripts?

    Also, if you've create a thread for the research you've done for the same on FireRed, can you please give me the link, so that I can check that out too :)

    Pika Pika :chu:

    Sorry, I was a little rude in the way I asked you to use the Quick Questions thread (I still recommend you use it for most questions, maybe if the question isn't answered, you make a thread!). That day I was trying to figure out some warping tricks and was not in the best mindset. Anyways, tile intractable are things like surf and waterfall, the rest are used on Overworlds, which is the distinction.

    Okay now where can I find the HM Scripts?
    Find the strings which the script uses in the hex editor, the script above it.

    Also, if you've create a thread for the research you've done for the same on FireRed, can you please give me the link, so that I can check that out too :)
    Check my thread history. It's the first one, and in the ASM resources thread Hopeless has done the liberty of sorting everything out. It's the field moves topic in the resource thread. I'm too lazy to link :D
     

    LegendChu

    ❤ CAREFREE, BUT CARING ❤
  • 14,123
    Posts
    10
    Years
    https://www.pokecommunity.com/showthread.php?t=335486
    Use it, stop spamming threads. No offense, but it's a little annoying and you're polluting the front page of the lounge with threads which should've been posts in the quick questions thread. Come on...
    I can count 9 of your threads on the front page right now, most of them asking very simple questions, so yeah I'd say that constitutes spamming. It comes across to me like you just want someone to spoon feed you answers for everything, go ahead if you want but don't be surprised if you stop getting responses because people are tired of explaining things to you.

    Sorry for this guys https://www.pokecommunity.com/showthread.php?t=355830, but I'm a really straightforward person, I felt the need to address this, so I did. Hopefully you won't take it negatively & maybe understand me better. Sorry again! :(

    For moves like cut and rock smash, the scripts can be simply located in Advance Map. Otherwise, the scripts can be found in FBI's thread here. Have fun!
    Anyways, tile intractable are things like surf and waterfall, the rest are used on Overworlds, which is the distinction.
    Find the strings which the script uses in the hex editor, the script above it.
    Check my thread history. It's the first one, and in the ASM resources thread Hopeless has done the liberty of sorting everything out. It's the field moves topic in the resource thread. I'm too lazy to link :D

    Thanks guys, I'll check out the threads & see how much I can understand :P

    P.S. - Is there a similar thread for Emerald?

    Pika Pika :chu:
     
    Back
    Top