The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Help-14's Pokémon Following Character script - fixes and additions

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Closed Thread
 
Thread Tools
  #101    
Old September 17th, 2013 (11:43 AM).
Tayuya of the Sound Four's Avatar
Tayuya of the Sound Four Tayuya of the Sound Four is offline
     
    Join Date: Jan 2013
    Gender: Female
    Posts: 31
    Quote:
    Originally Posted by aegisrox View Post
    Tayuta, i found the solution of your problem!! :D

    The solution if that you dont have defined the Emoticons icons spritesheet, i happens the same to me, and when i defined then it WORKS!!

    If you dont know how to do this, send me a PM with your mail and i will send you the solution!!

    Regards

    Aegis
    Oh thanks! It works now! I can't beleive I missed that u.u

    Relevant Advertising!

      #102    
    Old October 23rd, 2013 (3:09 PM).
    heitres heitres is offline
       
      Join Date: May 2013
      Gender: Male
      Posts: 13
      I just got the script work, its 99% working, but there is a bug with the bike, I can't see where to fix it. My bug is when I use a bike, the pokemon that is following me disappear with this scipt you adviced to implement:

      def Kernel.pbMountBike
      return if $PokemonGlobal.bicycle $PokemonGlobal.bicycle=true
      $PokemonTemp.dependentEvents.remove_sprite(true)
      Kernel.pbUpdateVehicle
      bikebgm=pbGetMetadata(0,MetadataBicycleBGM)
      if bikebgm
      pbCueBGM(bikebgm,0.5)
      end
      end

      This script to be more specific in the PokemonField script section:

      $PokemonTemp.dependentEvents.remove_sprite(true)


      My problem is when I dismount the bike, my pokemon still following me, I can talk with him, but the problem is his sprite stays invisible. I tryed to find where to implement the command:
      $PokemonTemp.dependentEvents.refresh_sprite

      But I can't find where. Can you help me plz?

      Its the only bug I have and need to fix, I just managed to make Dig, Escape rope and use the Bike without have that limitation that deny the player to use that kind of moves/vehicle with dependent event.
        #103    
      Old October 25th, 2013 (2:46 AM). Edited October 26th, 2013 by heitres.
      heitres heitres is offline
         
        Join Date: May 2013
        Gender: Male
        Posts: 13
        OMG, I found where to fix the problem with dismount bike, so easy, I'm really blind, I found it in Pokémon field in the line 1494 I think. There are a condition IF "Return If". The line is like this:

        def Kernel.pbDismountBike
        return if !$PokemonGlobal.bicycle
        $PokemonGlobal.bicycle=false
        Kernel.pbUpdateVehicle
        $game_map.autoplayAsCue
        end

        I copied and pasted in the Pokemon follower script, and I followed the same instruction as it is in the surf, there is a pbendsurf, and saw how to do it and I add this $PokemonTemp.dependentEvents.Come_back(true).

        After I made it, it become like this:

        def Kernel.pbDismountBike
        return if !$PokemonGlobal.bicycle
        $PokemonGlobal.bicycle=false
        Kernel.pbUpdateVehicle
        $game_map.autoplayAsCue
        $PokemonTemp.dependentEvents.Come_back(true)
        end

        And fixed my problem. Now I need to fix when my first pokemon in the pokemon party is fainted, how to change the sprite to my second pokemon (if he/she has HP and ofc if I have more than 1 pokemon, but its not a big deal), I will try to add some more features to the script in my game. Thanks for the script PokémonFollower, thanks for your hard work guys Now I can really say I have 100% working in this script.

        I don't know if you guys are reading my posts, but I just got the way to make the script work, I mean, when you have the first pokemon fainted, the game will search for the second pokemon. I don't know if you guys had the same problem, but for who got, just answer to me and I will post the fix
          #104    
        Old October 29th, 2013 (6:20 AM). Edited October 30th, 2013 by linkthehero.
        linkthehero's Avatar
        linkthehero linkthehero is offline
           
          Join Date: Sep 2012
          Gender: Male
          Posts: 66
          AHMMM could you make a kit for where this is inclouded , this would fix many problems
            #105    
          Old October 30th, 2013 (8:04 AM). Edited October 30th, 2013 by Peaverin.
          Peaverin's Avatar
          Peaverin Peaverin is offline
             
            Join Date: Sep 2013
            Gender: Male
            Posts: 50
            It doesn't even shows the pokémon following to me.
            I have the pokemon character graphics but not the other ones.
            Can someone re-upload the images and the other downloadable things?
            Edit: Done.
            __________________
            Click Here to enter my project's Webpage!
            Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me
              #106    
            Old October 30th, 2013 (8:18 AM).
            linkthehero's Avatar
            linkthehero linkthehero is offline
               
              Join Date: Sep 2012
              Gender: Male
              Posts: 66
              if you help me with the the cript part ,i will give you all graphics
              deal or no deal?
                #107    
              Old November 4th, 2013 (5:33 AM).
              heitres heitres is offline
                 
                Join Date: May 2013
                Gender: Male
                Posts: 13
                Ah I did a starter kit with the Follower Script I have. You can download it, sorry Zingzag, if you want to me to remove I will, this is just to help the ppl.

                Btw, I have fixed alot things, my version can give problems with HMs/TMs and veihcles when you have a partner dependent event with you. So if you are using the script I have, my advice is not use a partner.
                I created a switch that fix a bug when you are in veihcles and if you change the position of your pokemons, the pokemon that now are in the 1st position will appear while you are surfing, bicycling. Don't forget when you mount bicycle or when you use surf the switch will activate so to not let that happen, but don't forget if you are using a bicycle and when you enter through some door or entrance, you need to implement 2 commands to the teleport event, 1 is to desactivate the switch and the other is to update the sprite. Now if you have the first pokemon in your party fainted or if it is an egg, the game will search for the next pokemon alive and will refresh the sprite (This if you have more than 1 pokemon). And so on. The problems I know with my version is, the partner dependent events can't work very well, especially when the player is on some vehicle and now you can't talk to waterfalls while you have a pokemon following you, you need to use the waterfall manually (like in classic pokemon games, where you need to open the party menu, choose the pokemon with the move and then use it). I may fix that one day, for now I will try to develop my game. I'm newbie to script as well, but I'm trying to learn. Hope you liked it

                www(dot)mediafire(dot)com/?6ti03tembmszsh1
                  #108    
                Old November 4th, 2013 (1:36 PM).
                Joltik's Avatar
                Joltik Joltik is offline
                   
                  Join Date: Jan 2010
                  Gender: Male
                  Nature: Modest
                  Posts: 116
                  Very nice! Everything seems fine, except that there is a strange "jump" in the pokemon sprite whenever you pass through a connection between two maps.
                  Is there a way to make this smoother, or is it a general problem involving dependent events?

                  Thank you!
                    #109    
                  Old November 4th, 2013 (3:32 PM). Edited November 4th, 2013 by heitres.
                  heitres heitres is offline
                     
                    Join Date: May 2013
                    Gender: Male
                    Posts: 13
                    Becareful with my kit. There is NPCs (Red, Leaf, Brendan and May that explain about certain things) my english is not good, but I think the ppl understands what they say. The info they provide is important.
                      #110    
                    Old November 4th, 2013 (4:58 PM).
                    ShadowFiendZX's Avatar
                    ShadowFiendZX ShadowFiendZX is offline
                    Gym Leader
                       
                      Join Date: Jan 2013
                      Location: Hamden Connecticut
                      Age: 20
                      Gender: Male
                      Nature: Serious
                      Posts: 59
                      Quote:
                      Originally Posted by Giu View Post
                      Very nice! Everything seems fine, except that there is a strange "jump" in the pokemon sprite whenever you pass through a connection between two maps.
                      Is there a way to make this smoother, or is it a general problem involving dependent events?

                      Thank you!
                      It's a problem with dependent events. Another funny thing you might want to try with the dependent events is going on bridges. I'm pretty sure Maruno stated somewhere that there were bugs with dependent events.
                      __________________
                      BEHOLD THE FLOPPY MAGIKARP IN ALL ITS GLORY AND WISDOM

                        #111    
                      Old November 5th, 2013 (3:23 AM). Edited November 5th, 2013 by heitres.
                      heitres heitres is offline
                         
                        Join Date: May 2013
                        Gender: Male
                        Posts: 13
                        Quote:
                        Originally Posted by ShadowFiendZX View Post
                        It's a problem with dependent events. Another funny thing you might want to try with the dependent events is going on bridges. I'm pretty sure Maruno stated somewhere that there were bugs with dependent events.
                        There is in bridges, if for example you are near to a tile on your map that have a way to block a passage to certain direction, the dependent event won't walk normally. Instead of walk behind the player, it will walk on one of the sides (Left or right) of the player and so on. I hope some day that can get fixed. I wish I could help, but only right now I'm entering on scripting world. Trying to learn more :D
                          #112    
                        Old November 9th, 2013 (2:46 AM).
                        shongshong123 shongshong123 is offline
                           
                          Join Date: Oct 2013
                          Gender: Female
                          Posts: 6
                          hello. i want to make pokemon follow me . how to make in rmxp?
                          __________________
                          https://www.youtube.com/watch?v=rvJczMU21xg
                          .................................................. ................................................
                          Download Drastic for android : Drastic
                          (After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
                          Download No$GBA Full Package :
                          DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
                          Download Pokemon Black 2 patched :
                          DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
                          Download Pokemon White 2 patched :
                          DOWNLOAD HERE : Pokemon White 2 patched
                          More NDS rom : More NDS rom
                          .................................................. .................................................. .
                          Best games Best games
                          More game :More game
                            #113    
                          Old November 9th, 2013 (4:17 AM).
                          carmaniac's Avatar
                          carmaniac carmaniac is offline
                          Where the pickle surprise at?
                             
                            Join Date: Apr 2009
                            Location: England
                            Age: 22
                            Nature: Relaxed
                            Posts: 682
                            Quote:
                            Originally Posted by shongshong123 View Post
                            hello. i want to make pokemon follow me . how to make in rmxp?
                            Whole point of this thread is to tell you how to do so. So just follow the thread basically.
                            __________________

                            Pokémon: Lost Souls.







                            Developed by Carmaniac.


                            Quote:
                            Originally Posted by Luka S.J. View Post
                            My balls seem to be fine.
                              #114    
                            Old November 9th, 2013 (7:21 AM).
                            shongshong123 shongshong123 is offline
                               
                              Join Date: Oct 2013
                              Gender: Female
                              Posts: 6
                              ok. how i can fill code ? make new script ?
                              __________________
                              https://www.youtube.com/watch?v=rvJczMU21xg
                              .................................................. ................................................
                              Download Drastic for android : Drastic
                              (After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
                              Download No$GBA Full Package :
                              DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
                              Download Pokemon Black 2 patched :
                              DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
                              Download Pokemon White 2 patched :
                              DOWNLOAD HERE : Pokemon White 2 patched
                              More NDS rom : More NDS rom
                              .................................................. .................................................. .
                              Best games Best games
                              More game :More game
                                #115    
                              Old November 9th, 2013 (9:24 AM).
                              heitres heitres is offline
                                 
                                Join Date: May 2013
                                Gender: Male
                                Posts: 13
                                Quote:
                                Originally Posted by shongshong123 View Post
                                ok. how i can fill code ? make new script ?
                                Just download this and do the merge of your project with this. Don't forget to see the NPCs the player's mom, Red, Blue, May and Brendan, they explain the best as they can how the script works with the things I added. In some cases the grammar is not so good, but I think that can still be understandable.

                                About the link, just put "." in the "(dot)" things.

                                www(dot)mediafire(dot)com/?6ti03tembmszsh1
                                  #116    
                                Old November 11th, 2013 (8:23 PM).
                                shongshong123 shongshong123 is offline
                                   
                                  Join Date: Oct 2013
                                  Gender: Female
                                  Posts: 6
                                  oh. what about file in folder pokemon Essentials ? how to use it how i can replace it ?
                                  __________________
                                  https://www.youtube.com/watch?v=rvJczMU21xg
                                  .................................................. ................................................
                                  Download Drastic for android : Drastic
                                  (After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
                                  Download No$GBA Full Package :
                                  DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
                                  Download Pokemon Black 2 patched :
                                  DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
                                  Download Pokemon White 2 patched :
                                  DOWNLOAD HERE : Pokemon White 2 patched
                                  More NDS rom : More NDS rom
                                  .................................................. .................................................. .
                                  Best games Best games
                                  More game :More game
                                    #117    
                                  Old August 5th, 2014 (2:40 AM).
                                  Jacopo Mii Jacopo Mii is offline
                                     
                                    Join Date: May 2014
                                    Gender: Male
                                    Posts: 18
                                    Sorry, i really need your file Characters.rar
                                    But the link doesn't work. Can you reupload it please?
                                    Thanks you!!!!
                                      #118    
                                    Old October 25th, 2015 (6:11 AM).
                                    Darkattributes197's Avatar
                                    Darkattributes197 Darkattributes197 is offline
                                       
                                      Join Date: Oct 2015
                                      Location: NO, never!
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 21
                                      Does this still work? I'm using v15 and wanted to know if it worked. Has anyone tried yet?
                                      __________________
                                      Welp...This is a thing...I'm making 5 projects! Main dev of Digimon Lunar Dusk, and Solar Dawn!
                                      Stick around, you may see some of my other games!
                                        #119    
                                      Old October 25th, 2015 (7:03 AM).
                                      laxus3d laxus3d is offline
                                         
                                        Join Date: Jul 2015
                                        Gender: Male
                                        Posts: 11
                                        This version is better than the posted by Rayd12smitty?
                                          #120    
                                        Old October 26th, 2015 (9:27 AM).
                                        Darkattributes197's Avatar
                                        Darkattributes197 Darkattributes197 is offline
                                           
                                          Join Date: Oct 2015
                                          Location: NO, never!
                                          Gender: Male
                                          Nature: Relaxed
                                          Posts: 21
                                          Quote:
                                          Originally Posted by laxus3d View Post
                                          This version is better than the posted by Rayd12smitty?

                                          Okay! Does it work for essentials V15 or V15.1? Cause my digimon game could really use this!
                                            #121    
                                          Old October 26th, 2015 (10:50 AM).
                                          Rot8er_ConeX's Avatar
                                          Rot8er_ConeX Rot8er_ConeX is offline
                                             
                                            Join Date: May 2015
                                            Location: The Dissa Region
                                            Gender: Male
                                            Posts: 823
                                            TO EVERYONE:

                                            This version is not the most recent version. You want this topic.

                                            However, even this version has some issues working in Essentials v15.1. I personally have given up on making Following Pokemon a thing in my game because the sprites disappear when I change maps.
                                            __________________
                                            Features of Pokemon Entropy

                                            The black circular "doodles" in the lower right corner of my avatar are actually my username written in Gallifreyan. Yes I'm a Whovian.
                                            Closed Thread
                                            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 12:31 PM.