The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other How to change what HM you can use out of Battle, after winning a particular Badge? (https://www.pokecommunity.com/showthread.php?t=355752)

LegendChu September 17th, 2015 5:15 AM

How to change what HM you can use out of Battle, after winning a particular Badge?
 
I just realised that if you change the Script, as in my previous question http://www.pokecommunity.com/showthread.php?t=355751, you can only use Surf after getting all 8 Badges.

So, another question is how to change which HM you can use out of Battle, after winning a particular Badge?

Pika Pika :chu:

Blah September 17th, 2015 2:00 PM

http://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
Quote:

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 September 17th, 2015 8:45 PM

Quote:

Originally Posted by FBI (Post 8932802)
http://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:

Quote:

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:

chrunch September 18th, 2015 2:40 AM

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!

Spherical Ice September 18th, 2015 3:00 AM

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 September 18th, 2015 4:54 AM

Quote:

Originally Posted by LegendChu (Post 8933177)
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.

Quote:

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

Quote:

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 September 18th, 2015 9:09 PM

Quote:

Originally Posted by FBI (Post 8932802)
http://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...

Quote:

Originally Posted by chrunch (Post 8933408)
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 http://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! :(

Quote:

Originally Posted by chrunch (Post 8933408)
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!

Quote:

Originally Posted by FBI (Post 8933492)
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:


All times are GMT -8. The time now is 2:31 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.