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
  #21901    
Old July 6th, 2012 (12:08 PM).
Ultimate Uchiha's Avatar
Ultimate Uchiha Ultimate Uchiha is offline
Switchin' It Up
  • Gold Tier
 
Join Date: Jun 2012
Location: You Don't Wanna Know...
Age: 24
Gender: Male
Nature: Adamant
Posts: 51
Alright, so I've just inserted my first song with sappy and it works fine and all but does anybody know how to make a specific song play in a specific battle? In Fire Red, Team Rocket doesn't have their own battle theme and I want to find a way around that as well as with the new rivals I plan on entering.
__________________
Card Created by Ultimate Uchiha.
ULTIMATE UCHIHA
A Top Notch Trainer



Relevant Advertising!

  #21902    
Old July 6th, 2012 (12:57 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
    Send a message via AIM to redriders180
    Quote:
    Originally Posted by Ultimate Uchiha View Post
    Alright, so I've just inserted my first song with sappy and it works fine and all but does anybody know how to make a specific song play in a specific battle? In Fire Red, Team Rocket doesn't have their own battle theme and I want to find a way around that as well as with the new rivals I plan on entering.
    It can't be done, yet. Currently, battle music is controlled via ASM, and not a table. Jambo51 is/was working on a routine that made it controlled via a table, but it isn't done yet.

    Quote:
    Originally Posted by Nara567 View Post
    Thanks again, but I'm still somewhat confused, though, it is becoming more clear. I've set the variable, but how would I go about activating the pedometer? The manual says to use flags, but I'm not entirely sure how to go about with doing that. I also don't really know what to do in order to add 0x1 for every step.. The only way I know of is to place a script event on every passable tile in A-map, and I'd rather not do that. ._.

    With the gender scripts, what I want is to have different start maps for the hero/heroine right at the beginning, like in R/S/E. Is there a way to do this without starting the hero in a blank map, then warping them depending on their gender?
    To activate it via flags, all you do is set a flag, just like in a script. JPANs hack engine has a way to make a script run every time you take a step. It's like making a script tile for every step, except without the script tiles you just have to optimize it so one script does the work of several. I'm not at work now, so I can provide an actual script.

    First, you would activate this example script with the following:
    Spoiler:

    #org 0x750000
    setvar 0x4000 0x0
    loadpointer 0x0 0x800000 <--this is the offset of the script that activates -----------------------------when you take a step
    special 0x81 <--this is the special that makes the script loaded with ----------------"loadpointer" activate when you step, and is required
    release
    end

    After assigning that to either a script or an OW, the script located at 0x800000 will run every time a player takes a step. That script might look something like this, for a safari zone-type script:
    Spoiler:

    #org 0x800000
    addvar 0x4000 0x1 <--adds one to the value in variable 0x4000
    compare 0x4000 0x1F4 <--compares the value in 0x4000 to 500
    if 0x4 goto @end <--if 0x4000 is greater than or equal to 0x0, goto @end
    special 0x8F <--stores your current position into vars 0x8004 and 0x8005
    special2 LASTRESULT 0x7F <--this special will see if the tile you are on is a grass or water tile, and stores 0x1 into LASTRESULT if it's a grass tile, or 0x2 into LASTRESULT if it's a water tile.
    compare LASTRESULT 0x1
    if 0x1 goto @grassencounter <--if the tile is a grass tile, make a grass encounter
    compare LASTRESULT 0x2
    if 0x1 goto @waterencounter <--if the tile is a water tile, make a water encounter
    release
    end <-- if neither, end the script

    #org @end
    loadpointer 0x0 0x0
    special 0x81 <--makes it so the script no longer activates when taking a step.
    release
    end

    #org @grassencounter
    special 0x97 <--emulates a possible grass encounter
    release
    end

    #org @waterencounter
    special 0x98 <--emulates a possible water encounter
    release
    end


    If you can't understand the above script, you might want to wait until you have a better knowledge of JPANs hack engine, and scripts in general, before going this complex.
    __________________


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


      #21903    
    Old July 6th, 2012 (1:11 PM).
    Nara567's Avatar
    Nara567 Nara567 is offline
       
      Join Date: Dec 2010
      Gender: Male
      Nature: Careful
      Posts: 34
      Quote:
      Originally Posted by redriders180 View Post
      To activate it via flags, all you do is set a flag, just like in a script. JPANs hack engine has a way to make a script run every time you take a step. It's like making a script tile for every step, except without the script tiles you just have to optimize it so one script does the work of several. I'm not at work now, so I can provide an actual script.

      First, you would activate this example script with the following:
      Spoiler:

      #org 0x750000
      setvar 0x4000 0x0
      loadpointer 0x0 0x800000 <--this is the offset of the script that activates -----------------------------when you take a step
      special 0x81 <--this is the special that makes the script loaded with ----------------"loadpointer" activate when you step, and is required
      release
      end

      After assigning that to either a script or an OW, the script located at 0x800000 will run every time a player takes a step. That script might look something like this, for a safari zone-type script:
      Spoiler:

      #org 0x800000
      addvar 0x4000 0x1 <--adds one to the value in variable 0x4000
      compare 0x4000 0x1F4 <--compares the value in 0x4000 to 500
      if 0x4 goto @end <--if 0x4000 is greater than or equal to 0x0, goto @end
      special 0x8F <--stores your current position into vars 0x8004 and 0x8005
      special2 LASTRESULT 0x7F <--this special will see if the tile you are on is a grass or water tile, and stores 0x1 into LASTRESULT if it's a grass tile, or 0x2 into LASTRESULT if it's a water tile.
      compare LASTRESULT 0x1
      if 0x1 goto @grassencounter <--if the tile is a grass tile, make a grass encounter
      compare LASTRESULT 0x2
      if 0x1 goto @waterencounter <--if the tile is a water tile, make a water encounter
      release
      end <-- if neither, end the script

      #org @end
      loadpointer 0x0 0x0
      special 0x81 <--makes it so the script no longer activates when taking a step.
      release
      end

      #org @grassencounter
      special 0x97 <--emulates a possible grass encounter
      release
      end

      #org @waterencounter
      special 0x98 <--emulates a possible water encounter
      release
      end


      If you can't understand the above script, you might want to wait until you have a better knowledge of JPANs hack engine, and scripts in general, before going this complex.
      So that's what Loadpointer does! I've only been using Special 0x81, so I had no idea how to start it. This makes much more sense now, thank you.

      If I wanted to make it so no wild Pokemon are able to be encountered, I would remove Special 0x8F to if 0x1 goto @waterencounter, along with #org @grassencounter and #org @waterencounter, correct? I'm planning to use this before the starter is obtained.

      I do realize that I'm going into deep waters right now, asking about stuff I probably shouldn't be doing for my first actual hack; at least, not this early on, but this fits with the storyline better than anything else I can think of.

      Thanks again.
        #21904    
      Old July 6th, 2012 (1:14 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
        Game - Pokemon Fire Red

        Hello, I have a question. Does anyone know how a "respawn" works in Pokemon Fire Red? Like when you lose a battle, it teleports you to the last PokeCenter that you were at. Is it possible to change where you respawn at? Thanks.
          #21905    
        Old July 6th, 2012 (1:20 PM).
        NG55's Avatar
        NG55 NG55 is offline
           
          Join Date: Sep 2009
          Location: Barrie, Ontario, Canada
          Gender: Male
          Posts: 80
          Pokemon FireRed: I wouldn't know how to word this is the search.

          What is the script for when the rival walks to the Pokeball and picks it up, I want this for two other characters
            #21906    
          Old July 6th, 2012 (1:28 PM). Edited July 6th, 2012 by redriders180.
          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
            Send a message via AIM to redriders180
            Quote:
            Originally Posted by Nara567 View Post
            So that's what Loadpointer does! I've only been using Special 0x81, so I had no idea how to start it. This makes much more sense now, thank you.

            If I wanted to make it so no wild Pokemon are able to be encountered, I would remove Special 0x8F to if 0x1 goto @waterencounter, along with #org @grassencounter and #org @waterencounter, correct? I'm planning to use this before the starter is obtained.

            I do realize that I'm going into deep waters right now, asking about stuff I probably shouldn't be doing for my first actual hack; at least, not this early on, but this fits with the storyline better than anything else I can think of.

            Thanks again.
            If you want to have no wild battles, remove everything from Special 0x8F down, and just replace it with release, end.

            Quote:
            Originally Posted by CrystalStatic View Post
            Game - Pokemon Fire Red

            Hello, I have a question. Does anyone know how a "respawn" works in Pokemon Fire Red? Like when you lose a battle, it teleports you to the last PokeCenter that you were at. Is it possible to change where you respawn at? Thanks.
            When you enter any Pokemon Center, there are two level scrips. One of them has the command "sethealingplace 0xNumber". That's responsible for deciding where you end up...and unfortunately, you can only go to twenty locations...one for each town, one for Mount Moon, and one for the Power Plant route. The coordinates, map, and map bank that appear are somewhere in the ROM, and I don't know where they're stored. JPANs Hack Engine has a modification that lets you warp to any specified location, by using three variables. If you don't want his engine, you'll need to investigate where a table of values is, and edit some ASM.

            Edit: Just did some quick research. There's a table at 0x3EEC98 that holds that map and bank of each sethealing place, in order. It seems to be laid out like: [Bank] 00 [Map] 00. At least you can add some more, in theory. There's probably a limiting byte somewhere. I don't know where the coordinates you go are located, either.
            __________________


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


              #21907    
            Old July 6th, 2012 (1:38 PM).
            Robert Conley's Avatar
            Robert Conley Robert Conley is offline
            GPXPlus.net/user/Robert+Conley
               
              Join Date: Oct 2008
              Location: The Anti Spiral Homeworld
              Gender: Male
              Nature: Docile
              Posts: 330
              In Fire Red how do you change the background and circle on the Oak introduction screen? I've seen some hacks that have had this changed but can't seem to figure it out.
              __________________
                #21908    
              Old July 6th, 2012 (1:45 PM).
              Nara567's Avatar
              Nara567 Nara567 is offline
                 
                Join Date: Dec 2010
                Gender: Male
                Nature: Careful
                Posts: 34
                Bleh, sorry to ask about this again. I created the script, and went into the hack applier. I'm assuming I have to check both the Walking Script and Special 0x81. When I check the Special, apply, and save it, everything works out fine. However, when I check the Script, after I press apply, it asks for the variable, to which I put 0x4000. The dialogue box showed up again, so I put 4000 instead. However, it keeps showing up. Any reason why, or is it bugged? The same thing happens if I try to apply character hacks.
                  #21909    
                Old July 6th, 2012 (1:48 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
                  Send a message via AIM to redriders180
                  Quote:
                  Originally Posted by Robert Conley View Post
                  In Fire Red how do you change the background and circle on the Oak introduction screen? I've seen some hacks that have had this changed but can't seem to figure it out.
                  The palette for the background is at 0x460568...Use APE to edit it. The background itself...I don't know where those tiles are located, honestly v.v. NSE 2.X has a bookmark for the circle as well.
                  __________________


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


                    #21910    
                  Old July 6th, 2012 (1:59 PM). Edited July 6th, 2012 by Renegade.
                  Renegade's Avatar
                  Renegade Renegade is offline
                  Time for real life...
                     
                    Join Date: Nov 2011
                    Location: United States
                    Gender: Male
                    Nature: Careful
                    Posts: 998
                    Quote:
                    Originally Posted by redriders180 View Post
                    When you enter any Pokemon Center, there are two level scrips. One of them has the command "sethealingplace 0xNumber". That's responsible for deciding where you end up...and unfortunately, you can only go to twenty locations...one for each town, one for Mount Moon, and one for the Power Plant route. The coordinates, map, and map bank that appear are somewhere in the ROM, and I don't know where they're stored. JPANs Hack Engine has a modification that lets you warp to any specified location, by using three variables. If you don't want his engine, you'll need to investigate where a table of values is, and edit some ASM.

                    Edit: Just did some quick research. There's a table at 0x3EEC98 that holds that map and bank of each sethealing place, in order. It seems to be laid out like: [Bank] 00 [Map] 00. At least you can add some more, in theory. There's probably a limiting byte somewhere. I don't know where the coordinates you go are located, either.
                    Thanks, Didn't know any of this information.

                    I have another question...

                    Is it possible, in A-Map, to do a copy and paste? I need to copy and paste a map from one map bank to another. Is it possible to do this?
                      #21911    
                    Old July 6th, 2012 (3:27 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
                      Send a message via AIM to redriders180
                      Quote:
                      Originally Posted by Robert Conley View Post
                      In Fire Red how do you change the background and circle on the Oak introduction screen? I've seen some hacks that have had this changed but can't seem to figure it out.
                      Quote:
                      Originally Posted by CrystalStatic View Post
                      Thanks, Didn't know any of this information.

                      I have another question...

                      Is it possible, in A-Map, to do a copy and paste? I need to copy and paste a map from one map bank to another. Is it possible to do this?
                      If your questions about Pokemon Centers are related, I'm gonna assume that you want to copy a Pokemon Center map. There are a few ways to do it, depending on what you want done.

                      The first way is to, in A-Map, go to map view, move to the top left corner of the map, hold down ctrl, right click and drag to the bottom right corner. This'll let you "copy" sections of the map. Once you've selected the map, go to the new map, and click where you want the top-left corner of the map to be. The advantages of this are it copies movement permissions as well.

                      The second way might be a little better. Go to the header of the first map, and enter professional view by hitting Ctrl+H. Copy the "Map Footer" offset. Enter the map you want to change, and paste that in the same location. Save, and hit F5. That map will now be identical to the first map. Advantages, or disadvantages, of this method are, if you change the first map, the second one will experience identical changes. All Pokemon Centers, for instance, have a map footer offset of 0x2D5990, for instance, so the designers of the games would only have to modify one Pokemon Center, and all other Pokemon Centers will look the same, instead of having them on individual maps, and changing them all.
                      __________________


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


                        #21912    
                      Old July 6th, 2012 (4:46 PM).
                      Nara567's Avatar
                      Nara567 Nara567 is offline
                         
                        Join Date: Dec 2010
                        Gender: Male
                        Nature: Careful
                        Posts: 34
                        Is it possible to have a battle where you're meant to lose?
                          #21913    
                        Old July 6th, 2012 (5:01 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
                          Send a message via AIM to redriders180
                          Quote:
                          Originally Posted by Nara567 View Post
                          Is it possible to have a battle where you're meant to lose?
                          I don't think you can garuntee a loss, but you can always step up a Pokemon's level to be something absurdly high, making the chance of winning minimal. If it's at a point in the near beginning, this is more feasible than if it's after alot of plot progression. There isn't really a way to force someone to lose anyway...I guess if you made a routine where all your hits missed or something...but aside from that, that's the only routine I can think of.
                          __________________


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


                            #21914    
                          Old July 6th, 2012 (5:16 PM).
                          Nara567's Avatar
                          Nara567 Nara567 is offline
                             
                            Join Date: Dec 2010
                            Gender: Male
                            Nature: Careful
                            Posts: 34
                            Quote:
                            Originally Posted by redriders180 View Post
                            I don't think you can garuntee a loss, but you can always step up a Pokemon's level to be something absurdly high, making the chance of winning minimal. If it's at a point in the near beginning, this is more feasible than if it's after alot of plot progression. There isn't really a way to force someone to lose anyway...I guess if you made a routine where all your hits missed or something...but aside from that, that's the only routine I can think of.
                            I meant, lose to continue the story, sorry for not clarifying. So you don't get transported to a Pokemon Center directly after, it continues the script instead. I do intend for it to be in the beginning, so it probably won't happen that the player wins, but if they do, one could just write up an alternate script.
                              #21915    
                            Old July 6th, 2012 (5:35 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
                              Send a message via AIM to redriders180
                              Quote:
                              Originally Posted by Nara567 View Post
                              I meant, lose to continue the story, sorry for not clarifying. So you don't get transported to a Pokemon Center directly after, it continues the script instead. I do intend for it to be in the beginning, so it probably won't happen that the player wins, but if they do, one could just write up an alternate script.
                              Oh, I see. In Firered, using Trainerbattle 0x9 [Battle_Number] 0x3 [Challenge] [Defeat] will have a win/losable battle. Only downside is that Oak's speech gets in the way. You could modify the speech to say something else, of course...maybe jeering from a Rival, or the Player thinking to him or herself. If it's alot easier, of course, if it's a one-time only thing. If you have to do multiple ones, it starts getting dangerously repetitive. In Ruby, I remember scripting a losable battle once, but I can't remember it >_<

                              There's a script at 0x1A8DFD (obtained courtesy of DavidJCobb) that is responsible for whiting out. It's unknown whether this runs in the OW, or in battles, or both. But if it does run in battles, you could make a branch that heals the players Pokemon, and ends the battle...possibly...
                              __________________


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


                                #21916    
                              Old July 6th, 2012 (5:56 PM).
                              Nara567's Avatar
                              Nara567 Nara567 is offline
                                 
                                Join Date: Dec 2010
                                Gender: Male
                                Nature: Careful
                                Posts: 34
                                Quote:
                                Originally Posted by redriders180 View Post
                                Oh, I see. In Firered, using Trainerbattle 0x9 [Battle_Number] 0x3 [Challenge] [Defeat] will have a win/losable battle. Only downside is that Oak's speech gets in the way. You could modify the speech to say something else, of course...maybe jeering from a Rival, or the Player thinking to him or herself. If it's alot easier, of course, if it's a one-time only thing. If you have to do multiple ones, it starts getting dangerously repetitive. In Ruby, I remember scripting a losable battle once, but I can't remember it >_<

                                There's a script at 0x1A8DFD (obtained courtesy of DavidJCobb) that is responsible for whiting out. It's unknown whether this runs in the OW, or in battles, or both. But if it does run in battles, you could make a branch that heals the players Pokemon, and ends the battle...possibly...
                                Oh, I completely forgot about the first rival battle. I kinda want to be able to use it twice, though. Is there a way to remove Oak's text completely? If there's not, I could just change it to generic "Shoot, I'm losing." It's repetitive like you said, but I don't expect the battles to be close together, one near the beginning and one near the end.

                                With that script, is it used with this trainerbattle?
                                  #21917    
                                Old July 6th, 2012 (7:02 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
                                  Send a message via AIM to redriders180
                                  Quote:
                                  Originally Posted by Nara567 View Post
                                  Oh, I completely forgot about the first rival battle. I kinda want to be able to use it twice, though. Is there a way to remove Oak's text completely? If there's not, I could just change it to generic "Shoot, I'm losing." It's repetitive like you said, but I don't expect the battles to be close together, one near the beginning and one near the end.

                                  With that script, is it used with this trainerbattle?
                                  ASM is the only way to completely remove the effects, unfortunately. You could change it to the generic text, but I started to wonder why you might want to have a battle that continues on no matter what. If it's because, logically, the same trainer won't challenge you if you lose, you could make a script using trainerbattle 0x9 [Trainer_Number] 0x0 [Win Text] [Loss Text], and essentially make a script that, if you lose, has the trainer waiting for you to return, and then "continues" the script as if you've won. I realize that probably isn't the best explanation, but I'm having trouble forming coherent thoughts @_@
                                  __________________


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


                                    #21918    
                                  Old July 6th, 2012 (7:14 PM).
                                  Nara567's Avatar
                                  Nara567 Nara567 is offline
                                     
                                    Join Date: Dec 2010
                                    Gender: Male
                                    Nature: Careful
                                    Posts: 34
                                    Quote:
                                    Originally Posted by redriders180 View Post
                                    ASM is the only way to completely remove the effects, unfortunately. You could change it to the generic text, but I started to wonder why you might want to have a battle that continues on no matter what. If it's because, logically, the same trainer won't challenge you if you lose, you could make a script using trainerbattle 0x9 [Trainer_Number] 0x0 [Win Text] [Loss Text], and essentially make a script that, if you lose, has the trainer waiting for you to return, and then "continues" the script as if you've won. I realize that probably isn't the best explanation, but I'm having trouble forming coherent thoughts @_@
                                    Aw, oh well.

                                    What I'm trying to do is make a trainer that will only battle you once, but you're expected to lose because of her "skill." I'm giving her Pokemon with levels that seem ridiculously high at that point in the game, and upping the AI. After you lose, the script continues, "blah blah blah now you see our (referring to the organization she's in) power," and such. In any case, she would disappear and you would warp out, so it wouldn't matter if she would be rebattleable.

                                    I think I understand what you're trying to say, though. It just wouldn't work the best for storyline purposes, as she's not seen in the game again.
                                      #21919    
                                    Old July 6th, 2012 (11:31 PM).
                                    jagfillit jagfillit is offline
                                       
                                      Join Date: Apr 2010
                                      Posts: 3
                                      New guy with a question, look out.

                                      I'm curious, is there a tool that can not only assemble a THUMB routine but also patch it to a game? XSE does something like this, though specifically for scripting. I've been hacking Super Mario World for quite some time and use a program that does this for SNES' brand of Assembly, called xkas. In that sort of format it's easier to overwrite existing addresses and keep everything organized.

                                      It's certainly not a deal-breaker if there isn't something like that, but I'd find it pretty useful.
                                        #21920    
                                      Old July 6th, 2012 (11:53 PM).
                                      KhaosKnight's Avatar
                                      KhaosKnight KhaosKnight is offline
                                      The 1 and only Khaotic Hacker
                                         
                                        Join Date: Dec 2007
                                        Nature: Relaxed
                                        Posts: 355
                                        Quote:
                                        Originally Posted by jagfillit View Post
                                        New guy with a question, look out.

                                        I'm curious, is there a tool that can not only assemble a THUMB routine but also patch it to a game? XSE does something like this, though specifically for scripting. I've been hacking Super Mario World for quite some time and use a program that does this for SNES' brand of Assembly, called xkas. In that sort of format it's easier to overwrite existing addresses and keep everything organized.

                                        It's certainly not a deal-breaker if there isn't something like that, but I'd find it pretty useful.
                                        I believe HackMew released something like that some time ago, though I can't remember what it is called. I don't think it is posted here, but a Google search might bring something.
                                        __________________





                                          #21921    
                                        Old July 7th, 2012 (1:14 AM).
                                        Darthatron's Avatar
                                        Darthatron Darthatron is offline
                                        巨大なトロール。
                                        • Silver Tier
                                         
                                        Join Date: Jan 2006
                                        Location: Melbourne, Australia
                                        Age: 25
                                        Gender: Male
                                        Nature: Modest
                                        Posts: 1,152
                                        Quote:
                                        Originally Posted by jagfillit View Post
                                        New guy with a question, look out.

                                        I'm curious, is there a tool that can not only assemble a THUMB routine but also patch it to a game? XSE does something like this, though specifically for scripting. I've been hacking Super Mario World for quite some time and use a program that does this for SNES' brand of Assembly, called xkas. In that sort of format it's easier to overwrite existing addresses and keep everything organized.

                                        It's certainly not a deal-breaker if there isn't something like that, but I'd find it pretty useful.
                                        No. Not currently. I started writing one, but it's still not finished. Not even a little bit.
                                        __________________
                                        あなた は しきしゃ です
                                        わたし は ばか です
                                          #21922    
                                        Old July 7th, 2012 (6:37 AM).
                                        LugiaMZ's Avatar
                                        LugiaMZ LugiaMZ is offline
                                           
                                          Join Date: Dec 2011
                                          Gender: Male
                                          Posts: 74
                                          Quote:
                                          Originally Posted by redriders180 View Post
                                          0. You mean code that lets you continue after you've lost both? It can't be done, like we said, without extensive editing, and I haven't managed to get to that level

                                          2. If you want to replace the ?????????? sprites, you might want to check out Poke Edit Pro. All the ?????????? Pokemon point to the same sprite, so you need to edit those pointers to point to different sprites, and Poke Edit Pro can do that easily enough. Alternatively, you might want to look in getting a .net framework, if it's interfering with your hacking.

                                          A side note: The ?????????? Pokemon don't get Pokedex entries, unless Jambo would like to detail how he gave those 25 slots dex entries in his 649 Patch...
                                          0) ...

                                          2) Without that, I think I need to insert sprite offset to free space. But how do insert sprite to these free space? If I use UNLZ-gba at the ?????????? sprite import the sprite I need, then click write to rom and write the Image pointer free space I needed, and click ok. Then I import another pokemon sprite and write to rom, after that, Then I do the same things but the Image pointer is different. Then I open Poke Edit Pro and change the two ?????????? sprite pointer to the pointer I inserted early.
                                          That correct? If correct, Pallent offset also need to do like this?

                                          I have more question hope have someone answer me.

                                          A) If I use Showpokepic command at XSE, when I test at game It show pokemon sprite and has cry sound when pokepics is appeared, how do I make it when show pokepic but no cry sound effect?
                                            #21923    
                                          Old July 7th, 2012 (8:16 AM).
                                          JBawls JBawls is offline
                                             
                                            Join Date: Jun 2012
                                            Gender: Male
                                            Posts: 21
                                            I was wondering is there a way to make it so you get the national pokedex toward the beginning or maybe even start with it?

                                            Also, thank you all for assisting me with my pokemon battle script problems. It took a little bit of tinkering but I got it taken care of so thanks to everyone who responded to my question. Each of your replies had a little bit to do with what had been causing my problem.
                                              #21924    
                                            Old July 7th, 2012 (9:06 AM).
                                            Ark_Silvanos's Avatar
                                            Ark_Silvanos Ark_Silvanos is offline
                                               
                                              Join Date: Jan 2009
                                              Location: Texas
                                              Age: 25
                                              Gender: Male
                                              Posts: 150
                                              u gotta use the command "special 0x16f" in a script to activate it... so if u want to get it in the beginning, add that command to a script in the beginning
                                              __________________


                                                #21925    
                                              Old July 7th, 2012 (10:37 AM).
                                              Narutofan9991 Narutofan9991 is offline
                                                 
                                                Join Date: Feb 2011
                                                Gender: Male
                                                Posts: 26
                                                Quote:
                                                Originally Posted by redriders180 View Post
                                                1.0.9?!?!? That's super out of date o-o. Versions 1.92 and 1.95 are out right now, you should try and download some.
                                                I didnt work. Only caterpie lvl 5 and weedle lvl 8 show up out of alot of pokemon
                                                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 4:31 PM.