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
  #23151    
Old November 13th, 2012 (6:01 AM).
Herpahermaderp's Avatar
Herpahermaderp Herpahermaderp is offline
I liek Mudkipz
     
    Join Date: Jul 2012
    Location: USA
    Age: 19
    Gender: Male
    Nature: Relaxed
    Posts: 66
    Quote:
    Originally Posted by Dddzort View Post
    What command do I put in a trainer battle script to make the vs seeker work?
    This question was answered by tajaros in the Script Help Thread. You use the trainerbattle 0x3. If you need more help with scripting, look up diegoisawesomes XSE scripting tutorial, there's a ton of stuff there.
    __________________
    Y: Roak || 1177-8023-4387

    Relevant Advertising!

      #23152    
    Old November 13th, 2012 (8:17 AM).
    truekidmoney truekidmoney is offline
       
      Join Date: Apr 2011
      Gender: Male
      Posts: 3
      How can I insert this into a free space in my rom?
      03 B5 03 48 00 68 03 49 80 89 08 80 03 BD C0 46
      0C 50 00 03 D0 70 03 02
        #23153    
      Old November 13th, 2012 (8:57 AM). Edited November 13th, 2012 by wwmb.
      wwmb's Avatar
      wwmb wwmb is offline
      Watcher
         
        Join Date: Apr 2010
        Gender: Male
        Posts: 20
        Quote:
        Originally Posted by truekidmoney View Post
        How can I insert this into a free space in my rom?
        03 B5 03 48 00 68 03 49 80 89 08 80 03 BD C0 46
        0C 50 00 03 D0 70 03 02
        First: Download a hex editor (I use HxD and XVI32)
        2nd: Open you rom with the hex editor.
        3rd: Select a space, equal to the length of your hex, of 00 (I believe that people said this is freespace for Ruby and Sapphire, someone correct me if I'm wrong) or FF (Firered, Leafgreen and Emerald) ... check around E3D000
        4th: Paste your hex code into the selection you made in step 3
        5th: Take note of the location you inserted the code into (You will need it to make pointers, use it in custom scripts and such) DON'T LOSE IT.
        6th: save
        7th: Use your hex in a custom command somewhere! haha
          #23154    
        Old November 13th, 2012 (9:14 AM).
        truekidmoney truekidmoney is offline
           
          Join Date: Apr 2011
          Gender: Male
          Posts: 3
          thx alot wwmb. 1 more question in fire red all spots with FF counts as free space?Also when u say take note of the location I inserted the code do u mean offset? and if so what happens if the code is 2 lines like mine?
            #23155    
          Old November 13th, 2012 (9:27 AM).
          wwmb's Avatar
          wwmb wwmb is offline
          Watcher
             
            Join Date: Apr 2010
            Gender: Male
            Posts: 20
            Quote:
            Originally Posted by truekidmoney View Post
            thx alot wwmb. 1 more question in fire red all spots with FF counts as free space?Also when u say take note of the location I inserted the code do u mean offset? and if so what happens if the code is 2 lines like mine?
            Kind of.... if you see large spaces of FF's (Like down at the bottom of the ROM) then yes... but, a lone FF (or a small pach) could be used for something already (so try to judge if you think it's large enough or not.)
            Correct, the offset. In HxD you can find the offset of your selection by looking in the bottom left-hand corner.

            The lines don't really matter, since binary is really just one dimensional, you're only breaking it up into chucks to read easier. (You could probably set a hex editor to read it all in one line. But that would be hard to read. haha)
            So to answer your question, Just select a space big enough to fit it all, and paste them in. If they are two separate commands: note the offsets where each starts. (You could paste one, the skip two FFs or so and paste the other, if you want to play things safe and make it easier to read)

            Good luck
              #23156    
            Old November 13th, 2012 (11:18 AM).
            Aquibian Aquibian is offline
               
              Join Date: Mar 2012
              Gender: Male
              Posts: 5
              I'm hacking Ruby, and I want to make it, so at a certain point in the game, an individual gives you the PokeDex. I can't seem to be able to edit the order that Pokemon appear in the Hoenn regional dex, example changing Oddish to be #20 instead of whatever. If someone could help me with that
              OR
              I could give the player a National Mode Dex instead, which I believe can be edited easier, but what is the flag for that in Ruby?
                #23157    
              Old November 13th, 2012 (11:30 AM).
              wwmb's Avatar
              wwmb wwmb is offline
              Watcher
                 
                Join Date: Apr 2010
                Gender: Male
                Posts: 20
                Quote:
                Originally Posted by Aquibian View Post
                I'm hacking Ruby, and I want to make it, so at a certain point in the game, an individual gives you the PokeDex. I can't seem to be able to edit the order that Pokemon appear in the Hoenn regional dex, example changing Oddish to be #20 instead of whatever. If someone could help me with that
                OR
                I could give the player a National Mode Dex instead, which I believe can be edited easier, but what is the flag for that in Ruby?
                Saddly, there isn't a flag for turning the national dex on in RS. I did find this though:
                Code:
                writebytetooffset 0x2 0x2026B00
                writebytetooffset 0x3 0x2026B01
                writebytetooffset 0xDA 0x2024EBE
                writebytetooffset 0x67 0x2026A5A
                youtu.be/EdT38tz28OM
                  #23158    
                Old November 13th, 2012 (11:58 AM). Edited November 13th, 2012 by Aquibian.
                Aquibian Aquibian is offline
                   
                  Join Date: Mar 2012
                  Gender: Male
                  Posts: 5
                  How do I change the order of PKMN in the Hoenn regional Dex?
                  Change 001 Treecko to 001 Togepi and so on

                  I've been using the Pokedex Order Editor by team snagem but nothing changes in-game
                    #23159    
                  Old November 13th, 2012 (2:42 PM).
                  LCCoolJ95's Avatar
                  LCCoolJ95 LCCoolJ95 is offline
                  Limited Capacity
                     
                    Join Date: May 2009
                    Location: The World That Never Was
                    Age: 22
                    Gender: Male
                    Nature: Naive
                    Posts: 527
                    How come every time I go into a random Pokemon battle, the game freezes?
                    __________________
                    "The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

                    Pokémon Theta Emerald EX: https://www.pokecommunity.com/showthread.php?t=386240
                      #23160    
                    Old November 13th, 2012 (4:14 PM). Edited November 13th, 2012 by wwmb.
                    wwmb's Avatar
                    wwmb wwmb is offline
                    Watcher
                       
                      Join Date: Apr 2010
                      Gender: Male
                      Posts: 20
                      Quote:
                      Originally Posted by Aquibian View Post
                      How do I change the order of PKMN in the Hoenn regional Dex?
                      Change 001 Treecko to 001 Togepi and so on

                      I've been using the Pokedex Order Editor by team snagem but nothing changes in-game
                      I used XSE and my sapphire ROM and made:
                      Code:
                      //---------------
                      #org 0x720000
                      lock
                      faceplayer
                      checkflag 0x801 //check if the player has gotten the pokedex from the professor yet
                      if 0x1 call 0x872000E
                      release
                      end
                      
                      //---------------
                      #org 0x72000E
                      writebytetooffset 0x2 0x2026B00
                      writebytetooffset 0x3 0x2026B01
                      writebytetooffset 0xDA 0x2024EBE
                      writebytetooffset 0x67 0x2026A5A
                      return
                      and it worked!
                      (Yes it starts with it still in HOENN mode, but simply pressing SELECT and going to the newly unlocked: "SHIFT">"MODE">"NATIONAL DEX">"OK" will set the dex to show in the correct order)
                      I haven't tried Ruby (yet.. I'll do that later) EDIT: Yup, it worked in Ruby too! Good luck with your hack

                      and about changing the order... can't help you. Sorry. I don't have experience in that area.
                        #23161    
                      Old November 13th, 2012 (4:28 PM).
                      Aquibian Aquibian is offline
                         
                        Join Date: Mar 2012
                        Gender: Male
                        Posts: 5
                        Tthanks wwmb for your help, although I had some success on my part too!

                        Note for all people editing the Hoenn Dex using the POE: Make the first pokemon (In my case, Togepi) have the same national value as Treecko, who is the first in the Hoenn Dex... and so on.

                        I don't know if this was resolved somewhere else at an earlier time, but I feel quite proud for figuring it out after many trials and errors.
                          #23162    
                        Old November 13th, 2012 (4:36 PM).
                        wwmb's Avatar
                        wwmb wwmb is offline
                        Watcher
                           
                          Join Date: Apr 2010
                          Gender: Male
                          Posts: 20
                          Quote:
                          Originally Posted by Aquibian View Post
                          Tthanks wwmb for your help, although I had some success on my part too!

                          Note for all people editing the Hoenn Dex using the POE: Make the first pokemon (In my case, Togepi) have the same national value as Treecko, who is the first in the Hoenn Dex... and so on.

                          I don't know if this was resolved somewhere else at an earlier time, but I feel quite proud for figuring it out after many trials and errors.
                          Awesome, and congratulations! I'll take note of that too
                            #23163    
                          Old November 13th, 2012 (5:09 PM).
                          Aquibian Aquibian is offline
                             
                            Join Date: Mar 2012
                            Gender: Male
                            Posts: 5
                            I do have one other question, this one more scripting related:

                            How do I make a script that enters a pokemon into the pokedex as if you caught one? (So a pokeball appears next to the name of others of its kind in the wild, so I can look at its pokedex entry... so on.)
                              #23164    
                            Old November 14th, 2012 (8:04 AM).
                            miksy91's Avatar
                            miksy91 miksy91 is offline
                            Dark Energy is back in action! ;)
                               
                              Join Date: Oct 2008
                              Location: A small country in the North
                              Gender: Male
                              Nature: Relaxed
                              Posts: 1,435
                              Quote:
                              Originally Posted by Aquibian View Post
                              I do have one other question, this one more scripting related:

                              How do I make a script that enters a pokemon into the pokedex as if you caught one? (So a pokeball appears next to the name of others of its kind in the wild, so I can look at its pokedex entry... so on.)
                              Is that kind of a script called ever during the normal gameplay? No.
                              This pretty much answers it; you're going to have to locate the asm routine loaded whenever a pokemon is caught during the battle, which is used to display its pokedex entry (if not caught before already), and use parts of it. No need asking how to do it - it's "difficult" to achieve.
                              __________________
                              My Rom Hack



                              Fixing bugs in a ROM hack
                              CP of encountered pokemon in GO

                              Learn how to hack GB/C games:

                              Check my GameBoy/Color hacking videos in Youtube
                              -The video set uses Pokemon Silver (U) rom for demonstrations
                                #23165    
                              Old November 14th, 2012 (7:39 PM).
                              Aquibian Aquibian is offline
                                 
                                Join Date: Mar 2012
                                Gender: Male
                                Posts: 5
                                Quote:
                                Originally Posted by miksy91 View Post
                                Is that kind of a script called ever during the normal gameplay? No.
                                This pretty much answers it; you're going to have to locate the asm routine loaded whenever a pokemon is caught during the battle, which is used to display its pokedex entry (if not caught before already), and use parts of it. No need asking how to do it - it's "difficult" to achieve.
                                Alright :/ I just thought it might be simpler than ASM routines because I was sure there were scripts used in the games that give pokemon the 'seen' flag, so I thought the 'captured' flag wouldn't be far off...

                                It was just a curiosity on my part; I just changed a little part of my hack so I wouldn't have to do 'voodoo magic' with ASM stuff to do something so trivial.
                                  #23166    
                                Old November 14th, 2012 (8:52 PM).
                                IrrelevantPride IrrelevantPride is offline
                                   
                                  Join Date: Jan 2011
                                  Posts: 9
                                  I've just been getting into creating maps but whenever I do an "inside" map the background is a bright purple instead of the black tiles that I've selected and I'm not sure what exactly is wrong or if its a common error.
                                    #23167    
                                  Old November 14th, 2012 (10:18 PM).
                                  Platinum Lucario's Avatar
                                  Platinum Lucario Platinum Lucario is offline
                                  The Legendary Master of Light!
                                  • Crystal Tier
                                   
                                  Join Date: Jan 2008
                                  Location: Warrnambool, Victoria, Australia.
                                  Gender: Male
                                  Nature: Calm
                                  Posts: 1,561
                                  Quote:
                                  Originally Posted by IrrelevantPride View Post
                                  I've just been getting into creating maps but whenever I do an "inside" map the background is a bright purple instead of the black tiles that I've selected and I'm not sure what exactly is wrong or if its a common error.
                                  That usually happens when you use the first tile in the tileset rather than the second blank one. Remember, the first tile in a tileset is an undefined tile which is unusable. So always use the tiles that aren't the first one, remember that. ;)
                                  __________________
                                  [Platinum Lucario's Signature]
                                  If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
                                  Signature Status: Strikes: 1/3 | Infractions: 0/3
                                  It's time to change the future...
                                  to a positive direction!

                                  Let's prevent things from getting bad!

                                  I'm a ROM and ISO Researcher
                                  Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
                                    #23168    
                                  Old November 14th, 2012 (11:12 PM).
                                  miksy91's Avatar
                                  miksy91 miksy91 is offline
                                  Dark Energy is back in action! ;)
                                     
                                    Join Date: Oct 2008
                                    Location: A small country in the North
                                    Gender: Male
                                    Nature: Relaxed
                                    Posts: 1,435
                                    Quote:
                                    Originally Posted by Aquibian View Post
                                    Alright :/ I just thought it might be simpler than ASM routines because I was sure there were scripts used in the games that give pokemon the 'seen' flag, so I thought the 'captured' flag wouldn't be far off...

                                    It was just a curiosity on my part; I just changed a little part of my hack so I wouldn't have to do 'voodoo magic' with ASM stuff to do something so trivial.
                                    Heck, I completely read your script in a wrong way...
                                    I thought you wanted to make an item ball and if picked, it would display the pokedex entry of the pokemon received by talking to that item ball.

                                    But to answer to your question, no, no such thing can be achieve just with one scripting command but somebody should know the ram address where the "captured" data of each pokemon is stored for pokedex. You'd have to locate the ram address used for this pokemon, and set its bit accordingly from 0 to 1. This is best done with assembly, but it's one of the easiest things that can be achieved with it. The only problem is, is there documentation about the ram addresses used for "capture data" of pokedex?
                                    __________________
                                    My Rom Hack



                                    Fixing bugs in a ROM hack
                                    CP of encountered pokemon in GO

                                    Learn how to hack GB/C games:

                                    Check my GameBoy/Color hacking videos in Youtube
                                    -The video set uses Pokemon Silver (U) rom for demonstrations
                                      #23169    
                                    Old November 15th, 2012 (12:52 AM).
                                    IrrelevantPride IrrelevantPride is offline
                                       
                                      Join Date: Jan 2011
                                      Posts: 9
                                      Quote:
                                      Originally Posted by PokémonShinySilver View Post
                                      That usually happens when you use the first tile in the tileset rather than the second blank one. Remember, the first tile in a tileset is an undefined tile which is unusable. So always use the tiles that aren't the first one, remember that.
                                      Worked! Thank you sir, now to continue on with more things
                                        #23170    
                                      Old November 15th, 2012 (10:24 AM).
                                      twizzler twizzler is offline
                                         
                                        Join Date: Nov 2012
                                        Gender: Male
                                        Posts: 2
                                        Hey guys I was wondering how to change the probability of running into a shiny pokemon for the G/S/C generation through a hex editor!

                                        Thanks!
                                          #23171    
                                        Old November 15th, 2012 (1:09 PM).
                                        miksy91's Avatar
                                        miksy91 miksy91 is offline
                                        Dark Energy is back in action! ;)
                                           
                                          Join Date: Oct 2008
                                          Location: A small country in the North
                                          Gender: Male
                                          Nature: Relaxed
                                          Posts: 1,435
                                          Quote:
                                          Originally Posted by twizzler View Post
                                          Hey guys I was wondering how to change the probability of running into a shiny pokemon for the G/S/C generation through a hex editor!

                                          Thanks!
                                          An ASM editor would be the actual tool you're looking for (as it's more suitable to this type of hacking than a hex editor which would "go fine" too).

                                          http://hax.iimarck.us/topic/175/
                                          __________________
                                          My Rom Hack



                                          Fixing bugs in a ROM hack
                                          CP of encountered pokemon in GO

                                          Learn how to hack GB/C games:

                                          Check my GameBoy/Color hacking videos in Youtube
                                          -The video set uses Pokemon Silver (U) rom for demonstrations
                                            #23172    
                                          Old November 15th, 2012 (1:12 PM).
                                          joseph92411 joseph92411 is offline
                                             
                                            Join Date: Jan 2010
                                            Gender: Male
                                            Posts: 14
                                            Hi there, I am currently making a ROM with my friend. But for some problem, when I open Advanced text, it gives me this run time 13 error. It says settings.ini is missing. I'm not sure what to do, can someone help me?
                                              #23173    
                                            Old November 15th, 2012 (6:18 PM).
                                            Jambo51's Avatar
                                            Jambo51 Jambo51 is offline
                                            Glory To Arstotzka
                                               
                                              Join Date: Jun 2009
                                              Gender: Male
                                              Nature: Quiet
                                              Posts: 732
                                              Quote:
                                              Originally Posted by Aquibian View Post
                                              Cut for brevity
                                              Quote:
                                              Originally Posted by miksy91 View Post
                                              Cut for brevity
                                              Actually, this is one of those rare occasions where you don't need to actually KNOW where the memory is, nor how it is manipulated, as you could modify the existing special to set a species as caught with relatively minimal fuss.

                                              As you may/may not know, it uses a variable to define which species to add as seen to the Dex. It wouldn't be hard to make it use the Most Significant Bit as a "Seen/Caught mode" bit (eg, you want to set Chikorita to seen, you would set it to 0x0098, if you wanted to set Chikorita to caught, you would set it to 0x8098).

                                              It would still require ASM, but at least you don't need to know how to manipulate the seen/caught flags, huh?
                                              __________________
                                              Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                                                #23174    
                                              Old November 15th, 2012 (11:30 PM).
                                              Platinum Lucario's Avatar
                                              Platinum Lucario Platinum Lucario is offline
                                              The Legendary Master of Light!
                                              • Crystal Tier
                                               
                                              Join Date: Jan 2008
                                              Location: Warrnambool, Victoria, Australia.
                                              Gender: Male
                                              Nature: Calm
                                              Posts: 1,561
                                              Quote:
                                              Originally Posted by joseph92411 View Post
                                              Hi there, I am currently making a ROM with my friend. But for some problem, when I open Advanced text, it gives me this run time 13 error. It says settings.ini is missing. I'm not sure what to do, can someone help me?
                                              Ah! I see your problem, it's because you've either haven't extracted all the files from the .zip file or you have deleted the settings.ini. Remove the Advanced Text folder and re-extract the files from the Advanced Text .zip file.

                                              That should fix your problem, but if it continues to occur... then you probably haven't got the .NET Framework 4 installed, which you can indeed download directly from Microsoft. ;)
                                              __________________
                                              [Platinum Lucario's Signature]
                                              If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
                                              Signature Status: Strikes: 1/3 | Infractions: 0/3
                                              It's time to change the future...
                                              to a positive direction!

                                              Let's prevent things from getting bad!

                                              I'm a ROM and ISO Researcher
                                              Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
                                                #23175    
                                              Old November 16th, 2012 (9:58 AM).
                                              CameraFan CameraFan is offline
                                                 
                                                Join Date: Nov 2012
                                                Gender: Male
                                                Posts: 10
                                                Whenever I edit a trainer using PET, the battle theme is that of the Champion, anyone know why this is happening?
                                                Not that it affects anything much, I'm just sick of Wallace popping up whenever I battle a custom trainer.
                                                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 2:53 PM.