• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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éstarter Kit - Question]: Pokémon following character

Thanks alot for this an all, but could you help me with this?
I get an error when switching pokemon,

Code:
Message: undefined method `x' for nil:NilClass
DependentEvents:519:in `addEvent2'
DependentEvents:28:in `pbAddDependen'
Following:61:in `auto_change_with_animation'
PokemonScreen:1363:in `pbPokemonScreen'
PokemonScreen:1263:in `loop'
PokemonScreen:1510:in `pbPokemonScreen'
PokemonMenu:133:in `pbStartPokemonMenu'
PokemonMenu:132:in `pbFadeOutIn'
PokemonMenu:132:in `pbStartPokemonMenu'
PokemonMenu:124:in `loop'
 
Mate i am not understanding the Step 8 and 9.

The thing is, how can i make the ID over 200 ?

https://img692.imageshack.us/img692/2699/semttulo123.jpg

Also on Step 9, do i add that script where ?

And where do i put this ? "creat_6_dependent_event" ?

Thank you, GREAT work !

Also please explain how to do step 11, and what do you mean with change script of step 2 ? I don't understand a thing mate
 
Last edited:
for example in step 8. you copy a event 206 times. then use events from 201 to 206. remove events from 1 to 200. in step 9. when you receive first pokemon (example from professor oak) add this script below script receive pokemon (pbaddpokemon or something like that)

tommorow i will upload video how to install.
 
Last edited:
Also please explain how to do step 11, and what do you mean with change script of step 2 ?

Where do i put "creat_6_dependent_event"

I don't understand a thing mate :(
 
I tried it, and it failed. The Pokémon didn't follow, and it fails when I try to add Pokémon or switch Pokémon.
 
I update how to install v2.0. In step 11, you must config these script:

###########################################
#### Config Script For Your Game Here ####
###########################################

Animation_Come_In = 447 #<= ID of Animation When Pokemon Come In PokeBall
Animation_Come_Out = 446 #<= ID of Animation When Pokemon Come Out PokeBall
Default_Following_Pokemon_Number = 1 #<= Default Number Of Following Pokemon
Pokemon_1_ID = 142 #<= ID Of Event Use To Make First Pokemon, Should Over 200
Pokemon_2_ID = 143 #<= ID Of Event Use To Make Second Pokemon, Should Over 200
Pokemon_3_ID = 144 #<= ID Of Event Use To Make Third Pokemon, Should Over 200
Pokemon_4_ID = 145 #<= ID Of Event Use To Make Fourth Pokemon, Should Over 200
Pokemon_5_ID = 146 #<= ID Of Event Use To Make Fifth Pokemon, Should Over 200
Pokemon_6_ID = 147 #<= ID Of Event Use To Make Sixth Pokemon, Should Over 200
Common_Event_1 = 3 #<= ID of Common Event When You Talk To First Pokemon
Common_Event_2 = 3 #<= ID of Common Event When You Talk To Second Pokemon
Common_Event_3 = 3 #<= ID of Common Event When You Talk To Third Pokemon
Common_Event_4 = 3 #<= ID of Common Event When You Talk To Fourth Pokemon
Common_Event_5 = 3 #<= ID of Common Event When You Talk To Fifth Pokemon
Common_Event_6 = 3 #<= ID of Common Event When You Talk To Sixth Pokemon

The number after "=" is for my game, you need edit it to accord with your game
 
Yeah, but the thing is, it still gives errors :(

Including on the Step 9, 10, 11, and 12 mate
 
I found Problem, I forgot 2 step.

Extract this to Character Folders (replace if need): https://www.mediafire.com/?lwyyt0ttink
Copy this to Animations Folder: https://www.mediafire.com/imageview.php?quickkey=nhnyzmgnuwm
Import two animations: https://www.mediafire.com/?wdg33wgfhqk and https://www.mediafire.com/?iuutxjfynen
If you don't know how to import, read in here: https://www.pokecommunity.com/threads/200575

Try install again, sorry I can't upload install video today. I'll Upload It in Monday.
 
This feature is looking awsome!

I'm having probems implenting it though;

When I talk to the event that gives me a pokemon, the dependency and the "auto_change_without_animation",
I get this error:
Code:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 1, map 31 (Smallweed Village):

Exception: NoMethodError

Message: Section130:455:in `addEvent2'undefined method `x' for nil:NilClass

***Full script:

Kernel.pbAddDependency2(201, 
"Dependent0", 003)
auto_change_without_animation


Interpreter:239:in `pbExecuteScript'

DependentEvents:28:in `pbAddDependen'

PokemonFollowingCharacter:171:in `auto_change_without_animation'

(eval):3:in `pbExecuteScript'

Interpreter:1583:in `eval'

Interpreter:239:in `pbExecuteScript'

Interpreter:1583:in `command_355'

Interpreter:492:in `execute_command'

Interpreter:191:in `update'

Interpreter:104:in `loop'



Interpreter:274:in `pbExecuteScript'

Interpreter:1583:in `command_355'

Interpreter:492: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'



This exception was logged in errorlog.txt.

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

Help would be appreciated.
 
it's because you do not have enough event to dependent or you did not config script which has created in step 2
 
Back
Top