• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Even More Fixes and Additions to Help-14's Following Pokemon Script

55
Posts
10
Years
    • Seen Oct 8, 2019
    Hey guys thank you very much for that awesome work!

    But there is a single syntax error left, that I can't fix.
    It is in line 1001, the last line where only "end" is written.

    Can you help me to fix the problem?

    This is the code snippet:
    Code:
    def pbPokemonFollow(x)
      Kernel.pbAddDependency2(x,"Dependent",CommonEvent)
      $PokemonTemp.dependentEvents.refresh_sprite
      $game_switches[Following_Activated_Switch]=true
      $game_switches[Toggle_Following_Switch]=true
    end
     
    Last edited:
    68
    Posts
    8
    Years
    • Seen Dec 3, 2016
    Still having the surf issue. The map overlaps the following pokemon and if i speak to it it lets me surf :(
     
    32
    Posts
    10
    Years
    • Seen Nov 19, 2016
    Still having the surf issue. The map overlaps the following pokemon and if i speak to it it lets me surf :(

    Refrain from using connected maps at all. It's been a problem since the script's original inception since the follower isn't even on the same map as you. Change how you design the game around it (Gatehouses are a thing) or fix this old script yourself and look at Klein's overlap fix.
     
    68
    Posts
    8
    Years
    • Seen Dec 3, 2016
    But for example in Pokémon Melanite the first town is connected to the first route. And there isnt this bug. Im using the ovelap fix but
    that alone doesnt seem to work
     

    JustX

    The Mutant
    34
    Posts
    8
    Years
  • Error fix

    ---------------------------
    Pokemon
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 19, map 19 (Landowald2):

    Exception: NoMethodError

    Message: Section002:123:in `effect?'undefined method `>' for nil:NilClass

    ***Full script:

    pbPokemonFollow(19)


    Interpreter:243:in `pbExecuteScript'

    RPG__Sprite:434:in `effect?'

    RPG__Sprite:433:in `each'

    RPG__Sprite:433:in `effect?'

    AnimationSprite:30:in `update'

    AnimationSprite:87:in `update'

    AnimationSprite:86:in `each'

    AnimationSprite:86:in `update'

    Scene_Map:51:in `updateSpritesets'

    Scene_Map:45:in `each'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:1606:in `command_355'

    Interpreter:494:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `update'

    Scene_Map:101:in `loop'

    Scene_Map:114:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\Justin-Account\Saved Games/Pokemon Mutants/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    How can I fix that error ? Its about following pokémon.
     
    32
    Posts
    10
    Years
    • Seen Nov 19, 2016
    SNIP!!

    How can I fix that error ? Its about following pokémon.

    Bug Fixing

    If you follow all these steps and get an error that looks like this
    Spoiler:

    you need to delete your saved data, and then replace the Animations data file again with the download I have above. (Just the part that goes in the Data Folder) Start a new game and the issue should be resolved.

    This bug had a solution at the bottom of the main post...

    This a common bug that people experience when they do not start a new game and/or have all the animations associated with this script. Please read the entire post and follow all instructions. Also, for future reference, place your error messages in spoiler tags.

    Reason: The script is asking for IDs beyond the maximum that later versions of default Essentials comes with. Change the maximum amount of animation IDs the game can have to 100 through RPG Maker XP's Database since most of the animations are in the 95-100 range. Or you can change the animation IDs the script is asking for to more reasonable IDs in Following Pokemon's Settings since Essentials doesn't use XP's large animations list anymore for attacks. If you don't know how to do this, you're better off downloading the original poster's Animations.rxdata and placing this in your game's Data folder. You should start a new game too.
     

    JustX

    The Mutant
    34
    Posts
    8
    Years
  • im getting syntax error from scene_map :(

    Unfortunately Im kinda nooby in scripting so you need to contact another one, but what I can tell you is to look at the 7th page of the thread, I got an error on my own and posted it, just read the whole 7th page, theres a fix written under my messages.
     
    1
    Posts
    8
    Years
    • Seen Aug 10, 2015
    So, I did everything the same way as it was said how I have to do it (except that the script "Dependend Events" is called "PField_DependendEvents" in my scripts)

    So, as soon as I start the game the following error message appears:
    ____________________________________________________________________________

    Script 'Game_Player' line 10: NoMethodError occurred.

    undefined method 'dependendEvents' for nil:NilClass
    ____________________________________________________________________________

    How do I fix it? (Renaming the Script doesn't help, just fyi)
     

    Aljen

    The Lost Boy...
    125
    Posts
    10
    Years
  • So, I did everything the same way as it was said how I have to do it (except that the script "Dependend Events" is called "PField_DependendEvents" in my scripts)

    So, as soon as I start the game the following error message appears:
    ____________________________________________________________________________

    Script 'Game_Player' line 10: NoMethodError occurred.

    undefined method 'dependendEvents' for nil:NilClass
    ____________________________________________________________________________

    How do I fix it? (Renaming the Script doesn't help, just fyi)
    i think it should be PField_DependentEvents and the method should be dependentEvents....
    ------------------------
    in some map i can't talk to pokemon. how to fix this bug?
    thanks
    So the Pokemon can talk in some maps and some others it cant?
     
    Last edited:
    1,224
    Posts
    10
    Years
  • Is it on a map named "Route" something or other?
    There's a bit of code meant to be an example, but winds up screwing people up a bit if they never look through the code
    Code:
    elsif mapname.include?("Route")

    and with nothing after it. So it will play the pokemon's cry, but there's no message there
     
    46
    Posts
    10
    Years
    • Seen Jan 19, 2017
    Is it on a map named "Route" something or other?
    There's a bit of code meant to be an example, but winds up screwing people up a bit if they never look through the code
    Code:
    elsif mapname.include?("Route")

    and with nothing after it. So it will play the pokemon's cry, but there's no message there
    yeah, it's have "Route" in the names. I deleted the code
    Code:
    elsif mapname.include?("Route")
    and it work in the old map which has not worked before. i will test in others map
    thanks very much
     
    Back
    Top