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 Question and More Questions (https://www.pokecommunity.com/showthread.php?t=348734)

FamiliaWerneck May 10th, 2015 5:44 AM

Question and More Questions
 
Sup guys!
I'm new to ROM hacking and to the site, so I got a ton questions.
I know how to pull a lot of stuff, I'm using some tools already, getting familiar with them. But, problems showed up.
I've found a few solutions though, that weren't that clear, and some stuff I didn't even find a solution for.
Well, questions follow:
1. Pokédex Problems: I'm having a headache with the Pokédex problems. I can't add the National Pokédex early in the game. But even if I could, some problems:
1.1 - How can I make Oak give me and the rival both the National Pokédex right after you give Oak's Parcel? CHECK
1.2 - If Oak gives me the National dex right after the Pokédex, what happens to the part after Elite Four, where Oak calls up you and your rival and gives you both the National Dex? CHECK
1.3 - If I don't have the National Dex, I can't evolve. I saw some code where you enable evolution without the National Dex. But what would happen to the Pokémon that evolved before I got the National Dex, like Chansey or Onix? Would they be added automatically to the Pokédex? Or would I have to capture and evolve them again? CHECK
1.4 - I'll enable all 386 Pokémon to be caught/evolved/breed - acquired. I'll also add Generation IV's Pokémon. How do I add Generation IV to my Pokédex? Do I add them to my Pokédex or to my National Dex? How do I edit their information? What about that Pokémon Habitats information? How do I change these information for Generation's IV Pokémon? What about the regions I caught them? CHECK
1.5 - Do I need to get National Pokédex so my Generation IV's Pokémon evolve (Since they are added to the game, they don't seem to be restricted to that, but I want them working accordingly past Generations.)? CHECK
1.6 - With all before solved by myself (:cool:), I just need to know. How do I change the National Pokédex colors (or whatever I need to change) so it looks like Kanto's Pokédex? CHECK

