The PokéCommunity Forums Fan Games ROM Hacking Help
Other Script a trade in Fire Red?

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

Reply
 
Thread Tools
  #1    
Old October 14th, 2015 (10:17 AM).
PokemonValor's Avatar
PokemonValor PokemonValor is offline
     
    Join Date: Oct 2015
    Location: Celadon City, Kanto
    Gender: Male
    Nature: Lax
    Posts: 98
    Hey does anyone have a good quick way of how to script someone who wants to trade pokemon, or know of any good tutorials? I'm trying to look at some pre-made ones but all the "copyvar"s doesn't really help...Thanks!
    Reply With Quote
      #2    
    Old October 14th, 2015 (2:12 PM).
    esperance's Avatar
    esperance esperance is offline
     
    Join Date: Mar 2010
    Location: Ohio
    Age: 21
    Gender: Male
    Nature: Relaxed
    Posts: 3,819
    The built in scripting guide for XSE actually has a pretty nice explanation of how the typical script for an in-game trade works. You can find it under the "Practical Classroom" section.
    __________________
    What are you so afraid of?
    Reply With Quote
      #3    
    Old October 14th, 2015 (2:50 PM).
    PokemonValor's Avatar
    PokemonValor PokemonValor is offline
       
      Join Date: Oct 2015
      Location: Celadon City, Kanto
      Gender: Male
      Nature: Lax
      Posts: 98
      Ah okay thanks. I kinda figured another program would be required. Do you know of any that can edit the in-game trades?
      __________________
      Check out our hack, POKEMON VALOR in the Progressing Hacks page!
      Always looking for feedback and suggestions.
      Reply With Quote
        #4    
      Old October 14th, 2015 (8:06 PM).
      esperance's Avatar
      esperance esperance is offline
       
      Join Date: Mar 2010
      Location: Ohio
      Age: 21
      Gender: Male
      Nature: Relaxed
      Posts: 3,819
      I can't remember any off the top of my head. Fortunately the format is pretty straightforward, and is easily edited with a hex editor.
      http://www.pokecommunity.com/showthread.php?p=8565673#post8565673
      __________________
      What are you so afraid of?
      Reply With Quote
        #5    
      Old November 30th, 2015 (10:45 AM).
      PokemonValor's Avatar
      PokemonValor PokemonValor is offline
         
        Join Date: Oct 2015
        Location: Celadon City, Kanto
        Gender: Male
        Nature: Lax
        Posts: 98
        So back to this issue...I'm looking at that offset in my hex editor with the game but it's not looking like much. Like I'm pretty sure it's not following the rules in that Link you posted because the first few values are C7C3C7C3...Am I looking at it wrong?
        __________________
        Check out our hack, POKEMON VALOR in the Progressing Hacks page!
        Always looking for feedback and suggestions.
        Reply With Quote
          #6    
        Old November 30th, 2015 (10:58 AM).
        Spherical Ice's Avatar
        Spherical Ice Spherical Ice is offline
         
        Join Date: Nov 2007
        Location: Bristol, UK
        Age: 20
        Posts: 5,237
        Quote:
        Originally Posted by PokemonValor View Post
        So back to this issue...I'm looking at that offset in my hex editor with the game but it's not looking like much. Like I'm pretty sure it's not following the rules in that Link you posted because the first few values are C7C3C7C3...Am I looking at it wrong?
        Yup! That's the hex representation of the first trade Pokémon's nickname: MIMIEN, a Mr. Mime.
        __________________
        Reply With Quote
          #7    
        Old November 30th, 2015 (1:56 PM).
        PokemonValor's Avatar
        PokemonValor PokemonValor is offline
           
          Join Date: Oct 2015
          Location: Celadon City, Kanto
          Gender: Male
          Nature: Lax
          Posts: 98
          Ahh...I keep looking and trying to figure this out but I don't know a ton about hex editing and I know that's kind of a problem but I get the general idea of it...so, exactly what offsets and values would I have to alter in order to make my own? Like, I saw that the first one had a 7A in it, which is Mr. Mime's number in hex, but then like how would I be able to change everything else, like its nickname, and then be able to implement that into a script? Because I'm also looking at the actual script in the game and I'm not see where the data is getting pulled from.
          __________________
          Check out our hack, POKEMON VALOR in the Progressing Hacks page!
          Always looking for feedback and suggestions.
          Reply With Quote
            #8    
          Old 4 Weeks Ago (8:37 PM).
          Ultra Necom 72's Avatar
          Ultra Necom 72 Ultra Necom 72 is offline
             
            Join Date: Sep 2018
            Location: Pallette Town
            Gender: Other
            Nature: Naive
            Posts: 14
            Dose anyone know how to change the natures? I wanted to put scizor as the seel trade, but it has bold nature and only farfetch'ds trade has adamant and I don't think that would be a good time for Scizor to be obtainable...
            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
            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 8:26 AM.