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
  #20801    
Old March 19th, 2012 (11:01 PM). Edited March 21st, 2012 by fatmanjumprope.
fatmanjumprope's Avatar
fatmanjumprope fatmanjumprope is offline
黒雷 神 エネル
     
    Join Date: Nov 2010
    Location: The Grand Line
    Age: 24
    Gender: Male
    Nature: Serious
    Posts: 20

    I didn't know if this was the right spot for my question so let me start by saying sorry if it's not.

    Anyway Whenever I start up a-trainer and load a rom into the program it stalls for a few seconds and gives me this message in an error box.

    Subscript out of range.
    [email protected]

    It then gives me the option to Retry/cancel/or close

    When I click retry or cancel it gives me the same message. Close closes the program entirely. As you can probably imagine this is a huge hindrance in the completion of my hack not being able to use a-trainer. I've experimented with a-trainer a little over a year ago on the same computer without having any issues at all until now. Any help or ideas would be appreciated. I've searched all around the web including here on the pokecommunity but I can't find any solutions for this SPECIFIC issue.

    __________________


    Relevant Advertising!

      #20802    
    Old March 20th, 2012 (12:03 AM).
    Harminia's Avatar
    Harminia Harminia is offline
       
      Join Date: Mar 2012
      Gender: Female
      Posts: 7

      Quote:
      Originally Posted by redriders180 View Post
      He means the offset of the image has to end with a 0, 4, 8, or C. The numbers in UNLZ.gba are just for reference, each picture is stored in the game, and the offset is basically wherever the picture is stored. The offsets of the palate and image are shown in UNLZ.gba. And when you use Free Space Finder, and it gives you the offset, make sure it ends in 0, 4, 8 or C...If it doesn't just count up from it until you get to a 0, 4, 8, or C

      For example, if it gives you the offset 0x800406, round it up to 0x800408.

      Hope that helped

      ahh, yeah, that helps, I think!
      But, it seems that's not where the problem is... because freespace finder has been giving me numbers ending in 0,4,8 and C, but the images still become distorted once I import more than one image.

        #20803    
      Old March 20th, 2012 (4:20 AM).
      Mr.McTaco Mr.McTaco is offline
         
        Join Date: Jun 2008
        Gender:
        Posts: 3

        Is it possible to make a hack where you start in Kanto instead of Johto in Pokemon Gold?

          #20804    
        Old March 20th, 2012 (4:30 AM). Edited March 20th, 2012 by aljohnston112.
        aljohnston112's Avatar
        aljohnston112 aljohnston112 is offline
           
          Join Date: Jul 2010
          Gender: Male
          Nature: Naughty
          Posts: 25

          Quote:
          Originally Posted by Mr.McTaco View Post
          Is it possible to make a hack where you start in Kanto instead of Johto in Pokemon Gold?

          Yes, it is, but that would be a lot of scripting work on your part.

          I'm making a game out of firered and I have this problem where a character doesn't appear until you step into the map.

          __________________

          Courage is not the absence of fear. Courage is the overcoming of fear.

            #20805    
          Old March 20th, 2012 (5:12 AM).
          infersaime's Avatar
          infersaime infersaime is offline
          Come and get me
             
            Join Date: Jun 2011
            Age: 20
            Gender: Male
            Nature: Relaxed
            Posts: 281

            I got a question.
            So I want to appear corphish on this beach. (on the sand)
            But I don't how and if it actually possible in Advance map.

            __________________

            My youtube account: http://www.youtube.com/user/infersaime

              #20806    
            Old March 20th, 2012 (6:27 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

              Aw man, I had a question, but completely forgot it v.v Anyways, back to answering!

              Quote:
              Originally Posted by infersaime View Post
              I got a question.
              So I want to appear corphish on this beach. (on the sand)
              But I don't how and if it actually possible in Advance map.

              If you set the sand's behavior byte to $08 $00 and the background byte to $00 $01 (or $00 $21, if it needs to be covered by hero), then it will do wild grass battles, without any animations. That's the same behavior byte as interior cave tiles.

              Quote:
              Originally Posted by aljohnston112 View Post
              Yes, it is, but that would be a lot of scripting work on your part.

              I'm making a game out of firered and I have this problem where a character doesn't appear until you step into the map.

              Sometimes this happens to me whenever two characters on the map share the same person event number. This will also occur is a person is too close to the map border, because the game doesn't load the OWs until you enter the map. To remedy it, just move it farther away. I think six tiles above or below the border, and eight tiles to the left or right is sufficient.

              Quote:
              Originally Posted by Harminia View Post
              ahh, yeah, that helps, I think!
              But, it seems that's not where the problem is... because freespace finder has been giving me numbers ending in 0,4,8 and C, but the images still become distorted once I import more than one image.
              It'd be nice to see a picture...since you don't have enough posts, maybe you could send me a VM?

              Quote:
              Originally Posted by fatmanjumprope View Post
              I didn't know if this was the right spot for my question so let me start by saying sorry if it's not.

              Anyway Whenever I start up a-trainer and load a rom into the program it stalls for a few seconds and gives me this message in an error box.

              Subscript out of range.
              [email protected]

              It then gives me the option to Retry/cancel/or close

              When I click retry or cancel it gives me the same message. Close closes the program entirely. As you can probably imagine this is a huge hindrance in the completion of my hack not being able to use a-trainer. I've experimented with a-trainer a little over a year ago on the same computer without having any issues at all until now. Any help or ideas would be appreciated. I've searched all around the web including here on the pokecommunity but I can't find any solutions for this SPECIFIC issue.

              Typically, when I see that error, there's something odd with the code. For example, maybe one of the trainers is using a picture number that doesn't exist, or something similar. A-map does have its bugs sometimes, so the best thing to do might be to either do a restore from a previous backup, or go in with a hex editor and find something off.

              __________________



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


                #20807    
              Old March 20th, 2012 (6:35 AM).
              Mr.McTaco Mr.McTaco is offline
                 
                Join Date: Jun 2008
                Gender:
                Posts: 3

                Quote:
                Originally Posted by aljohnston112 View Post
                Yes, it is, but that would be a lot of scripting work on your part.

                I'm making a game out of firered and I have this problem where a character doesn't appear until you step into the map.

                Cheers! I am a newb to scripting, so this may take quite awhile haha.

                I want to make a hack that has the player starting in Kanto, replaying 'R/B' but in an alternate reality, if you will.

                This will mean I also have to redo Kanto almost exactly how it was in R/B.

                Also, is it possible to 'destroy' Cinnabar Island? As in, have it in it's normal state until you finish a certain region, then it 'blows up' and looks different?

                And is it possible to surf on lava?

                  #20808    
                Old March 20th, 2012 (6:58 AM). Edited March 20th, 2012 by redx2dth.
                redx2dth's Avatar
                redx2dth redx2dth is offline
                Metapods' got class!
                   
                  Join Date: Jul 2011
                  Location: Im an AI. I live in a chip.
                  Age: 22
                  Gender: Male
                  Nature: Sassy
                  Posts: 27

                  Quote:
                  Originally Posted by Mr.McTaco View Post
                  Also, is it possible to 'destroy' Cinnabar Island? As in, have it in it's normal state until you finish a certain region, then it 'blows up' and looks different?

                  This code is for PsvkUI and should work with XSE but theres no promices:
                  setmaptile <Location X> <Location Y> <Tile> <movement permision>
                  So for example if you wanted to change your mailbox in pallet town to flowers and allow passage over it it you would use this:
                  setmaptile 0x04 0x07 0x04 0x0C

                  Quote:
                  Originally Posted by Mr.McTaco View Post
                  And is it possible to surf on lava?
                  In advance map use permission tile 4.

                  __________________

                    #20809    
                  Old March 20th, 2012 (7:13 AM).
                  infersaime's Avatar
                  infersaime infersaime is offline
                  Come and get me
                     
                    Join Date: Jun 2011
                    Age: 20
                    Gender: Male
                    Nature: Relaxed
                    Posts: 281

                    Quote:
                    Originally Posted by redriders180 View Post

                    If you set the sand's behavior byte to $08 $00 and the background byte to $00 $01 (or $00 $21, if it needs to be covered by hero), then it will do wild grass battles, without any animations. That's the same behavior byte as interior cave tiles.

                    Thanks you very much I really appreciate it.

                    __________________

                    My youtube account: http://www.youtube.com/user/infersaime

                      #20810    
                    Old March 20th, 2012 (1:29 PM).
                    aljohnston112's Avatar
                    aljohnston112 aljohnston112 is offline
                       
                      Join Date: Jul 2010
                      Gender: Male
                      Nature: Naughty
                      Posts: 25

                      So, I have a weird problem. Everytime I walk into my map of Pallet town from route 1, the sprites on one of the houses becomes random other sprites. If I walk until it's off the screen and return then it returns to normal. Anyone have an idea how to fix this?

                      __________________

                      Courage is not the absence of fear. Courage is the overcoming of fear.

                        #20811    
                      Old March 20th, 2012 (1:35 PM). Edited March 20th, 2012 by giradialkia.
                      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 aljohnston112 View Post
                      So, I have a weird problem. Everytime I walk into my map of Pallet town from route 1, the sprites on one of the houses becomes random other sprites. If I walk until it's off the screen and return then it returns to normal. Anyone have an idea how to fix this?

                      It sounds like your version of Route 1 is using a different secondary tileset to that of Pallet Town. If you want to prevent the tiles from being mixed up by the sudden change of map then there are three options available to you:

                      • Change Route 1's secondary tileset so it is the same as Pallet Town's
                      • Move the affected houses further away from Route 1 so you won't see the tiles when you change maps
                      • Place a guard house between the town and Route.

                      Any one of those three solutions should prevent you from seeing the roof tiles 'glitch' and change.

                      __________________

                        #20812    
                      Old March 20th, 2012 (3:59 PM).
                      stocko's Avatar
                      stocko stocko is offline
                      Toast Engineer
                         
                        Join Date: Mar 2011
                        Location: Sydney, NSW, Australia
                        Gender: Male
                        Nature: Bold
                        Posts: 38

                        Hi all, I have a quick little question here, it is regarding checkgender and maybe special commands.

                        I want to check the gender of a pokemon rather than the player.
                        Checkgender obviously doesn't do this, it only checks the players gender.
                        If someone could tell me how to do this that would be awesome

                        Thanks in advance.

                        __________________

                        Just chillen :D

                        I support these hacks

                          #20813    
                        Old March 20th, 2012 (5:45 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

                          Quote:
                          Originally Posted by stocko View Post
                          Hi all, I have a quick little question here, it is regarding checkgender and maybe special commands.

                          I want to check the gender of a pokemon rather than the player.
                          Checkgender obviously doesn't do this, it only checks the players gender.
                          If someone could tell me how to do this that would be awesome

                          Thanks in advance.

                          Well, gender of a Pokemon is found by doing alot of annoying complicated calculations on the personality value...it's not stored in an easy-to-find place. You'd most likely have to do those complex calculations and compare the result to determine its gender. Which is way over scripting and into ASM, as far as I can tell. I'm not sure how you could fake it, but it might be a good opportunity to try learning ASM.

                          __________________



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


                            #20814    
                          Old March 20th, 2012 (7:10 PM).
                          Death_Mande's Avatar
                          Death_Mande Death_Mande is offline
                          Avenged Sevenfold.
                             
                            Join Date: Jul 2007
                            Location: The Island of Enchantment.
                            Age: 23
                            Gender: Male
                            Nature: Modest
                            Posts: 196

                            I kinda screwed up while following this tutorial. I got up to the point where I needed to use a hex editor and edit the item so it would perform a script if the player were to use the item. I skipped that part, and went directly in-game and tested the item out. It worked well, I had received the item in-game along with it's new description and so on.

                            My only problem is that I indexed the "????????" after the Green Shard as 34. I followed his instructions, but I failed to notice that, on my ROM (for some reason) the Green Shard is indexed at 51 and not 33. Now every time I try to edit any item, the Item Editor gives me this error:

                            Spoiler:

                            It displays part of the item's description above the "MASTER BALL", gives me that error and then crashes. Any ideas on how I could fix this? Help is greatly appreciated.

                            __________________

                            Endless sorrow.

                              #20815    
                            Old March 20th, 2012 (11:02 PM).
                            halcyonic halcyonic is offline
                            • Crystal Tier
                             
                            Join Date: Mar 2012
                            Nature: Relaxed
                            Posts: 1,477

                            Can anybody help me with my questions?

                            1) How do I insert new Pokemon?
                            2)How do I create a new Pokemon event?
                            3)How do I create a new title screen then write it to my ROM?

                            Anybody who helps is greatly appreciated.

                            Thnx.

                              #20816    
                            Old March 21st, 2012 (5:30 AM).
                            Hacks0rus's Avatar
                            Hacks0rus Hacks0rus is offline
                            Monster Raving Looney
                               
                              Join Date: Jul 2011
                              Gender: Male
                              Nature: Timid
                              Posts: 24

                              Quote:
                              Originally Posted by MidnightShine View Post
                              Can anybody help me with my questions?

                              1) How do I insert new Pokemon?
                              2)How do I create a new Pokemon event?
                              3)How do I create a new title screen then write it to my ROM?

                              Anybody who helps is greatly appreciated.

                              Thnx.

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

                              2. What do you mean by this? Please elaborate.

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

                                #20817    
                              Old March 21st, 2012 (6:51 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 Death_Mande View Post
                                I kinda screwed up while following this tutorial. I got up to the point where I needed to use a hex editor and edit the item so it would perform a script if the player were to use the item. I skipped that part, and went directly in-game and tested the item out. It worked well, I had received the item in-game along with it's new description and so on.

                                My only problem is that I indexed the "????????" after the Green Shard as 34. I followed his instructions, but I failed to notice that, on my ROM (for some reason) the Green Shard is indexed at 51 and not 33. Now every time I try to edit any item, the Item Editor gives me this error:

                                Spoiler:

                                It displays part of the item's description above the "MASTER BALL", gives me that error and then crashes. Any ideas on how I could fix this? Help is greatly appreciated.

                                This happened to me, but for the life of me, I can't remember what I did to fix it...I believe I found another item editing program and changed the name and values. You could try that and see if it works...the program I used is called Item Manager. I hope it helps!

                                __________________



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


                                  #20818    
                                Old March 21st, 2012 (1:22 PM).
                                Krika Krika is offline
                                   
                                  Join Date: Oct 2011
                                  Gender: Male
                                  Posts: 16

                                  If I mod a trainer using A-Trainer such that I give them a Revive/Max-Revive/Sacred Ash as one of their four items, will the AI use them? Or will it not work with those kinds of items? Same question for Full Heals and the various X-Items as well.

                                  Just wondering.

                                    #20819    
                                  Old March 21st, 2012 (4:32 PM).
                                  Death_Mande's Avatar
                                  Death_Mande Death_Mande is offline
                                  Avenged Sevenfold.
                                     
                                    Join Date: Jul 2007
                                    Location: The Island of Enchantment.
                                    Age: 23
                                    Gender: Male
                                    Nature: Modest
                                    Posts: 196

                                    Quote:
                                    Originally Posted by redriders180 View Post
                                    This happened to me, but for the life of me, I can't remember what I did to fix it...I believe I found another item editing program and changed the name and values. You could try that and see if it works...the program I used is called Item Manager. I hope it helps!

                                    Hello! Thanks for the help, I downloaded ZodiacDaGreat's Item Manager, but it too gave me the error.

                                    Spoiler:

                                    I tried using another Item Editor, apparently it's a "mod" of the original one I was using. The mod was made by Team Snag'em. None of these three editors worked though. I kept receiving the same error but with different numbers. Do you have any idea if there are any other editors that may allow me to fix this problem? Thanks again.

                                    Quote:
                                    Originally Posted by Krika View Post
                                    If I mod a trainer using A-Trainer such that I give them a Revive/Max-Revive/Sacred Ash as one of their four items, will the AI use them? Or will it not work with those kinds of items? Same question for Full Heals and the various X-Items as well.

                                    Just wondering.

                                    I tested it in Fire Red using A-Trainer. I gave the opponent 3 Revives and 1 Max Revive, but the AI did not use any of them. I stalled the battle for a few minutes and nothing.

                                    Here's the script I was using:

                                    Spoiler:
                                    #dynamic 0x800000

                                    #org @start
                                    trainerbattle 0x0 0x165 0x0 @before @after
                                    msgbox @beaten 0x6
                                    release
                                    end

                                    #org @before
                                    = I just got my first pokémon! Let's\nbattle!

                                    #org @after
                                    = I think I chose the wrong pokémon!

                                    #org @beaten
                                    = I'm going to train hard, you'll\nsee!

                                    __________________

                                    Endless sorrow.

                                      #20820    
                                    Old March 21st, 2012 (8:22 PM).
                                    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 Krika View Post
                                    If I mod a trainer using A-Trainer such that I give them a Revive/Max-Revive/Sacred Ash as one of their four items, will the AI use them? Or will it not work with those kinds of items? Same question for Full Heals and the various X-Items as well.

                                    Just wondering.

                                    The opposing trainer will use stat-raising items as well items which heal their Pokemon's status, but as has been mentioned, they will not use items which revive Pokemon. This is because they only focus their attention on the Pokemon which is on the field, rather than also taking into account the conditions present in the rest of their party.

                                    __________________

                                      #20821    
                                    Old March 21st, 2012 (10:51 PM).
                                    halcyonic halcyonic is offline
                                    • Crystal Tier
                                     
                                    Join Date: Mar 2012
                                    Nature: Relaxed
                                    Posts: 1,477

                                    To hacks0rus,

                                    Firstly, thnx for the tutorials. Second, I need an Emerald title screen hacking tutorial (sorry if that sounded rude) & lastly, I meant like......if I insert Darkrai & I want to create an event for Darkrai like Rayquaza & the others at Sootopolis City, how do I?

                                    Thnx again.

                                      #20822    
                                    Old March 22nd, 2012 (3:28 AM).
                                    MrElephant's Avatar
                                    MrElephant MrElephant is offline
                                    Pokemon Researcher
                                       
                                      Join Date: Oct 2011
                                      Location: United States
                                      Gender: Male
                                      Nature: Serious
                                      Posts: 77

                                      I have a question. I want to create a double battle just like the one in pokemon emerald with Steven against team magma, except that I want to put it in firered. How would you do this?

                                        #20823    
                                      Old March 22nd, 2012 (7:23 AM).
                                      leogrecchi leogrecchi is offline
                                         
                                        Join Date: Oct 2010
                                        Gender: Male
                                        Posts: 64

                                        I know this might have been asked before (but search function failed me to find so)

                                        I'm working with pokémon Emerald, but I'm adding fakemon. That is, when I try to replace Shedinja, the outcome will always have 1 HP (because it's hard-coded in the game, not just through stats)

                                        Question is: How to disable it, so the fakemon replacing Shedinja actually HAS HP?

                                          #20824    
                                        Old March 22nd, 2012 (7:52 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 Death_Mande View Post
                                          Hello! Thanks for the help, I downloaded ZodiacDaGreat's Item Manager, but it too gave me the error.

                                          Spoiler:

                                          I tried using another Item Editor, apparently it's a "mod" of the original one I was using. The mod was made by Team Snag'em. None of these three editors worked though. I kept receiving the same error but with different numbers. Do you have any idea if there are any other editors that may allow me to fix this problem? Thanks again.

                                          I tested it in Fire Red using A-Trainer. I gave the opponent 3 Revives and 1 Max Revive, but the AI did not use any of them. I stalled the battle for a few minutes and nothing.

                                          Here's the script I was using:

                                          Spoiler:
                                          #dynamic 0x800000

                                          #org @start
                                          trainerbattle 0x0 0x165 0x0 @before @after
                                          msgbox @beaten 0x6
                                          release
                                          end

                                          #org @before
                                          = I just got my first pokémon! Let's\nbattle!

                                          #org @after
                                          = I think I chose the wrong pokémon!

                                          #org @beaten
                                          = I'm going to train hard, you'll\nsee!

                                          The best solution would be to crack open the good old hex editor, and open up a copy of your rom and a rom that actually works, and copy paste the first couple bytes. That should work, but I don't know where the offset for the Item stuff is. If I find it, I'll post it here.

                                          Quote:
                                          Originally Posted by Krika View Post
                                          If I mod a trainer using A-Trainer such that I give them a Revive/Max-Revive/Sacred Ash as one of their four items, will the AI use them? Or will it not work with those kinds of items? Same question for Full Heals and the various X-Items as well.

                                          Just wondering.

                                          I'd like to continue the above post by saying that Full Heals will work, since a few gym leaders have them. I don't know about any of the others, but I don't think X items will work.

                                          __________________



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


                                            #20825    
                                          Old March 22nd, 2012 (9:31 AM).
                                          GoGoShinyDunsparce's Avatar
                                          GoGoShinyDunsparce GoGoShinyDunsparce is offline
                                          And Flounderp too!
                                             
                                            Join Date: Apr 2010
                                            Location: Eastern Europe
                                            Gender: Male
                                            Nature: Lax
                                            Posts: 137

                                            Quote:
                                            Originally Posted by redriders180 View Post
                                            I'd like to continue the above post by saying that Full Heals will work, since a few gym leaders have them. I don't know about any of the others, but I don't think X items will work.

                                            What about the topical gym trainers in the Petalburg Gym? Do they require specific instructions to use their X-items? I think Misty had an x-item in one of the games as well.

                                            My question is, would it be possible to randomise the Elite Four members for rematches? I.e. there would be, say, 8 possible trainers, but four of those would be randomly chosen when the trainer enters the first League room, to be faced before the champion?
                                            Example:
                                            Possible: Bruno, Agatha, Lance, Will, Lorelei, Koga.
                                            First E4 rematch: e.g. Agatha, Will, Bruno, Koga
                                            Second rematch: e.g. Will, Lorelei, Agatha, Lance
                                            And each following rematch would be a random combination of those trainers.
                                            So, would that be possible?

                                            Thanks in advance.
                                            -HF

                                            __________________

                                            Claimed:

                                            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 1:37 AM.