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

Even More Fixes and Additions to Help-14's Following Pokemon Script

I tried it but whenever the game loads it gives an error message saying Script 'Following Pokémon' line 187: SyntaxError occurred.
I was doing everything right :( could somebody help with this out
 
i keep getting this error:

---------------------------
Pokemon Titanium
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.

Script error within event 19, map 203 (Cerulean City PokeCenter):

Exception: SyntaxError

Message: (eval):1:in `pbExecuteScript'compile error
(eval):1: syntax error
pbPokemonFollow(018)
^

***Full script:

pbPokemonFollow(018)



---------------------------
OK
---------------------------

is someone can help me it would e apprecaited ive been working on mplementing pokemong following for about a week and keep getting the error above.
 
i keep getting this error:

---------------------------
Pokemon Titanium
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.

Script error within event 19, map 203 (Cerulean City PokeCenter):

Exception: SyntaxError

Message: (eval):1:in `pbExecuteScript'compile error
(eval):1: syntax error
pbPokemonFollow(018)
^

***Full script:

pbPokemonFollow(018)



---------------------------
OK
---------------------------

is someone can help me it would e apprecaited ive been working on mplementing pokemong following for about a week and keep getting the error above.

18, not 018
Fixnums don't work like that
 
18, not 018
Fixnums don't work like that

thanks Mej7i

now this error come up

---------------------------
Pokemon Titanium
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.

Script error within event 19, map 203 (Cerulean City PokeCenter):

Exception: NoMethodError

Message: Section003:123:in `effect?'undefined method `>' for nil:NilClass

***Full script:

pbPokemonFollow(18)


Interpreter:243:in `pbExecuteScript'

RPG__Sprite:434:in `effect?'

RPG__Sprite:433:in `each'

RPG__Sprite:433:in `effect?'

AnimationSprite:31:in `update'

AnimationSprite:88:in `old_update'

AnimationSprite:87:in `each'

AnimationSprite:87:in `old_update'

Footprints:96:in `water_old_update'

Water Bubbles:170:in `klein_mapcon_update'


---------------------------
OK
---------------------------
 
Last edited:
Pokemon following not working?

When i add the Pokemon following script it doesn't show a Pokemon following me, even if i have a Pokemon in the party. Does anybody have a way to fix this? Thank you!
 
When i add the Pokemon following script it doesn't show a Pokemon following me, even if i have a Pokemon in the party. Does anybody have a way to fix this? Thank you!

It's not automatic, once you add the script you have to turn it on.
 
Can anyone help me with the error I am having?

Spoiler:
 
i am having and issue... i get error "Script 'Game_player' line 496: NoMethodError occured, unddefined method 'DependetEvents' for nil:NilClass
Please help something is wrong with the script
 
Last edited:
Help ,I can't load with this bug
---------------------------
Pokemon Omega XYZ
---------------------------
Script 'PField_Field' line 2513: SyntaxError occurred.
---------------------------
OK
---------------------------
8

And when I check location, it has:
module PBMoveRoute

Could you send me the complete module PBMoveRoute or something to fix this........ Now I don't want restore the game........ :(
 
So the script worked great for 1 minute then I got this error:

---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `>' for nil:NilClass

RPG__Sprite:123:in `effect?'

RPG__Sprite:434:in `effect?'

RPG__Sprite:433:in `each'

RPG__Sprite:433:in `effect?'

AnimationSprite:31:in `update'

AnimationSprite:88:in `update'

AnimationSprite:87:in `each'

AnimationSprite:87:in `update'

Scene_Map:51:in `updateSpritesets'

Scene_Map:45:in `each'

Is anybody else getting this error? And I know for a fact I followed the tutorial to the tee. Is there any fix for this?
 
I discovered what my issue with Following Pokemon was - my "placeholder" sprite only appears when I summon the follower. When I change maps it tries to load the real sprite - and since I lack such a sprite at the moment, it looks like the sprite disappears.

As such, I'm trying to find indexed sprites for followers.
 
Could make at the time of Surf or using the battle system can not use the CTRL and A and D option to not give errors?

Thank you, sorry the job.
 
def change_sprite(id, shiny=nil, animation=nil, form=nil)
events=$PokemonGlobal.dependentEvents
for i in 0...events.length
[[[ if events && events[8]=="Dependent" ]]]
if shiny==true
events[6]=sprintf("%03ds",id)
if FileTest.image_exist?("Graphics/Characters/"+events[6])
@realEvents.character_name=sprintf("%03ds",id)
else
events[6]=sprintf("%03d",id)
@realEvents.character_name=sprintf("%03d",id)
end
else
if $Trainer.party[0].form>0
events[6]=sprintf("%03d",id)
@realEvents.character_name=sprintf("%03d_%d",id,$Trainer.party[0].form)
else
events[6]=sprintf("%03d",id)
@realEvents.character_name=sprintf("%03d",id)
end
end
if animation==true
$scene.spriteset.addUserAnimation(Animation_Come_Out,@realEvents.x,@realEvents.y)
end
$game_variables[Walking_Time_Variable]=0
end
end
end

I put brackets around the error.
 
I keep getting this error over and over again, please help me fix it.

---------------------------
Pokemon Jade
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.

Script error within event 18, map 22 (Terraven Town):

Exception: NoMethodError

Message: Section002:123:in `effect?'undefined method `>' for nil:NilClass

***Full script:

pbAddPokemon(PBSpecies::MAGIKARP,5)
pbPokemonFollow(19)


Interpreter:243:in `pbExecuteScript'

RPG__Sprite:434:in `effect?'

RPG__Sprite:433:in `each'

RPG__Sprite:433:in `effect?'

AnimationSprite:30:in `update'

AnimationSprite:87:in `update'

AnimationSprite:86:in `each'

AnimationSprite:86:in `update'

Scene_Map:51:in `updateSpritesets'

Scene_Map:45:in `each'


---------------------------
OK
---------------------------
 
Is there a reason for the toggle Pokemon on off key function being put in PSystem? If I put it there it causes an error message if the toggle key is pressed during battle, so I moved it to the Scene_Map section in the same place as the other Following Pokemon controls. I don't notice any bugs but I want to make sure I'm not breaking anything I'm unaware of by changing the location.
 
Hmmm I'm having an error

EDIT: I figured out the first set of errors but now I've been given a new one.

Spoiler:
 
Last edited:
Hello, this script is really awsome. ^^

By the way i found an error: Player cannot use Escape rope with following pokemon even after i recalled it back to the pokeball, using control button, and teleport and dig moves don't work too.

So please how can i fix this problem, thx in advance. XD
 
Back
Top