2 - When I add a new attack, how do I make a new animation to it? Also, how do I add new attacks? =P (I was changing existing ones, as I don't want a lot new moves, but I came with the animation problem.) CHECK

3 - I saw some codes on how to add the Physical/Special split in Generation III. My doubt is about the sprites of Physical/Special/Status attacks. How are they displayed in-game? How do you add those to the game? Or you don't, the split is just inside the game code and while gaming, the attacks will be displayed as before? CHECK (I'm using MrDollSteak's Rombase)

4 - How can I make a Pokémon have a 3rd type? (I just can't accept Charizard and Gyarados are not Dragon, or Beedrill/Flygon don't fly)
Just a little question about having dual-type (like a Dragon+Flying type or a Bug+Flying type) types that just occurred to me. What will I have to do in the Pokédex area? Or I just create the new types, and everything is ok right away?
And TMs/HMs? Would I have to change anything around it, other than palettes (if, of course, I make a dual-type attack)?
What about STAB? How would I work that? Where is it programmed?

5 - I already know how to add "Evolutionary Stones", though some are not stones... But, my problem now is that I want Pokémon to evolve at level X while using an item (for example Onix will evolve into Steelix at level 50 while using Metal Coat). How can I add evolutionary methods? Also, how would this work for Gallade, Froslass and Combee (Only male/female would accept a stone and only female Combees evolve)? CHECK (Level + Item evolutions are possible thanks to joexv. Few changes needed to be perfect. Combee's evolution is ok too. Only Gallade/Froslass and Slowpoke's evolution are still in the making.)

6 - I know this one might not be difficult, but how can I change all Master Ball, Ultra Ball, Great Ball to look like a Pokéball? In the bag, while throwing it, inside a Pokémon's data screen... I hate other Pokéball's desings. What about their catching rates? How do I change them? CHECK

7 - TMs/HMs:
7.1 - How do I add more TMs? CHECK
7.2 - How do I make them good for more than one use? (I believe there is a thread around people were discussing it, but I can't find it again.) CHECK
7.3 - How can I make HMs forgettable or how to enable learning a new attack over them? CHECK
7.4 - I tried making all the TMs buyable. For that I tested the first 10 at the Viridian Pokémart, but the game crashed, my bag became the berry bag, it was a mess. How can I make all TMs buyable? I was thinking of putting them all to sell at Celadon, in that big store building with a lot of floors. (I tried opening the mart and adding "#raw word 0xitemcode" to every TM, just like the other items were listed. Why that was wrong?)
7.4 - As I'm making TMs to be infinite, I'm changing their prices to 0, so they won't be sold. Instead, I had an idea for challenges. each challenge you complete, grants you a TM. Somewhere, maybe Viridian, don't know yet, there'll be a challenge house, with a guy that gives you the TMs after you finish each challenge. Is there a way to do this challenges? Giving the TM if they are complete is easy. But the challenges I'm not sure... Also, how do I take the TMs out of the stores? Celadon's Department Store, Game Corner, etc, etc?
7.5 - What program can I use to change the TMs attacks? I know there is one, but I can't remember. CHECK
7.6 - I wanna change the HM Rock Smash for Brick Break and Cut for Slash. How can I do it?
As for the rocks that I should be able to break (and cut trees) around the game, if I change the script for one, will I change it for all?
But when I change them, the new HM is not blue and among the options in the party. How can I fix that?
I believe the old HMs keep being an option in the party and blue, too. How can I make them normal attacks, aswell? CHECK
7.7 - How do I add HM Dive to Fire Red? How can I make Giovanni unlock my use to it? CHECK
7.8 - How can I change Flash to Rock Climb? I'm using MrDollSteak's Rombase, so my ROM already has Rock Climb. I just need to change it like Rock Smash for Brick Break. But how do I add its functionality, the overworld usage of it? CHECK

8 - I also, eventually, wanna make a world map with all regions prior to Generation V. Will it fit inside my Fire Red ROM? Also, once, I changed some Wild Pokémon information on Advance Map, saved and tried to open the same ROM to change stuff in YAPE while doing a test. But it wouldn't open, saying the ROM wasn't supported. Then I opened a new ROM on YAPE, did what I had to, and then changed the same stuff I did before on Advance Map and it worked. Is there a order to work my game around? Or something went wrong just then?

9 - Breeding Problems:
9.1 - How can I make Pokémon breedable only in the same Evolution-Family or with a Ditto?
9.2 - How do I change what comes of a breeding encounter (for example, making always a baby Pokémon come up, no matter what Pokémons were used, what the mother was holding, or making a baby come up only if the mother was holding a specific item)? CHECK
9.3 - How can I make the new-born Pokémon to be always level 1? CHECK
9.4 - How can I delete "Attacks Learned by Breeding"? CHECK
9.5 - How can I make Ditto breed with himself too, not only with all other Pokémon?
9.5 - How can I make some Pokémon, like Chansey, for example, have a "Spontaneous Generation"? As Chansey (and other Pokémon) are only female, or only male, how can I make it not breed at all, but eventually, random like that, get an egg? Is that possible?
9.6 - How can I make the counter-part Pokémon (Nidorans, Volbeat and Illumise, Tauros and Miltank) breed with only themselves (not even with Ditto)?
9.7 - How can I make genderless Pokémon breed among themselves too, instead of only with Ditto (Magnemite, for example)?
9.8 - How can I test breeding changes without having to get to Island 4?

10 - How can I end natures effects? Or make every Pokémon in the game Docile as default?
Does anybody knows where the table for Natures are? CHECK

11 - Starters. Can I have more than a set of three starters? I wanted to make possible to choose between all 12 starters from Generations I to IV... CHECK

12 - Also, I could use this one, but it's not a big deal if I can't. Can I make a wild Pokémon appear somewhere other than grass, cave, water or using a rod? For example, the beach, or places without grass, or the city... Is that possible? CHECK

13 - Can I expand my boxes to store Pokémon in the PC? It does not contain the room I need for 493 Pokémon plus different versions like Unown, that has 28 versions.

14 - I am asking this simultaneously in another thread, but just to make sure. Is there a way I can make Pokémon transform? I'm asking this because of Rotom's and Shaymin's forms, and then I learned Giratina has different versions too. Is there any way to pull that, transformations and not evolutions? And how does that work in the Pokédex? Like the Unown, the first you capture is shown within the Pokédex and the rest you just see checking each Pokémon? And how would I add two or more Pokédex entries (for each transformation form) occupying only one number? Never played the games after Generation III, I'm curious. CHECK (Thanks to daniilS' Forms/Formes and Touched's Mega Evolutions)

15 - How can I make Pokéballs (the type of item, not just the regular red Pokéball) usable until I catch a Pokémon with it?
I mean, if I throw a Pokéball, how can I make it does not disappear if I don't catch the wild Pokémon (with it being gone after I catch it, of course)?
I believe this one is doable in the way TMs were done. Just need to get into the battlescripts and check it. Anyone knows where I can find the battlescripts for capturing (or at least trying) Pokémon? CHECK

Sorry for all the questions, but I'm really having a hard time figuring these stuff.
For what I've sen through the site in the past week, and with the tools I have already tested, none of this seem impossible or too hard.
If you guys can help, it'll make me very happy. Again, sorry for all these stuff, but I had to know all this.

EDIT: I added the other post's questions and checked what is done. If anyone is having the same problem and needs the solution, just ask and I'll help.

NewDenverCity May 10th, 2015 9:49 AM

1.1: special 0x16F
1.2: It might go away.
1.3: I can't understand you.
1.4: G3HS can expand the number of Pokémon and alter the habitats.
1.5: Unless you use that code you mentioned earlier, yes.
2: http://www.pokecommunity.com/showthread.php?t=290135 http://www.pokecommunity.com/showthread.php?t=308062
3: If you mean that thread without an IPS patch, don't use that. From Doesnt's post, it won't work.
4: ASM.
5: More ASM. Also: http://www.pokecommunity.com/showthread.php?t=329357
6: Change the pointers to the images to the same one as the original PokéBall. Also have this: http://www.pokecommunity.com/showthread.php?t=326311
7: We don't know how to add more TMs. If you want to have them be color-coded, you'll need new sprites and then change the pointers in game.
8: For the first question, no. The second one, I don't know what's happening there.
9.1: I think you'd have to expand the tables for the breeding groups to have one for each species or use some serious ASM.
9.2: I don't know, but I remember there being research on it in the Quick Research Thread.
9.3: Check the Tutorial sections here.
9.4: G3HS also can alter egg moves if memory serves me well, so you can delete them by hand that way.
10: Follow the table and know which one is Docile, and then make them all the same as that one. Or you could do more ASM.

Sniper May 10th, 2015 9:55 AM

As for 1.3
Quote:

Originally Posted by daniilS (Post 8736312)
It should be illegal to offer people that cheap solution. Open a hex editor and type 00 00 14 E0 at 0xCE91A to make those evolutions work without the national dex.

they would be added to the National dex but if you just have the Pokedex then you won't be able to see the evolutions that are in the National dex. Basically, better off enabling national dex

FamiliaWerneck May 10th, 2015 11:23 AM

Quote:

Originally Posted by NewDenverCity (Post 8744885)
1.1: special 0x16F
1.2: It might go away.
1.3: I can't understand you.
1.4: G3HS can expand the number of Pokémon and alter the habitats.
1.5: Unless you use that code you mentioned earlier, yes.
2: http://www.pokecommunity.com/showthread.php?t=290135 http://www.pokecommunity.com/showthread.php?t=308062
3: If you mean that thread without an IPS patch, don't use that. From Doesnt's post, it won't work.
4: ASM.
5: More ASM. Also: http://www.pokecommunity.com/showthread.php?t=329357
6: Change the pointers to the images to the same one as the original PokéBall. Also have this: http://www.pokecommunity.com/showthread.php?t=326311
7: We don't know how to add more TMs. If you want to have them be color-coded, you'll need new sprites and then change the pointers in game.
8: For the first question, no. The second one, I don't know what's happening there.
9.1: I think you'd have to expand the tables for the breeding groups to have one for each species or use some serious ASM.
9.2: I don't know, but I remember there being research on it in the Quick Research Thread.
9.3: Check the Tutorial sections here.
9.4: G3HS also can alter egg moves if memory serves me well, so you can delete them by hand that way.
10: Follow the table and know which one is Docile, and then make them all the same as that one. Or you could do more ASM.

Quote:

Originally Posted by Sniper (Post 8744902)
As for 1.3


they would be added to the National dex but if you just have the Pokedex then you won't be able to see the evolutions that are in the National dex. Basically, better off enabling national dex

Thanks for the replies!

1.2 - I'll have it tested, just asked if anyone had this information before hand.
1.3 - That's the code I saw for enabling evolution withou the National Dex. The question is: You know that animation after you capture a Pokémon? Let's pretend I capture and evolve a Chansey to Blissey before beating Elite Four, hence, using the code, but not having the National Dex. Will that animation happen and the Pokémon species be added to the Pokédex? Or will I have to capture and evolve another Chansey so she gets added to my National Dex after I get it?
1.4 - If by G3HS, you mean Suite, than great, I have it and I think that thing is awesome.
That was the code I saw about enabling evolution without the Pokédex.

3 - I'm actually asking if I use that code, if the game will display what attacks are Physical and what are Special or if I have to add the sprites, find space in the Pokémon's attack list, etc. and how would I do it. But nice knowing that doesn't work. Does anyone has a working solution on that?

4 - If I manage to ASM a 3rd type into some Pokémon, how can I make it be displayed with the other two types?

6 - Great idea! But how do I change pointers? (I'm able to change them in Advance Item Editor, and it worked fine. But I'd like to know how to do that without this program, unless if you meant me to use it.)

8 - Ok, so if it doesn't fit, what do I do? Expand the ROM?

10 - I didn't understand your answer...

Again, thanks a LOT for the replies! Just hope I'm not disturbing much.


EDIT: I've remembered some more stuff!

11 - Starters. Can I have more than a set of three starters? I wanted to make possible to choose between all 12 starters from Generations I to IV...

12 - Also, I could use this one, but it's not a big deal if I can't. Can I make a wild Pokémon appear somewhere other than grass, cave, water or using a rod? For example, the beach, or places without grass, or the city... Is that possible?

NewDenverCity May 11th, 2015 5:52 PM

Quote:

Originally Posted by FamiliaWerneck (Post 8745025)
Thanks for the replies!

1.2 - I'll have it tested, just asked if anyone had this information before hand.
1.3 - That's the code I saw for enabling evolution withou the National Dex. The question is: You know that animation after you capture a Pokémon? Let's pretend I capture and evolve a Chansey to Blissey before beating Elite Four, hence, using the code, but not having the National Dex. Will that animation happen and the Pokémon species be added to the Pokédex? Or will I have to capture and evolve another Chansey so she gets added to my National Dex after I get it?
1.4 - If by G3HS, you mean Suite, than great, I have it and I think that thing is awesome.
That was the code I saw about enabling evolution without the Pokédex.

3 - I'm actually asking if I use that code, if the game will display what attacks are Physical and what are Special or if I have to add the sprites, find space in the Pokémon's attack list, etc. and how would I do it. But nice knowing that doesn't work. Does anyone has a working solution on that?

4 - If I manage to ASM a 3rd type into some Pokémon, how can I make it be displayed with the other two types?

6 - Great idea! But how do I change pointers? (I'm able to change them in Advance Item Editor, and it worked fine. But I'd like to know how to do that without this program, unless if you meant me to use it.)

8 - Ok, so if it doesn't fit, what do I do? Expand the ROM?

10 - I didn't understand your answer...

Again, thanks a LOT for the replies! Just hope I'm not disturbing much.


EDIT: I've remembered some more stuff!

11 - Starters. Can I have more than a set of three starters? I wanted to make possible to choose between all 12 starters from Generations I to IV...

12 - Also, I could use this one, but it's not a big deal if I can't. Can I make a wild Pokémon appear somewhere other than grass, cave, water or using a rod? For example, the beach, or places without grass, or the city... Is that possible?

No problemo, I like helping out whenever I can. And you could ask some of these in the general questions thread I'd imagine but you might not get this amount of focus.


Replies to replies as necessary:
1.3: You won't need another Chansey, it'll be added automatically. The Blissey won't show up when you open your dex(it'll only show up to 151), but once you get the national dex you'll see the Blissey.
3: MrDS's ROM base works well for it, as well as adding attacks from Gens 4-6 and the Fairy Type. It's a good place to begin with a ROM hack if you're just beginning(and I use it anyway because it's so much work to add in all those moves otherwise ehehe).
4: More ASM. You're going to need to be able to find the code in the ROM that displays those two types and then change it so that it shows three. This is actually really complicated, as I believe you'll need to change the damage calculator.
6: I actually meant for you to do that, but in case you wanted to do it by hand then you take the offset(let's use 005A4B3C as an example here) and you only want to look at the last six digits. Then split those six digits into bytes like so; 5A 4B 3C. Reverse them(3C 4B 5A). Add 08 to the end(3C 4B 5A 08). You've created a pointer. You can take any place in the ROM and do that to make a pointer to it. In HxD you can search for pointers by taking the offsets and doing that and plug it into the search function, and when you find them you can replace them with your own. It sounds complicated but if you try it out a few times you'll get the hang of it.
8: You could I suppose, but I don't have any solid research on how to expand the number of maps. FR has a lot of maps(you know, if you delete the Sevii Islands and whatnot), but I don't think that it can handle ALL the regions.
10: At this point I was tired and could barely remember what Doesnt said once on the Natures thing. There's a table somewhere, and if you figure out which one of them is neutral then you can replace the others with the same data(tables are very structured so once you figure out the basics behind that table it's really easy to hex edit).
11: Yes. I'd suggest using a free variable rather than flags though because using 12 flags seems like kind of a waste. Meanwhile the variable can hold any number(up to 65535(FFFF) actually, but I don't know why you'd have such a high number), and with a script you can check for the value of the var no matter what it is.
12: Yes, in a sense. You can change the behavior of the tile, but note that wherever that tile is no matter the map it'll behave like grass or a cave.

