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

TrollandToad.com
Closed Thread
 
Thread Tools
  #21201    
Old May 6th, 2012 (2:33 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 Mallowigi View Post
    Ok, to sum it up, given a list of used flags, I put one of these in my script, let's say Person 1 on VIRIDIAN, who gives me the ItemSeeker on the first dialogue.

    setflag 0x2C

    Then, when I talk to that guy again, he doesnt offer me the item because the checkflag prevent so.

    BUT, what if that flag is already used in another script not related to the map, say, PEWTER? this setflag would fudge it up isn't it?

    This is why i'm confused.

    Also, another question: Let's say I compile a script a hundred times. The space is used every time I compile it, therefore the memory available is decreasing little by little. Is it okay, or should I do a backup before scripting, debug, and then apply the debugged script to the backup?

    Also, I got a problem with a warp:
    warp 0x4 0x3 0x2 0x6 0xC
    waitstate
    which is supposed to make me warp to OAK's lab, but the game freeze at that point.

    Sknaht

    EDIT: Never mind the two last questions, for the space, just use #removeall lOffset before the script, and for the second one, just a dumb FE missing (reminds me of the first days in programming when we use to look for the ; missing XD)
    What I do is I write down all the flags I've used in a notepad file. Then, when I'm writing new scripts, I know which not to use. I use a Rom Base that already had all events removed, and it's sometimes a good idea to do that, since you have control over every flag. If you're too far into it, though, then you'll just have to check every script to look for conflicting flags, especially if you aren't editing them all.
    __________________


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



    Relevant Advertising!

      #21202    
    Old May 6th, 2012 (2:34 PM).
    Spherical Ice's Avatar
    Spherical Ice Spherical Ice is online now
    • Crystal Tier
     
    Join Date: Nov 2007
    Location: Bristol, UK
    Age: 19
    Posts: 5,226
    How would one edit the script that's executed upon activation of special 0x108 (Kanto 'dex Diploma) in FireRed? This script plays a fanfare, but I would like to know the location if possible.
    __________________

    A Pokemon that is discriminated!
    Support squirtle and make it everyone's favourite.
      #21203    
    Old May 6th, 2012 (2:46 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 CCCPancakes View Post
      I'm using 1.9.5. I just tried it with 1.9.2., still didn't work. Also, both warps are there. Oddly enough, this is the only warp that does this.
      I bet it has something to do with events or maps in the Rivals room itself. Try putting in two completely different warps, that leads to the rivals room. If they do the same thing, it's something with the Rivals room.

      Quote:
      Originally Posted by Spherical Ice View Post
      How would one edit the script that's executed upon activation of special 0x108 (Kanto 'dex Diploma) in FireRed? This script plays a fanfare, but I would like to know the location if possible.
      I don't think it's a script, but probably some simple ASM. The special table starts at 0x0815FD60, and it's a list of pointers to specials. Just go down to the right pointer, and that'll give you the ASM you need.
      __________________


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


        #21204    
      Old May 6th, 2012 (2:56 PM).
      CCCPancakes's Avatar
      CCCPancakes CCCPancakes is offline
         
        Join Date: Apr 2012
        Age: 21
        Gender: Male
        Posts: 19
        Quote:
        Originally Posted by redriders180 View Post
        I bet it has something to do with events or maps in the Rivals room itself. Try putting in two completely different warps, that leads to the rivals room. If they do the same thing, it's something with the Rivals room.
        Thank you. Apparently there was some sprite that was hidden causing the game to crash.
        __________________
          #21205    
        Old May 6th, 2012 (3:08 PM).
        Spherical Ice's Avatar
        Spherical Ice Spherical Ice is online now
        • Crystal Tier
         
        Join Date: Nov 2007
        Location: Bristol, UK
        Age: 19
        Posts: 5,226
        Thanks, redriders. Does anyone know the hex number for the fanfare that plays when you receive a badge?

        It can be activated in text via the code: "\c\h06Á" but I'd like to activate it through the fanfare command.
        __________________

        A Pokemon that is discriminated!
        Support squirtle and make it everyone's favourite.
          #21206    
        Old May 6th, 2012 (4:15 PM).
        CCCPancakes's Avatar
        CCCPancakes CCCPancakes is offline
           
          Join Date: Apr 2012
          Age: 21
          Gender: Male
          Posts: 19
          Quote:
          Originally Posted by Spherical Ice View Post
          Thanks, redriders. Does anyone know the hex number for the fanfare that plays when you receive a badge?

          It can be activated in text via the code: "\c\h06Á" but I'd like to activate it through the fanfare command.
          I believe its this:
          fanfare 0x13E
          __________________
            #21207    
          Old May 6th, 2012 (4:18 PM).
          Spherical Ice's Avatar
          Spherical Ice Spherical Ice is online now
          • Crystal Tier
           
          Join Date: Nov 2007
          Location: Bristol, UK
          Age: 19
          Posts: 5,226
          Nope, that's a separate fanfare I'm afraid D:
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
            #21208    
          Old May 7th, 2012 (1:37 PM).
          Tman's Avatar
          Tman Tman is offline
             
            Join Date: Jan 2012
            Gender: Male
            Posts: 144
            I just downloaded and patched Fire Red to the Frozen Rom Base by Neti, Thrace, and Fangking Omega and I can't find the snow tiles for anything. Does anyone know where to find them? Or they in a random tileset I cant find. Thanks for any help.
              #21209    
            Old May 7th, 2012 (1:57 PM). Edited May 7th, 2012 by FrenziedChaos.
            FrenziedChaos's Avatar
            FrenziedChaos FrenziedChaos is offline
            Like a hyena.
               
              Join Date: Jun 2011
              Age: 23
              Gender: Male
              Nature: Adamant
              Posts: 5
              Does anybody know how to delete scripts, as in turn them into free space?

              Or, does anyone know where the default scripts are located in Emerald so I can overwrite them with free space?
                #21210    
              Old May 7th, 2012 (3:08 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 FrenziedChaos View Post
                Does anybody know how to delete scripts, as in turn them into free space?

                Or, does anyone know where the default scripts are located in Emerald so I can overwrite them with free space?
                Open up XSE, and compile a "script" (it isn't really a script, it's basically telling XSE to do something) and write either of the following:

                #erase [Starting Offset] [Range] or #eraserange [Starting Offset] [Ending Offset]. Use the first if you want to erase X number of bytes, starting at an offset. Use the second if you want to erase all bytes from one offset to another.

                Edit: #dynamic 0x800000 and #org aren't required. Just write #erase or #eraserange, the two parameters, and hit compile.
                __________________


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


                  #21211    
                Old May 7th, 2012 (10:03 PM).
                miksy91's Avatar
                miksy91 miksy91 is offline
                Dark Energy is back in action! ;)
                   
                  Join Date: Oct 2008
                  Location: A small country in the North
                  Gender: Male
                  Nature: Relaxed
                  Posts: 1,438
                  Quote:
                  Originally Posted by Spherical Ice View Post
                  Thanks, redriders. Does anyone know the hex number for the fanfare that plays when you receive a badge?

                  It can be activated in text via the code: "\c\h06Á" but I'd like to activate it through the fanfare command.
                  Search for the text code in a hex editor and locate the pointer to it.
                  That pointer is likely a normal "message script" command and you ought to find a command for playing the fanfare close to it.

                  *Sometimes script commands are looked from other script commands, not always ASM
                  __________________
                  My Rom Hack



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

                  Learn how to hack GB/C games:

                  Check my GameBoy/Color hacking videos in Youtube
                  -The video set uses Pokemon Silver (U) rom for demonstrations
                    #21212    
                  Old May 8th, 2012 (8:31 AM).
                  GoogleAndroid GoogleAndroid is offline
                     
                    Join Date: May 2012
                    Gender: Male
                    Posts: 1
                    Is there a hack of Pokemon Black for any GBA Pokémon game? I can't play a DS emulator all too well and don't really have money to buy a DS, cheap as it is.
                      #21213    
                    Old May 8th, 2012 (8:51 AM).
                    Spherical Ice's Avatar
                    Spherical Ice Spherical Ice is online now
                    • Crystal Tier
                     
                    Join Date: Nov 2007
                    Location: Bristol, UK
                    Age: 19
                    Posts: 5,226
                    Quote:
                    Originally Posted by miksy91 View Post
                    Search for the text code in a hex editor and locate the pointer to it.
                    That pointer is likely a normal "message script" command and you ought to find a command for playing the fanfare close to it.

                    *Sometimes script commands are looked from other script commands, not always ASM
                    I tried that, but the ROM didn't point to the message in the conventional sense of the offset reversed + 08. :/
                    __________________

                    A Pokemon that is discriminated!
                    Support squirtle and make it everyone's favourite.
                      #21214    
                    Old May 8th, 2012 (8:58 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 GoogleAndroid View Post
                      Is there a hack of Pokemon Black for any GBA Pokémon game? I can't play a DS emulator all too well and don't really have money to buy a DS, cheap as it is.
                      Do you mean a hack that is exactly the same as Pokemon Black, but for the GBA, or a demake? No to the first, and I think at least a few people are working on doing the second.
                      __________________


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


                        #21215    
                      Old May 8th, 2012 (11:03 AM).
                      BlazeFinneganIII's Avatar
                      BlazeFinneganIII BlazeFinneganIII is offline
                      OG Trainer
                         
                        Join Date: Apr 2012
                        Location: Bocca Raton
                        Age: 30
                        Gender: Male
                        Nature: Jolly
                        Posts: 9
                        What types of tools are available for hacking DS Pokemon ROMs? I’m new to hacking and would very much like to start creating my own ROM Hack. Ideally I’d like to use the newer generation of Pokemon Games to do this. There appears to be a lot of tools for the 3rd generation or GBA games, but what about the DS games, D/P/PL and B/W? Is there a map editor for the DS versions like advance map is for the GBA games?
                          #21216    
                        Old May 8th, 2012 (11:38 AM). Edited May 8th, 2012 by droomph.
                        droomph's Avatar
                        droomph droomph is offline
                        weeb
                        • Crystal Tier
                         
                        Join Date: Sep 2011
                        Location: nowhere spectacular
                        Age: 20
                        Gender: Male
                        Nature: Impish
                        Posts: 4,291
                        Quote:
                        Originally Posted by BlazeFinneganIII View Post
                        What types of tools are available for hacking DS Pokemon ROMs? I’m new to hacking and would very much like to start creating my own ROM Hack. Ideally I’d like to use the newer generation of Pokemon Games to do this. There appears to be a lot of tools for the 3rd generation or GBA games, but what about the DS games, D/P/PL and B/W? Is there a map editor for the DS versions like advance map is for the GBA games?
                        We can do everything but edit maps (we can move the buildings however) as of now. Unless you really know what you're doing I think you'll have to stick to gen III.

                        But if you still want to, you can check out the two basic tools, Tinke and PPRE. Google them. They're not that hard to use, so I think you can figure stuff out from there.

                        Quote:
                        Originally Posted by GoogleAndroid View Post
                        Is there a hack of Pokemon Black for any GBA Pokémon game? I can't play a DS emulator all too well and don't really have money to buy a DS, cheap as it is.
                        Why would you want to play that on a GBA anyways? The graphics (especially the cutscenes) are vital to the feel of the game and the GBA can't capture that feel. Go save up money, $200 isn't that hard to scrape up (and especially if you're past he legal working age) if you really try.
                        __________________
                        did u no there r 21 letters in the alphabet
                        o i forgot 5
                        uraqt


                          #21217    
                        Old May 8th, 2012 (1:01 PM).
                        BlazeFinneganIII's Avatar
                        BlazeFinneganIII BlazeFinneganIII is offline
                        OG Trainer
                           
                          Join Date: Apr 2012
                          Location: Bocca Raton
                          Age: 30
                          Gender: Male
                          Nature: Jolly
                          Posts: 9
                          Thanks for answering my question droomph. That has been bugging for weeks. I would like to fully edit maps so I will most likely stick with hacking in Gen 3.


                          My next question is then; where can I find some good palettes that resemble the DS Pokemon games for advanced map? Is there a thread or database for palates somewhere? I’ve found a few online but I don’t want to steal anyone’s hard work and would be more than willing to give credit to whoever created them.
                            #21218    
                          Old May 8th, 2012 (1:12 PM).
                          Mana's Avatar
                          Mana Mana is offline
                          • Platinum Tier
                           
                          Join Date: Jan 2009
                          Location: UK
                          Gender: Female
                          Posts: 10,015
                          Quote:
                          Originally Posted by BlazeFinneganIII View Post
                          Thanks for answering my question droomph. That has been bugging for weeks. I would like to fully edit maps so I will most likely stick with hacking in Gen 3.


                          My next question is then; where can I find some good palettes that resemble the DS Pokemon games for advanced map? Is there a thread or database for palates somewhere? I’ve found a few online but I don’t want to steal anyone’s hard work and would be more than willing to give credit to whoever created them.
                          What you could do, fairly easily, is find a screenshot of B/W and put it in a paint-program to work out the RGB values of the colours. Then all you need to do is go into A-Map and change the palette to match B/W.
                            #21219    
                          Old May 8th, 2012 (1:17 PM).
                          BlazeFinneganIII's Avatar
                          BlazeFinneganIII BlazeFinneganIII is offline
                          OG Trainer
                             
                            Join Date: Apr 2012
                            Location: Bocca Raton
                            Age: 30
                            Gender: Male
                            Nature: Jolly
                            Posts: 9
                            So you're basically saying to recolor the palette already available based on the colors from the B/W image, right?
                            I also thought of just grabbing a high res image and cutting out squares to make my own palette. I've never made a palette before however and have no idea if that would work.
                              #21220    
                            Old May 8th, 2012 (1:54 PM).
                            droomph's Avatar
                            droomph droomph is offline
                            weeb
                            • Crystal Tier
                             
                            Join Date: Sep 2011
                            Location: nowhere spectacular
                            Age: 20
                            Gender: Male
                            Nature: Impish
                            Posts: 4,291
                            Quote:
                            Originally Posted by BlazeFinneganIII View Post
                            So you're basically saying to recolor the palette already available based on the colors from the B/W image, right?
                            I also thought of just grabbing a high res image and cutting out squares to make my own palette. I've never made a palette before however and have no idea if that would work.
                            No, the pallet is actually a sequence of twenty or so numbers. The programs just separate them into squares for easy access so you don't have to enter a number every time you want to use that color. What he was saying was to go look at the RGB values of the colors (there's many ways you can do that, not that hard to find out) and translate them into GBA format.

                            If you want to make a pallet there's some very good pallet making tutorials on PC, you could search for them. I suggest HackMew's, go look for that.
                            __________________
                            did u no there r 21 letters in the alphabet
                            o i forgot 5
                            uraqt


                              #21221    
                            Old May 8th, 2012 (2:32 PM).
                            BlazeFinneganIII's Avatar
                            BlazeFinneganIII BlazeFinneganIII is offline
                            OG Trainer
                               
                              Join Date: Apr 2012
                              Location: Bocca Raton
                              Age: 30
                              Gender: Male
                              Nature: Jolly
                              Posts: 9
                              K, sounds like a plan. Thanks for the help.
                              __________________
                                #21222    
                              Old May 8th, 2012 (9:02 PM).
                              ElBlocko ElBlocko is offline
                                 
                                Join Date: May 2012
                                Gender: Male
                                Posts: 1
                                Hello everyone. I'm trying to hack Gen I for my first Pokemon hacking experience, Red specifically. One thing I'm doing is completely revamping most of the moves and changing types, power, accuracy, etc.

                                One thing that's stumping me is how Quick Attack is coded to be a priority move. When I look at the move effect, it's "00", meaning that it does damage and nothing else. However, nothing in the move data indicates that it's a priority move, meaning the priority move routine is stuffed away somewhere else in the code. I've also looked around the RAM map without much success, too. I'd like to change a few moves (specifically Bone Club, Comet Punch, and Mist) to be priority damaging moves.

                                Also, to that effect, what makes SonicBoom and Dragon Rage have set damage? Their effect is "28", which is exactly what Seismic Toss and Night Shade have, only SB and DR are hard-coded for 20 and 40 damage respectively.

                                Any help would be greatly appreciated!
                                  #21223    
                                Old May 9th, 2012 (2:33 PM).
                                droomph's Avatar
                                droomph droomph is offline
                                weeb
                                • Crystal Tier
                                 
                                Join Date: Sep 2011
                                Location: nowhere spectacular
                                Age: 20
                                Gender: Male
                                Nature: Impish
                                Posts: 4,291
                                Where can I find an ASM compiler that isn't command-prompt based?
                                  #21224    
                                Old May 9th, 2012 (4:10 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 droomph View Post
                                  Where can I find an ASM compiler that isn't command-prompt based?
                                  The NO$GBA debugger has an option to replace current ASM, as well as making more, without a command prompt.
                                  __________________


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


                                    #21225    
                                  Old May 9th, 2012 (5:05 PM).
                                  vanillagfx's Avatar
                                  vanillagfx vanillagfx is offline
                                     
                                    Join Date: May 2012
                                    Gender: Male
                                    Posts: 90
                                    Alright so I made a remake of little root. How do I add more sprite people to the map?
                                    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 5:06 AM.