• 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.
664
Posts
16
Years
  • Make sure you created the events with and id of over 200 on the map you get your pokemon, and then put these in a call script command after you add the first pokemon.

    creat_6_dependent_event
    autochange_without_animation

    That should work :)
     
    276
    Posts
    16
    Years
  • No no. That error will appear in some new version of starter kit. I am trying to change pokemon picture in different way.
     
    664
    Posts
    16
    Years
  • Hope you don't mind, but i did a little Mod of your script before to change the way pictures are displayed, and to allow Shiny forms :)

    Spoiler:

    These pictures need to be put in the Graphics/Characters folder.

    http://www.mediafire.com/?qdn11ku4t0i
     
    34
    Posts
    15
    Years
    • Seen Feb 25, 2021
    Make sure you created the events with and id of over 200 on the map you get your pokemon, and then put these in a call script command after you add the first pokemon.

    creat_6_dependent_event
    autochange_without_animation

    That should work :)

    Sorry for asking this as I think it's an extremely stupid question, but I am new to Game Development. How do you set the id of the event? Thanks for your help so far. :)

    Edit: Ok that was an extremely stupid question, I got it now, however when I try choosing a Pokemon this comes up:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Script 'Interpreter' line 279: RuntimeError occurred.

    Script error within event 9, map 5 (Oak's Lab):

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

    ***Full script:

    creat_6_dependent_event
    autochange_without_animation


    Interpreter:238:in `pbExecuteScript'

    Interpreter:1652:in `eval'

    Interpreter:238:in `pbExecuteScript'

    Interpreter:1652:in `command_355'

    Interpreter:496:in `execute_command'

    Interpreter:190:in `update'

    Interpreter:104:in `loop'

    Interpreter:195:in `update'

    Scene_Map:100:in `update'

    Scene_Map:98:in `loop'


    ---------------------------
    OK
    ---------------------------
     
    Last edited:
    664
    Posts
    16
    Years
  • @dudleyspud, sorry i messed up a little in my other post.
    The problem is this

    You have autochange_without_animation

    It should be this

    auto_change_without_animation
     
    34
    Posts
    15
    Years
    • Seen Feb 25, 2021
    @dudleyspud, sorry i messed up a little in my other post.
    The problem is this

    You have autochange_without_animation

    It should be this

    auto_change_without_animation

    *sigh* seems like it's one problem after another. I now get;

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

    Message: Failed to load bitmap: Graphics/Characters/4_0.png

    BitmapCache:195:in `load_bitmap'

    BitmapCache:235:in `character'

    Sprite_Character:62:in `update_or'

    PerspectiveTilemap:408:in `shadow_update'

    Shadow:167:in `update'

    Sprite_Character:6:in `perspectivetilemap_initialize'

    PerspectiveTilemap:404:in `shadow_initialize'

    Shadow:143:in `initialize'

    DependentEvents:508:in `new'

    DependentEvents:508:in `refresh'



    This exception was logged in errorlog.txt.

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

    Edit: Argh, figured out the problem. I now have to trawl through my graphics folder and rename EVERY Pokemon with their respective number. Any easier way of doing this? >_>
     
    Last edited:

    tylerab01

    Pokemon AquaHarmony
    162
    Posts
    15
    Years
  • Well it was working for me untill I tried to implement it into a script I was using for reviving the lab pokemon and i got this error

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

    Message: Script error within event 202, map 36 (Palastine Town):

    Exception: NoMethodError

    Message: Section141:466:in `addEvent2'undefined method `x' for nil:NilClass

    ***Full script:

    creat_6_dependent_event


    Interpreter:239:in `pbExecuteScript'

    DependentEvents:33:in `pbAddDependen'

    PokemonFollowingCharacter:160:in `auto_change_without_animation'

    PokemonFollowingCharacter:231:in `creat_6_dependent_event'

    (eval):1: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: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
    ---------------------------
     

    JakeG

    Pokemon Awakening-Coming Soon!
    58
    Posts
    13
    Years
  • I need help urgently! I was playing around with the scripts trying to get this to work and I have ruined them! Could somebody please Copy and paste the scripts needed for pokemon walking in full here? Thanks.
     

    SpawnHyuuga

    Elite Four Spawn
    198
    Posts
    17
    Years
  • @ Anyone:

    - How do I make the graphic for the animations transparent? The pink is getting in the way!

    - Do I need to copy a special event 200 times, or can it just be anything to take up space? And which maps need 200 events? O.o
     
    92
    Posts
    16
    Years
    • Seen Jun 13, 2012
    I have some question, please somebody help-me, I need very much of this for my game:

    1)How could I do to the Pokémon disappear and after appear.
    For example.: To recover life in the Pokemon Center

    2)How could I make an event like this:

    When you talk to the Pokémon he respond as happiness:
    for example
    If happiness <= 0
    Pokémon says:I'm angry
    Happiness is> 0
    Pokémon says:I'm happy!

    3)How to make the script work only if the switch 99 is ON

    4)How I make to surf with this script?

    5)When I teleport to other map and talk with the pokémon in this other map, i got this error:
    Exception: NoMethodError
    Message: undefined method `unlock' for nil:NilClass
    Interpreter:509:in `command_end'
    Interpreter:293: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'
    Scene_Map:60:in `loop'

    6)How I remove the Dependent events?

    I really need these answers...
    Btw, great script!
    Thanks!
     
    Last edited:

    Rafael-animal

    Pokémon DS Kit
    20
    Posts
    14
    Years
    • Seen Mar 27, 2015
    Good not if they will be able to help me, look I installed the following and it me goes perfectly except for two things: when I happen for for her boil one sees mas animations of which I tread (if I tread on 2 and I give another step there sees the animation of my step mas other 2) and another problem is that on having changed of pokémon it goes out for me a mistake which is this (and there does not go out for me the character of this pokémon):
    ---------------------------
    Pokemon Rubi
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `erase' for nil:NilClass

    DependentEvents:545:in `refresh'

    DependentEvents:543:in `eachEvent'

    DependentEvents:385:in `each'

    DependentEvents:385:in `eachEvent'

    DependentEvents:543:in `refresh'

    DependentEvents:565: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.
    ---------------------------
    Aceptar
    ---------------------------

    ¡Help! T_T.
     
    22
    Posts
    13
    Years
    • Seen Jan 13, 2011
    For people having trouble check this
    Spoiler:


    Thats the first lines of the actual script.. the numbers in red should match your event numbers

    i.e. Dependent0 = Pokemon_1_ID
    Dependent1 = Pokemon_2_ID etc..

    This worked for me
     
    34
    Posts
    15
    Years
    • Seen Feb 25, 2021
    ---------------------------
    Pokemon Promethium
    ---------------------------
    Exception: RuntimeError

    Message: Failed to load bitmap: Graphics/Characters/1_0.png

    BitmapCache:195:in `load_bitmap'

    BitmapCache:235:in `character'

    Sprite_Character:62:in `update_or'

    PerspectiveTilemap:408:in `shadow_update'

    Shadow:167:in `update'

    Sprite_Character:6:in `perspectivetilemap_initialize'

    PerspectiveTilemap:404:in `shadow_initialize'

    Shadow:143:in `initialize'

    DependentEvents:508:in `new'

    DependentEvents:508:in `refresh'



    This exception was logged in errorlog.txt.

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

    I keep getting this, how can I fix this without renaming every Pokemon in the graphics folder? :S
     
    22
    Posts
    13
    Years
    • Seen Jan 13, 2011
    I keep getting this, how can I fix this without renaming every Pokemon in the graphics folder? :S

    Crazyninjaguy posted a link on the previous page, containing them all named correctly.

    Also he modded the script to allow shiny sprites to show so check that out, only the images are in the file below.

    I cant post links proper links yet but here ya go.
    www(dot)mediafire.com/?qdn11ku4t0i
     

    nmorr

    Takin a brake. -_-
    214
    Posts
    15
    Years
  • Waaa:'( I got this error, please help!

    Spoiler:

    ...hope you can see what the teddiursa is. (CURSE YOU TEDDIURSA!!! LOL:) (No seriously, please help.))
     

    carmaniac

    Where the pickle surprise at?
    671
    Posts
    15
    Years
  • There's basically no point in trying to use this script anymore.
    It's got a compatibility issue with the latest versions of essentials and only seems to work properly from december-january's one.
     

    zingzags

    PokemonGDX creator
    536
    Posts
    15
    Years
  • There's basically no point in trying to use this script anymore.
    It's got a compatibility issue with the latest versions of essentials and only seems to work properly from december-january's one.


    what do u mean compatibility issues? its working fine for me

    Only one glitch i found was the one were u spam enter and exit a place.
     
    Status
    Not open for further replies.
    Back
    Top