FamiliaWerneck May 12th, 2015 1:50 AM

Quote:

Originally Posted by NewDenverCity (Post 8746876)
No problemo, I like helping out whenever I can. And you could ask some of these in the general questions thread I'd imagine but you might not get this amount of focus.


Replies to replies as necessary:
1.3: You won't need another Chansey, it'll be added automatically. The Blissey won't show up when you open your dex(it'll only show up to 151), but once you get the national dex you'll see the Blissey.
3: MrDS's ROM base works well for it, as well as adding attacks from Gens 4-6 and the Fairy Type. It's a good place to begin with a ROM hack if you're just beginning(and I use it anyway because it's so much work to add in all those moves otherwise ehehe).
4: More ASM. You're going to need to be able to find the code in the ROM that displays those two types and then change it so that it shows three. This is actually really complicated, as I believe you'll need to change the damage calculator.
6: I actually meant for you to do that, but in case you wanted to do it by hand then you take the offset(let's use 005A4B3C as an example here) and you only want to look at the last six digits. Then split those six digits into bytes like so; 5A 4B 3C. Reverse them(3C 4B 5A). Add 08 to the end(3C 4B 5A 08). You've created a pointer. You can take any place in the ROM and do that to make a pointer to it. In HxD you can search for pointers by taking the offsets and doing that and plug it into the search function, and when you find them you can replace them with your own. It sounds complicated but if you try it out a few times you'll get the hang of it.
8: You could I suppose, but I don't have any solid research on how to expand the number of maps. FR has a lot of maps(you know, if you delete the Sevii Islands and whatnot), but I don't think that it can handle ALL the regions.
10: At this point I was tired and could barely remember what Doesnt said once on the Natures thing. There's a table somewhere, and if you figure out which one of them is neutral then you can replace the others with the same data(tables are very structured so once you figure out the basics behind that table it's really easy to hex edit).
11: Yes. I'd suggest using a free variable rather than flags though because using 12 flags seems like kind of a waste. Meanwhile the variable can hold any number(up to 65535(FFFF) actually, but I don't know why you'd have such a high number), and with a script you can check for the value of the var no matter what it is.
12: Yes, in a sense. You can change the behavior of the tile, but note that wherever that tile is no matter the map it'll behave like grass or a cave.

