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

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

XerneasNeeds

PrismReverie
11
Posts
10
Years
  • Age 21
  • Seen Mar 26, 2020
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
 

ReVaN777

Creator of Pokemon Titanium
108
Posts
12
Years
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.
 
1,224
Posts
10
Years
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
 

ReVaN777

Creator of Pokemon Titanium
108
Posts
12
Years
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:
21
Posts
9
Years
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!
 
6
Posts
9
Years
  • Age 60
  • Seen Sep 25, 2016
Can anyone help me with the error I am having?

Spoiler:
 
1
Posts
8
Years
  • Age 32
  • Seen Oct 14, 2015
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:
43
Posts
8
Years
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........ :(
 

KID VEGITO

Charmareian
3
Posts
9
Years
  • Age 36
  • Seen Oct 15, 2015
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?
 
824
Posts
8
Years
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.
 
11
Posts
8
Years
  • Age 24
  • Seen Jul 29, 2016
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.
 
9
Posts
9
Years
  • Age 28
  • Seen Feb 26, 2022
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.
 
2
Posts
8
Years
  • Age 28
  • Seen Nov 20, 2015
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
---------------------------
 
199
Posts
8
Years
  • Age 30
  • Seen Mar 21, 2024
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.
 
1
Posts
10
Years
  • Age 30
  • Seen Dec 4, 2015
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:
220
Posts
9
Years
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