• 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.
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.

BZZZZZZZZZT! Sorry, that's incorrect. I fixed it, just replace
Spoiler:

and replace it with...
Spoiler:

and TADAAH! Your pokemon appears without an error!

(srrry if that sounded too *IN YOUR FACE!*. But, I'm just happy I fixed it.)
 
BZZZZZZZZZT! Sorry, that's incorrect. I fixed it, just replace
Spoiler:

and replace it with...
Spoiler:

and TADAAH! Your pokemon appears without an error!

(srrry if that sounded too *IN YOUR FACE!*. But, I'm just happy I fixed it.)


Now learn how to make it remove a pokemon with the button S, its pretty easy
 
.......heheh...kk....ooooh, I can't find how to. (I'm a newb to RGSS.)
 
BZZZZZZZZZT! Sorry, that's incorrect. I fixed it, just replace
Spoiler:

and replace it with...
Spoiler:

and TADAAH! Your pokemon appears without an error!

(srrry if that sounded too *IN YOUR FACE!*. But, I'm just happy I fixed it.)
^
^
^
Thanks for caring enough to post, but I already figured it out. ^
 
a little script to create the effect to remove pokemon add it under:

def change_number
if $pokenum==nil
$pokenum=Default_Following_Pokemon_Number
end
$pokenum+=1
if $pokenum==7
$pokenum=0
end
end


add this

Spoiler:
 
I did that...but nothing happened. I even edited a common event for it.
 
If you did what zinzags said then make the common event like this
[PokeCommunity.com] Pokémon Following Character script



If you are still left with one pokemon out all the time then change this part of the script
Spoiler:


to this

Spoiler:
 
If you did what zinzags said then make the common event like this
[PokeCommunity.com] Pokémon Following Character script



If you are still left with one pokemon out all the time then change this part of the script
Spoiler:


to this

Spoiler:

thanks for posting a picture i was going to do it but my internet left >:OD:
 
There's a problem with the script, but thanks, the pokemon returns now. Anyways, even when your pokemon isn't out, the message when you're talking to it still appears. Though, thanks again!
 
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:


how exactly u add this i am kind of confused....
 
What was the glitch?? for surf and fly? Did the pokemon move behind you with surf or get left behind or something?
 
thanks for posting a picture i was going to do it but my internet left >:OD:
No problem :)

There's a problem with the script, but thanks, the pokemon returns now. Anyways, even when your pokemon isn't out, the message when you're talking to it still appears. Though, thanks again!
You'll need to make a conditional branch in the common event of when you talk to the pokemon so that if it isn't out then nothing happens... something along the lines if dependant0=graphic nil. Not exactly that but you get the idea.
 
OH! Okay, I get it now! Thanks a bunch!
 
Hello, I'm new to pokemon making games. I tried to use this script but I'm getting this error:

Exception: NoMethodError

Message: undefined method `x' for nil:NilClass

PokemonFollowingCharacter:34:in `auto_change_with_animation'

PokemonScreen:1281:in `pbPokemonScreen'

PokemonScreen:1181:in `loop'

PokemonScreen:1439: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'
 
Last edited:
I skimmed through the thread and I don't beleive I saw any reports about this.

If I go into any map other than the one the following Pokémon was originally spawned in and try to check it, I get this:
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'
 
Status
Not open for further replies.
Back
Top