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.

Reply
 
Thread Tools
  #201    
Old 1 Week Ago (6:12 AM). Edited 1 Week Ago by JustKenneth.
JustKenneth's Avatar
JustKenneth JustKenneth is offline
Developer Pokemon The Kingdom of Meralas
     
    Join Date: Oct 2009
    Location: Belgium
    Gender: Male
    Nature: Calm
    Posts: 8
    Hey all,

    first, thanks for the script! Very helpful.
    I ran into an issue while playtesting, when I lose a battle the follower doesn't reappear, it's still there but invisible.
    When I interact with it an error shows up.

    edit:
    Also while pressing 'CTRL' the player is able to walk through walls.

    ---------------------------
    Zircon and Citrine
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `-' for nil:NilClass

    Follow pokemon:743:in `talk_to_pokemon'

    Follow pokemon:1559:in `update'

    Scene_Map:68:in `main'

    Scene_Map:65:in `loop'

    Scene_Map:72:in `main'

    Main:49:in `mainFunctionDebug'

    Main:27:in `mainFunction'

    Main:27:in `pbCriticalCode'

    Main:27:in `mainFunction'

    Main:59






    Any ideas?
    __________________
    "And as the sails arrived, the forest vanished and the city fell. Meralas is king now."
    - Xhicco - Pokemon: The Kingdom of Meralas
    Reply With Quote

    Relevant Advertising!

      #202    
    Old 1 Week Ago (9:01 PM). Edited 1 Week Ago by destron4444.
    destron4444 destron4444 is offline
       
      Join Date: Jan 2017
      Gender: Male
      Posts: 3
      It Will not show a unfainted Pokemon
      You may need to add pbPokemonFollow to any event with a start over switch attached. I find blacking out may turn the pbPokemonFollow script off.
      Use "D" to cycle through Pokemon or set a unfainted Pokemon to you first party slot.
      see Line 25
      "ALLOWFIELDSWITCHING = true # Allow the player to cycle through pokemon"
      "Ctrl" in playtest will toggle "no collision" if held. it will toggle your following Pokemon if pressed

      I am having a problem with the
      Line 915
      #===============================================================================
      # * Auto add Script to Kernel.pbCanUseHiddenMove, fix HM bug
      # * Fixed so non-pokemon follower dependent events will return false
      #=============================================================================== section of the follower script
      If the follower script is NOT activated any Partner Dependency will cause the player not able to surf..etc as normal.
      But if the follower script IS activated the player can surf and the any Partner Dependency will walk on water. I have tested this in Playtest as well as game mode on a fresh V16 to find the same issues.
      Reply With Quote
        #203    
      Old 1 Week Ago (10:27 PM).
      destron4444 destron4444 is offline
         
        Join Date: Jan 2017
        Gender: Male
        Posts: 3
        Update
        If in playtest while follower script installed, if no Pokemon are in the players party when surf is called
        it gives the error

        ---------------------------
        Pokemon Essentials
        ---------------------------
        Exception: NoMethodError

        Message: undefined method `hp' for nil:NilClass

        Follower:419:in `check_surf'

        Follower:880:in `pbSurf'

        PField_HiddenMoves:560

        PField_HiddenMoves:555:in `call'

        Event:54:in `trigger'

        Event:49:in `each'

        Event:49:in `trigger'

        Scene_Map:175:in `follow_update'

        Follower:1552:in `update'

        Scene_Map:68:in `main'
        Reply With Quote
          #204    
        Old 1 Week Ago (7:20 PM).
        Venomous_Zero86's Avatar
        Venomous_Zero86 Venomous_Zero86 is offline
        Pokemon Chosen Ones (Coming Soon)
           
          Join Date: Mar 2016
          Gender: Male
          Posts: 40
          can i get what were suppose to put in a text or script file i dont know how to add the script code in the event
          Reply With Quote
            #205    
          Old 1 Week Ago (8:08 PM).
          FallenStorm's Avatar
          FallenStorm FallenStorm is offline
          Pokemon Saturn Developer
             
            Join Date: Jun 2016
            Location: California
            Gender: Male
            Posts: 13
            How can I make it where even if my Pokemon is fainted, it's still following me? (or make the next non-fainted Pokemon follow me)
            Reply With Quote
              #206    
            Old 6 Days Ago (8:27 AM).
            Vendily's Avatar
            Vendily Vendily is offline
            Making BW-style OWs for RMXP
               
              Join Date: Aug 2015
              Gender: Female
              Nature: Calm
              Posts: 687
              Quote:
              Originally Posted by FallenStorm View Post
              How can I make it where even if my Pokemon is fainted, it's still following me? (or make the next non-fainted Pokemon follow me)
              You could change all instances of $Trainer.party to $Trainer.ablePokemonParty, which is the party, minus eggs and fainted pokemon.
              __________________
              Resources for ROM hackers has moved.

              Reply With Quote
                #207    
              Old 6 Days Ago (2:42 AM). Edited 6 Days Ago by destron4444.
              destron4444 destron4444 is offline
                 
                Join Date: Jan 2017
                Gender: Male
                Posts: 3
                Quote:
                Originally Posted by Venomous_Zero86 View Post
                can i get what were suppose to put in a text or script file i dont know how to add the script code in the event
                This info is the VERY FIRST post of this forum
                Make blank event (x) " (x) is the number of any script on said page"
                add"pbPokemonFollow(x)" to a trigger script ..ie starter choice, blackout,poke center,mom, prof, trainer, cut-table tree, player touch, event touch ,auto run ..etc
                you could just use pbPokemonFollow(1) given you have some sort of event on the page ..say a door
                Reply With Quote
                Reply
                Quick Reply

                Sponsored Links
                Thread Tools

                Posting Rules
                You may not post new threads
                You may not post replies
                You may not post attachments
                You may not edit your posts

                BB code is On
                Smilies are On
                [IMG] code is On
                HTML code is Off

                Forum Jump


                All times are GMT -8. The time now is 6:21 AM.