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

Closed Thread
 
Thread Tools
  #23176    
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.)

    Relevant Advertising!

      #23177    
    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
        #23178    
      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.
          #23179    
        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.
            #23180    
          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)
            #23181    
          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
              #23182    
            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
                #23183    
              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!
                  #23184    
                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
                    #23185    
                  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?
                      #23186    
                    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!
                        #23187    
                      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)
                        #23188    
                      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.
                          #23189    
                        Old November 16th, 2012 (1:43 PM).
                        Renegade's Avatar
                        Renegade Renegade is offline
                        Time for real life...
                           
                          Join Date: Nov 2011
                          Location: United States
                          Gender: Male
                          Nature: Careful
                          Posts: 998
                          Quote:
                          Originally Posted by CameraFan View Post
                          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.
                          I'm sure there is an easy fix for that... But I'm just going to say: Use A-Trainer. It's far less buggy and is a LOT easier to use.
                            #23190    
                          Old November 16th, 2012 (8:55 PM). Edited November 16th, 2012 by awipe1.
                          awipe1's Avatar
                          awipe1 awipe1 is offline
                             
                            Join Date: Aug 2012
                            Gender: Male
                            Posts: 215
                            Does anyone have an ash trainer sprite/ashe overworld sprites I can use?
                            I need them for my ROM and I can't find them anywhere and I am absolutly terrible at making sprites! (No joke, I am so bad I debated making all the characters stick figures)
                            __________________
                            Check out my Pokemon Rom! Click the Image Below!
                              #23191    
                            Old November 16th, 2012 (9:03 PM).
                            itman itman is offline
                            Back to ROM hacking. :D
                               
                              Join Date: May 2007
                              Age: 23
                              Nature: Adamant
                              Posts: 100
                              Quote:
                              Originally Posted by awipe1 View Post
                              Does anyone have an ashe trainer sprite/ashe overworld sprites I can use?
                              I need them for my ROM and I can't find them anywhere and I am absolutly terrible at making sprites! (No joke, I am so bad I debated making all the characters stick figures)
                              I seriously just typed "Ash sprites and overworlds" on Google Images and came up with over fifty public sprites that look nice.

                              There are Ash overworld sprites on WAH's page somewhere too, if you want to look around there.
                                #23192    
                              Old November 16th, 2012 (11:59 PM).
                              Puddingfork Puddingfork is offline
                                 
                                Join Date: Nov 2012
                                Gender: Male
                                Posts: 1
                                I've never hacked a ROM before.

                                I'm thinking of hacking my girlfriends flora sky ROM for our anniversary to leave a nice little love message. Something like having a pokemon trainer called 'Puddingfork' that tells her he loves her.

                                Would this mess up her save? Would it be hard for me to do? Should I just take the easy route and and make the pokemon names spell something out?
                                  #23193    
                                Old November 17th, 2012 (1:50 AM). Edited November 17th, 2012 by CameraFan.
                                CameraFan CameraFan is offline
                                   
                                  Join Date: Nov 2012
                                  Gender: Male
                                  Posts: 10
                                  Is it possible to create a trainer from scratch without editing another one?
                                    #23194    
                                  Old November 17th, 2012 (3:02 AM).
                                  tajaros's Avatar
                                  tajaros tajaros is offline
                                  Hi I'm dawg
                                     
                                    Join Date: Apr 2012
                                    Location: Philippines
                                    Age: 18
                                    Gender: Male
                                    Nature: Timid
                                    Posts: 857
                                    Quote:
                                    Originally Posted by CameraFan View Post
                                    Is it possible to create a trainer from scratch without editing another one?
                                    You mean a new Trainer Sprite or a new Trainer Data?

                                    For the sprite yup you can definitely do that but it will require Hex Editing and would get complicated. As for a new Trainer Data you can expand it using A-Trainer but it might cause problems in battling.
                                    __________________
                                      #23195    
                                    Old November 17th, 2012 (4:35 AM).
                                    Ach7AC's Avatar
                                    Ach7AC Ach7AC is offline
                                       
                                      Join Date: Jun 2012
                                      Gender: Male
                                      Posts: 146
                                      Eh... I've been thinking of practicing hacking Emerald in my (unfortunately infinitesimal) free time, but I can't seem to save the maps I edit. Help?
                                        #23196    
                                      Old November 17th, 2012 (6:02 AM). Edited November 17th, 2012 by Herpahermaderp.
                                      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 Puddingfork View Post
                                        I've never hacked a ROM before.

                                        I'm thinking of hacking my girlfriends flora sky ROM for our anniversary to leave a nice little love message. Something like having a pokemon trainer called 'Puddingfork' that tells her he loves her.

                                        Would this mess up her save? Would it be hard for me to do? Should I just take the easy route and and make the pokemon names spell something out?
                                        This wouldn't be hard to do and I believe that it would do nothing to her save. All you have to do is find the trainer you want to edit on A-Map, then find their script offset, open that offset in XSE, edit what you want to edit, then recompile it and your done.

                                        Quote:
                                        Originally Posted by Ach7AC View Post
                                        Eh... I've been thinking of practicing hacking Emerald in my (unfortunately infinitesimal) free time, but I can't seem to save the maps I edit. Help?
                                        Are you clicking the file>save button? If so, a little bit more info would help, like if your getting error messages or something. In A-Map everytime you switch your map it asks if you would like to save.
                                        __________________
                                        Y: Roak || 1177-8023-4387
                                          #23197    
                                        Old November 17th, 2012 (10:41 AM). Edited November 17th, 2012 by CameraFan.
                                        CameraFan CameraFan is offline
                                           
                                          Join Date: Nov 2012
                                          Gender: Male
                                          Posts: 10
                                          Something just screwed up. I have to have a tileset swap between a town and a route, only to have some glitch effects happen when I try to travel to said route (can't post pic because I don't have 15 posts :s):

                                          Problems:
                                          Random invisible walls I didn't make
                                          Houses from the swapped tileset turns glitchy
                                          Some textures vanish
                                          Game freeze

                                          Am I right about why it's been caused? I like the house as it is normally and don't want to change it unless I have to.
                                          edit- It's not to do with seeing tiles change. I expanded the map so you couldn't see anything change ahd trees shift position when you go into the route then back out. The connections are lined up so what's going wrong?
                                            #23198    
                                          Old November 17th, 2012 (1:44 PM).
                                          Ach7AC's Avatar
                                          Ach7AC Ach7AC is offline
                                             
                                            Join Date: Jun 2012
                                            Gender: Male
                                            Posts: 146
                                            Quote:
                                            Originally Posted by Herpahermaderp View Post
                                            This wouldn't be hard to do and I believe that it would do nothing to her save. All you have to do is find the trainer you want to edit on A-Map, then find their script offset, open that offset in XSE, edit what you want to edit, then recompile it and your done.



                                            Are you clicking the file>save button? If so, a little bit more info would help, like if your getting error messages or something. In A-Map everytime you switch your map it asks if you would like to save.
                                            I try saving, but it does not work. Every time I try to switch maps the program asks me if I want to save or not. If I click yes, nothing happens and I will not switch maps.
                                              #23199    
                                            Old November 17th, 2012 (2:30 PM).
                                            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 Ach7AC View Post
                                              I try saving, but it does not work. Every time I try to switch maps the program asks me if I want to save or not. If I click yes, nothing happens and I will not switch maps.
                                              Then you should try deleting your A-Map and reinstall it. Btw, what version of A-Map are you using? I highly recommend using 1.92, since 1.95 is still buggy and tends to do stuff like this.
                                              __________________
                                              Y: Roak || 1177-8023-4387
                                                #23200    
                                              Old November 17th, 2012 (4:46 PM).
                                              Hyper Chibi Absol's Avatar
                                              Hyper Chibi Absol Hyper Chibi Absol is offline
                                              The Chibiest Absol ever :3
                                                 
                                                Join Date: Aug 2009
                                                Location: With muh hubby :3
                                                Age: 27
                                                Gender: Female
                                                Nature: Naive
                                                Posts: 100
                                                Ok I have another question for editing Pokemon Ruby, though this one may be kinda of so obvious that I'll be smacking myself in the forehead for asking but, how do I create an offset for an event say like an item?

                                                I'm using XSE and I read the little tutorial thing on what script to use in order to make it so you can find an item, however, I tried to save but the save option is greyed out, and I tried the hot keys but they did nothing. Later I thought I could just type in random numbers and letters in the offset, hot key the save and attempt to see if the item was there but it wasn't. (go figure...)

                                                Quote:
                                                #dynamic 0x800000

                                                #org @start
                                                additem 0x5D 0x1
                                                end
                                                This is what I'm putting into the program so I can find a sunstone in a certain area of the game. (I can't believe the only way to obtain it is by talking to an old man in the space station) What I'm trying to do is make it so that you can "mine" for the evo stones in the Fossil Cave. I could find the events for the other 5 stones, all I had to do was make the overworld sprite invisible so they don't look like just some random Pokeballs sitting on rocks. That and I had to make their ID 0000 so you can always comeback later to get some more stones if need be.

                                                Please help.

                                                EDIT: What I mean by Fossil Cave, its just a map I made were you can catch the first form fossil Pokemon like Kabuto and such as well as Clefairy and Jigglypuff due to the fact that they HAVE to live near moonstones
                                                __________________
                                                Love is bliss

                                                Bliss is love
                                                Yin and Yang
                                                Yang and Yin

                                                We are one in the same...

                                                Heart and Soul
                                                Soul and Heart
                                                You and me
                                                Me and you

                                                Let our lives be more than this game...

                                                ~Hyper Chibi Absol



                                                Hyper Chibi Absol x TheUmbreonMaster
                                                Closed Thread
                                                Quick Reply

                                                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 12:08 AM.