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

nmorr

Takin a brake. -_-
214
Posts
14
Years
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.)
 

zingzags

PokemonGDX creator
536
Posts
15
Years
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
 
22
Posts
13
Years
  • Seen Jan 13, 2011
Waaa:'( I got this error, please help!



...hope you can see what the teddiursa is. (CURSE YOU TEDDIURSA!!! LOL:) (No seriously, please help.))

Did u do see my post on the previos page, try that.. it seems to be the error for not having that part set up right, see the last step on installation
 

nmorr

Takin a brake. -_-
214
Posts
14
Years
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. ^
 

zingzags

PokemonGDX creator
536
Posts
15
Years
^
^
^
Thanks for caring enough to post, but I already figured it out. ^

Im a noob too but I can show u how to set it up just pm me, its really easy though u have to closely look through the scripts like if you was reading a book.
 

zingzags

PokemonGDX creator
536
Posts
15
Years
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:
 
22
Posts
13
Years
  • Seen Jan 13, 2011
If you did what zinzags said then make the common event like this
followingevent.jpg



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


to this

Spoiler:
 

zingzags

PokemonGDX creator
536
Posts
15
Years
If you did what zinzags said then make the common event like this
followingevent.jpg



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:
 

nmorr

Takin a brake. -_-
214
Posts
14
Years
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!
 

zingzags

PokemonGDX creator
536
Posts
15
Years
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....
 

nmorr

Takin a brake. -_-
214
Posts
14
Years
What was the glitch?? for surf and fly? Did the pokemon move behind you with surf or get left behind or something?
 
22
Posts
13
Years
  • Seen Jan 13, 2011
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.
 
17
Posts
13
Years
  • Seen Oct 25, 2022
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:

IceGod64

In the Lost & Found bin!
624
Posts
15
Years
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