The PokéCommunity Forums Fan Games ROM Hacking
[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

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
  #25876    
Old July 17th, 2013 (7:49 PM).
Cold Ivory's Avatar
Cold Ivory Cold Ivory is offline
     
    Join Date: Mar 2011
    Gender: Male
    Nature: Mild
    Posts: 30
    Quote:
    Originally Posted by karatekid552 View Post
    Most scripting commands can load vars or static numbers. This is because vars cannot be less than 4000, so any number below is assumed to be a static value, and any number above is assumed to be a var. (I have actually looked at the coding for a lot of commands and can say that this is fairly accurate.) When loading a var, it will simply take the value contained in said var and use that.

    The reason I think the game skipped right to ending words id because you have already battled trainer number 1, most likely, so it treated it as such. Before the trainer battle, add this line:

    settrainerflag 0x1

    This will enable trainer #1 to battle. Tell me if this fixes it.
    I had actually already thought of that issue, and set 0x800B to a trainer flag I knew I hadn't battled yet, such as a gym leader or E4.
    I tried adding in settrainerflag x0110 (Leader Juan) to scripts, but this didn't seem to do it - the script still passed over the trainerbattle.

    Relevant Advertising!

      #25877    
    Old July 18th, 2013 (3:20 AM).
    miggy93 miggy93 is offline
       
      Join Date: Aug 2009
      Posts: 10
      I'm trying to change the text that Prof. Birch says when you start a new game. So I downloaded Advance-Text from wahackpokemon. The problem is when I open the program, nothing happens. I've already tried it dozens of times.

      My question is: Is there any way to change what the professor says in the intro?
        #25878    
      Old July 18th, 2013 (7:14 AM). Edited July 18th, 2013 by karatekid552.
      karatekid552's Avatar
      karatekid552 karatekid552 is offline
      What happens if I push it?....
         
        Join Date: Nov 2012
        Location: Do you really want to know? Really?
        Gender: Male
        Nature: Bold
        Posts: 1,766
        Quote:
        Originally Posted by gogojjtech View Post
        Oh KK552, You know I will do anything for these hacks.
        Where is that special values table?
        Do you honestly think I have tried to add new berries? Half of them are useless already.:p

        Quote:
        Originally Posted by miggy93 View Post
        I'm trying to change the text that Prof. Birch says when you start a new game. So I downloaded Advance-Text from wahackpokemon. The problem is when I open the program, nothing happens. I've already tried it dozens of times.

        My question is: Is there any way to change what the professor says in the intro?
        I had this issue too at first, but I can't remember how I solved it. Make sure you have the latest .net framework installed, at least v4.0.

        Quote:
        Originally Posted by Cold Ivory View Post
        I had actually already thought of that issue, and set 0x800B to a trainer flag I knew I hadn't battled yet, such as a gym leader or E4.
        I tried adding in settrainerflag x0110 (Leader Juan) to scripts, but this didn't seem to do it - the script still passed over the trainerbattle.
        I'm going to go look at the coding for the trainerbattle command and see if it accepts vars. it may not.

        Edit: I looked over the command and at no point does it call the var_access routine. This means that it doesn't have the option to load vars. Sorry bro.
        __________________

        Paired with Simba
          #25879    
        Old July 19th, 2013 (2:26 PM).
        Kurapika's Avatar
        Kurapika Kurapika is offline
        Grudgebearer
           
          Join Date: Feb 2013
          Location: Lavendar Town - Morocco
          Gender: Male
          Nature: Naughty
          Posts: 414
          Is there any tool that decompiles ASM from Hex? I really tried searching for something with no avail.
          __________________
            #25880    
          Old July 19th, 2013 (2:54 PM).
          karatekid552's Avatar
          karatekid552 karatekid552 is offline
          What happens if I push it?....
             
            Join Date: Nov 2012
            Location: Do you really want to know? Really?
            Gender: Male
            Nature: Bold
            Posts: 1,766
            Quote:
            Originally Posted by Kurapika View Post
            Is there any tool that decompiles ASM from Hex? I really tried searching for something with no avail.
            PKSV can do it. VBA can do it (tools-> Disassembler). NO$GBA debugger can do it, and finally, IDA Pro can. The latter options are paid for a legal copy, but worth it.
            __________________

            Paired with Simba
              #25881    
            Old July 19th, 2013 (2:55 PM).
            GoGoJJTech's Avatar
            GoGoJJTech GoGoJJTech is offline
            (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
             
            Join Date: Nov 2012
            Location: Earth
            Age: 19
            Gender: Female
            Nature: Jolly
            Posts: 2,477
            Try pokehex hex editor. By deltasalamence
            __________________
            I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
            The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
            Romhack.me Profile - Pokecommunity Profile - Youtube Channel

            Support me at my site!
            Pokémon Platinum Red and Blue
              #25882    
            Old July 19th, 2013 (3:03 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
              Does anybody know where I can get all of the 4th gen Pokemon icons from? You know, the pictures that come up when you look at who is in your party, like this one:
              Spoiler:
              __________________
                #25883    
              Old July 19th, 2013 (3:06 PM). Edited July 19th, 2013 by reshilegend.
              reshilegend's Avatar
              reshilegend reshilegend is offline
              Focus.
                 
                Join Date: Jun 2013
                Location: Probably not the same place as you
                Gender: Male
                Nature: Calm
                Posts: 264
                Quote:
                Originally Posted by CrystalStatic View Post
                Does anybody know where I can get all of the 4th gen Pokemon icons from? You know, the pictures that come up when you look at who is in your party, like this one:
                Spoiler:
                Here:
                http://www.pokemonelite2000.com/dpicons.html
                But seriously, Google is your friend. ;)
                You can create the second frames by moving the sprite down by 1 or 2 pixels in MS paint. After that combine the two frames just like your Charmeleon sprite and you should be able to insert them using the Advanced Pokemon Icon Editor.
                __________________

                  #25884    
                Old July 19th, 2013 (4:33 PM).
                GoGoJJTech's Avatar
                GoGoJJTech GoGoJJTech is offline
                (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                 
                Join Date: Nov 2012
                Location: Earth
                Age: 19
                Gender: Female
                Nature: Jolly
                Posts: 2,477
                Mine contain the real second frames, not just moved down.
                http://db.tt/UyzYQTkZ
                __________________
                I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
                The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
                Romhack.me Profile - Pokecommunity Profile - Youtube Channel

                Support me at my site!
                Pokémon Platinum Red and Blue
                  #25885    
                Old July 19th, 2013 (8:04 PM).
                YogiBerra YogiBerra is offline
                   
                  Join Date: Oct 2010
                  Gender: Male
                  Posts: 48
                  Quote:
                  Originally Posted by Viva Spirit View Post
                  Okay, so my question isn't about scripting or coding or anything technical. It pertains to patching, how does one patch a ROM with a hack of said ROM, say I wanted to pay Pokemon ultra violet, and need to patch it onto FireRed or something..normally this would be no problem on a computer BUT here is the thing,I don't have a computer. I use my phone and the app I use to play gba roms is the My Boy Free Android app. I REALLY want to play the aforementioned game (U.V.) But I can't find it a a straight up ROM, only an ips. This isn't the only game I want to pay thete are many more but, continue to have this heart breaking Problem.. HELP please?
                  There is an android app called Unipatcher that can help you with that. It can also probably be downloaded on a device running BB10. I haven't heard of any app on Apple's App Store that will allow you to apply patches but unless you're using an iPhone or an old Blackberry you should be good.
                    #25886    
                  Old July 19th, 2013 (8:10 PM).
                  SpadeEdge16's Avatar
                  SpadeEdge16 SpadeEdge16 is offline
                     
                    Join Date: May 2012
                    Gender: Male
                    Posts: 154
                    Does anyone know how to make tiles that animate only when the player walks through them?
                    Also what was the number of sprites you can have on one map until they pretty much dont apply their scripts? Wasnt it like 15 or something?
                    __________________
                      #25887    
                    Old July 19th, 2013 (10:26 PM).
                    NaughtyBeaver's Avatar
                    NaughtyBeaver NaughtyBeaver is offline
                    Pokemon Master
                       
                      Join Date: Jul 2013
                      Location: VA
                      Age: 17
                      Gender: Male
                      Nature: Adamant
                      Posts: 16
                      Does anyone know how to get the colors correct with an emerald ROM while using unLZ-GBA. I personally do not think that this is possible.

                      What I mean by "correct colors" is to have the pokemon/other sprites in the correct color pallet. In Ruby ROM's all the pokemon look normal and not a pixel out of place. And when I load emerald into unLZ-GBA, the pokemon are in black and white and some even split in half. And everything else is just random colored pixels that resemble the sprites. Please help anyone?
                      __________________
                      GG
                        #25888    
                      Old July 19th, 2013 (10:48 PM). Edited July 19th, 2013 by Wobbu.
                      Wobbu's Avatar
                      Wobbu Wobbu is offline
                      Drag a needle on the good today
                         
                        Join Date: Mar 2012
                        Location: Stardew Valley
                        Gender: Male
                        Nature: Relaxed
                        Posts: 2,797
                        Quote:
                        Originally Posted by NaughtyBeaver View Post
                        Does anyone know how to get the colors correct with an emerald ROM while using unLZ-GBA. I personally do not think that this is possible.

                        What I mean by "correct colors" is to have the pokemon/other sprites in the correct color pallet. In Ruby ROM's all the pokemon look normal and not a pixel out of place. And when I load emerald into unLZ-GBA, the pokemon are in black and white and some even split in half. And everything else is just random colored pixels that resemble the sprites. Please help anyone?
                        I think Emerald sprites start at 1037, so make sure that's where you're looking. Also, your Emerald ROM may be corrupted, as in you either obtained a bad copy of the ROM or you accidentally changed the bytes of the images. Try using a clean, unedited ROM in unLZ-GBA.


                        Quote:
                        Originally Posted by SpadeEdge16 View Post
                        Does anyone know how to make tiles that animate only when the player walks through them?
                        Also what was the number of sprites you can have on one map until they pretty much dont apply their scripts? Wasnt it like 15 or something?
                        Yes, you can have a max of 15 active person events simultaneously.
                        Unfortunately I know very little about animating tiles D:
                        But I know that other members here know a lot about animating tiles, so I'm sure you'll get help soon.
                        __________________

                        My Favorite Song
                          #25889    
                        Old July 19th, 2013 (11:26 PM).
                        karatekid552's Avatar
                        karatekid552 karatekid552 is offline
                        What happens if I push it?....
                           
                          Join Date: Nov 2012
                          Location: Do you really want to know? Really?
                          Gender: Male
                          Nature: Bold
                          Posts: 1,766
                          Quote:
                          Originally Posted by jsziede View Post
                          I think Emerald sprites start at 1037, so make sure that's where you're looking. Also, your Emerald ROM may be corrupted, as in you either obtained a bad copy of the ROM or you accidentally changed the bytes of the images. Try using a clean, unedited ROM in unLZ-GBA.

                          No he didn't. He is seeing the shiny palettes. Use Wichu's Advance Sprite Editors to change pokemon sprites. They are 10X easier.
                          __________________

                          Paired with Simba
                            #25890    
                          Old July 19th, 2013 (11:46 PM).
                          Wobbu's Avatar
                          Wobbu Wobbu is offline
                          Drag a needle on the good today
                             
                            Join Date: Mar 2012
                            Location: Stardew Valley
                            Gender: Male
                            Nature: Relaxed
                            Posts: 2,797
                            Quote:
                            Originally Posted by karatekid552 View Post
                            No he didn't. He is seeing the shiny palettes. Use Wichu's Advance Sprite Editors to change pokemon sprites. They are 10X easier.
                            Wait, now I'm confused... All sprites appear fine when I use unLZ, whether they are front, back, regular, or shiny. Even the 'Gastrodon' sprites lol. Maybe I misunderstood something?
                            __________________

                            My Favorite Song
                              #25891    
                            Old July 20th, 2013 (6:54 AM).
                            karatekid552's Avatar
                            karatekid552 karatekid552 is offline
                            What happens if I push it?....
                               
                              Join Date: Nov 2012
                              Location: Do you really want to know? Really?
                              Gender: Male
                              Nature: Bold
                              Posts: 1,766
                              Quote:
                              Originally Posted by jsziede View Post
                              Wait, now I'm confused... All sprites appear fine when I use unLZ, whether they are front, back, regular, or shiny. Even the 'Gastrodon' sprites lol. Maybe I misunderstood something?
                              Unlz can be weird. It was like 3am when I posted that, and all I saw was funny colors.:P This is usually people just seeing the shinies and not knowing what to do. But either way, he should open up the rom in Wichu's Sprite Editor. It is pointless to even look at pokemon sprites in unlz when we have that tool.
                              __________________

                              Paired with Simba
                                #25892    
                              Old July 20th, 2013 (7:29 AM).
                              SpadeEdge16's Avatar
                              SpadeEdge16 SpadeEdge16 is offline
                                 
                                Join Date: May 2012
                                Gender: Male
                                Posts: 154
                                Quote:
                                Yes, you can have a max of 15 active person events simultaneously.
                                Unfortunately I know very little about animating tiles D:
                                But I know that other members here know a lot about animating tiles, so I'm sure you'll get help soon.
                                Dang, so does that mean 15 person events with scripts? for example, if i wanted more than 15, could i put more but not give them any kind of script? or if i repeat the same script on multiple people, does it count as one space or anything? Im just trying to clear up all of the details.
                                And yeah, if anyone knows how to animate tiles when theyre moved through by the player, that would be awesome.
                                  #25893    
                                Old July 20th, 2013 (8:27 AM).
                                karatekid552's Avatar
                                karatekid552 karatekid552 is offline
                                What happens if I push it?....
                                   
                                  Join Date: Nov 2012
                                  Location: Do you really want to know? Really?
                                  Gender: Male
                                  Nature: Bold
                                  Posts: 1,766
                                  Quote:
                                  Originally Posted by SpadeEdge16 View Post
                                  Dang, so does that mean 15 person events with scripts? for example, if i wanted more than 15, could i put more but not give them any kind of script? or if i repeat the same script on multiple people, does it count as one space or anything? Im just trying to clear up all of the details.
                                  And yeah, if anyone knows how to animate tiles when theyre moved through by the player, that would be awesome.
                                  I can animate tiles pretty well, but the issue is when the player steps on them. The only thing I can think of is stealing the broken long grass and fixing it. Hmmmm

                                  15 NPCs. That is your max, on screen and just offscreen at once. You can add more sprites than this using the createsprite command, however, these sprites are almost useless. You can walk through them, you can't applymovement to them, and you can't attach a script to them. The only thing you can do is give them a specific behavior, like running in place. The only use I think of for them is hacking the routine to make them follow you around.:p
                                  __________________

                                  Paired with Simba
                                    #25894    
                                  Old July 20th, 2013 (1:41 PM). Edited July 20th, 2013 by Superjub.
                                  Superjub's Avatar
                                  Superjub Superjub is offline
                                  Pokémon Aureolin
                                   
                                  Join Date: Sep 2007
                                  Location: Hoenn
                                  Age: 22
                                  Gender: Male
                                  Nature: Timid
                                  Posts: 2,289
                                  Hi, I seem to be experiencing a small graphical glitch. Nothing major, it's just that my sprite appears pink until I use an attack. Does anyone have any idea why this might be? :3 The sprites that it's happening with so far are custom sprites. I took some screenshots too if that helps (spoilered due to large size.)

                                  Edit: Other info- the sprite starts pink at the start of EVERY battle, and opening menus (bag, Pokemon etc.) also removes it temporarily.
                                  Edit 2: Just did some more testing- seems to be that only the backsprite has this glitch- the front sprites seem to be working fine.
                                  Edit 3: Hmmm, this seems to affect all backsprites. o.o

                                  Spoiler:

                                  __________________
                                    #25895    
                                  Old July 20th, 2013 (7:18 PM).
                                  Vicktor Black's Avatar
                                  Vicktor Black Vicktor Black is offline
                                  Blaziken
                                     
                                    Join Date: Mar 2012
                                    Location: Someplace
                                    Gender: Male
                                    Nature: Relaxed
                                    Posts: 48
                                    How do I find certain palettes/offsets in advanced palette editor like for example the palette/offset of the world map?
                                    __________________

                                    Always keep an open mind!
                                      #25896    
                                    Old July 20th, 2013 (8:02 PM).
                                    karatekid552's Avatar
                                    karatekid552 karatekid552 is offline
                                    What happens if I push it?....
                                       
                                      Join Date: Nov 2012
                                      Location: Do you really want to know? Really?
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 1,766
                                      Quote:
                                      Originally Posted by Vicktor Black View Post
                                      How do I find certain palettes/offsets in advanced palette editor like for example the palette/offset of the world map?
                                      Open up the image in VBA. Go "Tools" -> "Palette Viewer" and find the palette you are looking for. Save the palette map as a Paint Shop palette. Now, switch APE to searching mode with the button and click the button that becomes accessible after doing so. (It is in the Actual Palette section, the palette with the blue arrow pointing left on it.) Select the saved palette. Now, using the arrows, navigate through the indexes until you find the palette you think is the one for the image. Then click search. Remember to switch between Lz and Uncompressed if can't find it. If you can't find it at all, then this will be a little bit more difficult.
                                      __________________

                                      Paired with Simba
                                        #25897    
                                      Old July 21st, 2013 (2:48 AM).
                                      akihiko123's Avatar
                                      akihiko123 akihiko123 is offline
                                         
                                        Join Date: May 2013
                                        Location: Philippines
                                        Gender: Male
                                        Nature: Quiet
                                        Posts: 57
                                        Quote:
                                        Originally Posted by karatekid552 View Post
                                        Nope, XSE does that for you.

                                        Spoiler:
                                        #dynamic 0x800000

                                        #org @start
                                        trainerbattle 0x3 0x[trainer's number in hex] 0x0 @Freespace
                                        msgbox @beaten 0x6
                                        release
                                        end

                                        #org @before
                                        = Sun Team, GO!


                                        #org @freespace
                                        = Nooo!

                                        #org @beaten
                                        = My Sunny Team can help me in Cooking
                                        Thanks ^^
                                        Another question, how to change the TM that the gym leader will give it to you?
                                        __________________
                                        Future ! Future ! I Can read your future !
                                        I am Psychic-Type Specialist named Seishin !
                                        I've been with my Pokemons for a very long time !
                                        So if you want to battle? There's NO WAY i'm gonna lose !

                                        So, give me what you got!

                                        Like my page on Facebook : LINK
                                          #25898    
                                        Old July 21st, 2013 (9:00 AM).
                                        karatekid552's Avatar
                                        karatekid552 karatekid552 is offline
                                        What happens if I push it?....
                                           
                                          Join Date: Nov 2012
                                          Location: Do you really want to know? Really?
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 1,766
                                          Quote:
                                          Originally Posted by akihiko123 View Post
                                          Thanks ^^
                                          Another question, how to change the TM that the gym leader will give it to you?
                                          Somewhere in their script, there will be a giveitem item command. Just change the item number to a different one.
                                          __________________

                                          Paired with Simba
                                            #25899    
                                          Old July 21st, 2013 (1:55 PM).
                                          YogiBerra YogiBerra is offline
                                             
                                            Join Date: Oct 2010
                                            Gender: Male
                                            Posts: 48
                                            How would I go about adding dex entries for the 25 ??????? Pokémon?
                                              #25900    
                                            Old July 21st, 2013 (2:15 PM). Edited July 21st, 2013 by pokefreake.
                                            pokefreake's Avatar
                                            pokefreake pokefreake is offline
                                               
                                              Join Date: Nov 2012
                                              Gender: Male
                                              Posts: 69
                                              I figured it out what I did wrong.
                                              Closed Thread

                                              Quick Reply

                                              Join the conversation!

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

                                              Create a PokéCommunity Account

                                              Sponsored Links
                                              Thread Tools

                                              Posting Rules
                                              You may not post new threads
                                              You may not post replies
                                              You may not post attachments
                                              You may not edit your posts

                                              BB code is On
                                              Smilies are On
                                              [IMG] code is On
                                              HTML code is Off

                                              Forum Jump


                                              All times are GMT -8. The time now is 9:06 PM.