ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

TrollandToad.com
Closed Thread
 
Thread Tools
  #20226    
Old January 2nd, 2012 (12:33 AM). Edited January 2nd, 2012 by DrFuji.
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
  • Crystal Tier
 
Join Date: Sep 2009
Location: Downia-upside
Age: 24
Gender: Male
Nature: Jolly
Posts: 1,328
Quote:
Originally Posted by redriders180 View Post
I guess it's time for me to ask a question:

I read somewhere that when you use the "setwildbattle", all the data of the Pokemon you set is written somewhere in the RAM or whatever, and can be changed, to make sure its a certain gender, or giving it different moves, and the like. I wanna know: does anyone knows where this data is stored, and how it's stored? I have to make some highly specific encounters, and this'd make the job alot easier.
The wild Pokemon's data begins in FR's RAM at 0x0202402C and you can change aspects of the wildbattle by using the command 'setbytetooffset'. You can change a few things with this, such as the Pokemon's stats and nickname (You can see the data structure utilised here). For example, if I wanted to fight a level 5 Bulbasaur with 255 Special Defense specifically an excerpt of the script will look like this:

Code:
setwildbattle 0x1 0x5 0x0
writebytetooffset 0xFF 0x202408E
dowildbattle
Unfortunately, a lot of the 'meat' (PokeRus infection, EVs, moves, happiness etc.) is encrypted/ DMAC protected meaning that it cannot be read/ easily edited without ASM to unlock it - JPAN's engine has the ability do this, but it is limited to only the party Pokemon at this time. This locked information is all located in the 'data' segment that you can see in the article I linked earlier.
__________________

Relevant Advertising!

  #20227    
