Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

Reply
 
Thread Tools
  #51    
Old July 5th, 2013 (1:13 PM).
AlphaDrache's Avatar
AlphaDrache AlphaDrache is offline
     
    Join Date: Dec 2009
    Gender: Male
    Posts: 8

    Hi,

    I have a little problem with the decryption code.
    I use the code in the emerald version and it works fine but there is still one problem:
    the four blocks of the pokemon substructures don't have the order they should still have. It is every time a different order which makes it impossible to me to change data like happiness.

    I wonder how could this work for other people who posted in this thread.
    I only had changed the addresses of the party and the var 8004 to make it work for my language version of emerald.

    Can someone help me please?

    Reply With Quote

    Relevant Advertising!

      #52    
    Old March 22nd, 2014 (9:20 AM).
    Ethanb900 Ethanb900 is offline
       
      Join Date: Mar 2014
      Gender: Male
      Posts: 55

      Hey. Do you know how to add Rotom and all of its forms? I was told that it was only possible through ASM. I don't feel right asking for its code or something, but could you tell me what I have to code into the game? I understand HEX though (I use HEX Workshop if there's any difference in programs) and from what I see, ASM is just flipped HEX. Can you help me out?

      Reply With Quote
        #53    
      Old March 22nd, 2014 (12:15 PM).
      karatekid552's Avatar
      karatekid552 karatekid552 is offline
      What happens if I push it?....
         
        Join Date: Nov 2012
        Location: Do you really want to know? Really?
        Gender: Male
        Nature: Bold
        Posts: 1,766

        Quote:
        Originally Posted by Ethanb900 View Post
        Hey. Do you know how to add Rotom and all of its forms? I was told that it was only possible through ASM. I don't feel right asking for its code or something, but could you tell me what I have to code into the game? I understand HEX though (I use HEX Workshop if there's any difference in programs) and from what I see, ASM is just flipped HEX. Can you help me out?

        http://www.pokecommunity.com/showthread.php?t=299696

        You need to read this.

        __________________


        Paired with Simba

        Reply With Quote
          #54    
        Old October 30th, 2015 (9:00 PM).
        Lunos's Avatar
        Lunos Lunos is offline
        Uruguayan Random Guy
           
          Join Date: Oct 2008
          Posts: 844

          Quote:
          Originally Posted by JPAN View Post
          Erasing all EV's
          This last code receives nothing and returns nothing, changing only all EV's to 0.
          Spoiler:
          b505 push {r0-r1, lr}
          4803 ldr r0, 0x0203f410 ;Effort block data storage address
          6800 ldr r0, [r0]
          2100 mov r1, 0x0
          6001 str r1, [r0]
          8081 strh r1, [r0 + 0x4]
          bd05 pop {r0-r2,pc}
          0000 garbage
          pointer

          Ready version
          Spoiler:
          03 B5 03 48 00 68 00 21 01 60 81 80 03 BD 00 00
          10 F4 03 02

          Sorry for bumping, but does someone knows how to use this correctly?
          I thought it would be as simple as to put the "ready version" in a free offset, and then, that offset +1 would be the field usage of an item, but i was completely wrong since it's not working that way >_< ...
          I hate how hard to understand the ASM is >_<

          __________________

          Reply With Quote
            #55    
          Old October 31st, 2015 (2:37 AM).
          Touched's Avatar
          Touched Touched is offline
          Resident ASMAGICIAN
             
            Join Date: Jul 2014
            Gender: Male
            Posts: 623

            Quote:
            Originally Posted by Lunos View Post
            Sorry for bumping, but does someone knows how to use this correctly?
            I thought it would be as simple as to put the "ready version" in a free offset, and then, that offset +1 would be the field usage of an item, but i was completely wrong since it's not working that way >_< ...
            I hate how hard to understand the ASM is >_<

            You don't use this at all. You should use the built in functions that handle this all for you.

            __________________


            A Pokemon that is discriminated!
            Support squirtle and make it everyone's favourite.

            Reply With Quote
            Reply
            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 9:06 PM.