• 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?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

Gigatom~

Pokemon Ruthenium Creator ~
117
Posts
14
Years
  • Age 28
  • Seen May 25, 2012
Nice Script, very usefull. Looking forward to use it.

Gigatom~
 

MegaNew

Pokémon Unetta Owner
37
Posts
14
Years
  • Seen Sep 30, 2011
Awesome! Looks like this means we have only one pokemon following us :D instead of all 6
Just what i wanted :D
 

MegaNew

Pokémon Unetta Owner
37
Posts
14
Years
  • Seen Sep 30, 2011
I wanted to know...you think this can work with shiny pokemon? or alternate forms?
 

~Frozen Darkness~

It's watching you...
503
Posts
15
Years
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:

Iarama

RMXP User
52
Posts
14
Years
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.
 

SpawnHyuuga

Elite Four Spawn
198
Posts
16
Years
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'
 

Iarama

RMXP User
52
Posts
14
Years
Ya and if there the errors are because of mistakes while importing the script it could make all of the diffrence.
 

sonic1

ASM is my life now...
77
Posts
15
Years
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
 

Lord Varion

Guess who's back?
2,642
Posts
15
Years
  • Age 29
  • Seen Jan 6, 2015
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 ^_^
 
69
Posts
14
Years
  • Seen Nov 19, 2014
Hello guys.
help 14.
you can do a script for only 1 pokemon follow me.
sorry for my english.
good bye
 
2
Posts
14
Years
  • Seen Apr 2, 2010
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
 

Peeky Chew

Master of Palettes
829
Posts
14
Years
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.
 
20
Posts
15
Years
  • Seen Oct 26, 2015
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:
8
Posts
15
Years
  • Seen Dec 19, 2010
---------------------------
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.
 
2
Posts
14
Years
  • Seen Nov 11, 2011
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
---------------------------
 
34
Posts
15
Years
  • Seen Feb 25, 2021
---------------------------
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