• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.
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
 
TTTTTTTTTTTTTTTTTTTTTThat was what i was looking for how may i thank you :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDd the best ill subscribe
 
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 ?
 
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:
Umm what if i only want them to walk with 1 pokemon?
the pokemon 1st in there party..
how would i do tht?
 
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:
when u think new version will be released?
 
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.
 
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.
 
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?
 
when are you gonna release new version?
 
Status
Not open for further replies.
Back
Top