Notices
For all updates, view the main page.

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Reply
 
Thread Tools
  #1    
Old December 14th, 2013 (6:54 PM).
The Shiny Ho-Oh's Avatar
The Shiny Ho-Oh The Shiny Ho-Oh is offline
Golden Bird
 
Join Date: Sep 2010
Location: In the Blazing Skies
Age: 23
Gender: Male
Nature: Bold
Posts: 49
I've been working on my ideal FireRed game for a while now, and I've implemented a ton of stuff from here that is absolutely amazing and makes the game feel so much more fresh, but one of the things I've been thinking about is saving TMs like in the new game. I have no experience scripting for Pokemon, but I do have a background in game programming, so bare with me here.

There is a function for checking what type of item you use. You could say that if the item used is a TM, after you use one, and it is not an HM, the game would "quietly" add one to your bag. I recently implemented the BW2 Repel System from Pokecommunity, so I know checking items and removing them from the bag/(adding them to the bag) shouldn't be much problem, if you can stop it from displaying "picked up TM##", you should be able to get the basic idea of keeping TMs in the game.

Thoughts?
__________________
Reply With Quote

Relevant Advertising!

  #2    
Old December 18th, 2013 (1:58 AM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Posts: 300
Sorta been done before: Use this info to further your research

http://www.romhackersonline.com/xf/index.php?threads/quick-pok%C3%A9mon-research-thread.102/
__________________
HOLIDAYING CURRENTLY!!
Reply With Quote
  #3    
Old December 24th, 2013 (6:43 PM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Posts: 1,301
Sorry, but the locations that the person found were in Fire Red 1.1

Since everyone uses FR v.1, I found the locations in that verison.
They are at 0x124EA0 and 0x124F6C.
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, M)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex: Y, Omega Ruby, Moon(AlolaDex)
Big thanks especially to DestinedJagold, Xerneas_X, Elements1 and ~RNC~

PM me if you want to trade, or add my FC.
Reply With Quote
  #4    
Old January 25th, 2014 (11:44 PM).
Leafbarrett's Avatar
Leafbarrett Leafbarrett is offline
 
Join Date: Mar 2009
Age: 24
Gender: Male
Posts: 75
So, I notice that all these things are exclusively for Fire Red (as always, because everyone hates Emerald apparently). Does anyone know how I would go about doing this in Emerald?
Reply With Quote
  #5    
Old January 26th, 2014 (12:54 AM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Posts: 1,301
Quote:
Originally Posted by Leafbarrett View Post
So, I notice that all these things are exclusively for Fire Red (as always, because everyone hates Emerald apparently). Does anyone know how I would go about doing this in Emerald?
http://www.pokecommunity.com/showpost.php?p=7993745&postcount=420
Here you go, this SHOULD work.
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, M)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex: Y, Omega Ruby, Moon(AlolaDex)
Big thanks especially to DestinedJagold, Xerneas_X, Elements1 and ~RNC~

PM me if you want to trade, or add my FC.
Reply With Quote
  #6    
Old January 26th, 2014 (2:14 AM).
Jambo51's Avatar
Jambo51 Jambo51 is offline
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Posts: 732
Quote:
Originally Posted by ShyRayq View Post
Sorry, but the locations that the person found were in Fire Red 1.1

Since everyone uses FR v.1, I found the locations in that verison.
They are at 0x124EA0 and 0x124F6C.
Actually, everyone always uses FireRed 1.0, not 1.1. Not entirely sure why this is, but if you look around the site, you'll see plenty of threads for fixing the bugs left by Game Freak in 1.0. Reason this matters is that 1.0 and 1.1 have differing locations for many of their structures and only the 1.0 locations are known.
__________________
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
Reply With Quote
  #7    
Old February 2nd, 2014 (9:46 AM).
LCCoolJ95's Avatar
LCCoolJ95 LCCoolJ95 is offline
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 21
Gender: Male
Nature: Naive
Posts: 439
This would be a good time to post this:

http://www.youtube.com/watch?v=nx9CLiXvSwM

Reusable TMs in Emerald...yeaaa
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Pokémon Emerald 650 (Resource Patch): http://www.pokecommunity.com/showthread.php?t=346694
Pokémon Theta Emerald: http://www.pokecommunity.com/showthread.php?t=349258
Reply With Quote
  #8    
Old February 2nd, 2014 (6:38 PM).
MrDollSteak's Avatar
MrDollSteak MrDollSteak is offline
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 21
Gender: Male
Posts: 777
Quote:
Originally Posted by LCCoolJ95 View Post
This would be a good time to post this:

http://www.youtube.com/watch?v=nx9CLiXvSwM

Reusable TMs in Emerald...yeaaa
Hey great job! How did you remove the quantity?
This'll be great for Fire Red too.

Wouldn't happen to be the Mystery Bytes would it?
__________________
Reply With Quote
  #9    
Old February 2nd, 2014 (11:34 PM).
Telinc1's Avatar
Telinc1 Telinc1 is offline
Weirdo Extraordinaire
 
Join Date: Jun 2013
Location: Sofia, Bulgaria
Gender: Male
Nature: Bold
Posts: 163
Quote:
Originally Posted by MrDollSteak View Post
Hey great job! How did you remove the quantity?
This'll be great for Fire Red too.

Wouldn't happen to be the Mystery Bytes would it?
I just tried it. Setting the first Mystery to 1 removes the quantity, but it sticks the little HM icon in the start of the name and it overlaps with the "No. XX" text. Also, it makes it so that the TM can't be held (which is a good thing, IMO).
__________________

Check out my hacks by clicking on the userbar!
Check out my new website (this link now works!)!
Reply With Quote
  #10    
Old February 3rd, 2014 (4:03 AM).
Zarafaust Zarafaust is offline
 
Join Date: Dec 2012
Gender: Male
Posts: 1
There seems to be a bug in this method, as soon as you close the the TM case the tm vanishes. It will thus let you use the one tm on multiple pokemon but it can still only be used once.
Reply With Quote
  #11    
Old February 3rd, 2014 (5:34 AM).
MrDollSteak's Avatar
MrDollSteak MrDollSteak is offline
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 21
Gender: Male
Posts: 777
Quote:
Originally Posted by Telinc1 View Post
I just tried it. Setting the first Mystery to 1 removes the quantity, but it sticks the little HM icon in the start of the name and it overlaps with the "No. XX" text. Also, it makes it so that the TM can't be held (which is a good thing, IMO).
I thought that would be the case, because I noticed that HMs all were mystery 1, and TMs 0.

What I may try and do is find the ASM that loads that mystery value stuff, and depending on whether its an actual HM or not, not display the HM logo.

If I do get around to doing that (and if it works) I suppose I'll put it over here.
__________________
Reply With Quote
  #12    
Old February 3rd, 2014 (8:44 AM).
LCCoolJ95's Avatar
LCCoolJ95 LCCoolJ95 is offline
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 21
Gender: Male
Nature: Naive
Posts: 439
Quote:
Originally Posted by MrDollSteak View Post
Hey great job! How did you remove the quantity?
This'll be great for Fire Red too.

Wouldn't happen to be the Mystery Bytes would it?
it is actually.

I used the GBA Item Editor. I actually did this months ago, but without actually using a hex editor and changing a few bytes, the TM would not be considered reusable.

I compared TM50 to HM01 to see what was different between them. A TM uses the Mystery Bytes 0 0, while the HM uses 1 0. I changed all the TMs to 1 0 to see what would happen, and I got what I did in the video. It doesn't show the quantity.

However, you can still buy more than one TM in the game, through the Poké Marts and the Game Corner.
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Pokémon Emerald 650 (Resource Patch): http://www.pokecommunity.com/showthread.php?t=346694
Pokémon Theta Emerald: http://www.pokecommunity.com/showthread.php?t=349258
Reply With Quote
  #13    
Old February 3rd, 2014 (8:15 PM).
MrDollSteak's Avatar
MrDollSteak MrDollSteak is offline
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 21
Gender: Male
Posts: 777
Quote:
Originally Posted by LCCoolJ95 View Post
it is actually.

I used the GBA Item Editor. I actually did this months ago, but without actually using a hex editor and changing a few bytes, the TM would not be considered reusable.

I compared TM50 to HM01 to see what was different between them. A TM uses the Mystery Bytes 0 0, while the HM uses 1 0. I changed all the TMs to 1 0 to see what would happen, and I got what I did in the video. It doesn't show the quantity.

However, you can still buy more than one TM in the game, through the Poké Marts and the Game Corner.
Yeah the mystery byte is the same as in Fire Red.
The only difference is that 01 puts an HM logo in front for fire red.
__________________
Reply With Quote
  #14    
Old February 4th, 2014 (5:44 AM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Posts: 300
I have tried expanding the TM's but so far I have had no luck. Repointing and expanding simply doesn't work... I think
__________________
HOLIDAYING CURRENTLY!!
Reply With Quote
  #15    
Old February 4th, 2014 (10:31 AM).
LCCoolJ95's Avatar
LCCoolJ95 LCCoolJ95 is offline
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 21
Gender: Male
Nature: Naive
Posts: 439
Quote:
Originally Posted by MrDollSteak View Post
Yeah the mystery byte is the same as in Fire Red.
The only difference is that 01 puts an HM logo in front for fire red.
In Emerald it doesn't happen...weird...
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Pokémon Emerald 650 (Resource Patch): http://www.pokecommunity.com/showthread.php?t=346694
Pokémon Theta Emerald: http://www.pokecommunity.com/showthread.php?t=349258
Reply With Quote
  #16    
Old October 14th, 2016 (1:09 PM).
Domad4444's Avatar
Domad4444 Domad4444 is offline
quack.
 
Join Date: Jul 2012
Gender: Male
Posts: 9
Just found this:
https://www.reddit.com/r/PokemonROMhacks/comments/51aj8t/reusable_tms_in_firered/

It's just a change of 3 bytes in any hex editor.
It functions great besides it shows quantity, though it's better than the HM icon in my opinion.
If someone could use this method and remove the quantity it would be perfect.
Reply With Quote
  #17    
Old October 15th, 2016 (2:14 PM).
AtecainCorp.'s Avatar
AtecainCorp. AtecainCorp. is offline
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 23
Gender: Male
Nature: Hardy
Posts: 1,042
Any Solution for it in Pokemon Ruby?
__________________
This signature has been disabled.
Image is too tall :(
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #18    
Old October 16th, 2016 (12:26 AM).
DizzyEgg's Avatar
DizzyEgg DizzyEgg is offline
 
Join Date: Feb 2014
Location: Poland
Age: 19
Gender: Male
Nature: Quiet
Posts: 450
Quote:
Originally Posted by AtecainCorp. View Post
Any Solution for it in Pokemon Ruby?
I've got one. Stop using Ruby and switch to Emerald.
Reply With Quote
  #19    
Old October 16th, 2016 (2:17 AM).
AtecainCorp.'s Avatar
AtecainCorp. AtecainCorp. is offline
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 23
Gender: Male
Nature: Hardy
Posts: 1,042
Quote:
Originally Posted by DizzyEgg View Post
I've got one. Stop using Ruby and switch to Emerald.
Nice try. But all of you whatever you do. I DO NOT CHANGE FROM RUBY Since it was great rombase.
__________________
This signature has been disabled.
Image is too tall :(
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #20    
Old October 16th, 2016 (6:39 AM).
Nex's Avatar
Nex Nex is offline
Also called _Nex_
 
Join Date: Aug 2013
Gender: Male
Posts: 333
Quote:
Originally Posted by AtecainCorp. View Post
Nice try. But all of you whatever you do. I DO NOT CHANGE FROM RUBY Since it was great rombase.
"Since it was great rombase"
I see what you did there...
__________________
Reply With Quote
  #21    
Old October 18th, 2016 (6:44 AM).
FBI's Avatar
FBI FBI is offline
Free supporter
Silver Tier
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,621
Actually with PokeRuby being worked on, it's definitely a gaining viability to be a ROM base to hack with. Definitely once that gets more leverage it'd be easier to hack Ruby than EM or FR. So the elitism here is a few months too late, hehe.

The bulbapedia article here http://bulbapedia.bulbagarden.net/wiki/Item_data_structure_in_Generation_III has what you are looking for concerning the item table location and mystery byte locations for Ruby. If the HM icon appears, then you'll have to do some debugging and nop some comparisons. If EM doesn't display the HM icon, then Ruby likely won't either. Cheers~
__________________
...
Reply With Quote
  #22    
Old October 21st, 2016 (1:03 AM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~
Silver Tier
 
Join Date: May 2007
Location: Philippines
Age: 26
Gender: Male
Nature: Careful
Posts: 8,516
Quote:
Originally Posted by FBI View Post
Actually with PokeRuby being worked on, it's definitely a gaining viability to be a ROM base to hack with. Definitely once that gets more leverage it'd be easier to hack Ruby than EM or FR.
PokéRuby? This is the first I've heard of this project (then again, I was so busy with work in the previous months anyway...). Is there a forum thread of this research somewhere?

Quote:
Originally Posted by AtecainCorp. View Post
Any Solution for it in Pokemon Ruby?
Wait... I thought this was already possible in Ruby? I even have the method in my notes.

Code:
Open your Ruby ROM with a Hex Editor and go to 0x6F210. Change the [A8] byte to [90].
If I remember correctly, this will only let you use a TM as many times as you want.
__________________


FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

Reply With Quote
  #23    
Old October 21st, 2016 (1:20 AM).
AtecainCorp.'s Avatar
AtecainCorp. AtecainCorp. is offline
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 23
Gender: Male
Nature: Hardy
Posts: 1,042
Quote:
Originally Posted by destinedjagold View Post
PokéRuby? This is the first I've heard of this project (then again, I was so busy with work in the previous months anyway...). Is there a forum thread of this research somewhere?



Wait... I thought this was already possible in Ruby? I even have the method in my notes.

Code:
Open your Ruby ROM with a Hex Editor and go to 0x6F210. Change the [A8] byte to [90].
If I remember correctly, this will only let you use a TM as many times as you want.
Did you maybe know also how expand Limit of Items in pockets? I especialy need it for Key Items. Since on my hack Johto Items do not allways fit on Key Item Pocket.
__________________
This signature has been disabled.
Image is too tall :(
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #24    
Old October 21st, 2016 (1:22 AM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~
Silver Tier
 
Join Date: May 2007
Location: Philippines
Age: 26
Gender: Male
Nature: Careful
Posts: 8,516
Quote:
Originally Posted by AtecainCorp. View Post
Did you maybe know also how expand Limit of Items in pockets? I especialy need it for Key Items. Since on my hack Johto Items do not allways fit on Key Item Pocket.
Nope. I don't really know how to do in-dept research and stuff within ROMs. I'm just relying on tools and tutorials and trying to understand how they work to the best of my abilities. Nothing more. :3
__________________


FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

Reply With Quote
  #25    
Old October 21st, 2016 (1:24 AM).
AtecainCorp.'s Avatar
AtecainCorp. AtecainCorp. is offline
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 23
Gender: Male
Nature: Hardy
Posts: 1,042
Quote:
Originally Posted by destinedjagold View Post
Nope. I don't really know how to do in-dept research and stuff within ROMs. I'm just relying on tools and tutorials and trying to understand how they work to the best of my abilities. Nothing more. :3
I also do my own researches. Now I focusing on Possiblities with Dex Expansion.
__________________
This signature has been disabled.
Image is too tall :(
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

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 -8. The time now is 5:37 AM.