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!

TrollandToad.com
Reply
 
Thread Tools
  #126    
Old July 13th, 2011 (4:05 PM).
EdensElite's Avatar
EdensElite EdensElite is offline
No0b, but getting there.
     
    Join Date: Jun 2011
    Location: UK
    Gender: Male
    Nature: Bold
    Posts: 190
    One thing to consider is that once you've done this first step. Possibly some advanced code to imitate HG/SS If you can do it for two pokemon you can do it for 100 its just the space required. I assume that the 'follower' is determined by an offset? So you could be like "if charmander is 1st in party use this offset, if bulbasaur etc."
    Reply With Quote

    Relevant Advertising!

      #127    
    Old July 14th, 2011 (1:02 AM).
    Jambo51's Avatar
    Jambo51 Jambo51 is offline
    Glory To Arstotzka
       
      Join Date: Jun 2009
      Gender: Male
      Nature: Quiet
      Posts: 732
      Quote:
      Originally Posted by EdensElite View Post
      One thing to consider is that once you've done this first step. Possibly some advanced code to imitate HG/SS If you can do it for two pokemon you can do it for 100 its just the space required. I assume that the 'follower' is determined by an offset? So you could be like "if charmander is 1st in party use this offset, if bulbasaur etc."
      Actually, if you wanted to imitate HGSS, you would just make the following sprite dynamic based on what Pokemon is top of your party.
      __________________
      Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
      Reply With Quote
        #128    
      Old July 17th, 2011 (5:14 PM).
      KingCyndaquil's Avatar
      KingCyndaquil KingCyndaquil is offline
      Pokemon Master
         
        Join Date: Oct 2009
        Location: Chicago
        Gender: Male
        Nature: Relaxed
        Posts: 437
        this may sound dumb, but i know there is a way to write an asm code to change a sprites clothing to the same clothing that the NPC is wearing.

        Example:

        cant you re-modify that code to make the ow follow the player? it sounds farfetched (no pun intended) but its worth a shot... so what do you guys think?
        __________________


        3DS FC: 4184-2489-6268
        Reply With Quote
          #129    
        Old July 18th, 2011 (5:21 AM).
        Quickster's Avatar
        Quickster Quickster is offline
        Dream or Drop?
           
          Join Date: Oct 2007
          Gender: Male
          Nature: Quiet
          Posts: 351
          Quote:
          Originally Posted by KingCyndaquil View Post
          this may sound dumb, but i know there is a way to write an asm code to change a sprites clothing to the same clothing that the NPC is wearing.

          Example:

          cant you re-modify that code to make the ow follow the player? it sounds farfetched (no pun intended) but its worth a shot... so what do you guys think?
          Now Im no ASM expert so anyone can correct me if Im wrong, but that is a totally different concept. All its doing is switching what the OW looks like that the player controls. In theory, you could modify any code to make an OW follow the player, but Jambo looks pretty far along, and you can see he has made enough progress to be followed, so why make a new code?
          __________________
          I laugh looking at this.

          But sometimes I want to come back to it...

          Reply With Quote
            #130    
          Old July 20th, 2011 (9:03 AM).
          KingCyndaquil's Avatar
          KingCyndaquil KingCyndaquil is offline
          Pokemon Master
             
            Join Date: Oct 2009
            Location: Chicago
            Gender: Male
            Nature: Relaxed
            Posts: 437
            Quote:
            Originally Posted by Quickster View Post
            Now Im no ASM expert so anyone can correct me if Im wrong, but that is a totally different concept. All its doing is switching what the OW looks like that the player controls. In theory, you could modify any code to make an OW follow the player, but Jambo looks pretty far along, and you can see he has made enough progress to be followed, so why make a new code?
            jambo said himself (i asked him on msn) that he still has a good amount of work to do before he finishes it, and its not exactly a new code, a modified one, ehhh but i guess your right about it not making sense i was just trying to help lol, i dont much about asm myself.
            __________________


            3DS FC: 4184-2489-6268
            Reply With Quote
              #131    
            Old July 20th, 2011 (10:42 AM).
            Teh Blazer's Avatar
            Teh Blazer Teh Blazer is offline
            Divider of Zero
               
              Join Date: Feb 2009
              Location: 'MERICA
              Age: 22
              Gender: Male
              Nature: Relaxed
              Posts: 772
              This may sound like an often repeated intro that many people say when starting off their ideas, but what will the following overworld do when you in the middle of a script. For instance, if I make a script that makes the player step forward one tile, will I also have to add in another applymovement for the following overworld so they are still in sync, or will it do that automatically?
              __________________
              Being a hero is overrated anyways
              Reply With Quote
                #132    
              Old July 20th, 2011 (2:00 PM).
              Jambo51's Avatar
              Jambo51 Jambo51 is offline
              Glory To Arstotzka
                 
                Join Date: Jun 2009
                Gender: Male
                Nature: Quiet
                Posts: 732
                Quote:
                Originally Posted by Teh Blazer View Post
                This may sound like an often repeated intro that many people say when starting off their ideas, but what will the following overworld do when you in the middle of a script. For instance, if I make a script that makes the player step forward one tile, will I also have to add in another applymovement for the following overworld so they are still in sync, or will it do that automatically?
                With my system, it SHOULD move, as normal, since it's based on the pixel movement of the player's sprite, rather than button presses.
                Don't quote me on that though, as I haven't tested it.
                __________________
                Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                Reply With Quote
                  #133    
                Old July 20th, 2011 (6:33 PM).
                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
                Can you interact with the NPC in your method Jambo? :\ With the way you've done it, it seems like you'll need to add another routine somewhere to make it seem as though interaction works.
                __________________
                あなた は しきしゃ です
                わたし は ばか です
                Reply With Quote
                  #134    
                Old July 21st, 2011 (11:13 AM).
                Jambo51's Avatar
                Jambo51 Jambo51 is offline
                Glory To Arstotzka
                   
                  Join Date: Jun 2009
                  Gender: Male
                  Nature: Quiet
                  Posts: 732
                  Quote:
                  Originally Posted by Darthatron View Post
                  Can you interact with the NPC in your method Jambo? :\ With the way you've done it, it seems like you'll need to add another routine somewhere to make it seem as though interaction works.
                  Yeah, it's possible to interact with NPC's in my version. I tried to show that in my videos, IIRC.

                  I showed in the first 2 certainly, that normal NPC interaction worked, and so did tile scripts.

                  EDIT: Wait, I see now that you meant the following NPC. Yes, I can interact with it.
                  __________________
                  Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                  Reply With Quote
                    #135    
                  Old July 22nd, 2011 (10:13 AM).
                  KingCyndaquil's Avatar
                  KingCyndaquil KingCyndaquil is offline
                  Pokemon Master
                     
                    Join Date: Oct 2009
                    Location: Chicago
                    Gender: Male
                    Nature: Relaxed
                    Posts: 437
                    Quote:
                    Originally Posted by Jambo51 View Post
                    Yeah, it's possible to interact with NPC's in my version. I tried to show that in my videos, IIRC.

                    I showed in the first 2 certainly, that normal NPC interaction worked, and so did tile scripts.

                    EDIT: Wait, I see now that you meant the following NPC. Yes, I can interact with it.
                    did you test for fadescreen and healingspot? it seems that my be difficult to accomplish
                    __________________


                    3DS FC: 4184-2489-6268
                    Reply With Quote
                      #136    
                    Old July 22nd, 2011 (11:34 AM).
                    hi sir tomato my password is syvniti's Avatar
                    hi sir tomato my password is syvniti hi sir tomato my password is syvniti is offline
                    gggggggggggggggggg
                       
                      Join Date: Jan 2007
                      Location: My user name _ asciii_ +&h1!" lulz
                      Posts: 581
                      Quote:
                      Originally Posted by KingCyndaquil View Post
                      this may sound dumb, but i know there is a way to write an asm code to change a sprites clothing to the same clothing that the NPC is wearing.

                      Example:

                      cant you re-modify that code to make the ow follow the player? it sounds farfetched (no pun intended) but its worth a shot... so what do you guys think?
                      That's not how you spell shop?
                      __________________
                      THE CAKE IS A LIE!!!!!!!!!!!!!!!!!!!!!!!
                      Reply With Quote
                        #137    
                      Old July 23rd, 2011 (12:54 AM). Edited July 24th, 2011 by Jambo51.
                      Jambo51's Avatar
                      Jambo51 Jambo51 is offline
                      Glory To Arstotzka
                         
                        Join Date: Jun 2009
                        Gender: Male
                        Nature: Quiet
                        Posts: 732
                        I tested many things related to mine.

                        Saving, quitting and restarting: Check
                        Map to map connections: Check
                        Walking: Check
                        Running: Check
                        Ledges: Check
                        Tile Scripts: Check
                        Trainer and Wild battles: Check
                        Warping: Not working
                        Biking: Not working
                        Surfing: Not working
                        Flying (Kind of warping here...): Not working
                        Scripts moving the player: No idea XD

                        I have ideas for biking and surfing, but haven't really got any idea whatsoever how I can accomplish the warping. Obviously, the sprite should appear from the tile which you were warped to after you move from it, but until I find the routine which creates the player sprite in the RAM and OAM, I can't look any further into this. As far as I know, the entire map is reloaded on warping, even if you warp to the same map that you were already on. So that could be a small blessing.
                        __________________
                        Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                        Reply With Quote
                          #138    
                        Old July 26th, 2011 (10:47 PM).
                        Roboto-kun's Avatar
                        Roboto-kun Roboto-kun is offline
                        is an Ace Trainer.
                           
                          Join Date: Apr 2011
                          Gender: Male
                          Nature: Jolly
                          Posts: 10
                          Are you ever going to release the codes? I mean, it's ok if you don't but, I'm just wondering.
                          Reply With Quote
                            #139    
                          Old July 26th, 2011 (11:54 PM).
                          Jambo51's Avatar
                          Jambo51 Jambo51 is offline
                          Glory To Arstotzka
                             
                            Join Date: Jun 2009
                            Gender: Male
                            Nature: Quiet
                            Posts: 732
                            Quote:
                            Originally Posted by Roboto-kun View Post
                            Are you ever going to release the codes? I mean, it's ok if you don't but, I'm just wondering.
                            Quote:
                            Originally Posted by Jambo51 View Post
                            I'll release the code if and when I deem it to be ready for use.
                            That video shows the working aspects of the routines, but there are still plenty of things which won't work yet as well. Warping is a HUGE problem related to this.
                            I think that's an adequate answer! Lol.
                            __________________
                            Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                            Reply With Quote
                              #140    
                            Old August 22nd, 2011 (7:02 AM).
                            KNC's Avatar
                            KNC KNC is offline
                            Sir Demoknight
                               
                              Join Date: Aug 2011
                              Gender: Male
                              Nature: Careful
                              Posts: 19
                              Wondering how far you got with this script so far? I'm considering doing a hack but I'd need to get a specific pokemon to follow me for story purposes.

                              I'd also have an idea on how to possibly deal with the warp problem, I wouldn't know wether it could possibly work though, since you haven't published anything that explains how it works, or what part of warping is such an big problem.

                              But given you have an routine that draws sprites upon walking and letting them follow you, wouldn't it be possible to include a flag on wether there is currently a pokemon following you, and when it is, to simply always create the sprite when you move? That way the sprite wouldn't appear the moment you entered the house but rather the moment you take your first step inside. Like when your follower still stands outside, because you block the way, and waits for you to move a step.
                              Reply With Quote
                                #141    
                              Old August 22nd, 2011 (7:09 AM).
                              Missingyep Missingyep is offline
                                 
                                Join Date: Jul 2010
                                Posts: 275
                                Quote:
                                Originally Posted by KNC View Post
                                But given you have an routine that draws sprites upon walking and letting them follow you, wouldn't it be possible to include a flag on wether there is currently a pokemon following you, and when it is, to simply always create the sprite when you move? That way the sprite wouldn't appear the moment you entered the house but rather the moment you take your first step inside. Like when your follower still stands outside, because you block the way, and waits for you to move a step.
                                THAT... sounds like it could work. But what about map connections?
                                Reply With Quote
                                  #142    
                                Old August 23rd, 2011 (5:15 AM). Edited August 25th, 2011 by KNC.
                                KNC's Avatar
                                KNC KNC is offline
                                Sir Demoknight
                                   
                                  Join Date: Aug 2011
                                  Gender: Male
                                  Nature: Careful
                                  Posts: 19
                                  Quote:
                                  Originally Posted by Jambo51 View Post
                                  I tested many things related to mine.

                                  Saving, quitting and restarting: Check
                                  Map to map connections: Check
                                  Walking: Check
                                  Running: Check
                                  Ledges: Check
                                  Tile Scripts: Check
                                  Trainer and Wild battles: Check
                                  Warping: Not working
                                  Biking: Not working
                                  Surfing: Not working
                                  Flying (Kind of warping here...): Not working
                                  Scripts moving the player: No idea XD

                                  I have ideas for biking and surfing, but haven't really got any idea whatsoever how I can accomplish the warping. Obviously, the sprite should appear from the tile which you were warped to after you move from it, but until I find the routine which creates the player sprite in the RAM and OAM, I can't look any further into this. As far as I know, the entire map is reloaded on warping, even if you warp to the same map that you were already on. So that could be a small blessing.
                                  Hence it seems like map connections already work like they are supposed to. I also know that my idea definitely can work. Still as long as only Jambo51 has the code it's up to him to know wether it fits within his solution.

                                  Well damn it'd certainly be easier if not everyone who tries to make this keeps his code for himself after all when it's supposed to be released afterwards anyways. If at least others could join in on the work instead of just watching or starting from scratch themselves...
                                  Reply With Quote
                                    #143    
                                  Old August 26th, 2011 (11:52 AM).
                                  Jambo51's Avatar
                                  Jambo51 Jambo51 is offline
                                  Glory To Arstotzka
                                     
                                    Join Date: Jun 2009
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 732
                                    Quote:
                                    Originally Posted by KNC View Post
                                    Well damn it'd certainly be easier if not everyone who tries to make this keeps his code for himself after all when it's supposed to be released afterwards anyways. If at least others could join in on the work instead of just watching or starting from scratch themselves...
                                    JEEZ! It couldn't possibly be that i've been unwell, busy working or sorting out my University stuff. No, it must be that I've decided to be a d**k and keep the code to myself.

                                    Also, if I decided to keep the code to myself, I'd be well within my rights to do so. It's my perogative. There's no rule explicitly stating that I must post every single discovery I make! Just remember that!

                                    However, I'm not an elitist snob. I only got where I am now by reading other people's discoveries and understanding how they were made. So I CHOOSE to post discovered information when I discover it for the benefit of the whole community.

                                    In all fairness though, I've not really worked on the routines for a while now. They're not finished, and as I stated above, when they're finished, I'll release them. Not before.
                                    __________________
                                    Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                                    Reply With Quote
                                      #144    
                                    Old August 26th, 2011 (1:28 PM).
                                    knizz's Avatar
                                    knizz knizz is offline
                                       
                                      Join Date: Aug 2007
                                      Posts: 192
                                      Quote:
                                      Originally Posted by KNC View Post
                                      Well damn it'd certainly be easier if not everyone who tries to make this keeps his code for himself after all when it's supposed to be released afterwards anyways. If at least others could join in on the work instead of just watching or starting from scratch themselves...
                                      Do you have any idea what the work in progress of a patch like that looks like? I doubt anyone could help. And those who do exchange their knowledge already.

                                      Quote:
                                      Originally Posted by KNC
                                      I'd need to get a specific pokemon to follow me for story purposes.
                                      that will certainly make you special.

                                      Seriously... why do people hack pokemon for the STORY...
                                      __________________
                                      Firered IDA 6.6 DB: https://www.dropbox.com/s/d856o3pyndyr5sr/firered.idb
                                      VBA-M with lua scripting support
                                      Reply With Quote
                                        #145    
                                      Old August 26th, 2011 (6:07 PM).
                                      KNC's Avatar
                                      KNC KNC is offline
                                      Sir Demoknight
                                         
                                        Join Date: Aug 2011
                                        Gender: Male
                                        Nature: Careful
                                        Posts: 19
                                        Quote:
                                        Originally Posted by Jambo51 View Post
                                        JEEZ! It couldn't possibly be that i've been unwell, busy working or sorting out my University stuff. No, it must be that I've decided to be a d**k and keep the code to myself.

                                        Also, if I decided to keep the code to myself, I'd be well within my rights to do so. It's my perogative. There's no rule explicitly stating that I must post every single discovery I make! Just remember that!
                                        Jeez, I wasn't pointing at anyone calling them a d**k...

                                        That's not what I said and I wasn't trying to offend anyone. I'm honestly sorry if it came over like that.

                                        I was rather pointing at the fact this thread is around for more than a year and that while reading through it I noticed quite a few people talking about going on their own approach, with sorta everyone ending at a different point, which seems to be a rather sad end for a patch project that's been dragging on for so long.
                                        Again, sorry if it came over as harsh and offensive.

                                        Quote:
                                        Originally Posted by knizz View Post
                                        Do you have any idea what the work in progress of a patch like that looks like? I doubt anyone could help. And those who do exchange their knowledge already.
                                        I do know pretty good that it's a great workload doing such a patch since I'm getting myself into several other languages besides scripting. As such I totally don't want to make down the work of anyone there.
                                        Also the chance that someone else has that one fitting idea might not be big but it isn't zero either.

                                        Quote:
                                        Originally Posted by knizz View Post
                                        Seriously... why do people hack pokemon for the STORY...
                                        Well I think that the supplied story of a game should be either sort of good or non-existent if it's solely about gameplay. And one of the weaknesses of pokemon is that it always includes a half-brewed story (only talking about the editions) that barely contributes for anything. So I'd either remove it completely or give it a try at making the story worthwhile.
                                        Well that's just my personal opinion there.
                                        Reply With Quote
                                          #146    
                                        Old August 26th, 2011 (7:02 PM).
                                        giradialkia's Avatar
                                        giradialkia giradialkia is offline
                                        • Crystal Tier
                                         
                                        Join Date: Apr 2009
                                        Location: Ireland
                                        Age: 24
                                        Gender: Male
                                        Nature: Timid
                                        Posts: 1,563
                                        Right, that's a little argument settled, then. On-topic from here, please! :)
                                        __________________

                                        I'm working on an album of Pokémon-inspired music. Check out the Soundcloud link if you're interested!


                                        This is my Soundcloud | | This is my bandcamp
                                        Reply With Quote
                                          #147    
                                        Old August 29th, 2011 (11:20 AM).
                                        EdensElite's Avatar
                                        EdensElite EdensElite is offline
                                        No0b, but getting there.
                                           
                                          Join Date: Jun 2011
                                          Location: UK
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 190
                                          I don't know if it has already been suggested, and it might be a bit of work, but if when you get it to work, you could use a dynamic offset to say which ever pokemon is at the top of your party the sprite could be recalled etc etc. Creating a HGSS Effect. Suggestions?
                                          __________________

                                          ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                          That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                          Reply With Quote
                                            #148    
                                          Old September 1st, 2011 (7:27 AM).
                                          KNC's Avatar
                                          KNC KNC is offline
                                          Sir Demoknight
                                             
                                            Join Date: Aug 2011
                                            Gender: Male
                                            Nature: Careful
                                            Posts: 19
                                            Quote:
                                            Originally Posted by EdensElite View Post
                                            I don't know if it has already been suggested, and it might be a bit of work, but if when you get it to work, you could use a dynamic offset to say which ever pokemon is at the top of your party the sprite could be recalled etc etc. Creating a HGSS Effect. Suggestions?
                                            Taking a look at this list I don't quite think that's necessery, I'm just quoting it again:
                                            Quote:
                                            Originally Posted by Jambo51 View Post
                                            Saving, quitting and restarting: Check
                                            Map to map connections: Check
                                            Walking: Check
                                            Running: Check
                                            Ledges: Check
                                            Tile Scripts: Check
                                            Trainer and Wild battles: Check
                                            Warping: Not working
                                            Biking: Not working
                                            Surfing: Not working
                                            Flying (Kind of warping here...): Not working
                                            Scripts moving the player: No idea XD
                                            So Ideas should go about the things not marked with an check, namely Warping/Biking/Flying and the Scripts.

                                            For warping I posted my idea already a few posts above.

                                            For biking, well that depends on what you'd want to achieve...
                                            1: Just pretend you take the pokemon back into their ball, nothing big to do for this necessery I guess. But then again depends on what approach you take on the script.
                                            2: Pokemon follows your bike... well for some pokemon which are fast that'd work, but it'd be strange to have pokemon not as fast follow you. Then it'd be the same approach as basic walking given you can identify the current state.
                                            3: Optionally you can have the pokemon on the back of the back, right behind you. That would just work again with a few specific pokemon though. So I wouldn't basically integrate this approach as well as the one above. This could simply be achieved through editing the sprites though, given of course you have only one specific pokemon following you.

                                            For flying... well though it is sorta warping I don't quite think my idea is the perfect fit. Given the space below you is always free open ariving at one spot I guess you could edit the ariving points for flying since there aren't that much around, and let the pokemon pop up below after landing.

                                            Quote:
                                            Originally Posted by Jambo51 View Post
                                            Scripts moving the player: No idea XD
                                            I don't quite get the meaning of this part though. I assume you're talking about the scripts that are checking the buttons and applying movement I guess though?
                                            Reply With Quote
                                              #149    
                                            Old September 1st, 2011 (7:43 AM).
                                            Missingyep Missingyep is offline
                                               
                                              Join Date: Jul 2010
                                              Posts: 275
                                              Quote:
                                              Originally Posted by KNC View Post
                                              I don't quite get the meaning of this part though. I assume you're talking about the scripts that are checking the buttons and applying movement I guess though?
                                              nope.avi

                                              He's referring to applymovement, applymovementpos, waitmovement, and waitmovementpos. And possibly also movesprite and some others.
                                              Reply With Quote
                                                #150    
                                              Old September 1st, 2011 (7:47 AM).
                                              NarutoActor's Avatar
                                              NarutoActor NarutoActor is offline
                                              The rocks cry out to me
                                              • Silver Tier
                                               
                                              Join Date: Jan 2009
                                              Location: Brooklyn/Marlboro
                                              Age: 23
                                              Gender: Female
                                              Nature: Bashful
                                              Posts: 1,979
                                              He means scripts that contain applymovement 0xff. You know like the script right in the beginning of the original fr, When you and oke walk to his lab? How would that affect the pokemon walking with you? That is his predicament.
                                              __________________
                                              ~There are those people who understand hex, F the rest
                                              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 2:51 AM.