1.3 - I just saw some of my Pokémon evolving as a test, and the "Pokédex adding animation" doesn't happen when you evolve. It showing up after I get the National Dex is what counts for me.

3 - I'll look into his ROM base. Initially, I don't want to use that, because everybody make a lot of changes to their ROMs. I'm trying to base my ROM in the anime. Plus, I like to know what's happening if I need to change something and it is great to be able to call it mine. But, like I said, I'll look into it.

4 - Maybe I'll use this for a later ROM. Won't die if I don't have this.

6 - I know how to change a pointer after all! =P

8 - Not trying this until National Dex, Evolution Methods and Generation IV Pokémon are fully functional. I got time.

10 - AWESOME. I won't change their names then, just the "Natures Effects"

11 - Don't know how I'm doing this, but when I'm closer of trying, I'll be searching for this more.

12 - If it works like grass, but it is not grass, it's ok. That's what I want. No grass, Pokémon still.

Also:
13 - Can I expand my boxes to store Pokémon in the PC? It does not contain the room I need for 493 Pokémon plus different versions like Unown, that has 28 versions.

14 - I am asking this simultaneously in another thread, but just to make sure. Is there a way I can make Pokémon transform? I'm asking this because of Rotom's and Shaymin's forms, and then I learned Giratina has different versions too. Is there any way to pull that, transformations and not evolutions? And how does that work in the Pokédex? Like the Unown, the first you capture is shown within the Pokédex adn the rest you just see checking each Pokémon? And how would I add two or more Pokédex entries (for each transformation form) occupying only one number? Never played the games after Generation III, I'm curious.

