PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Discussion Board > Archive


Archive Old threads that serve no purpose are here.

Thread Tools Display Modes
Old 9th August 2014, 06:21 AM   #1
Resident Edgelord Troll
Super Moderator
MakoReactor's Avatar
Join Date: Jul 2014
Posts: 80
Exclamation Fire red Disabling the need for badges with hms

Ive been trying to figure this out for about a week with no luck. I'm trying to disable the need for badges to use hms in the field like GameFreak did for Gen 5. fixing the issue with cut, rock smash, and strength is easy since you can edit the script in xse. You cant do that for surf, waterfall, flash or fly as the info for that is in the pokemon menu (I have yet to begin with that as I dont know where to look). I have looked at Surf and waterfalls scripts (though looking for anyscript checking for that move) but they have no checkflag for their corresponding badge. In regards to what I said about cut, rock smash, and strength; I believe that there may be something in the pokemon menu for them as well. If anyone can help with this it would be much apreciated.

Check out my channel
MakoReactor is offline  
Sponsored Links
Old 9th August 2014, 09:50 AM   #2
Gotta fill something here.
Miksy91's Avatar
Join Date: Jul 2013
Location: Northern Europe
Age: 28
Posts: 47

That "checkflag" part of their (surf, fly etc.) "script" is part of an asm routine.

It probably works so that there is an asm routine that is accessed every time you try to "talk" to a water type tile and in that routine, it does the following;

1. Check if a pokemon in your party knows surf
2. Check if you have obtained that specific badge for being able to use surf (= check for a certain bit in ram)
3. Check if you're already surfing. In case you are, don't make it possible to use surf again.

What you would have to do would be calculating the pointer to that script part of using surf and read the asm code close to that pointer with an asm editor or debugger. There you can find the "check if you have obtained the specific badge" part, and once you have run into it, just skip it through one way or another (this part of the process is simple).

This is kinda simple to do once you're familiar with assembly and backtracking code but getting the hang of those takes a little bit of experimenting
Miksy91 is offline  

badges, disabling, fire, fireredpokemon, hms, pokemon, red, [Ongoing]

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:55 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts