• 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.
Awesome! Looks like this means we have only one pokemon following us :D instead of all 6
Just what i wanted :D
 
I wanted to know...you think this can work with shiny pokemon? or alternate forms?
 
I wanted to know...you think this can work with shiny pokemon? or alternate forms?
It could definitely work for alt. forms if you program the forms in the right way.

As for shinies, I think it could be possible, say if the Filename had an "s" at the end, then I suppose in the new version, it could work, should help-14 want to do it.

Just discovered a bug:

Walked into a building, then went out, and it just warped me to a different spot on the same map, yet it said, "Oldale Town", which was the town that the house was in. (I named the building Oldale Pokemon Mart, BTW)

I'm pretty sure this happens because of the pokemon still being in the mart while the player is outside.


Just wanted to let help-14 know so he can fix it in the new version. Otherwise, I'm not encountering any other problems.

EDIT: I decided to research the surf/fly glitch thing, and I fixed it!

Spoiler:
 
Last edited:
Have yuo considered making a simple(r) demo so people dont get confused because I have no idea how to do all of this editing.
 
Iarama;558I6278 said:
Have yuo considered making a simple(r) demo so people dont get confused because I have no idea how to do all of this editing.

I agree, maybe a demo like script makers use for most 'advanced scripts.' It's just has to be the latest version of Pokemon Essentials with these scripts placed correctly as well as map and common events, and optionally it shows how it works through event on a test map.

EDIT: I got an error, on trying to use it just for my own personal tests. I'm not quite sure if I have the latest version. (There's an idea, add a comment at the top of the script explaining which version you have.)

Code:
Exception: RuntimeError
Message: Script error within event 4, map 6 (Player's House):
Exception: NoMethodError
Message: Section132:468:in `addEvent2'undefined method `x' for nil:NilClass
***Full script:
pbAddPokemon(PBSpecies::MUDKIP,15)
auto_change_without_animation

Interpreter:239:in `pbExecuteScript'
DependentEvents:38:in `pbAddDependen'
Caterpillar:160:in `auto_change_without_animation'
(eval):2: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: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'
 
Ya and if there the errors are because of mistakes while importing the script it could make all of the diffrence.
 
Very good script!
Hey, i followed all the instalation steps and it works fine, but when i deposite a pokemon, it appears this error:
Spoiler:


What's the problem?
What should i do?

Greetings,

Sonic1
 
Look everyone
STOP ASKIN WHEN THE NEW VERSION WILL COME OUT
these things take long time to make so be patient he cant just say when it will be out and poof it onto pc he needs to take time and fix any bugs >.<
anyway sounds good ^_^
 
Hello guys.
help 14.
you can do a script for only 1 pokemon follow me.
sorry for my english.
good bye
 
Hello guys.
help 14.
you can do a script for only 1 pokemon follow me.
sorry for my english.
good bye

This supports it, have you even watched the video?...
 
how I do that I can take my pokemon out without talking with the "creat_6_dependent_event" script?
and how can I backing the pokemon in? sorry for my bad english :D
 
Spoiler:

Here's what happened when I received the Pokémon. I'm pretty sure I did the very last step (Step 11: Edit Script created in step 2. Enjoy !!! ) wrong, since I didn't really understand it.
 
hey I have been getting this message every time and have tried quite a few things do you know what the problem is
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 6, map 36 (MAP036):

Exception: NoMethodError

Message: Section139:40:in `pbAddDependen'undefined method `addEvent2' for #<DependentEvents:0x2ebbb60 @realEvents=[], @lastUpdate=-1>

***Full script:

pbAddPokemon(PBSpecies::TYRANITAR,5)
creat_6_dependent_event


Interpreter:239:in `pbExecuteScript'

PokemonFollowCharecter:160:in `auto_change_without_animation'

PokemonFollowCharecter:231:in `creat_6_dependent_event'

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

Please if anyone knows what the problem is I really would like to fix it

hey does anyone have a script for a dual screen? or rather a way to edit it once you get it?
 
Last edited:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `x' for nil:NilClass

Pokemon Following Character:34:in `auto_change_with_animation'

PokemonScreen:1282:in `pbPokemonScreen'

PokemonScreen:1182:in `loop'

PokemonScreen:1429:in `pbPokemonScreen'

PokemonMenu:155:in `pbStartPokemonMenu'

PokemonMenu:154:in `pbFadeOutIn'

PokemonMenu:154:in `pbStartPokemonMenu'

PokemonMenu:139:in `loop'

PokemonMenu:238:in `pbStartPokemonMenu'

Scene_Map:180:in `call_menu'

I get this and each the pokemon sprite doesn't show up when i get the first pokemon.
 
Everything was working but now if I talk to the pokemon it gives me this. I doesn't screw up at all unless I talk to them.
---------------------------
Pokemon Essentials
---------------------------
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'



This exception was logged in ./errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

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

Section126:445:in `addEvent2'undefined method `x' for nil:NilClass

***Full script:

auto_change_without_animation


Interpreter:238:in `pbExecuteScript'

DependentEvents:15:in `pbAddDependen'

Pokemonfollowcharacter:160:in `auto_change_without_animation'

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

Scene_Map:111:in `update'

Scene_Map:67:in `main'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
What did I do wrong? Anyone mind giving me a hand?
 
Status
Not open for further replies.
Back
Top