Bro, thanks a LOT!
I just asked in a new thread, 'cause that was a lot of questions and I've already looked up for them in different parts of the site.

NewDenverCity May 12th, 2015 5:35 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8747330)
1.3 - I just saw some of my Pokémon evolving as a test, and the "Pokédex adding animation" doesn't happen when you evolve. It showing up after I get the National Dex is what counts for me.

3 - I'll look into his ROM base. Initially, I don't want to use that, because everybody make a lot of changes to their ROMs. I'm trying to base my ROM in the anime. Plus, I like to know what's happening if I need to change something and it is great to be able to call it mine. But, like I said, I'll look into it.


8 - Not trying this until National Dex, Evolution Methods and Generation IV Pokémon are fully functional. I got time.

11 - Don't know how I'm doing this, but when I'm closer of trying, I'll be searching for this more.

Also:
13 - Can I expand my boxes to store Pokémon in the PC? It does not contain the room I need for 493 Pokémon plus different versions like Unown, that has 28 versions.

14 - I am asking this simultaneously in another thread, but just to make sure. Is there a way I can make Pokémon transform? I'm asking this because of Rotom's and Shaymin's forms, and then I learned Giratina has different versions too. Is there any way to pull that, transformations and not evolutions? And how does that work in the Pokédex? Like the Unown, the first you capture is shown within the Pokédex adn the rest you just see checking each Pokémon? And how would I add two or more Pokédex entries (for each transformation form) occupying only one number? Never played the games after Generation III, I'm curious.

I like answering questions so this is kind of fun. :v


3: He has a README.txt in his .zip, and it has the pointers to all the repointed tables and all that.
11: Really all you have to do is check what number the variable is set to in a script, so while it might end up being long, checking for all 12 flags would also be really long.
13: More ASM and hex editing I'm afraid. I haven't seen anyone ever do this before. I know that the PC and boxes rely a lot on variables and flags(which is why messing with the wrong variables gives you a bad egg sometimes). There is a tool that lets you find the code with VBA, so if you look in the Resource section and read things on how to find ASM in the ROM then you'll be able to find it.
14: I think there might be ASM for some of this already. It shouldn't be that hard, and some people already have looked a lot into hacking the battle system. (If you want to do the switches outside of battle then all you need to do is swap the Pokémon in your team with the alternate form in a script.) Also Doesntknowhowtoplay and ChaosRush have done a lot of Pokedex hacking, so you should check their threads for some more information on that.

daniilS May 12th, 2015 6:00 AM

Don't expand types. Every piece of code in the game related to checking types will lose the first type, do stuff with it, loss the second type, so stiff again, continue. There's too much to edit.

As for forms, just create a new poke for every form and assign them to the same dex slot. There's a link to my form thread in my sig, and hopefully all forms (up to gen IV at least) will be posted there someday.

LEARN ASM

FamiliaWerneck May 12th, 2015 6:45 AM

Quote:

Originally Posted by NewDenverCity (Post 8747466)
I like answering questions so this is kind of fun. :v


3: He has a README.txt in his .zip, and it has the pointers to all the repointed tables and all that.
11: Really all you have to do is check what number the variable is set to in a script, so while it might end up being long, checking for all 12 flags would also be really long.
13: More ASM and hex editing I'm afraid. I haven't seen anyone ever do this before. I know that the PC and boxes rely a lot on variables and flags(which is why messing with the wrong variables gives you a bad egg sometimes). There is a tool that lets you find the code with VBA, so if you look in the Resource section and read things on how to find ASM in the ROM then you'll be able to find it.
14: I think there might be ASM for some of this already. It shouldn't be that hard, and some people already have looked a lot into hacking the battle system. (If you want to do the switches outside of battle then all you need to do is swap the Pokémon in your team with the alternate form in a script.) Also Doesntknowhowtoplay and ChaosRush have done a lot of Pokedex hacking, so you should check their threads for some more information on that.

Great, I'll look into all of that. Thanks man!

Quote:

Originally Posted by daniilS (Post 8747488)
Don't expand types. Every piece of code in the game related to checking types will lose the first type, do stuff with it, loss the second type, so stiff again, continue. There's too much to edit.

As for forms, just create a new poke for every form and assign them to the same dex slot. There's a link to my form thread in my sig, and hopefully all forms (up to gen IV at least) will be posted there someday.

