• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

Resource Following Pokemon 1.4.1

mej71

Novice
Member
Joined
Mar 29, 2017
Posts
15
mej71 submitted a new resource:

Following Pokemon - Add Pokemon followers to your game (like in HGSS)

This script adds following pokemon to your game (you have to provide your own OW sprites). It is an updated version from the current script tutorial, but modified so that if all goes in one script section.
Fixes in this version:
# * Combined all into one script section for ease of installation
# * Added setting to allow/disallow cycling through pokemon in field
# * Added tone effect to following pokemon if statused (this is pretty neato. You can turn this off with a setting)
# *...

Read more about this resource...
 

kelsey

Novice
Member
Joined
Apr 16, 2017
Posts
40
Hey- I'm having an issue and have no idea what I've done wrong. So I followed your instructions and added the script/downloaded animations files/etc and then made the two events. When I go talk to the event with the PokemonFollow script, I get this error:

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 17, map 168 (Rozovy Town):
Exception: NoMethodError
Message: Section018:27:in `trigger'undefined method `trigger' for nil:NilClass
***Full script:
pbAddPokemonSilent(:BULBASAUR,5)
pbPokemonFollow(16)

Interpreter:243:in `pbExecuteScript'
Game_CommonEvent:58:in `refresh'
Game_CommonEvent:15:in `initialize'
PField_DependentEvents:158:in `new'
PField_DependentEvents:158:in `createEvent'
PField_DependentEvents:505:in `addEvent'
PField_DependentEvents:26:in `pbAddDependency2'
Follower:1219:in `pbPokemonFollow'
(eval):2:in `pbExecuteScript'
Interpreter:1606:in `eval'

Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Scene_Map:114:in `follow_update'
Follower:1550:in `update'

This exception was logged in
C:\Users\Kelsey\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

I know I'm probably missing something obvious here... I usually am when I get stuck, but I'd really like to use your script, so if you could help, I'd appreciate it!

****Edit*****Found the solution on Youtube. Had to replace the follow script with this https://pastebin.com/utFZ9ypJ Not sure what the differences are as I didn't read through, but it works perfectly now! Awesome script, and thanks so much!************
 

kelsey

Novice
Member
Joined
Apr 16, 2017
Posts
40
Ok- I'm having another issue. After losing a battle, my follower is invisible (though I think still there because I can interact with it). I see that your script says "fixed blacking out issue" but I am unsure if I need to do something to implement this? Can you (or anyone who has resolved this issue) give me the "for Dummies" version of what exactly I need to do to correct the problem? I've been trying everything I can think of for a couple of hours and no luck :(


**Edit** I figured this out too. I was being silly!**
 
Last edited:

Radical Raptr

Bug Maniac
Member
Just wanted to say thanks for putting in the time to revising this script that so many people before you had created, and ultimately simplifying it to what it is now! It's so bizarre to see it be so simple when a few years back it was a pipe dream people were stitching together.
Great work as always Mej, keep up the great scripting!!
 

FloofyPanthar

Gen 5 Guru
Member
Joined
Apr 1, 2017
Posts
56
I keep on getting this error before surfing:

Script 'Pokemon Follow' line 419 no method error occured
undefined method 'hp' for nil:NilClass



BTW, I'm using essentials BW if that helps you diagnose the problem
 
I keep on getting this error before surfing:

Script 'Pokemon Follow' line 419 no method error occured
undefined method 'hp' for nil:NilClass



BTW, I'm using essentials BW if that helps you diagnose the problem

I don't think it's downwards compatible with older versions.
 

The_Don

Rookie
Member
Joined
Jul 4, 2017
Posts
5
Whenever i go thruw a pond or on a bridge above water my pokemon walks on me or in front of me, how can i fix this?
 

Ryz

That one guy.
Member
Joined
Apr 22, 2017
Posts
13
Could be wrong... but I don't think it functions with the new essentials...

I know it worked before... I really don't wanna go back to v16.2 as there were some problems with it.

Zp1kjvf.png

That's the error I get.
 

ThatCoolTrainerYT

Rookie
Member
Joined
Aug 1, 2017
Posts
4
Hello all. I have a weird bug with following Pokemon. When I black out, either the Pokemon stops following me and I can't get it back, or I get this error. Any ideas on how to fix would be much appreciated. Thanks!


---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `-' for nil:NilClass
:739:in `talk_to_pokemon'
:1559:in `update'
Scene_Map:68:in `main'
Scene_Map:65:in `loop'
Scene_Map:72:in `main'
Main:49:in `mainFunctionDebug'
Main:27:in `mainFunction'
Main:27:in `pbCriticalCode'
Main:27:in `mainFunction'
Main:59

This exception was logged in
C:\Users\Gavin\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 

Prince AEKO

Rookie
Member
Joined
Sep 3, 2017
Posts
1
I keep getting this error

" Script ' ' line 1431: Name error occurred.
unidentified method 'pbSwitch' for class 'PokemonScreen' "

I dont know what to do. Help!
 

Nuxel

Rookie
Member
Joined
Nov 5, 2017
Posts
5
Hey guys and other beings!

So I istalles the Script etc.etc. and everything is fine, besides the fact, that the following pokemon is invisible..

someone on here got any idea what's going wrong?
 

Nuxel

Rookie
Member
Joined
Nov 5, 2017
Posts
5
Yep. The overworld sprites are downloadet, in the right folder and working if i place them as normal events.
 

Nuxel

Rookie
Member
Joined
Nov 5, 2017
Posts
5
I think, even that is done.
See, when i "activate" the following by speaking to whatever it is activeted by, i get that pokeball animation, can toggle the pokemon in and out and interact with, but its just invisible.
 

doof

banished doof
Member
I think, even that is done.
See, when i "activate" the following by speaking to whatever it is activeted by, i get that pokeball animation, can toggle the pokemon in and out and interact with, but its just invisible.

Then that means it can't find the sprites you have for the followers. They might have not have a name for the script to read. Mine are listed by their PokeDex number, IE Bulbasaur is 001, Ivysaur is 002, and so on.
 

Nuxel

Rookie
Member
Joined
Nov 5, 2017
Posts
5
hm okay, i'll look that one up tomorrow.
Anyways very thank you so far! :D
 

Nuxel

Rookie
Member
Joined
Nov 5, 2017
Posts
5
Whatever it was, it now works!
Thank you for your support Sparta! :D

i'll surely come again ;)
 
Back
Top