Old January 2nd, 2012 (1:50 AM).
SKRoy SKRoy is offline
Pokémon Hacker
     
    Join Date: Mar 2010
    Gender: Male
    Posts: 66
    Quote:
    Originally Posted by destinedjagold View Post


    then you probably need to update your XSE.
    Oké, I want to, but in Hackmew's toolbox is the link wrong, so I can't download it. Does someone has a link for me?
      #20228    
    Old January 2nd, 2012 (5:07 AM).
    armanr armanr is offline
       
      Join Date: Aug 2011
      Gender: Male
      Posts: 7
      Is it possible to hack a new ability? Abilities like mountaineer (immunity to rock), dragon blood (restores hp when hit by a dragon type) and fast freeze (doubles speed in hail) as well as others have been speculated about and I was wondering if there is a hacking tool to do this because I'm trying to make a pokemon remake. Thanks
        #20229    
      Old January 2nd, 2012 (6:11 AM).
      Darthatron's Avatar
      Darthatron Darthatron is offline
      巨大なトロール。
      • Silver Tier
       
      Join Date: Jan 2006
      Location: Melbourne, Australia
      Age: 25
      Gender: Male
      Nature: Modest
      Posts: 1,152
      Quote:
      Originally Posted by armanr View Post
      Is it possible to hack a new ability? Abilities like mountaineer (immunity to rock), dragon blood (restores hp when hit by a dragon type) and fast freeze (doubles speed in hail) as well as others have been speculated about and I was wondering if there is a hacking tool to do this because I'm trying to make a pokemon remake. Thanks
      There is no tool to do this. You would have to edit the games engine with ASM, which is no easy task.
      __________________
      あなた は しきしゃ です
      わたし は ばか です
        #20230    
      Old January 2nd, 2012 (6:49 AM).
      armanr armanr is offline
         
        Join Date: Aug 2011
        Gender: Male
        Posts: 7
        Okay, pity. Thanks for your quick response.
          #20231    
        Old January 2nd, 2012 (8:20 AM).
        Indescribled's Avatar
        Indescribled Indescribled is offline
           
          Join Date: Dec 2011
          Posts: 7
          I have pksvui as my script editor, how would I make a script where someone gives me a Pokemon and talks to me in the same script? I can get him to give the Pokemon but all it says is "blabla received an Eevee."
            #20232    
          Old January 2nd, 2012 (11:55 AM).
          P0kemon Trainer Red's Avatar
          P0kemon Trainer Red P0kemon Trainer Red is offline
          Dragon Type User
             
            Join Date: Dec 2011
            Location: Las Vegas, NV, USA
            Gender: Male
            Posts: 13
            I am trying to add MISSINGNO to my Fire Red hack. I have YAPE. I have my ROM. I know what pokemon I am going to replace. I just need to figure out how to duplicate it. I want to make Gengar into MISSINGNO. But I still want him in the game. Is there any way I can make a second Gengar with some other program before I turn it into a MISSINGNO? Or at least a way I can add a new pokedex entry and then a program to edit the moves he learns and at what levels?
            __________________
            My hacks:


            Hacks I support:






              #20233    
            Old January 2nd, 2012 (1:09 PM).
            chrunch chrunch is offline
            • Gold Tier
             
            Join Date: Oct 2009
            Gender: Male
            Posts: 1,349
            Quote:
            Originally Posted by Indescribled View Post
            I have pksvui as my script editor, how would I make a script where someone gives me a Pokemon and talks to me in the same script? I can get him to give the Pokemon but all it says is "blabla received an Eevee."
            If it's the first Pokemon you receive you need to add a setflag to the script that activates the Pokemon option in the menu. It's setflag 0x828 I think (but I could be wrong).
            __________________
              #20234    
            Old January 2nd, 2012 (2:47 PM).
            hithere1 hithere1 is offline
               
              Join Date: Jan 2011
              Gender: Male
              Posts: 3
              I was wondering if someone could upload XSE and Advance Map 1.9.5 to something like Mediafire or Dropbox or even just attach as a file to one of their posts because currently both links are not working and I figured someone here will most like either one or both programs. I'm also sure that this is not against the rules, unless I missed something in the rules that prohibits me from asking for tools in this particular situation. If this is in the wrong forum, please move it.

              Thanks for your time.
                #20235    
              Old January 2nd, 2012 (7:15 PM).
              Rainbow's Avatar
              Rainbow Rainbow is online now
              We're going to make some sparks fly!
              • Moderator
              • Platinum Tier
              • GTGet-Together Event Management
              • PokéCommunity Daily
              • Discord Moderoid
              • Developer
               
              Join Date: May 2010
              Location: edge of space
              Age: 18
              Gender: Female
              Nature: Quirky
              Posts: 5,626
              Quote:
              Originally Posted by hithere1 View Post
              I was wondering if someone could upload XSE and Advance Map 1.9.5 to something like Mediafire or Dropbox or even just attach as a file to one of their posts because currently both links are not working and I figured someone here will most like either one or both programs. I'm also sure that this is not against the rules, unless I missed something in the rules that prohibits me from asking for tools in this particular situation. If this is in the wrong forum, please move it.

              Thanks for your time.
              I'm pretty sure that's not the purpose of this thread. Just Google them.
                #20236    
              Old January 2nd, 2012 (7:23 PM).
              MsAllyJacqui's Avatar
              MsAllyJacqui MsAllyJacqui is offline
              I'm different.
                 
                Join Date: Jan 2012
                Location: Down Under
                Gender: Female
                Nature: Quirky
                Posts: 7
                Quote:
                Originally Posted by P0kemon Trainer Red View Post
                I am trying to add MISSINGNO to my Fire Red hack. I have YAPE. I have my ROM. I know what pokemon I am going to replace. I just need to figure out how to duplicate it. I want to make Gengar into MISSINGNO. But I still want him in the game. Is there any way I can make a second Gengar with some other program before I turn it into a MISSINGNO? Or at least a way I can add a new pokedex entry and then a program to edit the moves he learns and at what levels?
                Why don't you just use the space after Celebi for a new pokemon? That way, you would have no need to replace Genger.
                This thread goes into great detail about it. - (Sorry, I can't post links. Add this to the end of the pokecommunity url) showthread.php?t=212276
                I just don't think you can add a Pokedex entry without ASM. Which is a shame really.
                  #20237    
                Old January 2nd, 2012 (8:03 PM).
                Teh Blazer's Avatar
                Teh Blazer Teh Blazer is offline
                Divider of Zero
                   
                  Join Date: Feb 2009
                  Location: 'MERICA
                  Age: 22
                  Gender: Male
                  Nature: Relaxed
                  Posts: 772
                  Could someone here give me a link to a tutorial or something along that line that teaches me about the wonderful world of Hex Editing? I just figured out how important it was...
                  __________________
                  Being a hero is overrated anyways
                    #20238    
                  Old January 2nd, 2012 (9:32 PM).
                  redriders180's Avatar
                  redriders180 redriders180 is offline
                  Mastermind of Pokemon Glazed
                     
                    Join Date: Jun 2010
                    Location: Path of Victory, Tunod
                    Gender: Male
                    Nature: Quirky
                    Posts: 540
                    Yay, another question from me. Basically, I'm making some deep mud in my game, and I need it to look like the player is half under the mud. I set the behavior byte to "Hero halfway underwater", which looks fine, except the rectangle covering the lower half of the player is blue. How can I change the color of this?
                    __________________


                    I think I'm done with ROM hacking. I'll still pop in and visit, though.


                      #20239    
                    Old January 2nd, 2012 (11:24 PM).
                    Truality Truality is offline
                    Left for good
                       
                      Join Date: Aug 2011
                      Gender: Male
                      Posts: 1,007
                      Quote:
                      Originally Posted by Teh Blazer View Post
                      Could someone here give me a link to a tutorial or something along that line that teaches me about the wonderful world of Hex Editing? I just figured out how important it was...
                      I would recommend this one. There's more to learn by yourself than with a measly tutorial when it comes to hediting, though.

                      Quote:
                      Originally Posted by redriders180 View Post
                      Yay, another question from me. Basically, I'm making some deep mud in my game, and I need it to look like the player is half under the mud. I set the behavior byte to "Hero halfway underwater", which looks fine, except the rectangle covering the lower half of the player is blue. How can I change the color of this?
                      Test it on a new ROM and mess with palettes? If you're talking about FRLG, the palettes 6 and 9 have a lot of blue blocks, and palette 7 has a really tinting one. Just saying.
                      __________________
                      This is my December . . .
                        #20240    
                      Old January 2nd, 2012 (11:38 PM).
                      MTH13007 MTH13007 is offline
                         
                        Join Date: Jan 2012
                        Gender: Male
                        Posts: 2
                        Ok, so I searched all of the posts with unLZ gba in them and didn't find anything related to my issue. Lead me in the right direction if I was mistaken.

                        But I'm rather new to hacking, and right now I'm doing a couple basic hacks in Pokémon Ruby. Mostly just adding in my own pokémon here and there. I've already replaced the sprites for a few and have that method down. Or so I thought..

                        Right now I'm trying to add in my own pokémon in one of the free Hex offsets in the game but I'm having major issues.


                        1: While working on one of my roms, unLZ must have crashed or something because now every single sprite in the rom shows up as a big black square inside unLZ (they're fine in-game). I can no longer work off this rom, or any rom with the same name (I copied a pre-crash version of the file to the folder I'm working in and replaced the broken one, but the same error occurred until I changed the name.) This may be because I tried to add a sprite to one of the "??" spaces on unLZ. But like I said, I deleted the file I did that with and still have the problem on the replacement.

                        2: With a second rom I'm working with, I'm trying to add an evolution to Mawile using a free Hex offset. But the sprite isn't cooperating. When I import it, the image is fine on the top half, but the bottom is all random pixels. Secondly, the sprite imports itself to the next two sprites after it for some reason. All the sprites I'm working with have already been indexed to 16 bit... I'm at a loss here.

                        I'm running Windows 7 64 bit (Yes I know that's a problematic OS). And I can provide some screens if needed.

                        Any suggestions??
                          #20241    
                        Old January 3rd, 2012 (1:00 AM).
                        DrFuji's Avatar
                        DrFuji DrFuji is offline
                        Heiki Hecchara‌‌
                        • Crystal Tier
                         
                        Join Date: Sep 2009
                        Location: Downia-upside
                        Age: 24
                        Gender: Male
                        Nature: Jolly
                        Posts: 1,328
                        Quote:
                        Originally Posted by MTH13007 View Post
                        Ok, so I searched all of the posts with unLZ gba in them and didn't find anything related to my issue. Lead me in the right direction if I was mistaken.

                        But I'm rather new to hacking, and right now I'm doing a couple basic hacks in Pokémon Ruby. Mostly just adding in my own pokémon here and there. I've already replaced the sprites for a few and have that method down. Or so I thought..

                        Right now I'm trying to add in my own pokémon in one of the free Hex offsets in the game but I'm having major issues.


                        1: While working on one of my roms, unLZ must have crashed or something because now every single sprite in the rom shows up as a big black square inside unLZ (they're fine in-game). I can no longer work off this rom, or any rom with the same name (I copied a pre-crash version of the file to the folder I'm working in and replaced the broken one, but the same error occurred until I changed the name.) This may be because I tried to add a sprite to one of the "??" spaces on unLZ. But like I said, I deleted the file I did that with and still have the problem on the replacement.

                        2: With a second rom I'm working with, I'm trying to add an evolution to Mawile using a free Hex offset. But the sprite isn't cooperating. When I import it, the image is fine on the top half, but the bottom is all random pixels. Secondly, the sprite imports itself to the next two sprites after it for some reason. All the sprites I'm working with have already been indexed to 16 bit... I'm at a loss here.

                        I'm running Windows 7 64 bit (Yes I know that's a problematic OS). And I can provide some screens if needed.

                        Any suggestions??
                        UNlz can be a bit iffy at times when it comes to editing sprites. Try using Wichu's Advance Pokemon Sprite Editor as it can change the Pokemon effortlessly and even synchronise the normal/ shiny palettes being used.
                        __________________
                          #20242    
                        Old January 3rd, 2012 (2:27 AM). Edited January 3rd, 2012 by jdthebud.
                        jdthebud's Avatar
                        jdthebud jdthebud is online now
                        Engineering Solutions
                        • Crystal Tier
                         
                        Join Date: Oct 2010
                        Location: Washington, USA
                        Gender: Male
                        Nature: Lax
                        Posts: 3,741
                        Okay, I just want to try something simple for Emerald. I would like to change the names of May, Brendan, and Wally. Is there a way to do that? I couldn't find anything here that dealt with that specifically, and everything I looked at for editing trainers just talked about sprites and stuff.

                        EDIT: I was able to change the trainer names with A-Trainer, but I'm not sure how to change the names in dialogue, as A-Text, which I think should be able to do that, isn't working for me with Emerald, the text that comes up has symbols and stuff, and apparently all that's there is the start up to Route 102, which kind of surprised me, considering how long Emerald has been around.
                        __________________
                          #20243    
                        Old January 3rd, 2012 (2:54 AM).
                        armanr armanr is offline
                           
                          Join Date: Aug 2011
                          Gender: Male
                          Posts: 7
                          Quote:
                          Originally Posted by Darthatron View Post
                          There is no tool to do this. You would have to edit the games engine with ASM, which is no easy task.
                          Thanks. Is it possible to modify existing abilities (make iron fist do 1.5X instead of 1.2X)? Also is it possible to alter frenzy plant/grass pledge etc. move tutor to teach more moves?
                            #20244    
                          Old January 3rd, 2012 (4:54 AM).
                          SKRoy SKRoy is offline
                          Pokémon Hacker
                             
                            Join Date: Mar 2010
                            Gender: Male
                            Posts: 66
                            I made a script:

                            #dynamic 0x800000

                            #org @start
                            lock
                            faceplayer
                            msgbox @1 0x6
                            cry 0x246 0x0
                            wildbattle 0x246 0x5 0x0 0x0 0x0 0x0
                            fadescreen 0x1
                            fadescreen 0x0
                            hidesprite 0x4
                            setflag 0x200
                            release
                            end

                            #org @1
                            = LARVITAR: Lar lar!

                            When I talk to the Larvitar in the game the whole game freezed (I don't know how to say that in good English, but I think you understand me). How can I fix this?!
                              #20245    
                            Old January 3rd, 2012 (8:50 AM).
                            MTH13007 MTH13007 is offline
                               
                              Join Date: Jan 2012
                              Gender: Male
                              Posts: 2
                              Thanks a lot for the reference! It seems to have done all I needed it to!
                                #20246    
                              Old January 3rd, 2012 (9:15 AM).
                              redriders180's Avatar
                              redriders180 redriders180 is offline
                              Mastermind of Pokemon Glazed
                                 
                                Join Date: Jun 2010
                                Location: Path of Victory, Tunod
                                Gender: Male
                                Nature: Quirky
                                Posts: 540
                                Quote:
                                Originally Posted by Truality View Post
                                I would recommend this one. There's more to learn by yourself than with a measly tutorial when it comes to hediting, though.

                                Test it on a new ROM and mess with palettes? If you're talking about FRLG, the palettes 6 and 9 have a lot of blue blocks, and palette 7 has a really tinting one. Just saying.
                                I tried using APE to search for the specific blue that the rectangle is, but it found many pallates, and I don't want to mess them up. What do you mean by Pallate 6, 9, and 7? What are their offsets?

                                Quote:
                                Originally Posted by SKRoy View Post
                                I made a script:

                                #dynamic 0x800000

                                #org @start
                                lock
                                faceplayer
                                msgbox @1 0x6
                                cry 0x246 0x0
                                wildbattle 0x246 0x5 0x0 0x0 0x0 0x0
                                fadescreen 0x1
                                fadescreen 0x0
                                hidesprite 0x4
                                setflag 0x200
                                release
                                end

                                #org @1
                                = LARVITAR: Lar lar!

                                When I talk to the Larvitar in the game the whole game freezed (I don't know how to say that in good English, but I think you understand me). How can I fix this?!
                                Your problem is:
                                Code:
                                ...
                                cry 0x246 0x0
                                wildbattle 0x246 0x5 0x0 0x0 0x0 0x0
                                ...
                                When a number begins with "0x", That means the number is in hex. 0x246 is a hexidecimal number, that equals 582 in our normal counting system. Since there arent 582 Pokemon, this explains the freezing. Just replace "0x246" with 0xF6 (0xF6 is 246 in hex)

                                Edit: I don't know if your version of XSE does this, but you can also input numbers in decimal by not typing in the "0x". For example:
                                Code:
                                ...
                                cry 246 0
                                wildbattle 246 5 0 0 0 0
                                ...
                                __________________


                                I think I'm done with ROM hacking. I'll still pop in and visit, though.


                                  #20247    
                                Old January 3rd, 2012 (10:06 AM).
                                SKRoy SKRoy is offline
                                Pokémon Hacker
                                   
                                  Join Date: Mar 2010
                                  Gender: Male
                                  Posts: 66
                                  Quote:
                                  Originally Posted by redriders180 View Post
                                  I tried using APE to search for the specific blue that the rectangle is, but it found many pallates, and I don't want to mess them up. What do you mean by Pallate 6, 9, and 7? What are their offsets?



                                  Your problem is:
                                  Code:
                                  ...
                                  cry 0x246 0x0
                                  wildbattle 0x246 0x5 0x0 0x0 0x0 0x0
                                  ...
                                  When a number begins with "0x", That means the number is in hex. 0x246 is a hexidecimal number, that equals 582 in our normal counting system. Since there arent 582 Pokemon, this explains the freezing. Just replace "0x246" with 0xF6 (0xF6 is 246 in hex)

                                  Edit: I don't know if your version of XSE does this, but you can also input numbers in decimal by not typing in the "0x". For example:
                                  Code:
                                  ...
                                  cry 246 0
                                  wildbattle 246 5 0 0 0 0
                                  ...
                                  Thanks it works!
                                  Now I have another problem, wich is bigger... I'm making a hack... I have a big problem. I have done a few things and I was trying some things out in the game. But when I want to the start menu (the menu with pokédex, pokemon, bag, save etc.) the whole game freeze.... How can I fix this?
                                    #20248    
                                  Old January 3rd, 2012 (10:22 AM).
                                  MissDigitalis's Avatar
                                  MissDigitalis MissDigitalis is offline
                                     
                                    Join Date: Dec 2011
                                    Gender: Female
                                    Posts: 115
                                    I had a few questions here: http://www.pokecommunity.com/showpost.php?p=6994516&postcount=409
                                    and here: http://www.pokecommunity.com/showpost.php?p=6994776&postcount=75
                                    __________________

                                      #20249    
                                    Old January 3rd, 2012 (10:37 AM).
                                    SKRoy SKRoy is offline
                                    Pokémon Hacker
                                       
                                      Join Date: Mar 2010
                                      Gender: Male
                                      Posts: 66
                                      I'm making a hack, but I have a big problem. I have done a few things and I was trying some things out in the game. But when I want to the start menu (the menu with pokédex, pokemon, bag, save etc.) the whole game freeze.... How can I fix this?
                                        #20250    
                                      Old January 3rd, 2012 (10:39 AM).
                                      MissDigitalis's Avatar
                                      MissDigitalis MissDigitalis is offline
                                         
                                        Join Date: Dec 2011
                                        Gender: Female
                                        Posts: 115
                                        Quote:
                                        Originally Posted by SKRoy View Post
                                        I'm making a hack, but I have a big problem. I have done a few things and I was trying some things out in the game. But when I want to the start menu (the menu with pokédex, pokemon, bag, save etc.) the whole game freeze.... How can I fix this?
                                        What have you done to the game so far?


                                        It's always good to have a back up file every time you do an edit so you can go back if you mess something up.
                                        __________________

                                        Closed Thread

                                        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 9:55 PM.