• 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 did everything you said and when i called upon the script i get this message

Exception: RuntimeError
Message: Script error within event 4, map 5 (Ignorance Town):
Exception: NoMethodError
Message: Section003:123:in `effect?'undefined method `>' for nil:NilClass
***Full script:
pbPokemonFollow(9)


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 `update'
AnimationSprite:87:in `each'
AnimationSprite:87:in `update'
Scene_Map:51:in `updateSpritesets'
Scene_Map:45:in `each'


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 `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Exception: RuntimeError
Message: Script error within event 4, map 5 (Ignorance Town):
Exception: NoMethodError
Message: Section003:123:in `effect?'undefined method `>' for nil:NilClass
***Full script:
pbPokemonFollow(9)


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 `update'
AnimationSprite:87:in `each'
AnimationSprite:87:in `update'
Scene_Map:51:in `updateSpritesets'
Scene_Map:45:in `each'


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 `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'


could someone help
 
Last edited:
It does work, I've tested with 15.1, 15, and the Gen 6 Pack.
 
Hey ive got a problem. When I speak to my pokemon in a town erything works fine. But as soon as i enter a route it just crys and thats it. How can I change the settings so that the Pokemon talks to me on every map?
 
Hey ive got a problem. When I speak to my pokemon in a town erything works fine. But as soon as i enter a route it just crys and thats it. How can I change the settings so that the Pokemon talks to me on every map?

Ooh... I think I might know what's wrong.

Consider the EVENT ID number you used for the original Pokemon Follower is on the very first map you got your DEPENDENT EVENT ID from (and I mean the ID you see when you make an event and it says "New Event:033" on the top left of its window and whatever ID you used when you called pbFollower(event_id)). If it's 33 for example and you called pbFollower(33), and you walk into a map with only events that go up to a maximum of 5, it'll try to find Event 33 in that new map, be unable to find Event 033 and only to do nothing but return a cry. It's been this way since the original script Help-14 pumped out. Try turning the DEPENDENT ID from whatever high number it is to something simple like 001 and always make sure an EMPTY event with the ID of 001 named "Dependent" on EVERY single map you intend to have a following Pokemon.

I'm not sure why the first post doesn't explain this, but it's super important. xD
 
Thx that worked for me ^^ But now I have another problem. For some reason the animations dont show up. The Pokemon just appears without any animations. Looks kinda weird. Can someboday help me, please? ^^
 
Me again. The Pokemon still doesnt want to talk to me on routes. What else could be the problem?
 
Code:
Kernel.pbMessage(_INTL("{1} let our a battle cry.",e.name,$Trainer.name))
Minor problem.

Also if I press the x,z buttons in the intro i get an error.
This is actually a major bug and will need fixing.
 
It keeps giveing my errors on line 187 on following pokemon
if events && events[8]=="Dependent"
Why?
 
Hi, i've tested your script and i repared that i've got this strange error:

Script 'Interpreter' line 512 : NoMethodError occured.
undefined method 'unlock' for nil:NilClass.

WHEN: talking to pokemon and when i try to use waterfall hm. I followed step by step your script, so i don't know what causing this error. Please tel me what i must do to repair this because after the error message the game crash.
 
Hello, I have a problem:
Script 'Following Pokemon' line 187: SyntaxError occurred. And here is whta it is on the line 187. if events && events[8]=="Dependent"
Please I really need help, im new at this :D
 
Forgot about my post about some error, because its my fault, i missed some piece of code and now its fixed. Thx by the way. XD

Aldo22 to fix your problem its very simple, before you copy this script into your game you must do this:

1- at the botton up press "thread tools" and next "show printable version" then copy the script into your game. This will fix your problem.
 
Hey ^^
I still have the surfing bug. The map overlaps the following pokemon and
if i speak with it im able to surf. pls help ^^
 
When a Pokèmon evolve, the sprite doesn't refresh! how can i fix it? :(

Place $PokemonTemp.dependentEvents.refresh_sprite directly below @viewport.dispose in
Code:
def pbEndScreen
    Kernel.pbDisposeMessageWindow(@sprites["msgwindow"])
    pbFadeOutAndHide(@sprites)
    pbDisposeSpriteHash(@sprites)
    @viewport.dispose
in Pokemon Evolution. (Really, it can fit in other places in that script but one of the best is during the closing of the scene. Use CTRL+SHIFT+F to search all scripts.)
 
I have no clue how that works and I never scripted before so my question might be dumb. I did everything in the scripts but how can I let a pokemon appear?
What means "To call the script pbPokemonFollow(x)", what script do I have to call like that or where do I have to put that? :/
 
I have no clue how that works and I never scripted before so my question might be dumb. I did everything in the scripts but how can I let a pokemon appear?
What means "To call the script pbPokemonFollow(x)", what script do I have to call like that or where do I have to put that? :/

Not to worry! Go make an event on the map and use the Script event command seen in this screenshot >>here<<. This is how you make any common script call in Essentials. All you do is paste "pbPokemonFollow(THE EVENT'S ID NUMBER GOES HERE)" in window that comes up. Do not place the Pokemon's ID or how many Pokemon you'd like to follow you, but the event ID you'd like to turn into a following Pokemon. If it belongs to another used event, it will be replaced... Trigger the event any way you see fit and you've got a following Pokemon if you've done absolutely everything correctly.

(I feel like making an extensive guide about how to use this at some point since it seems to be the most popular.)
 
Then I get the following error :

---------------------------
Pokemon
---------------------------
Exception: RuntimeError

Message: Script error within event 19, map 19 (Landowald2):

Exception: NoMethodError

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

***Full script:

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'



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 `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in

C:\Users\Justin-Account\Saved Games/Pokemon Mutants/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

Thanks for answering that fast :)
 
Last edited:
Back
Top