LEARN ASM

I thought of that, but didn't know if I could use the same Pokédex entry. I'm using the Unown example in G3HS to understand how it works. I believe I'll do an "evolution-like" process instead of just transforming.
I'll check more later, but thanks.
As for the 3rd type, won't be trying that anymore. It does seem like headache on my way.

daniilS May 12th, 2015 6:50 AM

Please don't create fake firmed through evos. And Unown is a special case throughout the entire game, hacking something like that in would be too difficult. Just use my routines or write your owns.

FamiliaWerneck May 12th, 2015 11:44 AM

Quote:

Originally Posted by daniilS (Post 8747559)
Please don't create fake firmed through evos. And Unown is a special case throughout the entire game, hacking something like that in would be too difficult. Just use my routines or write your owns.

What do you mean by "fake firmed through evos"?
Also, not going to hack Unown. Just checking how they work, as they have 28 different types, but only one Pokédex entry.
Only problem is that they don't transform into each other.
But I'm checking your routines, and that seems like a stunning work! Kudos!
Saw a video of a hack where the guy does the Mega Evolution, that when his Pokémon holds certain item, they Mega Evolve.
Check: https://www.youtube.com/watch?v=mifREMM_29M
But, notice that his index number changes aswell.
I'll be looking into all this stuff soon and in order. Thanks for the help so far!

daniilS May 12th, 2015 12:53 PM

**formes
Unown isn't actually multiple pokes, it just has different sprites.
There are tools out there that let you assign dex numbers to indexes, since those are two separate things.
As for megas, forget about that vid, and check the R&D section for Touched's thread.

FamiliaWerneck May 14th, 2015 6:02 AM

Quote:

Originally Posted by daniilS (Post 8748101)
**formes
Unown isn't actually multiple pokes, it just has different sprites.
There are tools out there that let you assign dex numbers to indexes, since those are two separate things.
As for megas, forget about that vid, and check the R&D section for Touched's thread.

I thought each Unown were considered different Pokémon, from what I saw on G3HS.
I actually didn't look much, I'm travelling, didn't have the time.
But I thought they made different Pokémon with the same names, attacks, and dex entries, so they would be the same.
Anyways, thanks a lot. I'll try working in something completely different for now while I'm away.
When I come back, I'll start my ROM hack, using MrDollSteak's ROM base, most probably.
Thanks guys. Anything else, I ask again. =D

FamiliaWerneck May 25th, 2015 7:42 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8744525)
1, 6 - SOLVED
2, 3 - SOLVED (If I can get MrDollSteak Rombase to work)
5, 9, 12, 14 - Still going to try these.
4, 8, 11 - Only trying after everything else is done./Not gonna try.

Sup guys, I'm back here.
Many questions popped into my head now that I've finally started.
After a week of researching, I started trying and got past the National Pokédex problems. Everything solved there.
But, I got a few more questions and some of them are the old questions:

0 - General question. How do I find a mechanic part of the game and change it using hex or ASM, whatever? Because I did some alterations in the Pokédex codes only because Professor Oak was at his lab and I opened it via Advance Map. How do I find and change the codes for Nature, Breeding, Tileset behavior, PC Storage System, etc?

1 - Pokédex Problems:
1.6 - With all before solved by myself (:cool:), I just need to know. How do I change the National Pokédex colors (or whatever I need to change) so it looks like Kanto's Pokédex?

7 - TMs:
7.1 - How do I make them good for more than one use? (I believe there is a thread around people were discussing it, but I can't find it again.)
7.2 - How can I make HMs forgettable or how to enable learning a new attack over them?
7.3 - I tried making all the TMs buyable. For that I tested the first 10 at the Viridian Pokémart, but the game crashed, my bag became Ruby's bag, it was a mess. How can I make all TMs buyable? I was thinking of putting them all to sell at Celadon, in that big store building with a lot of floors. (I tried opening the mart and adding "#raw word 0xitemcode" to every TM, just like the other items were listed. Why that was wrong?)
7.4 - What program can I use to change the TMs attacks? I know there is one, but I can't remember.

10 - How can I end natures effects? Or make every Pokémon in the game Docile as default?
This question was actually answered. But where can I find the tables for the Natures? All the hex and ASM I've done, I've opened via Person Event Scripts in Advance Map on XSE. I don't know how to find and change the mechanics of the game...

12 - Tried to find the tileset codes so I can make the sand tilesets work like grass or like the cave works, but no luck. I also tried changing the sand tilesets to a cave configuration, but I don't know if I did it right. Plus, I believe all the map "became a cave".
I know it's possible, because in Mt. Moon, you get wild Pokémon whilst walking in the sand tilesets in the sides of the cave. I just don't know how to achieve that.

13 - Can I expand my boxes to store Pokémon in the PC?
Again, don't know how to find and change the codes for the PC Storage Sytem.

Percy May 25th, 2015 4:48 PM

For question 7.2,

Change these bytes:

0441D6: 00
125AA8: 00

Credits to JPAN.

FamiliaWerneck May 26th, 2015 6:23 AM

Quote:

Originally Posted by Percy (Post 8767264)
For question 7.2,

Change these bytes:

0441D6: 00
125AA8: 00

Credits to JPAN.

Thanks for that bro. But how can I find these bytes?

Splash May 26th, 2015 6:31 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8767860)
Thanks for that bro. But how can I find these bytes?

