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
  #19626    
Old September 15th, 2011 (6:47 AM).
CureYoshiDarkness's Avatar
CureYoshiDarkness CureYoshiDarkness is offline
CATCH PHRASE!
  • Crystal Tier
 
Join Date: May 2008
Location: Hoenn's Trumpet
Gender: Male
Nature: Gentle
Posts: 1,094
Quote:
Originally Posted by treeckopa View Post
Is it now possible to have the 4th gen class split in Emerald? And in AdvanceMap, there are a lot of weather in the header tab. Which one is for hail? Steady snow causes no effect during battle...
You mean in Diamond, Pearl and Platinum Generation in Emerald? You have to be a little more detailed on that question. Sorry if I'm not helpful on that.

In AdvanceMap, steady snow should be giving you the hailing effect in battle.
(I just tested in on my Emerald rom and it's giving me the hailing effect for multiple "snow" weather styles.)
__________________



Relevant Advertising!

  #19627    
Old September 15th, 2011 (7:46 AM).
ManInTheMask's Avatar
ManInTheMask ManInTheMask is offline
Pro Hacker
     
    Join Date: Aug 2011
    Gender: Male
    Posts: 31
    This is ManInTheMask, and I could use some help from you ROM Hacking experts.

    THE PROBLEM:

    I'm working on a GBA ROM, and one of my scripts may require using a certain song during the battle. For example, in Ruby, Sapphire, and Emerald, you hear a certain theme when you battle Team Aqua/Magma grunts and the boss. This also applies for Gym Battles in any game normally, but in this case, I want to use this for GBA ROMs.

    MY GOAL:

    My goal is to create a battle script using a certain type of track in the game's music collection. I'm counting on you guys to help me out!
      #19628    
    Old September 15th, 2011 (2:28 PM).
    treeckopa treeckopa is offline
       
      Join Date: Dec 2008
      Location: Hong Kong
      Gender:
      Posts: 18
      Quote:
      Originally Posted by Yoshi-san View Post
      You mean in Diamond, Pearl and Platinum Generation in Emerald? You have to be a little more detailed on that question. Sorry if I'm not helpful on that.

      In AdvanceMap, steady snow should be giving you the hailing effect in battle.
      (I just tested in on my Emerald rom and it's giving me the hailing effect for multiple "snow" weather styles.)
      Sorry cause I don't know much English...maybe I should say...
      In Emerald, whether a move is physical or special depends on the type of the move.
      Can I change it so that it depends on the move itself, just like DPPt/HGSS?

      However in my emerald, both steady snowing and three snow flakes give me no effect in battle...
        #19629    
      Old September 16th, 2011 (7:33 AM).
      CureYoshiDarkness's Avatar
      CureYoshiDarkness CureYoshiDarkness is offline
      CATCH PHRASE!
      • Crystal Tier
       
      Join Date: May 2008
      Location: Hoenn's Trumpet
      Gender: Male
      Nature: Gentle
      Posts: 1,094
      Quote:
      Originally Posted by treeckopa View Post
      Sorry cause I don't know much English...maybe I should say...
      In Emerald, whether a move is physical or special depends on the type of the move.
      Can I change it so that it depends on the move itself, just like DPPt/HGSS?

      However in my emerald, both steady snowing and three snow flakes give me no effect in battle...
      I believe there is a tool that can help you with editing the attack move types.
      Again, I believe you can edit the moveset traits with the certain tools.

      I'll have to work with the Emerald weather set again.
      I may have edited mine to allow the hailing effect to start at the beginning of a battle. (Local hex edits.)
      But, I gotta check.
      __________________


        #19630    
      Old September 16th, 2011 (10:32 AM).
      Thrasher24's Avatar
      Thrasher24 Thrasher24 is offline
      ~Legendary Master~
         
        Join Date: Mar 2011
        Location: Outside of Pallet Town, Kanto
        Gender: Male
        Nature: Adamant
        Posts: 55
        How do i activate a hex? i want 2start my emerald hack with the nat dex
          #19631    
        Old September 16th, 2011 (2:37 PM). Edited September 16th, 2011 by treeckopa.
        treeckopa treeckopa is offline
           
          Join Date: Dec 2008
          Location: Hong Kong
          Gender:
          Posts: 18
          Quote:
          Originally Posted by Yoshi-san View Post
          I believe there is a tool that can help you with editing the attack move types.
          Again, I believe you can edit the moveset traits with the certain tools.

          I'll have to work with the Emerald weather set again.
          I may have edited mine to allow the hailing effect to start at the beginning of a battle. (Local hex edits.)
          But, I gotta check.
          It seems that the move editor doesn't allow me to choose whether a move is physical or special...

          Quote:
          Originally Posted by Thrasher24 View Post
          How do i activate a hex? i want 2start my emerald hack with the nat dex
          Are you talking about national pokedex?
          For Emerald, setflag 0x861 can activate your pokedex, while special 0x1F3 can upgrade your pokedex into national pokedex.
            #19632    
          Old September 17th, 2011 (12:28 AM).
          Banjora Marxvile's Avatar
          Banjora Marxvile Banjora Marxvile is offline
          hOI!!!!!! i'm tEMMIE!!
             
            Join Date: May 2008
            Age: 23
            Gender: Male
            Nature: Bashful
            Posts: 3,487
            Quote:
            Originally Posted by treeckopa View Post
            It seems that the move editor doesn't allow me to choose whether a move is physical or special...


            Are you talking about national pokedex?
            For Emerald, setflag 0x861 can activate your pokedex, while special 0x1F3 can upgrade your pokedex into national pokedex.
            That's because it doesn't, they were on about the type, as they misread what you meant.

            As far as I know, there is no actual patch or tool or whatever to change whether a move is physical or special, but there has been a development in the same idea in Firered in the Research and Development area. You could ask in that thread if it was possible to do it for Emerald, and how.
            __________________


            Temmie vibrates intensely.

            awwAwa cute!! (pets u)

            OMG!! humans TOO CUTE (dies)

            can't blame a BARK for tryin'...

            RATED TEM OUTTA TEM.

              #19633    
            Old September 17th, 2011 (10:47 AM).
            Slike's Avatar
            Slike Slike is offline
               
              Join Date: Sep 2011
              Gender: Male
              Posts: 49
              I've been working on a hack called Der Erif, subtitled "Fire Red: Backwards Edition". Naturally, this is a hack of Fire Red in which the path from Viridian to Pewter is blocked and the player must go south of Pallet, in which all of the water has been changed to land, and the map/trainers/scripts are adjusted to create a path that takes the gyms entirely backwards, not including Viridian, which will remain last.

              My problem arises after Blaine is beaten. I do not want the Sevii Islands at that point in the game (as it would be after the first gym) so I deleted the scripts of Bill and his boat in Cinnabar, but once the player exits Cinnabar gym, the script begins for Bill to show up and invite the player to the Sevii Islands. After checking all of the scripts in Cinnabar Island, none of them have any mention of Bill's invitation. On another forum someone told me that this is a "Level script" but when I asked him how to change it he told me to come here because apparently you guys are pretty chill.

              So rambling aside: Where is the script that cues for Bill to invite the player to the Sevii Islands and how do I remove it? It would be much appreciated.
                #19634    
              Old September 17th, 2011 (11:50 AM).
              Missingyep Missingyep is offline
                 
                Join Date: Jul 2010
                Posts: 275
                Quote:
                Originally Posted by Slike View Post
                On another forum someone told me that this is a "Level script" but when I asked him how to change it he told me to come here because apparently you guys are pretty chill.

                So rambling aside: Where is the script that cues for Bill to invite the player to the Sevii Islands and how do I remove it? It would be much appreciated.
                AdvanceMap. Header tab. "Map script" section.

                "Script no." combobox allows you to select a level script to view, if there are more than one. "Open script" will view the selected script in XSE, allowing you to make sure that you don't delete the wrong one.

                Most maps have a script that runs the "setworldmapflag" command and does little else; these are normal, don't delete them. They mark a flightspot as usable if the map has one.

                In your case, it looks like Cinnabar Island's 0th level script contains both the setworldmapflag command and parts of Bill's script... So replace it with a script that only runs setworldmapflag, and then delete all other level scripts.
                  #19635    
                Old September 17th, 2011 (1:13 PM).
                Derriken Derriken is offline
                   
                  Join Date: Jun 2011
                  Gender: Male
                  Posts: 4
                  Im fairly new to scripting, and i was wondering; Is there a way to force an egg to hatch, whether through a special or ASM or some such? If not, is there a way to ramp up the step counter so it hatches sooner?

                  PS. Im using FR.
                  Any help is highly appreciated, thanks!
                    #19636    
                  Old September 17th, 2011 (1:25 PM).
                  xyer xyer is offline
                     
                    Join Date: Sep 2011
                    Gender: Male
                    Posts: 3
                    Heyho, just another newb asking some questions.

                    I was wondering if there is a possibility to check the levels of the pokemons that are in the players party? If someone could show me a way to do this that would be really helpful.

                    Another question is how to use the Pokedollar/Yen/whatever sign in a msgbox?
                      #19637    
                    Old September 17th, 2011 (1:32 PM).
                    Derriken Derriken is offline
                       
                      Join Date: Jun 2011
                      Gender: Male
                      Posts: 4
                      Quote:
                      Originally Posted by xyer View Post
                      Heyho, just another newb asking some questions.

                      I was wondering if there is a possibility to check the levels of the pokemons that are in the players party? If someone could show me a way to do this that would be really helpful.

                      Another question is how to use the Pokedollar/Yen/whatever sign in a msgbox?
                      I dont know about the levels, but to put the currency symbol into a message simply type \hB7.
                        #19638    
                      Old September 18th, 2011 (1:48 AM).
                      pafc11 pafc11 is offline
                         
                        Join Date: Sep 2011
                        Gender: Male
                        Posts: 1
                        My simple question is:
                        How can I edit the evolution conditions for some pokémon? Especially the ones that need to be traded to evolve (Hunter, Kadabra, etc.)
                        I found some hacking tools but they're only for gba roms and I'm working on a Pokémon yellow rom.
                        Thanks in advance.
                          #19639    
                        Old September 18th, 2011 (3:16 AM).
                        Sawakita's Avatar
                        Sawakita Sawakita is offline
                        Not Invented Here
                           
                          Join Date: May 2010
                          Gender: Male
                          Posts: 180
                          Quote:
                          Originally Posted by pafc11 View Post
                          My simple question is:
                          How can I edit the evolution conditions for some pokémon? Especially the ones that need to be traded to evolve (Hunter, Kadabra, etc.)
                          I found some hacking tools but they're only for gba roms and I'm working on a Pokémon yellow rom.
                          Thanks in advance.
                          Read through this thread (read all the replies).
                          __________________



                          | 1st Gen Hacking: Useful Links | A good example of REAL ROM Hacking |
                            #19640    
                          Old September 18th, 2011 (8:01 AM).
                          Thrasher24's Avatar
                          Thrasher24 Thrasher24 is offline
                          ~Legendary Master~
                             
                            Join Date: Mar 2011
                            Location: Outside of Pallet Town, Kanto
                            Gender: Male
                            Nature: Adamant
                            Posts: 55
                            Are you talking about national pokedex?
                            For Emerald, setflag 0x861 can activate your pokedex, while special 0x1F3 can upgrade your pokedex into national pokedex.[/QUOTE]

                            but how do i activate it w/ the hex program. i type in everything ... and thats it im stumped.
                              #19641    
                            Old September 18th, 2011 (8:17 AM). Edited September 18th, 2011 by SupahNinja.
                            SupahNinja's Avatar
                            SupahNinja SupahNinja is offline
                            Scripting Ninja
                               
                              Join Date: Mar 2011
                              Gender: Male
                              Posts: 34
                              Quote:
                              Originally Posted by Thrasher24 View Post
                              Quote:
                              Originally Posted by treeckopa View Post
                              Quote:
                              Originally Posted by Thrasher24 View Post
                              How do i activate a hex? i want 2start my emerald hack with the nat dex
                              Are you talking about national pokedex?
                              For Emerald, setflag 0x861 can activate your pokedex, while special 0x1F3 can upgrade your pokedex into national pokedex.
                              but how do i activate it w/ the hex program. i type in everything ... and thats it im stumped.
                              You need to have a script in your ROM that, when it is activated, uses the commands that make your Pokédex work.
                              As treeckopa said, you should first use the command setflag 0x861 to activate your Regional Pokédex, then after that use special 0x1F3 to turn it into a National Pokédex.
                              If you have AdvanceMap and XSE, you really don't need anything else to edit scripts (AdvanceMap to find the offsets, XSE to edit the script and put it in the ROM).
                              Hex editing won't really help you write this script.
                              If you have no idea how to write scripts, then check out one of these tutorials:
                              http://www.pokecommunity.com/showthread.php?t=164276
                              http://www.pokecommunity.com/showthread.php?t=146174
                              __________________
                              SupahNinja

                              My feelings on
                              ROM hacking:

                              -I like scripting a lot.
                              -Mapping is almost as fun.
                              -Hex editing isn't bad at all.
                              -I do NOT enjoy spriting.
                              -I've been meaning to start learning ASM for a while, but I don't ever seem to have enough time.

                              Favorites:

                              -My favorite color is green.
                              -My favorite type is fire.
                              -My favorite Pokémon are:
                              Growlithe, Charizard, Mew,
                              Giratina, Haxorus, and Aggron.
                              SupahNinja
                                #19642    
                              Old September 18th, 2011 (9:04 AM).
                              EdensElite's Avatar
                              EdensElite EdensElite is offline
                              No0b, but getting there.
                                 
                                Join Date: Jun 2011
                                Location: UK
                                Gender: Male
                                Nature: Bold
                                Posts: 190
                                Hey, I'm a bit of a newbie when it comes to scripting. I have no problems with how to write the script or how to use it or even find space for it. I'm just not sure how much space to allocate? How many bytes (as an average) should I search for for a script.

                                Secondly, my hack features many OWs all with very unique palettes, so the stupid 15 palette or whatever thing is really annoying, anyway to get around this and insert more palettes into the OW Table?
                                __________________

                                ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                  #19643    
                                Old September 18th, 2011 (2:58 PM).
                                Missingyep Missingyep is offline
                                   
                                  Join Date: Jul 2010
                                  Posts: 275
                                  Quote:
                                  Originally Posted by EdensElite View Post
                                  Hey, I'm a bit of a newbie when it comes to scripting. I have no problems with how to write the script or how to use it or even find space for it. I'm just not sure how much space to allocate? How many bytes (as an average) should I search for for a script.
                                  You don't allocate space at all. You use XSE's "#dynamic" preprocessing directive; place it at the top of your script.

                                  Essentially, "#dynamic 0xXXYYZZ" tells XSE to search for free space starting at (and including) the ROM offset 0x08XXYYZZ. Every time you use a "#org @NameOfSomething" statement, XSE will find free space for the associated data.

                                  When you compile the script, a small log window should pop up. At the bottom are two listboxes, showing the offsets that were found and used for each named "#org" statement. You'd copy the offset for whichever "#org" is the start of your script, and that is what you would put into AdvanceMap or some other program.

                                  Quote:
                                  Originally Posted by EdensElite View Post
                                  Secondly, my hack features many OWs all with very unique palettes, so the stupid 15 palette or whatever thing is really annoying, anyway to get around this and insert more palettes into the OW Table?
                                  No. The GBA can only have 32 palettes loaded at a time; 16 for the background (maps, box frames, etc.) and 16 for sprites.
                                    #19644    
                                  Old September 19th, 2011 (6:33 AM).
                                  EdensElite's Avatar
                                  EdensElite EdensElite is offline
                                  No0b, but getting there.
                                     
                                    Join Date: Jun 2011
                                    Location: UK
                                    Gender: Male
                                    Nature: Bold
                                    Posts: 190
                                    Quote:
                                    Originally Posted by DavidJCobb View Post
                                    You don't allocate space at all. You use XSE's "#dynamic" preprocessing directive; place it at the top of your script.

                                    Essentially, "#dynamic 0xXXYYZZ" tells XSE to search for free space starting at (and including) the ROM offset 0x08XXYYZZ. Every time you use a "#org @NameOfSomething" statement, XSE will find free space for the associated data.

                                    When you compile the script, a small log window should pop up. At the bottom are two listboxes, showing the offsets that were found and used for each named "#org" statement. You'd copy the offset for whichever "#org" is the start of your script, and that is what you would put into AdvanceMap or some other program.

                                    No. The GBA can only have 32 palettes loaded at a time; 16 for the background (maps, box frames, etc.) and 16 for sprites.
                                    Thanks. Thats really helpful

                                    I have a problem with OWs. It worked with the first couple of OWS but when I inserted this certain one, when I try and use this particular one, it only show the first frame in-game. All my other ones work though...
                                    __________________

                                    ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                    That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                      #19645    
                                    Old September 19th, 2011 (10:59 AM).
                                    Thrasher24's Avatar
                                    Thrasher24 Thrasher24 is offline
                                    ~Legendary Master~
                                       
                                      Join Date: Mar 2011
                                      Location: Outside of Pallet Town, Kanto
                                      Gender: Male
                                      Nature: Adamant
                                      Posts: 55
                                      Quote:
                                      Originally Posted by SupahNinja View Post
                                      You need to have a script in your ROM that, when it is activated, uses the commands that make your Pokédex work.
                                      As treeckopa said, you should first use the command setflag 0x861 to activate your Regional Pokédex, then after that use special 0x1F3 to turn it into a National Pokédex.
                                      If you have AdvanceMap and XSE, you really don't need anything else to edit scripts (AdvanceMap to find the offsets, XSE to edit the script and put it in the ROM).
                                      Hex editing won't really help you write this script.
                                      If you have no idea how to write scripts, then check out one of these tutorials:
                                      http://www.pokecommunity.com/showthread.php?t=164276
                                      http://www.pokecommunity.com/showthread.php?t=146174

                                      DUDE! Thnx man, it took me a while to figure out how to put it in2 the game but i got it. thnx a BUNCH!!!
                                        #19646    
                                      Old September 19th, 2011 (4:09 PM).
                                      Derriken Derriken is offline
                                         
                                        Join Date: Jun 2011
                                        Gender: Male
                                        Posts: 4
                                        Okay, so ive been searching around for a way to force an egg to hatch through an XSE script, and ive come across Special 0x0C2. This special is supposed to hatch an egg, but whenever i test it, another egg hatches out of it. Any tips on what im doing wrong or how to use the special right?
                                          #19647    
                                        Old September 20th, 2011 (11:45 AM).
                                        EdensElite's Avatar
                                        EdensElite EdensElite is offline
                                        No0b, but getting there.
                                           
                                          Join Date: Jun 2011
                                          Location: UK
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 190
                                          Quote:
                                          Originally Posted by EdensElite View Post
                                          Thanks. Thats really helpful

                                          I have a problem with OWs. It worked with the first couple of OWS but when I inserted this certain one, when I try and use this particular one, it only show the first frame in-game. All my other ones work though...

                                          Note to people: Fire Red BPRE, NSE Palette 13 is dodgy. I tried a different palette and it worked perfectly.
                                          __________________

                                          ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                          That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                            #19648    
                                          Old September 21st, 2011 (8:10 AM).
                                          EdensElite's Avatar
                                          EdensElite EdensElite is offline
                                          No0b, but getting there.
                                             
                                            Join Date: Jun 2011
                                            Location: UK
                                            Gender: Male
                                            Nature: Bold
                                            Posts: 190
                                            Ok picture this: There are a bunch of OWs in game, These are starter pokemon. When I click on them I want there to be a message and a pokepic of them and then ask me if I want them. When I accept one of them, I want a flag to activate that will stop asking if I want them but keep the OW and the message and pokepic there. btw Can script at all. Help please.
                                            __________________

                                            ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                            That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                              #19649    
                                            Old September 21st, 2011 (8:39 AM).
                                            Missingyep Missingyep is offline
                                               
                                              Join Date: Jul 2010
                                              Posts: 275
                                              Quote:
                                              Originally Posted by EdensElite View Post
                                              Ok picture this: There are a bunch of OWs in game, These are starter pokemon. When I click on them I want there to be a message and a pokepic of them and then ask me if I want them. When I accept one of them, I want a flag to activate that will stop asking if I want them but keep the OW and the message and pokepic there. btw Can script at all. Help please.
                                              Use checkflag before asking to accept one, and end the script if the flag is set. After accepting one, setflag.

                                              Code:
                                              ...
                                              checkflag 0x123 // random flag, make sure you pick a safe one
                                              if 0x1 goto @end
                                              msgbox @sAskPlayer 0x05
                                              compare LASTRESULT 0x0
                                              if 0x1 goto @end
                                              goto @giveStarter
                                              
                                              #org @giveStarter
                                              // code to give the starter
                                              
                                              #org @end
                                              releaseall
                                              end
                                              
                                              #org @sAskPlayer
                                              = Do you want this Pokemon?
                                                #19650    
                                              Old September 21st, 2011 (9:36 AM).
                                              xyer xyer is offline
                                                 
                                                Join Date: Sep 2011
                                                Gender: Male
                                                Posts: 3
                                                Quote:
                                                Originally Posted by xyer View Post
                                                Heyho, just another newb asking some questions.

                                                I was wondering if there is a possibility to check the levels of the pokemons that are in the players party? If someone could show me a way to do this that would be really helpful.

                                                Another question is how to use the Pokedollar/Yen/whatever sign in a msgbox?
                                                Second question got answered (ty for that), but I still got no idea how to check the levels. Any help would be highly appreciated.
                                                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 12:48 AM.