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!

Draconius GO
Reply
 
Thread Tools
  #26    
Old January 3rd, 2015 (4:36 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 daniilS View Post
    Please use the word forme for legendaries and form for other Pokémon. Thank you.[/spoiler]
    Thank you for this.

    On another note, what exactly were you referring to with Arceus and Giratina?
    Reply With Quote

    Relevant Advertising!

      #27    
    Old January 3rd, 2015 (4:44 PM).
    daniilS's Avatar
    daniilS daniilS is offline
    busy trying to do stuff not done yet
       
      Join Date: Aug 2013
      Age: 18
      Gender: Male
      Posts: 409
      Quote:
      Originally Posted by Dark Zeta View Post
      Thank you for this.

      On another note, what exactly were you referring to with Arceus and Giratina?
      The routine that changes the index number based on hold item (and location).
      __________________
      Reply With Quote
        #28    
      Old January 3rd, 2015 (6:30 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 daniilS View Post
        The routine that changes the index number based on hold item (and location).
        I meant as to how it was messing up?
        Reply With Quote
          #29    
        Old January 4th, 2015 (2:38 AM).
        daniilS's Avatar
        daniilS daniilS is offline
        busy trying to do stuff not done yet
           
          Join Date: Aug 2013
          Age: 18
          Gender: Male
          Posts: 409
          Quote:
          Originally Posted by Dark Zeta View Post
          I meant as to how it was messing up?
          FR contains wayyyyyyyyyyyyy too many routines for giving/taking items while you're at the PC. So I have to edit them all! :D
          __________________
          Reply With Quote
            #30    
          Old January 5th, 2015 (4:47 PM).
          You Watanabe's Avatar
          You Watanabe You Watanabe is offline
          Now Leaving...
             
            Join Date: Feb 2014
            Location: Shiganshina District, Wall Maria
            Gender: Female
            Nature: Adamant
            Posts: 430
            Great job yo! How to port this on Emerald... does changing the offsets will work?
            __________________

            Userpage


            Pokémon Dark Jade Version (Coming Soon!)


            The Omsoc Empire (Coming Soon!)
            Reply With Quote
              #31    
            Old January 6th, 2015 (2:32 AM).
            AtecainCorp.'s Avatar
            AtecainCorp. AtecainCorp. is offline
            Rejishan awake...
               
              Join Date: Jun 2008
              Location: Takoabe Town (Region Thonsu)
              Age: 24
              Gender: Male
              Nature: Hardy
              Posts: 1,270
              . Can you compile FOrme change for Darmanitan?
              __________________
              - My new Project comming Soon
              Reply With Quote
                #32    
              Old January 6th, 2015 (1:32 PM).
              daniilS's Avatar
              daniilS daniilS is offline
              busy trying to do stuff not done yet
                 
                Join Date: Aug 2013
                Age: 18
                Gender: Male
                Posts: 409
                Quote:
                Originally Posted by RaileysXerilyasRX View Post
                Great job yo! How to port this on Emerald... does changing the offsets will work?
                Yes
                Quote:
                Originally Posted by Ksiazek Bartlomiej View Post
                . Can you compile FOrme change for Darmanitan?
                No
                imseriousnowthecharacterlimitdeservestodie
                __________________
                Reply With Quote
                  #33    
                Old January 7th, 2015 (4:16 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
                  Hello again.

                  I was just wondering how you were going to handle the in battle transformation.

                  Are you planning on using the animation that Ditto uses?
                  __________________
                  D&D Editor
                  Romhack.me

                  Twitter
                  Reply With Quote
                    #34    
                  Old January 8th, 2015 (1:58 AM).
                  daniilS's Avatar
                  daniilS daniilS is offline
                  busy trying to do stuff not done yet
                     
                    Join Date: Aug 2013
                    Age: 18
                    Gender: Male
                    Posts: 409
                    For Cherrim, I had hacked the routines used for Castform. It's unfinished and on hold at the moment though.
                    __________________
                    Reply With Quote
                      #35    
                    Old January 15th, 2015 (5:17 AM).
                    PurpleOrange's Avatar
                    PurpleOrange PurpleOrange is offline
                    still don't know what I'm doing
                       
                      Join Date: Sep 2013
                      Location: Littleroot Town (UK)
                      Age: 20
                      Gender: Male
                      Posts: 358
                      is there a way to keep the pokedex number the same once it's changed formes? i'm trying to add the deoxys formes for firered but the pokedex number changes
                      __________________

                      Reply With Quote
                        #36    
                      Old January 15th, 2015 (5:18 AM).
                      daniilS's Avatar
                      daniilS daniilS is offline
                      busy trying to do stuff not done yet
                         
                        Join Date: Aug 2013
                        Age: 18
                        Gender: Male
                        Posts: 409
                        Quote:
                        Originally Posted by PurpleOrange View Post
                        is there a way to keep the pokedex number the same once it's changed formes? i'm trying to add the deoxys formes for firered but the pokedex number changes
                        I believe you can edit it with G3HS, otherwise is surely possible with PGE.
                        __________________
                        Reply With Quote
                          #37    
                        Old January 17th, 2015 (12:08 PM).
                        PurpleOrange's Avatar
                        PurpleOrange PurpleOrange is offline
                        still don't know what I'm doing
                           
                          Join Date: Sep 2013
                          Location: Littleroot Town (UK)
                          Age: 20
                          Gender: Male
                          Posts: 358
                          Quote:
                          Originally Posted by daniilS View Post
                          I believe you can edit it with G3HS, otherwise is surely possible with PGE.
                          i used PGE's but it seems to mess up the Pokedex. when i view it on the national dex list, or rare pokemon habitat, it's completely fine. But i can't seem to view it on the search pokemon options, and on the type list, it comes up 4 times (cuz there's 4 deoxys formes) and not in the same place like the others
                          __________________

                          Reply With Quote
                            #38    
                          Old January 17th, 2015 (12:18 PM).
                          daniilS's Avatar
                          daniilS daniilS is offline
                          busy trying to do stuff not done yet
                             
                            Join Date: Aug 2013
                            Age: 18
                            Gender: Male
                            Posts: 409
                            Quote:
                            Originally Posted by PurpleOrange View Post
                            i used PGE's but it seems to mess up the Pokedex. when i view it on the national dex list, or rare pokemon habitat, it's completely fine. But i can't seem to view it on the search pokemon options, and on the type list, it comes up 4 times (cuz there's 4 deoxys formes) and not in the same place like the others
                            Did you use the dex order editor?
                            __________________
                            Reply With Quote
                              #39    
                            Old January 17th, 2015 (12:29 PM).
                            PurpleOrange's Avatar
                            PurpleOrange PurpleOrange is offline
                            still don't know what I'm doing
                               
                              Join Date: Sep 2013
                              Location: Littleroot Town (UK)
                              Age: 20
                              Gender: Male
                              Posts: 358
                              Quote:
                              Originally Posted by daniilS View Post
                              Did you use the dex order editor?
                              the one built into PGE, yeah
                              __________________

                              Reply With Quote
                                #40    
                              Old January 17th, 2015 (12:31 PM).
                              daniilS's Avatar
                              daniilS daniilS is offline
                              busy trying to do stuff not done yet
                                 
                                Join Date: Aug 2013
                                Age: 18
                                Gender: Male
                                Posts: 409
                                Quote:
                                Originally Posted by PurpleOrange View Post
                                the one built into PGE, yeah
                                Hmm. Did you edit all the tables like the type list order?
                                __________________
                                Reply With Quote
                                  #41    
                                Old January 17th, 2015 (12:41 PM).
                                PurpleOrange's Avatar
                                PurpleOrange PurpleOrange is offline
                                still don't know what I'm doing
                                   
                                  Join Date: Sep 2013
                                  Location: Littleroot Town (UK)
                                  Age: 20
                                  Gender: Male
                                  Posts: 358
                                  Quote:
                                  Originally Posted by daniilS View Post
                                  Hmm. Did you edit all the tables like the type list order?
                                  no i haven't, how would i edit that?
                                  __________________

                                  Reply With Quote
                                    #42    
                                  Old January 17th, 2015 (12:44 PM).
                                  daniilS's Avatar
                                  daniilS daniilS is offline
                                  busy trying to do stuff not done yet
                                     
                                    Join Date: Aug 2013
                                    Age: 18
                                    Gender: Male
                                    Posts: 409
                                    Quote:
                                    Originally Posted by PurpleOrange View Post
                                    no i haven't, how would i edit that?
                                    I think Spherical Ice would be the one who knows.
                                    __________________
                                    Reply With Quote
                                      #43    
                                    Old January 22nd, 2015 (2:39 PM).
                                    CrashmanX's Avatar
                                    CrashmanX CrashmanX is offline
                                    Mechamon
                                       
                                      Join Date: Jun 2008
                                      Age: 25
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 116
                                      Quote:
                                      Originally Posted by daniilS View Post
                                      For Cherrim, I had hacked the routines used for Castform. It's unfinished and on hold at the moment though.
                                      That is most interesting to me. Do you know if you can change what triggers the form change? Example being if you could make it based on %HP left?
                                      __________________

                                      Credit to DragonSoul for the signature
                                      Reply With Quote
                                        #44    
                                      Old January 22nd, 2015 (10:41 PM).
                                      daniilS's Avatar
                                      daniilS daniilS is offline
                                      busy trying to do stuff not done yet
                                         
                                        Join Date: Aug 2013
                                        Age: 18
                                        Gender: Male
                                        Posts: 409
                                        Quote:
                                        Originally Posted by CrashmanX View Post
                                        That is most interesting to me. Do you know if you can change what triggers the form change? Example being if you could make it based on %HP left?
                                        Placing a check for that should be easy enough, the hard part is updating the data itself. Especially if that means changing more than just the sprite and the typing. (I'm guessing Darmanitan)
                                        __________________
                                        Reply With Quote
                                          #45    
                                        Old February 13th, 2015 (10:20 AM).
                                        PurpleOrange's Avatar
                                        PurpleOrange PurpleOrange is offline
                                        still don't know what I'm doing
                                           
                                          Join Date: Sep 2013
                                          Location: Littleroot Town (UK)
                                          Age: 20
                                          Gender: Male
                                          Posts: 358
                                          so i'm trying to do deoxys' formes in emerald but i'm unsure with this part of the code

                                          Code:
                                                  var8004:			.word 0x020270B8 + 0x8004 * 2
                                          	poke_slot_1:			.word 0x02024284
                                          	var8005:			.word 0x020270B8 + 0x8005 * 2
                                          what would the emerald equivalent of the numbers after the ".word" be?
                                          __________________

                                          Reply With Quote
                                            #46    
                                          Old February 14th, 2015 (2:09 AM).
                                          jirachiwishmaker's Avatar
                                          jirachiwishmaker jirachiwishmaker is offline
                                             
                                            Join Date: Jul 2007
                                            Location: Forina
                                            Gender: Male
                                            Nature: Lonely
                                            Posts: 75
                                            Quote:
                                            Originally Posted by PurpleOrange View Post
                                            so i'm trying to do deoxys' formes in emerald but i'm unsure with this part of the code

                                            Code:
                                                    var8004:			.word 0x020270B8 + 0x8004 * 2
                                            	poke_slot_1:			.word 0x02024284
                                            	var8005:			.word 0x020270B8 + 0x8005 * 2
                                            what would the emerald equivalent of the numbers after the ".word" be?
                                            You just need to change all of them to the following code, I was tested and it worked properly.

                                            .align 2
                                            var8004: .word 0x020375E0
                                            poke_slot_1: .word 0x020244EC
                                            var8005: .word 0x020375E2
                                            pokemon_setattr: .word 0x0806ACAC
                                            pokemon_calc_effective_stats: .word 0x08068D0C
                                            Reply With Quote
                                              #47    
                                            Old April 10th, 2015 (3:49 AM). Edited April 10th, 2015 by PurpleOrange.
                                            PurpleOrange's Avatar
                                            PurpleOrange PurpleOrange is offline
                                            still don't know what I'm doing
                                               
                                              Join Date: Sep 2013
                                              Location: Littleroot Town (UK)
                                              Age: 20
                                              Gender: Male
                                              Posts: 358
                                              Quote:
                                              Originally Posted by daniilS View Post
                                              The first routine, burmytransformjump:
                                              Code:
                                              .thumb
                                              
                                              main:
                                              	ldr r3, burmytransform
                                              	mov pc, r3
                                              
                                              burmytransform:	.word 0x________	@address of burmytransform.asm here
                                              
                                              continue:
                                              	str r0, [sp]
                                              
                                              /*insert at 08030D40*/
                                              so i'm doing this for emerald, but i can't seem to find any equivalent of the offset 08030D40, so does anyone know where I would insert this routine in emerald?

                                              also how far off am I with these?
                                              Code:
                                                      pokemon_getattr:			.word 0x0806A518
                                              	species_to_pokedex_index:		.word 0x02022FE0
                                              	idx_for_battle_screen_elements_by_env:	.word 0x0806D4A4
                                              	area_to_burmy_cloak_table:		.word 0x091CB5A8
                                              	pokemon_setattr:			.word 0x0806ACAC
                                              	return:					.word 0x08059FAC
                                              	burmy_dex:				.word 412
                                              __________________

                                              Reply With Quote
                                                #48    
                                              Old April 10th, 2015 (9:19 AM).
                                              Touched's Avatar
                                              Touched Touched is offline
                                              Resident ASMAGICIAN
                                                 
                                                Join Date: Jul 2014
                                                Gender: Male
                                                Posts: 626
                                                Quote:
                                                Originally Posted by PurpleOrange View Post
                                                so i'm doing this for emerald, but i can't seem to find any equivalent of the offset 08030D40, so does anyone know where I would insert this routine in emerald?

                                                also how far off am I with these?
                                                Code:
                                                        pokemon_getattr:			.word 0x0806A518
                                                	species_to_pokedex_index:		.word 0x02022FE0
                                                	idx_for_battle_screen_elements_by_env:	.word 0x0806D4A4
                                                	area_to_burmy_cloak_table:		.word 0x091CB5A8
                                                	pokemon_setattr:			.word 0x0806ACAC
                                                	return:					.word 0x08059FAC
                                                	burmy_dex:				.word 412
                                                Use these (otherwise nice job)

                                                Code:
                                                species_to_pokedex_index: .word 0x0806D4A4
                                                idx_for_battle_screen_elements_by_env: .word 0x02022FF0
                                                Also, 08059FA4 is the location of 08030D40 in Emerald. It's just 8 bytes behind the return location (08059FAC), so you were close.
                                                Reply With Quote
                                                  #49    
                                                Old April 10th, 2015 (10:16 AM).
                                                You Watanabe's Avatar
                                                You Watanabe You Watanabe is offline
                                                Now Leaving...
                                                   
                                                  Join Date: Feb 2014
                                                  Location: Shiganshina District, Wall Maria
                                                  Gender: Female
                                                  Nature: Adamant
                                                  Posts: 430
                                                  Can you example a script for that? That's one last thing I'm confused about it. I was testing a Swampert magic into Mewtwo.
                                                  Code:
                                                  '---------------
                                                  #org 0xE50000
                                                  lock
                                                  faceplayer
                                                  setvar 0x8004 0x11D
                                                  setvar 0x8005 0x96
                                                  callasm 0x8E40001
                                                  compare 0x8004 0x11D
                                                  if 0x0 goto 0x8E50028
                                                  msgbox 0x8E50034 MSG_KEEPOPEN '"LOL"
                                                  closeonkeypress
                                                  release
                                                  end
                                                  
                                                  '---------------
                                                  #org 0xE50028
                                                  msgbox 0x8E5003A MSG_KEEPOPEN '"NO"
                                                  closeonkeypress
                                                  release
                                                  end
                                                  
                                                  
                                                  '---------
                                                  ' Strings
                                                  '---------
                                                  #org 0xE50034
                                                  = LOL
                                                  
                                                  #org 0xE5003A
                                                  = NO
                                                  __________________

                                                  Userpage


                                                  Pokémon Dark Jade Version (Coming Soon!)


                                                  The Omsoc Empire (Coming Soon!)
                                                  Reply With Quote
                                                    #50    
                                                  Old April 10th, 2015 (10:23 AM).
                                                  daniilS's Avatar
                                                  daniilS daniilS is offline
                                                  busy trying to do stuff not done yet
                                                     
                                                    Join Date: Aug 2013
                                                    Age: 18
                                                    Gender: Male
                                                    Posts: 409
                                                    Quote:
                                                    Originally Posted by RaileysXerilyasRX View Post
                                                    Can you example a script for that? That's one last thing I'm confused about it. I was testing a Swampert magic into Mewtwo.
                                                    Code:
                                                    '---------------
                                                    #org 0xE50000
                                                    lock
                                                    faceplayer
                                                    setvar 0x8004 0x11D
                                                    setvar 0x8005 0x96
                                                    callasm 0x8E40001
                                                    compare 0x8004 0x11D
                                                    if 0x0 goto 0x8E50028
                                                    msgbox 0x8E50034 MSG_KEEPOPEN '"LOL"
                                                    closeonkeypress
                                                    release
                                                    end
                                                    
                                                    '---------------
                                                    #org 0xE50028
                                                    msgbox 0x8E5003A MSG_KEEPOPEN '"NO"
                                                    closeonkeypress
                                                    release
                                                    end
                                                    
                                                    
                                                    '---------
                                                    ' Strings
                                                    '---------
                                                    #org 0xE50034
                                                    = LOL
                                                    
                                                    #org 0xE5003A
                                                    = NO
                                                    Quote:
                                                    set var 0x8004 to the desired pokemon's slot and 0x8005 to the new index number, then callasm this routine+1
                                                    0x8004 needs to be the slot in your party containing the Swampert, 0x8005 the index number of Mewtwo. And it's worth noting that after the routine finishes, both vars will remain unaltered.
                                                    __________________
                                                    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 8:18 AM.