Theres a magical tool called Hex Editor that when you open a rom using one it will show you all sorts of bytes. Search for the offsets given by the Wizard Percy and change the byte in those offsets.

PS You should really learn how to hex edit since you'll need it for inserting asm and stuff for your game

FamiliaWerneck May 26th, 2015 8:12 AM

Quote:

Originally Posted by Splash (Post 8767869)
Theres a magical tool called Hex Editor that when you open a rom using one it will show you all sorts of bytes. Search for the offsets given by the Wizard Percy and change the byte in those offsets.

PS You should really learn how to hex edit since you'll need it for inserting asm and stuff for your game

I'm learning. I just didn't realize I could open my game directly in HxD.
I made some speech changes directly from there, but I opened the code via Advance Map.
How do you guys find offsets to a specific part of the game?
Like, how did JPAN found out that these specific offsets turn HMs forgettable?

EDIT: Since I'm here, and I just remembered this:

15 - How can I make Pokéballs (the type of item, not just the regular red Pokéball) usable until I catch a Pokémon with it?
I mean, if I throw a Pokéball, how can I make it does not disappear if I don't catch the wild Pokémon (with it being gone after I catch it, of course)?

Splash May 26th, 2015 8:40 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8767990)
I'm learning. I just didn't realize I could open my game directly in HxD.
I made some speech changes directly from there, but I opened the code via Advance Map.
How do you guys find offsets to a specific part of the game?
Like, how did JPAN found out that these specific offsets turn HMs forgettable?

EDIT: Since I'm here, and I just remembered this:

15 - How can I make Pokéballs (the type of item, not just the regular red Pokéball) usable until I catch a Pokémon with it?
I mean, if I throw a Pokéball, how can I make it does not disappear if I don't catch the wild Pokémon (with it being gone after I catch it, of course)?

It's found via ASM ask Touched if you want to learn ASM he's great..
btw I'm concerned about you asking a lot of questions.. You do know that almost all of your questions can be answered if you just searched the forum right? I too have a lot of questions but almost all of them were answered after a bit of searching I encourage you to take a look at the Research and Development Section of this forum and also the Tools and Tutorial Section.

FamiliaWerneck May 26th, 2015 8:52 AM

Quote:

Originally Posted by Splash (Post 8768028)
It's found via ASM ask Touched if you want to learn ASM he's great..
btw I'm concerned about you asking a lot of questions.. You do know that almost all of your questions can be answered if you just searched the forum right? I too have a lot of questions but almost all of them were answered after a bit of searching I encourage you to take a look at the Research and Development Section of this forum and also the Tools and Tutorial Section.

I do know, that it's a lot of questions. =/
Problem is, taking the pokéballs I just asked as an example. I saw JPAN's and daniilS tutorials on how to hack the pokéballs. But I don't want to add a new type of pokéball, just an existing one.
Anyways, most of these stuff, I didn't even took a try at the ROM itself. I just ask as stuff comes to my head.
I have an order on how to change things in my ROM. I modified all the maps for the wild Pokémon encounters in Advance Map, and when I tried opening it in YAPE to change evolutions, it wouldn't open. So I do stuff in this order. Like I said, when stuff comes to my head, I do some research, but I ask anyway.
I'll try not to ask stuff until I'm goddamn sure I can't via other threads. Thanks anyway. =D

Splash May 26th, 2015 8:58 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8768037)
I do know, that it's a lot of questions. =/
Problem is, taking the pokéballs I just asked as an example. I saw JPAN's and daniilS tutorials on how to hack the pokéballs. But I don't want to add a new type of pokéball, just an existing one.
Anyways, most of these stuff, I didn't even took a try at the ROM itself. I just ask as stuff comes to my head.
I have an order on how to change things in my ROM. I modified all the maps for the wild Pokémon encounters in Advance Map, and when I tried opening it in YAPE to change evolutions, it wouldn't open. So I do stuff in this order. Like I said, when stuff comes to my head, I do some research, but I ask anyway.
I'll try not to ask stuff until I'm goddamn sure I can't via other threads. Thanks anyway. =D

Cool! But why use YAPE? G3HS is leagues better IMO even PGE is great! G3T is best when handling trainer editing.. Just a tip though..

FamiliaWerneck May 26th, 2015 9:08 AM

Quote:

Originally Posted by Splash (Post 8768042)
Cool! But why use YAPE? G3HS is leagues better IMO even PGE is great! G3T is best when handling trainer editing.. Just a tip though..

I was just starting. Lost three days thinking and changing every grass in the game.
I only knew (and needed, as I just wanted to add all Pokémon to the game) Advance Map and YAPE.
Then I got excited and decided to change the game so it would look more like the anime. =P
Now, I think before doing stuff, try to study and all that. But sometimes, I get excited.
The TM thing is an example. When I enabled the National Dex, I wanted the old Teachy TV guy to stop me until I got the National Dex. I entered the Pokémart to try and understand variable 4051 and 4055, if I'm not mistaken. I saw the item codes, and tried. Rom got ruined, questions popped into my head, and then I asked here. I looked it up before, but only found a broken link on how to not loose TMs after the first use.

