Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old February 13th, 2013 (1:51 PM). Edited March 23rd, 2014 by karatekid552.
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
     
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    How to create a new Evolutionary Stone



    I have seen people asking for this several times, so I decided to write my first full length tutorial on the subject. As of right now, this post will not have images, but if anyone does find need of them, just ask.

    Quote:
    I am writing this tutorial for all games, so I will refer to specific offsets from this chart:

    Code:
    OffsetA- This is the item effect table.
    AXVE- 0x1FCDE4
    AXPE- 0x1FCD74
    BPRE- 0x2528BC
    BPGE- 0x252898
    BPEE- 0x31E58C
    If anyone has any offsets from different games, please let me know.

    To find new offsets for games not listed, search for:

    Code:
     00 00 00 00 04 00 14 00 00 00 10 00 00 00 00 00 08 00 00 00 00 00 04 00 00 00 00 00 20 00 00 00 00 00 02 00 00 00 00 00 3F 04 00 FF 00 00 00 00 04 00 FF 00 00 00 00 04 00 C8 00 00 00 00 04 00 32 00 00 00 3F 00 00 00 00 00 00 44 00 FE 00 00 00 00 44 00 FF 00 00 00 00
    Then create a pointer from the location of this data and search for that. The location of the pointer is the first slot on the item effect table.

    Note: Every number in this tut should be in Hex unless otherwise specified.


    Requirements:

    -An Advance Gen Rom
    -A hex editor (HxD works well)
    -Item Manager (PGE DOES NOT WORK!)
    -Free Space Finder (FSF)
    -Some time
    -A brain



    Step 1) Follow DavidJCobb's Item Creation tutorial and make the new item look completely the same as another evolutionary stone already in existence, only changing its name and description. Please note, that this tutorial can only use the empty item numbers between Potion and Sitrus Berry.

    Step 2) Take the item number, and subtract the item number of a Potion from it, which is D. This is because the table we are going to edit starts and potion.

    Step 3) Now, multiply the number we got in step 2 by 4.

    Step 4) Take this number and add it "OffsetA". (Which is found in a nice table at the top.)

    Step 5) Goto this offset in a Hex editor.

    Step 6) Using FSF, find some free space, about ten bytes, we won't need all ten, but just to be safe.

    Step 7) At the offset we went to in step 5, place a pointer to the free space in step 6. If the offset you found was AX BY CZ-> the pointer would be CZ BY AX 08.

    Ex. Free space is at 12 34 56, pointer will be 56 34 12 08.

    Step 8) Go to our free space.

    Step 9) Make all ten (dec) bytes of free space 00. (So changing the FFs to 00, up to ten (dec) bytes from our offset of free space.)

    Step 10) Here is the step we give our item the ability to make a Pokemon evolve. If the byte at the offset we started counting free space at (the offset FSF gave us) is byte #0, at byte #4 (the FSF offset + 4) we need to change the 00 to 80. This enables the item to be an evolutionary stone.

    Step 11) Save everything.

    Step 12) Make a Pokemon that evolves by your new item and test it out. Remember to turn off the boundaries in YAPE that prevent you from having evolutions that use other items than those specified as evolution stones. (Options-> Evolution Editor-> uncheck Advanced Item Check)


    Thanks to JPAN for his thread on items:

    http://www.pokecommunity.com/showthread.php?t=204861

    If there was anyone else who developed or studied items and had a hand in this discovery, please tell me so I can add their names here.
    __________________

    Paired with Simba
    Reply With Quote

    Relevant Advertising!

      #2    
    Old February 13th, 2013 (3:14 PM).
    LegacyHo-oh LegacyHo-oh is offline
       
      Join Date: Jun 2010
      Gender: Male
      Posts: 2
      :D Thank You. :D This will definitely help with my rom hack.
      Reply With Quote
        #3    
      Old February 16th, 2013 (1:20 AM). Edited February 16th, 2013 by Garuga17.
      Garuga17's Avatar
      Garuga17 Garuga17 is offline
         
        Join Date: Apr 2011
        Location: Indonesia
        Age: 22
        Gender: Male
        Nature: Relaxed
        Posts: 43
        I followed your tutorial, but i got a message like "oak: player! This isn't time to use that!"

        I've already changed the fourth 00's byte to 80 just like you said

        the only thing i'm not doing is inserting the images, i use the image and palette that are already available in the game(well, i suppose it has nothing to do with this right?)

        EDIT: I've managed to get rid of the "oak: player! This isn't time to use that!" message, but when i click it on a pokemon, it says, "it won't have any effect" any help? D:
        __________________
        dunno what to write here....
        Reply With Quote
          #4    
        Old February 16th, 2013 (8:55 AM).
        karatekid552's Avatar
        karatekid552 karatekid552 is offline
        What happens if I push it?....
           
          Join Date: Nov 2012
          Location: Do you really want to know? Really?
          Gender: Male
          Nature: Bold
          Posts: 1,766
          Quote:
          Originally Posted by Garuga17 View Post
          I followed your tutorial, but i got a message like "oak: player! This isn't time to use that!"

          I've already changed the fourth 00's byte to 80 just like you said

          the only thing i'm not doing is inserting the images, i use the image and palette that are already available in the game(well, i suppose it has nothing to do with this right?)

          EDIT: I've managed to get rid of the "oak: player! This isn't time to use that!" message, but when i click it on a pokemon, it says, "it won't have any effect" any help? D:
          First, make sure that both tabs in item manager completely match an evolution stone in existence. The only things that can be different are the name and description.

          Next, I have received similar error messages when not changing the correct byte, or not changing the byte at all.

          This could mean you changed the wrong byte, remember, the starting offset is byte 0, so you need to change 4 bytes after, or you need to go to the table at "offsetA" and make sure the pointer is in the right slot.

          Edit: Non-used items are not given an item number in their data, so you have to get their item number from counting from a previous item that has one. You can't just use any number.
          __________________

          Paired with Simba
          Reply With Quote
            #5    
          Old February 19th, 2013 (2:49 AM). Edited February 19th, 2013 by Garuga17.
          Garuga17's Avatar
          Garuga17 Garuga17 is offline
             
            Join Date: Apr 2011
            Location: Indonesia
            Age: 22
            Gender: Male
            Nature: Relaxed
            Posts: 43
            Quote:
            Originally Posted by karatekid552 View Post
            First, make sure that both tabs in item manager completely match an evolution stone in existence. The only things that can be different are the name and description.

            Next, I have received similar error messages when not changing the correct byte, or not changing the byte at all.

            This could mean you changed the wrong byte, remember, the starting offset is byte 0, so you need to change 4 bytes after, or you need to go to the table at "offsetA" and make sure the pointer is in the right slot.

            Edit: Non-used items are not given an item number in their data, so you have to get their item number from counting from a previous item that has one. You can't just use any number.

            I DID IT!

            I'm editing the wrong bytes! how foolish i am!

            Thanks dude! This is cool! :D

            EDIT: I wanna ask, is it possible to repoint to the offset that already used?

            I want to create more evolutonary items, can i just point to the first one that i created for the first item? Is it safe?

            DOUBLE-EDIT: Somethings wrong, when i used on a pokemon, it evolved, but the game freezes after it evolved. Plus, when i used it to other pokemon (that can't evolved by my new item) it freezes.
            __________________
            dunno what to write here....
            Reply With Quote
              #6    
            Old February 19th, 2013 (9:04 AM).
            karatekid552's Avatar
            karatekid552 karatekid552 is offline
            What happens if I push it?....
               
              Join Date: Nov 2012
              Location: Do you really want to know? Really?
              Gender: Male
              Nature: Bold
              Posts: 1,766
              Quote:
              Originally Posted by Garuga17 View Post
              I DID IT!

              I'm editing the wrong bytes! how foolish i am!

              Thanks dude! This is cool! :D

              EDIT: I wanna ask, is it possible to repoint to the offset that already used?

              I want to create more evolutonary items, can i just point to the first one that i created for the first item? Is it safe?

              DOUBLE-EDIT: Somethings wrong, when i used on a pokemon, it evolved, but the game freezes after it evolved. Plus, when i used it to other pokemon (that can't evolved by my new item) it freezes.
              I have not had any problems once I got the correct bytes altered. Could you post screen shots of YAPE and item editer?

              And for your first edit: Yes, in the table at offsetA, you cam point to the same offset for each stone. But, if you made a mistake on that first stone, it could hold problems for all of them.
              __________________

              Paired with Simba
              Reply With Quote
                #7    
              Old February 20th, 2013 (8:02 PM).
              Garuga17's Avatar
              Garuga17 Garuga17 is offline
                 
                Join Date: Apr 2011
                Location: Indonesia
                Age: 22
                Gender: Male
                Nature: Relaxed
                Posts: 43
                Quote:
                Originally Posted by karatekid552 View Post
                I have not had any problems once I got the correct bytes altered. Could you post screen shots of YAPE and item editer?

                And for your first edit: Yes, in the table at offsetA, you cam point to the same offset for each stone. But, if you made a mistake on that first stone, it could hold problems for all of them.
                This is the Item manager:








                This is the Pokemon Editor(i use PGE's built-in PokemonEditor, because i've already repointing move data and such)


                or should i use YAPE instead(but i can't open my roms on yape...)?
                __________________
                dunno what to write here....
                Reply With Quote
                  #8    
                Old February 20th, 2013 (8:14 PM).
                karatekid552's Avatar
                karatekid552 karatekid552 is offline
                What happens if I push it?....
                   
                  Join Date: Nov 2012
                  Location: Do you really want to know? Really?
                  Gender: Male
                  Nature: Bold
                  Posts: 1,766
                  Quote:
                  Originally Posted by Garuga17 View Post
                  This is the Item manager:








                  This is the Pokemon Editor(i use PGE's built-in PokemonEditor, because i've already repointing move data and such)


                  or should i use YAPE instead(but i can't open my roms on yape...)?
                  I have always used YAPE, but it should work the same in PGE. Everything looks fine. In fact, you are using th same slot that I used to make my first Evolution Stone. Now, let's make sure your hex data is correct. Send me a screen shot of the location 0x252958 in your rom, and the location that you placed the stone properties at, (the location that should look like: 00 00 00 00 80 00 00 00 00 00).

                  If possible, could I also get an .ips of your rom, just so I can experience it for myself? It's okay if you don't want to send one, but I could deffinately find the problem quicker.
                  __________________

                  Paired with Simba
                  Reply With Quote
                    #9    
                  Old February 20th, 2013 (8:57 PM).
                  Garuga17's Avatar
                  Garuga17 Garuga17 is offline
                     
                    Join Date: Apr 2011
                    Location: Indonesia
                    Age: 22
                    Gender: Male
                    Nature: Relaxed
                    Posts: 43
                    I think i'm gonna give the screenshot








                    So, how about it?
                    __________________
                    dunno what to write here....
                    Reply With Quote
                      #10    
                    Old February 21st, 2013 (8:29 AM).
                    karatekid552's Avatar
                    karatekid552 karatekid552 is offline
                    What happens if I push it?....
                       
                      Join Date: Nov 2012
                      Location: Do you really want to know? Really?
                      Gender: Male
                      Nature: Bold
                      Posts: 1,766
                      Quote:
                      Originally Posted by Garuga17 View Post
                      I think i'm gonna give the screenshot

                      Spoiler:







                      So, how about it?
                      You sir... did everything right. I just went and tested this methood on my FR rom and evolved a Charizard into a Blatoise using an Evo Stone and there were not problems if I clicked on the wrong pokemon.

                      I have an idea! What if it isn't the stone, but the actual routines that run the checks and everything? Try evolving a pikachu with a thunderstone. The setup should be exactly the same, well, the data should be anyways. If it still crashes, then it is the stone routine. Could you video it using the AVI recorder in VBA? Thanks, and we will solve this problem.
                      __________________

                      Paired with Simba
                      Reply With Quote
                        #11    
                      Old February 21st, 2013 (11:22 AM).
                      Garuga17's Avatar
                      Garuga17 Garuga17 is offline
                         
                        Join Date: Apr 2011
                        Location: Indonesia
                        Age: 22
                        Gender: Male
                        Nature: Relaxed
                        Posts: 43
                        Quote:
                        Originally Posted by karatekid552 View Post
                        You sir... did everything right. I just went and tested this methood on my FR rom and evolved a Charizard into a Blatoise using an Evo Stone and there were not problems if I clicked on the wrong pokemon.

                        I have an idea! What if it isn't the stone, but the actual routines that run the checks and everything? Try evolving a pikachu with a thunderstone. The setup should be exactly the same, well, the data should be anyways. If it still crashes, then it is the stone routine. Could you video it using the AVI recorder in VBA? Thanks, and we will solve this problem.

                        DUDE!!! D:

                        you were right! Somethings wrong with my stone routine D: D: D:

                        I tried some pokemon that evolve by stone, like pikachu, growlite, but it can't evolve!

                        Not just that, it seems that my evolution routine is... messed up D:

                        Just to let you know, when i was trying to evolve it, the pokemon's cry is always beedrill's cry, the hell has happen to my roms DX

                        sorry, but can you help me? i'm gonna send my IPS file if you want to help....

                        arghhh my hardworks D:
                        __________________
                        dunno what to write here....
                        Reply With Quote
                          #12    
                        Old February 21st, 2013 (11:43 AM).
                        karatekid552's Avatar
                        karatekid552 karatekid552 is offline
                        What happens if I push it?....
                           
                          Join Date: Nov 2012
                          Location: Do you really want to know? Really?
                          Gender: Male
                          Nature: Bold
                          Posts: 1,766
                          Quote:
                          Originally Posted by Garuga17 View Post
                          DUDE!!! D:

                          you were right! Somethings wrong with my stone routine D: D: D:

                          I tried some pokemon that evolve by stone, like pikachu, growlite, but it can't evolve!

                          Not just that, it seems that my evolution routine is... messed up D:

                          Just to let you know, when i was trying to evolve it, the pokemon's cry is always beedrill's cry, the hell has happen to my roms DX

                          sorry, but can you help me? i'm gonna send my IPS file if you want to help....

                          arghhh my hardworks D:
                          I will try to help you, but since this no longer concerns this tutorial, take it to pms.
                          __________________

                          Paired with Simba
                          Reply With Quote
                            #13    
                          Old September 29th, 2013 (4:05 AM).
                          Gigabyyyte's Avatar
                          Gigabyyyte Gigabyyyte is offline
                          Exploring the world of Kalos!
                             
                            Join Date: Aug 2013
                            Gender: Male
                            Nature: Relaxed
                            Posts: 33
                            Um, hey. I wanna make the King's Rock an evolutionary stone type of thing in FireRed, though I have no idea how. Any suggestions?
                            __________________


                            Reply With Quote
                              #14    
                            Old September 29th, 2013 (5:22 AM).
                            karatekid552's Avatar
                            karatekid552 karatekid552 is offline
                            What happens if I push it?....
                               
                              Join Date: Nov 2012
                              Location: Do you really want to know? Really?
                              Gender: Male
                              Nature: Bold
                              Posts: 1,766
                              Quote:
                              Originally Posted by Gigabyyyte View Post
                              Um, hey. I wanna make the King's Rock an evolutionary stone type of thing in FireRed, though I have no idea how. Any suggestions?
                              You won't be able to change the King's Rock into a stone, becuase it is in the hold items category. However, you can follow this tutorial and make a new item called Kings Rock, as a stone, and then replace every instance in which the old item is given to the player with the new one.
                              __________________

                              Paired with Simba
                              Reply With Quote
                                #15    
                              Old December 29th, 2013 (1:25 AM).
                              vizor vizor is offline
                                 
                                Join Date: Dec 2011
                                Gender: Female
                                Posts: 25
                                Sorry for my question, but im a german Hacker though and I have absolutly no idea what YAPE should be. Hopefully it's not JPN's Engine...
                                Reply With Quote
                                  #16    
                                Old December 29th, 2013 (2:43 AM).
                                Sniper's Avatar
                                Sniper Sniper is offline
                                ふゆかい
                                   
                                  Join Date: Nov 2013
                                  Location: Philippines
                                  Gender: Male
                                  Nature: Quiet
                                  Posts: 1,453
                                  Quote:
                                  Originally Posted by vizor View Post
                                  Sorry for my question, but im a german Hacker though and I have absolutly no idea what YAPE should be. Hopefully it's not JPN's Engine...
                                  YAPE = Yet another pokemon editor, edit it's stats, moves, dex description etc..
                                  __________________


                                  Reply With Quote
                                    #17    
                                  Old April 20th, 2014 (5:51 AM).
                                  loldamaru's Avatar
                                  loldamaru loldamaru is offline
                                  say lol
                                     
                                    Join Date: Apr 2014
                                    Location: Terminus Cave, no no Lumiose City
                                    Age: 20
                                    Gender: Male
                                    Nature: Serious
                                    Posts: 80
                                    Quote:
                                    Originally Posted by karatekid552 View Post
                                    You sir... did everything right. I just went and tested this methood on my FR rom and evolved a Charizard into a Blatoise using an Evo Stone and there were not problems if I clicked on the wrong pokemon.

                                    I have an idea! What if it isn't the stone, but the actual routines that run the checks and everything? Try evolving a pikachu with a thunderstone. The setup should be exactly the same, well, the data should be anyways. If it still crashes, then it is the stone routine.
                                    Just want to ask you a question. What thing that could make the routine corrupted or messed up? Because I have the same problem with Garuga17, but the different is on my ROM suddenly the screen turned black when i give the stone.
                                    I have test it on various Pokemon. Pikachu with Thunder Stone, or Growlithe with Fire Stone, or my Eevee with my custom stone. They have same result...

                                    Could you explain me why the routine corrupted?
                                    Reply With Quote
                                      #18    
                                    Old April 20th, 2014 (7:38 AM).
                                    karatekid552's Avatar
                                    karatekid552 karatekid552 is offline
                                    What happens if I push it?....
                                       
                                      Join Date: Nov 2012
                                      Location: Do you really want to know? Really?
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 1,766
                                      Quote:
                                      Originally Posted by XDamaru View Post
                                      Just want to ask you a question. What thing that could make the routine corrupted or messed up? Because I have the same problem with Garuga17, but the different is on my ROM suddenly the screen turned black when i give the stone.
                                      I have test it on various Pokemon. Pikachu with Thunder Stone, or Growlithe with Fire Stone, or my Eevee with my custom stone. They have same result...

                                      Could you explain me why the routine corrupted?
                                      Well, bad data was written someone and it caused it to crash. There could 100s of reason why.
                                      __________________

                                      Paired with Simba
                                      Reply With Quote
                                        #19    
                                      Old April 20th, 2014 (3:46 PM).
                                      loldamaru's Avatar
                                      loldamaru loldamaru is offline
                                      say lol
                                         
                                        Join Date: Apr 2014
                                        Location: Terminus Cave, no no Lumiose City
                                        Age: 20
                                        Gender: Male
                                        Nature: Serious
                                        Posts: 80
                                        Quote:
                                        Originally Posted by karatekid552 View Post
                                        Well, bad data was written someone and it caused it to crash. There could 100s of reason why.
                                        Is it possible to track back my failure and repair my evolutionary routine with some hex repointing? Or it must be repaired by asm skills?
                                        If cant... i need your help then. I'll give you ips patch and credit your name afterwards...
                                        __________________

                                        Hello, I'm just come back after leaving community for a while to prepare the final exam. I hope I will graduate with the best result

                                        Currently Playing competitive for VGC 15
                                        Pokemon X Pokedex Complete 24/03/15 23.59. I have all STARTERS, FOSSIL for trade and LEGENDARIES for touch trade
                                        I HAVE TONS OF DITTO
                                        My Gen V Event Legends Need A New Trainer to Take Care of Them
                                        Reply With Quote
                                          #20    
                                        Old April 20th, 2014 (6:01 PM).
                                        karatekid552's Avatar
                                        karatekid552 karatekid552 is offline
                                        What happens if I push it?....
                                           
                                          Join Date: Nov 2012
                                          Location: Do you really want to know? Really?
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 1,766
                                          Quote:
                                          Originally Posted by XDamaru View Post
                                          Is it possible to track back my failure and repair my evolutionary routine with some hex repointing? Or it must be repaired by asm skills?
                                          If cant... i need your help then. I'll give you ips patch and credit your name afterwards...
                                          Look man, errors like this can range from a simple byte range to entire chunks of your rom being screwed over. I don't have the time to search your rom for the issue. I wish I did, but I just don't.
                                          __________________

                                          Paired with Simba
                                          Reply With Quote
                                            #21    
                                          Old April 21st, 2014 (5:26 AM).
                                          loldamaru's Avatar
                                          loldamaru loldamaru is offline
                                          say lol
                                             
                                            Join Date: Apr 2014
                                            Location: Terminus Cave, no no Lumiose City
                                            Age: 20
                                            Gender: Male
                                            Nature: Serious
                                            Posts: 80
                                            Quote:
                                            Originally Posted by karatekid552 View Post
                                            Look man, errors like this can range from a simple byte range to entire chunks of your rom being screwed over. I don't have the time to search your rom for the issue. I wish I did, but I just don't.
                                            Is that so? Maybe my rom had screwed up. I waiting for someome help but i will try my best to solve this. Fortunately i have recent backup. If you have free time let me know. Thx karatekid552!
                                            __________________

                                            Hello, I'm just come back after leaving community for a while to prepare the final exam. I hope I will graduate with the best result

                                            Currently Playing competitive for VGC 15
                                            Pokemon X Pokedex Complete 24/03/15 23.59. I have all STARTERS, FOSSIL for trade and LEGENDARIES for touch trade
                                            I HAVE TONS OF DITTO
                                            My Gen V Event Legends Need A New Trainer to Take Care of Them
                                            Reply With Quote
                                              #22    
                                            Old May 23rd, 2014 (6:34 PM).
                                            hihohilton's Avatar
                                            hihohilton hihohilton is offline
                                               
                                              Join Date: Feb 2013
                                              Location: a house
                                              Gender: Other
                                              Nature: Sassy
                                              Posts: 9
                                              i did exactly what you said in the tut and it doesnt work. Oak just tells me it isnt the time to use it and also if i dont use a save file i get a white screen on my emulator
                                              btw im using mrdollsteaks patch
                                              Reply With Quote
                                                #23    
                                              Old August 9th, 2014 (5:22 PM).
                                              MarvoloTheUmbreon's Avatar
                                              MarvoloTheUmbreon MarvoloTheUmbreon is offline
                                                 
                                                Join Date: May 2014
                                                Gender: Male
                                                Posts: 9
                                                Sorry to disturb you but i dont understand this step:
                                                Step 2) Take the item number, and subtract the item number of a Potion from it, which is D. This is because the table we are going to edit starts and potion.
                                                Reply With Quote
                                                  #24    
                                                Old December 30th, 2014 (8:22 PM).
                                                mkarthick98's Avatar
                                                mkarthick98 mkarthick98 is offline
                                                Tensai
                                                   
                                                  Join Date: Oct 2014
                                                  Location: India
                                                  Gender: Male
                                                  Nature: Lonely
                                                  Posts: 44
                                                  Just asking, would using the Item Editor in G3T make this any easier?
                                                  Reply With Quote
                                                    #25    
                                                  Old December 31st, 2014 (8:24 AM).
                                                  TheRabbit TheRabbit is offline
                                                  Banned
                                                     
                                                    Join Date: Jul 2014
                                                    Gender: Male
                                                    Posts: 69
                                                    Quote:
                                                    Originally Posted by mkarthick98 View Post
                                                    Just asking, would using the Item Editor in G3T make this any easier?
                                                    Yeah, G3T makes everything in this tutorial unnecessary.
                                                    Reply With Quote
                                                    Reply

                                                    Quick Reply

                                                    Join the conversation!

                                                    Create an account to post a reply in this thread, participate in other discussions, and more!

                                                    Create a PokéCommunity Account

                                                    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 2:30 AM.