Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old April 19th, 2011 (11:23 AM).
NarutoActor's Avatar
NarutoActor NarutoActor is offline
The rocks cry out to me
  • Silver Tier
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 24
Gender: Female
Nature: Bashful
Posts: 1,979
Hello all, have you guys ever noticed that when you get in to a trainer battle you don't face them? You just go straight in to a battle. This doesn't occur in R/S/E. The theory is that GameFreak, was making FR seem more like the original R/B.

Well now thanks to the work of Jambo51, we have a fix.
Below are 3 attachments, 2 asm files(Binary), and a script. This hack changes the script that loads before a trainer battle. It also changes special 0x37.

Alright, now open a hex editor, and-
Insert the TFH.asm into free space
Insert the SSH.asm into free space

Go to 0x81C0A
Copy 0xA(10) Amount of Bytes and replace with:
01 49 08 47 00 00 XX XX XX 08

The XX's is the location of the SSH.asm routine that was inserted earlier. (+1)

In the Script replace the YY's With the pointer to the TFH routine (+1)
Compile the script, and record it's location.
Reverse the location so it can be pointed to in hex.

Now go to these three locations:
0x1a4ebd, 0x1a4ee4 and 0x1a4f15

Replace the pointer there with a pointer to the New script.

There you go, if you are going to be using this for your hack make sure to have this in your credits.

Jambo51-Trainer Facing fix
NarutoActor-Trainer Facing Tutorial.

With out that in your credits, you may not use this hack.
Attached Files
File Type: zip Sprite Facting Fix.zip‎ (2.0 KB, 193 views) (Save to Dropbox)
__________________
~There are those people who understand hex, F the rest
Reply With Quote

Relevant Advertising!

  #2    