Splash May 26th, 2015 9:19 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8768056)
I was just starting. Lost three days thinking and changing every grass in the game.
I only knew (and needed, as I just wanted to add all Pokémon to the game) Advance Map and YAPE.
Then I got excited and decided to change the game so it would look more like the anime. =P
Now, I think before doing stuff, try to study and all that. But sometimes, I get excited.
The TM thing is an example. When I enabled the National Dex, I wanted the old Teachy TV guy to stop me until I got the National Dex. I entered the Pokémart to try and understand variable 4051 and 4055, if I'm not mistaken. I saw the item codes, and tried. Rom got ruined, questions popped into my head, and then I asked here. I looked it up before, but only found a broken link on how to not loose TMs after the first use.

Yeah you should really plan things out and see if its doable before trying it.. If you think theres a chance then go for it.. You could always ask for help here.. There's almost always someone willing to help if its interesting enough

FamiliaWerneck June 6th, 2015 5:00 AM

I've running around the site for a couple of hours, but I found nothing.
Well:
7 - TMs/HMs:
7.6 - I wanna change the HM Rock Smash for Brick Break. How can I do it?
As for the rocks that I should be able to break around the game, if I change the script for one, will I change it for all?
7.7 - How do I add HM Dive to Fire Red? How can I make Giovanni unlock my use to it?
7.8 - How can I change Flash to Rock Climb? I'm using MrDollSteak's Rombase, so my ROM already has Rock Climb. I just need to change it like Rock Smash for Brick Break. But how do I add its functionality, the overworld usage of it?

9 - Breeding:
9.5 - How can I make Ditto breed with himself, not only with all other Pokémon?
9.5 - How can I make some Pokémon, like Chansey, for example, have a "Spontaneous Generation"? As Chansey (and other Pokémon) are only female, or only male, how can I make it not breed at all, but eventually, random like that, get an egg? Is that possible?
9.6 - How can I make the counter-part Pokémon (Nidorans, Volbeat and Illumise) breed with only themselves (not even with Ditto)?
9.7 - How can I make genderless Pokémon breed among themselves too, instead of only with Ditto (Magnemite, for example)?

Also, someone told me breeding has been researched here, but I can't find it! I know the Level 1 thing is possible. But I don't really know how to make Pokémon breed with only their family evolutionary lines. I'm thinking I'll have to make an egg group for each evolutionary family. Is that correct?
Same for Natures. Found nothing about their table locations or how to edit them.
Last, but that's the top thing in my to-do list, I can't find the offsets for the Pokédex's in unLZ. Is there any other graphical editing tool? The images in unLZ are all small and "crazy". Seriously, I even dreamed there was a name searching function in unLZ that helped me find the Pokédex's. I need help!

C me June 6th, 2015 5:49 AM

Quote:

Originally Posted by FamiliaWerneck (Post 8784644)
Spoiler:
I've running around the site for a couple of hours, but I found nothing.
Well:
7 - TMs/HMs:
7.6 - I wanna change the HM Rock Smash for Brick Break. How can I do it?
As for the rocks that I should be able to break around the game, if I change the script for one, will I change it for all?
7.7 - How do I add HM Dive to Fire Red? How can I make Giovanni unlock my use to it?
7.8 - How can I change Flash to Rock Climb? I'm using MrDollSteak's Rombase, so my ROM already has Rock Climb. I just need to change it like Rock Smash for Brick Break. But how do I add its functionality, the overworld usage of it?

9 - Breeding:
9.5 - How can I make Ditto breed with himself, not only with all other Pokémon?
9.5 - How can I make some Pokémon, like Chansey, for example, have a "Spontaneous Generation"? As Chansey (and other Pokémon) are only female, or only male, how can I make it not breed at all, but eventually, random like that, get an egg? Is that possible?
9.6 - How can I make the counter-part Pokémon (Nidorans, Volbeat and Illumise) breed with only themselves (not even with Ditto)?
9.7 - How can I make genderless Pokémon breed among themselves too, instead of only with Ditto (Magnemite, for example)?

Also, someone told me breeding has been researched here, but I can't find it! I know the Level 1 thing is possible. But I don't really know how to make Pokémon breed with only their family evolutionary lines. I'm thinking I'll have to make an egg group for each evolutionary family. Is that correct?
Same for Natures. Found nothing about their table locations or how to edit them.
Last, but that's the top thing in my to-do list, I can't find the offsets for the Pokédex's in unLZ. Is there any other graphical editing tool? The images in unLZ are all small and "crazy". Seriously, I even dreamed there was a name searching function in unLZ that helped me find the Pokédex's. I need help!

7.6 - Change the checkattack 0xF9 in the script to 0x118. Don't think that changes it from the party menu though. Changing one script does change them all because it is the samescript but you could make a new script similar to it by copypasting the old one, changing the offsets and what you want to change then making a person event that points to it. Thus, you have a custom rock smash script while none of the other rocks are affected.

7.7 - This: http://www.pokecommunity.com/showthread.php?t=257723, this http://www.pokecommunity.com/showthread.php?t=337311 and this http://www.pokecommunity.com/showthread.php?t=276031.
To make Giovanni unlock it, set a flag in his script then check for it in your dive script. (The script checks for the move dive, so I guess he could give you an HM or something.


All times are GMT -8. The time now is 2:29 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.