• 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.

Pokémon Following Character script

Status
Not open for further replies.

Ki77y666

I'm with stupid ^
118
Posts
15
Years
  • Just reposting my prob can come one pleaz help

    that was my prob now i have a new on when i change pokemon

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

    Message: undefined method `erase' for nil:NilClass

    DependentEvents:504:in `refresh'

    DependentEvents:502:in `eachEvent'

    DependentEvents:373:in `each'

    DependentEvents:373:in `eachEvent'

    DependentEvents:502:in `refresh'

    DependentEvents:521:in `update'

    AnimationSprite:94:in `update'

    AnimationSprite:93:in `each'

    AnimationSprite:93:in `update'

    Scene_Map:51:in `updateSpritesets'



    This exception was logged in errorlog.txt.

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


    and when i try to change the amount of pokemon by pressing z nothing happens also when i deposit my first pokemon the sprite of it is still there
     
    13
    Posts
    14
    Years
    • Seen Aug 8, 2020
    TTTTTTTTTTTTTTTTTTTTTThat was what i was looking for how may i thank you :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDd the best ill subscribe
     
    25
    Posts
    14
    Years
    • Seen Mar 7, 2010
    I think.. i get this ....
    but like how do you put 6 pokemons out o__0 do u press a button to let them come out one by one ?
     

    MykehDoom

    Team Magma's Entei
    150
    Posts
    18
    Years
    • Age 35
    • GA
    • Seen Aug 12, 2010
    Okay I followed the install vid.. PERFECTLY. But I get this error.

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

    Message: Script error within event 128, map 25 (Test Map 2):

    Exception: NameError

    Message: (eval):2:in `pbExecuteScript'undefined local variable or method `create_6_dependent_event' for #<Interpreter:0x505e8d0>

    ***Full script:

    pbAddPokemon(PBSpecies::PONYTA,5)
    create_6_dependent_event
    auto_change_without_animation


    Interpreter:239:in `pbExecuteScript'

    Interpreter:1583:in `eval'

    Interpreter:239:in `pbExecuteScript'

    Interpreter:1583:in `command_355'

    Interpreter:492:in `execute_command'

    Interpreter:191:in `update'

    Interpreter:104:in `loop'

    Interpreter:196:in `update'

    Scene_Map:96:in `update'

    Scene_Map:94:in `loop'



    Interpreter:274:in `pbExecuteScript'

    Interpreter:1583:in `command_355'

    Interpreter:492:in `execute_command'

    Interpreter:191:in `update'

    Interpreter:104:in `loop'

    Interpreter:196:in `update'

    Scene_Map:96:in `update'

    Scene_Map:94:in `loop'

    Scene_Map:107:in `update'

    Scene_Map:63:in `main'



    This exception was logged in errorlog.txt.

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

    Okay so I fixed my error. it's not "create_6_dependent_event"
    it's "creat_6_dependent_event" without the "e" in create.



    Okay so new error.

    When I got to the next map and I try to call out my pokemon to follow me, I get this error
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `erase' for nil:NilClass

    DependentEvents:532:in `refresh'

    DependentEvents:530:in `eachEvent'

    DependentEvents:380:in `each'

    DependentEvents:380:in `eachEvent'

    DependentEvents:530:in `refresh'

    DependentEvents:549:in `update'

    AnimationSprite:81:in `update'

    AnimationSprite:80:in `each'

    AnimationSprite:80:in `update'

    Scene_Map:47:in `updateSpritesets'



    This exception was logged in errorlog.txt.

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

    MegaNew

    Pokémon Unetta Owner
    37
    Posts
    14
    Years
    • Seen Sep 30, 2011
    Umm what if i only want them to walk with 1 pokemon?
    the pokemon 1st in there party..
    how would i do tht?
     
    102
    Posts
    15
    Years
    • Seen Jul 19, 2017
    Hi, excellent script. I have it working on the map with the events but if I go to another map and press D, I get this message:

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

    Message: undefined method `erase' for nil:NilClass

    DependentEvents:546:in `refresh'

    DependentEvents:544:in `eachEvent'

    DependentEvents:386:in `each'

    DependentEvents:386:in `eachEvent'

    DependentEvents:544:in `refresh'

    DependentEvents:563:in `update'

    AnimationSprite:81:in `update'

    AnimationSprite:80:in `each'

    AnimationSprite:80:in `update'

    Scene_Map:47:in `updateSpritesets'



    This exception was logged in errorlog.txt.

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

    Any ideas?
     
    Last edited:
    102
    Posts
    15
    Years
    • Seen Jul 19, 2017
    Just discovered that if you recreate the 6 dependent events on every map, the code works everywhere. Just have to make sure you keep all the correct event numbers, and the ID over 200.
     

    Birdybot

    -insert witty phrase here-
    139
    Posts
    14
    Years
  • I can't wait for that new script you mentioned :) Also, you should do a dual screen tutorial! Or will that remain a secret? I suppose it is quite a big feature, I could understand if you don't wanna do a tutorial for it :)

    Good luck with the new version, anyway.
     
    317
    Posts
    16
    Years
    • Seen May 29, 2016
    3 Questions:
    1. As far as I understood from the comments, it is possible, but I'm asking anyways...
    Is it possible to limit the player to walking with 1 Pokemon only?
    2. Again, probably possible but...
    Can I activate the script, say, only if X Pokemon is in the team?
    3. If 1 and 2 are positive, can I force the script to work (not allowing the player to choose) under these conditions?
     

    Birdybot

    -insert witty phrase here-
    139
    Posts
    14
    Years
  • Are you going to work on the problem of when you run, the Pokémon following you don't speed up?
     
    Status
    Not open for further replies.
    Back
    Top