Old April 19th, 2011 (1:02 PM).
Crimson Stardust's Avatar
Crimson Stardust Crimson Stardust is offline
Anime Addiction
     
    Join Date: Mar 2009
    Location: It is for me to noe and all of you to find out
    Age: 24
    Gender: Male
    Nature: Relaxed
    Posts: 1,300
    ok cool..
    thanks for this hack narutoactor, it is good to have the player face to person he is battling..xD
    __________________



    Reply With Quote
      #3    
    Old April 19th, 2011 (1:56 PM).
    Pokepal17's Avatar
    Pokepal17 Pokepal17 is offline
    More cowbell~
    • Silver Tier
     
    Join Date: Oct 2008
    Location: Steeltown
    Age: 23
    Gender: Male
    Nature: Modest
    Posts: 1,517
    Nice to see that someone finally figured this out and posted it. :3
    However, I think you should add a few screens for visual aid, especially for people like me who are visual learners.
    __________________
    Pokémon Stardrop
    Reply With Quote
      #4    
    Old April 19th, 2011 (7:32 PM).
    NarutoActor's Avatar
    NarutoActor NarutoActor is offline
    The rocks cry out to me
    • Silver Tier
     
    Join Date: Jan 2009
    Location: Brooklyn/Marlboro
    Age: 24
    Gender: Female
    Nature: Bashful
    Posts: 1,979
    Lol what should I take a screen-shot of; A hex editor. xD
    __________________
    ~There are those people who understand hex, F the rest
    Reply With Quote
      #5    
    Old April 20th, 2011 (4:57 AM).
    Tropical Sunlight's Avatar
    Tropical Sunlight Tropical Sunlight is offline
    The Faltine
       
      Join Date: Mar 2008
      Location: Slovenia
      Age: 21
      Gender: Male
      Posts: 3,578
      Quote:
      Originally Posted by NarutoActor View Post
      Lol what should I take a screen-shot of; A hex editor. xD
      Of course, why not?
      It's hard to imagine it without pictures unless you're actually doing it. Which I haven't tried yet.
      __________________
      Reply With Quote
        #6    
      Old April 20th, 2011 (7:38 AM).
      NarutoActor's Avatar
      NarutoActor NarutoActor is offline
      The rocks cry out to me
      • Silver Tier
       
      Join Date: Jan 2009
      Location: Brooklyn/Marlboro
      Age: 24
      Gender: Female
      Nature: Bashful
      Posts: 1,979
      Really, I thought it was pretty self explanatory, and it only takes a few minutes. Just open a hex editor and follow those steps.
      __________________
      ~There are those people who understand hex, F the rest
      Reply With Quote
        #7    
      Old April 20th, 2011 (9:23 AM).
      colcolstyles's Avatar
      colcolstyles colcolstyles is offline
      Yours truly
      • Crystal Tier
       
      Join Date: May 2008
      Location: The Bay Area
      Gender: Male
      Nature: Lonely
      Posts: 1,590
      Do you mind posting the custom code (like, include it in the post instead of just attaching it)? This thread is kinda skimpy at the moment and it offers no explanation of why it works (if it even does; I haven't tested it). Also, perhaps you could disassemble the routines at those addresses and post them here, too? I'm interested in the project but not to the point where I'm willing to fire up Fusion just to look at some routines with no background. :\
      __________________

      Brother of Vrai
      Reply With Quote
        #8    
      Old April 20th, 2011 (9:32 AM).
      NarutoActor's Avatar
      NarutoActor NarutoActor is offline
      The rocks cry out to me
      • Silver Tier
       
      Join Date: Jan 2009
      Location: Brooklyn/Marlboro
      Age: 24
      Gender: Female
      Nature: Bashful
      Posts: 1,979
      The routines un-complied are included in the package. But that is a good suggestion.
      __________________
      ~There are those people who understand hex, F the rest
      Reply With Quote
        #9    
      Old July 3rd, 2011 (8:36 AM). Edited July 3rd, 2011 by Quilava's Master.
      Quilava's Master's Avatar
      Quilava's Master Quilava's Master is offline
      Shattered Dreams '13
         
        Join Date: Jul 2007
        Nature: Adamant
        Posts: 694
        There's a gltich. When you battle someone who uses "trainerbattle 0x1" i.e gym leaders your character faces right no matter which direction you talk to them from.

        Edit: fixed it by only placing a pointer to the script @ 0x1a4ebd. I'm unsure if there are any unforseen errors created by not placing the pointer at the other two locations but so far so good.
        __________________
        The return of Pokemon Shattered Dreams! Click the screenshot to visit the thread, you know you want to.
        Reply With Quote
          #10    
        Old November 27th, 2011 (6:24 AM). Edited November 28th, 2011 by Hackrex.
        Hackrex Hackrex is offline
           
          Join Date: Aug 2007
          Gender:
          Posts: 35
          I have try it on a Firered (English) Rom and it works.
          I have researched the Offsets for the German Rom (Feuerrot) and changed it in all three Scripts.
          But my Hero is facing in the wrong direction. So, what is my mistake?

          So here the change to the german offsets:
          The change in the SSH.asm file
          storeloc: .word 0x03005548
          place: .word 0x083C7248
          return: .word 0x08081C17

          The change in the TFH(1).asm file
          storeloc: .word 0x03005548
          playerloc: .word 0x02036E38
          lastresult: .word 0x020370D0

          The change in the Facing(1).rbc file
          #dynamic 0x800000

          #org @main
          callasm 0x8XXXXXX
          compare LASTRESULT 0x0
          if 0x1 call @down
          compare LASTRESULT 0x1
          if 0x1 call @up
          compare LASTRESULT 0x2
          if 0x1 call @left
          compare LASTRESULT 0x3
          if 0x1 call @right
          goto 0x81A4FC7

          On XXXXXX i have to put the offset to the TFH routine (+1).


          On 081B6E where I have to insert this 01 49 08 47 00 00 YY YY YY 08
          YY stands for the pointer for the Offset where I have inserted the SSH ASM.
          And here the three offsets for changing the pointers.
          1A7B71
          1A7B98
          1A7BC9

          Did I make a mistake?
          I hope you can help me.

          Maybe I found the wrong offsets for the german rom, but I am sure that this are the right offsets. But the script doesn´t work.

          And I have a question. Which of both asm scripts reads the direction to the trainer? Maybe this could be the reason why my hero is facing to the wrong direction

          OK THERE ARE A LOT OF DIFFERENTS BETWEEN THE SCRIPT OF THE GERMAN AND THE ENGLISH ROM. I HOPE THERE WOULD BE A PERSON WHO CAN CHANGE BOTH ASM SCRIPTS FOR USING FOR THE GERMAN ROM AND THE BATTLESCRIPT,TOO. I TRIED TO CHANGE SOME DIFFERENTS, BUT IT DOESN´T WORK. HERE THE OFFSETS:
          1A7B71<--1a4ebd
          1A7B98<--1a4ee4
          1A7BC9<--1a4f15
          1A7B9C<--1a4ee8
          1A4FBA--> 1A7C76
          1A4F20--> 1A7BD4
          1A4F19--> 1A7BCD
          1A4FC7--> 1A7C81
          1A4FC5--> 1A7C7F
          1A501A--> 1A7CD4
          1A5017--> 1A7CD1
          1A5019--> 1A7CD3

          I hope there is a person which can changes the three scripts which are needed to insert in the rom for the german rom. I don´t succed. Maybe this can help you:
          hxxp://www.n-roms.de/gba/index.php?action=details&id=256
          __________________
          Temporarily not available
          Reply With Quote
            #11    
          Old July 14th, 2015 (5:38 PM).
          Crocky's Avatar
          Crocky Crocky is offline
          SuperScarlet!
             
            Join Date: Feb 2009
            Posts: 95
            What program do I use to go to 0x81C0A, 0x1a4ebd, 0x1a4ee4 and 0x1a4f15? I use THUMB Editor & Assembler to insert the ASM.
            Reply With Quote
              #12    
            Old July 14th, 2015 (7:52 PM).
            Dark Zeta's Avatar
            Dark Zeta Dark Zeta is offline
            That guy you don't know yet
               
              Join Date: Dec 2014
              Location: Mississippi, U.S.
              Age: 23
              Gender: Male
              Nature: Lax
              Posts: 211
              Quote:
              Originally Posted by Crocky View Post
              What program do I use to go to 0x81C0A, 0x1a4ebd, 0x1a4ee4 and 0x1a4f15? I use THUMB Editor & Assembler to insert the ASM.
              Just use any Hex editor of your choice.
              Reply With Quote
                #13    
              Old July 15th, 2015 (1:47 PM).
              Crocky's Avatar
              Crocky Crocky is offline
              SuperScarlet!
                 
                Join Date: Feb 2009
                Posts: 95
                Quote:
                Originally Posted by Dark Zeta View Post
                Just use any Hex editor of your choice.
                I used HxD and I tried looking for the offsets, and couldn't find them. I used ctrl f, and couldn't find them.
                Reply With Quote
                  #14    
                Old July 16th, 2015 (5:13 AM).
                Dark Zeta's Avatar
                Dark Zeta Dark Zeta is offline
                That guy you don't know yet
                   
                  Join Date: Dec 2014
                  Location: Mississippi, U.S.
                  Age: 23
                  Gender: Male
                  Nature: Lax
                  Posts: 211
                  Quote:
                  Originally Posted by Crocky View Post
                  I used HxD and I tried looking for the offsets, and couldn't find them. I used ctrl f, and couldn't find them.
                  Don't type in the 0x at the beginning and make sure you're searching for hex.
                  Reply With Quote
                    #15    
                  Old October 16th, 2016 (2:42 AM).
                  XD XD XD XD XD's Avatar
                  XD XD XD XD XD XD XD XD XD XD is offline
                     
                    Join Date: Nov 2015
                    Gender: Male
                    Posts: 14
                    what happen with the attachmen? I can't download the .asm
                    Reply With Quote
                      #16    
                    Old October 20th, 2016 (2:42 AM).
                    Froosty's Avatar
                    Froosty Froosty is offline
                    The_Learner
                       
                      Join Date: Sep 2014
                      Location: Somewhere in this world.
                      Age: 19
                      Gender: Male
                      Nature: Brave
                      Posts: 542
                      does anyone have the attackment of this project... the attachment here is broken
                      __________________
                      Want to talk with me regarding Rom-hacking ??? Want to get access to my works exclusive than anywhere else ???
                      Click here to get in the discord server here where rom-hacking is a everyday talk and task.

                      Want to showcase your hack on discord server ??? Click here to get the dask done.

                      My works:
                      TOOL: TL's Quick Enhancer
                      TUTORIAL: Fire red habitat editing
                      TUTORIAL: Fire red Transparent text-box


                      | |
                      Reply With Quote
                        #17    
                      Old November 12th, 2016 (1:29 PM).
                      ~SAGE's Avatar
                      ~SAGE ~SAGE is offline
                      Spanish Rom Hacker
                         
                        Join Date: Jul 2014
                        Location: Italia
                        Age: 22
                        Gender: Male
                        Nature: Lonely
                        Posts: 35
                        Please have anyone the attachmente files?
                        It seems very interesting
                        __________________

                        El inteligente no es aquel que lo sabe todo

                        Si no aquel que sabe utilizar lo poco que sabe
                        Reply With Quote
                          #18    
                        Old April 6th, 2017 (9:50 PM).
                        Aryan 10's Avatar
                        Aryan 10 Aryan 10 is offline
                        Battle Legend
                           
                          Join Date: Nov 2016
                          Location: Pallet Town, India
                          Gender: Male
                          Nature: Relaxed
                          Posts: 162
                          Quote:
                          Originally Posted by NarutoActor View Post
                          ...
                          Hey, can you re-upload the files, the attachment is broken.
                          You better upload it on Dropbox or Mediafire.

                          Help is appreciated.
                          Reply With Quote
                          Reply

                          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:47 AM.