The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.


Advertise here

Reply
 
Thread Tools
  #1    
Old December 14th, 2013, 06:54 PM
The Shiny Ho-Oh's Avatar
The Shiny Ho-Oh
Golden Bird
 
Join Date: Sep 2010
Location: In the Blazing Skies
Age: 21
Gender: Male
Nature: Bold

Advertise here
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
  #2    
Old December 18th, 2013, 01:58 AM
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Sorta been done before: Use this info to further your research

http://www.romhackersonline.com/xf/i...ch-thread.102/
__________________
HOLIDAYING CURRENTLY!!
Reply With Quote
  #3    
Old December 24th, 2013, 06:43 PM
ShyRayq's Avatar
ShyRayq
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
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, Pokemon Y
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex Completed as of 02/03/14
Big thanks especially to DestinedJagold, Xerneas_X and Elements1

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
 
Join Date: Mar 2009
Age: 22
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
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
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/showpos...&postcount=420
Here you go, this SHOULD work.
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter, Pokemon Y
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex Completed as of 02/03/14
Big thanks especially to DestinedJagold, Xerneas_X and Elements1

PM me if you want to trade, or add my FC.
Reply With Quote
  #6    
Old January 26th, 2014, 02:14 AM
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
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, 09:46 AM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
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

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
  #8    
Old February 2nd, 2014, 06:38 PM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
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
Pokémon Trainer
 
Join Date: Jun 2013
Age: 38
Gender: Male
Nature: Quirky
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!
Reply With Quote
  #10    
Old February 3rd, 2014, 04:03 AM
Zarafaust
 
Join Date: Dec 2012
Gender: Male
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, 05:34 AM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
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, 08:44 AM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
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

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
  #13    
Old February 3rd, 2014, 08:15 PM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
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, 05:44 AM
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
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
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
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

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:55 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.