Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Pokémon Following Character script

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Closed Thread
 
Thread Tools
  #51    
Old March 8th, 2010 (12:52 PM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
Team Unova
 
Join Date: Feb 2009
Age: 20
Gender: Other
Nature: Naughty
Posts: 2,648
Look everyone
STOP ASKIN WHEN THE NEW VERSION WILL COME OUT
these things take long time to make so be patient he cant just say when it will be out and poof it onto pc he needs to take time and fix any bugs >.<
anyway sounds good
__________________
gone.
  #52    
Old March 10th, 2010 (12:38 PM).
VEGET@ VEGET@ is offline
Team Sinnoh
 
Join Date: Feb 2010
Gender: Male
Posts: 69
Hello guys.
help 14.
you can do a script for only 1 pokemon follow me.
sorry for my english.
good bye
  #53    
Old March 17th, 2010 (12:41 AM).
rm2kdude's Avatar
rm2kdude rm2kdude is offline
Advanced Pixel-Artist
Team Sinnoh
 
Join Date: Jun 2004
Location: usa
Age: 26
Gender: Male
Nature: Jolly
Posts: 355
Quote originally posted by VEGET@:
Hello guys.
help 14.
you can do a script for only 1 pokemon follow me.
sorry for my english.
good bye
This supports it, have you even watched the video?...
__________________
Star Studios
Planet RPG Community Join a new and fresh community.
Get help quickly, and get responses to your work almost instantly. There's always someone on at any given time. Why not register and be apart of our community?
  #54    
Old March 17th, 2010 (11:49 AM).
itaitai itaitai is offline
Team Sinnoh
 
Join Date: Feb 2010
Posts: 2
how I do that I can take my pokemon out without talking with the "creat_6_dependent_event" script?
and how can I backing the pokemon in? sorry for my bad english :D
  #55    
Old March 31st, 2010 (11:43 AM).
Peeky Chew's Avatar
Peeky Chew Peeky Chew is offline
Master of Palettes
Team Hoenn
Crystal Tier
 
Join Date: Sep 2009
Location: Great Britain
Age: 21
Gender: Male
Posts: 852
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 4, map 31 (MAP031):

Exception: NameError

Message: (eval)in `pbExecuteScript'undefined local variable or method `auto_change_without_animation' for #<Interpreter:0x9dcab28>

***Full script:

auto_change_without_animation


Interpreter:239: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:196:in `update'

Scene_Map:96:in `update'

Scene_Map:94: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
---------------------------

Here's what happened when I received the Pokémon. I'm pretty sure I did the very last step (Step 11: Edit Script created in step 2. Enjoy !!! ) wrong, since I didn't really understand it.
__________________



Demo Beta out Now!

  #56    
Old April 3rd, 2010 (11:29 AM).
Shun's Avatar
Shun Shun is offline
Started Project RGSShun
Team Kanto
 
Join Date: Oct 2008
Location: ♪Finale Island♪ with Espeon ♀ and Umbreon ♂
Age: 24
Gender: Male
Nature: Quiet
Posts: 264
Send a message via Windows Live Messenger to Shun
How do I make it so it uses the Pokémon's Index number rather than the name?
__________________
  #57    
Old April 4th, 2010 (11:41 AM). Edited April 4th, 2010 by xblaze1234.
xblaze1234 xblaze1234 is offline
Team Kanto
 
Join Date: Jun 2008
Gender:
Posts: 20
hey I have been getting this message every time and have tried quite a few things do you know what the problem is
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 6, map 36 (MAP036):

Exception: NoMethodError

Message: Section139:40:in `pbAddDependen'undefined method `addEvent2' for #<DependentEvents:0x2ebbb60 @realEvents=[], @lastUpdate=-1>

***Full script:

pbAddPokemon(PBSpecies::TYRANITAR,5)
creat_6_dependent_event


Interpreter:239:in `pbExecuteScript'

PokemonFollowCharecter:160:in `auto_change_without_animation'

PokemonFollowCharecter:231:in `creat_6_dependent_event'

(eval)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
---------------------------

Please if anyone knows what the problem is I really would like to fix it

hey does anyone have a script for a dual screen? or rather a way to edit it once you get it?
  #58    
Old April 12th, 2010 (12:41 PM).
zmajevi's Avatar
zmajevi zmajevi is offline
Team Johto
 
Join Date: Jan 2009
Gender:
Posts: 8
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `x' for nil:NilClass

Pokemon Following Character:34:in `auto_change_with_animation'

PokemonScreen:1282:in `pbPokemonScreen'

PokemonScreen:1182:in `loop'

PokemonScreen:1429: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'

I get this and each the pokemon sprite doesn't show up when i get the first pokemon.
  #59    
Old April 28th, 2010 (06:24 PM).
jd93 jd93 is offline
Team Kalos
 
Join Date: Jul 2009
Gender: Male
Posts: 2
Everything was working but now if I talk to the pokemon it gives me this. I doesn't screw up at all unless I talk to them.
---------------------------
Pokemon Essentials
---------------------------
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'



This exception was logged in ./errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
  #60    
Old April 29th, 2010 (12:16 PM).
dudleyspud's Avatar
dudleyspud dudleyspud is offline
Team Kanto
 
Join Date: Feb 2009
Posts: 34
Quote:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 8, map 5 (Oak's Lab):

Section126:445:in `addEvent2'undefined method `x' for nil:NilClass

***Full script:

auto_change_without_animation


Interpreter:238:in `pbExecuteScript'

DependentEventsin `pbAddDependen'

Pokemonfollowcharacter:160:in `auto_change_without_animation'

(eval)in `pbExecuteScript'

Interpreter:1652:in `eval'

Interpreter:238:in `pbExecuteScript'

Interpreter:1652:in `command_355'

Interpreter:496:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'



Interpreter:279:in `pbExecuteScript'

Interpreter:1652:in `command_355'

Interpreter:496:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'

Scene_Map:100:in `update'

Scene_Map:98:in `loop'

Scene_Map:111:in `update'

Scene_Map:67:in `main'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
What did I do wrong? Anyone mind giving me a hand?
__________________

  #61    
Old April 29th, 2010 (10:52 PM).
Crazyninjaguy's Avatar
Crazyninjaguy Crazyninjaguy is offline
I'm back.
Team Unova
 
Join Date: May 2008
Location: England
Age: 23
Gender: Male
Posts: 663
Make sure you created the events with and id of over 200 on the map you get your pokemon, and then put these in a call script command after you add the first pokemon.

creat_6_dependent_event
autochange_without_animation

That should work
  #62    
Old April 29th, 2010 (11:30 PM).
help-14's Avatar
help-14 help-14 is offline
Team Kanto
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
No no. That error will appear in some new version of starter kit. I am trying to change pokemon picture in different way.
__________________
My Deviantart: help-14.deviantart.com
  #63    
Old April 29th, 2010 (11:37 PM).
Crazyninjaguy's Avatar
Crazyninjaguy Crazyninjaguy is offline
I'm back.
Team Unova
 
Join Date: May 2008
Location: England
Age: 23
Gender: Male
Posts: 663
Hope you don't mind, but i did a little Mod of your script before to change the way pictures are displayed, and to allow Shiny forms

Spoiler:
Code:
#===============================================================================
# * Pokemon Following By Help-14
# * Shiny Forms Added by Crazyninjaguy
#===============================================================================
###########################################
#### Config Script For Your Game Here ####
###########################################
Animation_Come_In = 22 #<= ID of Animation When Pokemon Come In PokeBall
Animation_Come_Out = 21 #<= ID of Animation When Pokemon Come Out PokeBall
Default_Following_Pokemon_Number = 1 #<= Default Number Of Following Pokemon
Pokemon_1_ID = 150 #<= ID Of Event Use To Make First Pokemon, Should Over 200
Pokemon_2_ID = 202 #<= ID Of Event Use To Make Second Pokemon, Should Over 200
Pokemon_3_ID = 203 #<= ID Of Event Use To Make Third Pokemon, Should Over 200
Pokemon_4_ID = 204 #<= ID Of Event Use To Make Fourth Pokemon, Should Over 200
Pokemon_5_ID = 205 #<= ID Of Event Use To Make Fifth Pokemon, Should Over 200
Pokemon_6_ID = 206 #<= 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

#####################################################
#### Pokemon Following Character v2.0 By Help-14 ####
#####################################################
def auto_change_with_animation
if $pokenum==nil
$pokenum = Default_Following_Pokemon_Number
end
if $pokenum>=1
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
if $pokenum==1
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent0").x,pbGetDependency("Dependent0").y)
end
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
if $pokenum==0
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent0").x,pbGetDependency("Dependent0").y)
end
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
end
Kernel.pbAddDependen(pbGetDependency("Dependent0"), "Dependent6", Common_Event_1)
Kernel.pbRemoveDependency2("Dependent0")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent0", Common_Event_1)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=2 && $Trainer.party.length >= 2
if $pokenum==2
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent1").x,pbGetDependency("Dependent1").y)
end
pbMoveRoute(pbGetDependency("Dependent1"),[PBMoveRoute::Graphic,$Trainer.party[1].name.to_s+".png",0,2,0])
else
if $pokenum==0 && $Trainer.party.length >= 2
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent1").x,pbGetDependency("Dependent1").y)
end
pbMoveRoute(pbGetDependency("Dependent1"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent1"), "Dependent6", Common_Event_2)
Kernel.pbRemoveDependency2("Dependent1")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent1", Common_Event_2)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=3 && $Trainer.party.length >= 3
if $pokenum==3
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent2").x,pbGetDependency("Dependent2").y)
end
pbMoveRoute(pbGetDependency("Dependent2"),[PBMoveRoute::Graphic,$Trainer.party[2].name.to_s+".png",0,2,0])
else
if $pokenum==0 && $Trainer.party.length >= 3
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent2").x,pbGetDependency("Dependent2").y)
end
pbMoveRoute(pbGetDependency("Dependent2"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent2"), "Dependent6", Common_Event_3)
Kernel.pbRemoveDependency2("Dependent2")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent2", Common_Event_3)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=4 && $Trainer.party.length >= 4
if $pokenum==4
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent3").x,pbGetDependency("Dependent3").y)
end
pbMoveRoute(pbGetDependency("Dependent3"),[PBMoveRoute::Graphic,$Trainer.party[3].name.to_s+".png",0,2,0])
else
if $pokenum==0 && $Trainer.party.length >= 4
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent3").x,pbGetDependency("Dependent3").y)
end
pbMoveRoute(pbGetDependency("Dependent3"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent3"), "Dependent6", Common_Event_4)
Kernel.pbRemoveDependency2("Dependent3")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent3", Common_Event_4)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=5 && $Trainer.party.length >= 5
if $pokenum==5
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent4").x,pbGetDependency("Dependent4").y)
end
pbMoveRoute(pbGetDependency("Dependent4"),[PBMoveRoute::Graphic,$Trainer.party[4].name.to_s+".png",0,2,0])
else
if $pokenum==0 && $Trainer.party.length >= 5
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent4").x,pbGetDependency("Dependent4").y)
end
pbMoveRoute(pbGetDependency("Dependent4"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent4"), "Dependent6", Common_Event_5)
Kernel.pbRemoveDependency2("Dependent4")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent4", Common_Event_5)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum==6 && $Trainer.party.length == 6
$scene.spriteset.addUserAnimation(Animation_Come_Out,pbGetDependency("Dependent5").x,pbGetDependency("Dependent5").y)
pbMoveRoute(pbGetDependency("Dependent5"),[PBMoveRoute::Graphic,$Trainer.party[5].name.to_s+".png",0,2,0])
else
if $pokenum==0 && $Trainer.party.length == 6
$scene.spriteset.addUserAnimation(Animation_Come_In,pbGetDependency("Dependent5").x,pbGetDependency("Dependent5").y)
end
pbMoveRoute(pbGetDependency("Dependent5"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent5"), "Dependent6", Common_Event_6)
Kernel.pbRemoveDependency2("Dependent5")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent5", Common_Event_6)
Kernel.pbRemoveDependency2("Dependent6")
end
################################################################################
def change_number
if $pokenum==nil
$pokenum=Default_Following_Pokemon_Number
end
$pokenum+=1
if $pokenum==7
$pokenum=0
end
end
################################################################################
def auto_change_without_animation
if $pokenum==nil
$pokenum = Default_Following_Pokemon_Number
end
if $pokenum>=1
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent0"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent0"), "Dependent6", Common_Event_1)
Kernel.pbRemoveDependency2("Dependent0")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent0", Common_Event_1)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=2 && $Trainer.party.length >= 2
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent1"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent1"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent1"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent1"), "Dependent6", Common_Event_2)
Kernel.pbRemoveDependency2("Dependent1")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent1", Common_Event_2)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=3 && $Trainer.party.length >= 3
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent2"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent2"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent2"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent2"), "Dependent6", Common_Event_3)
Kernel.pbRemoveDependency2("Dependent2")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent2", Common_Event_3)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=4 && $Trainer.party.length >= 4
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent3"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent3"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent3"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent3"), "Dependent6", Common_Event_4)
Kernel.pbRemoveDependency2("Dependent3")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent3", Common_Event_4)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum>=5 && $Trainer.party.length >= 5
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent4"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent4"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent4"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent4"), "Dependent6", Common_Event_5)
Kernel.pbRemoveDependency2("Dependent4")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent4", Common_Event_5)
Kernel.pbRemoveDependency2("Dependent6")
if $pokenum==6 && $Trainer.party.length == 6
if $Trainer.party[0].isShiny?
pbMoveRoute(pbGetDependency("Dependent5"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"s_0.png",0,2,0])
else
pbMoveRoute(pbGetDependency("Dependent5"),[PBMoveRoute::Graphic,$Trainer.party[0].species.to_s+"_0.png",0,2,0])
end
else
pbMoveRoute(pbGetDependency("Dependent5"),[PBMoveRoute::Graphic,"nil.png",0,2,0])
end
Kernel.pbAddDependen(pbGetDependency("Dependent5"), "Dependent6", Common_Event_6)
Kernel.pbRemoveDependency2("Dependent5")
Kernel.pbAddDependen(pbGetDependency("Dependent6"), "Dependent5", Common_Event_6)
Kernel.pbRemoveDependency2("Dependent6")
end
################################################################################
def creat_6_dependent_event
Kernel.pbAddDependency2(Pokemon_1_ID, "Dependent0", Common_Event_1)
Kernel.pbAddDependency2(Pokemon_2_ID, "Dependent1", Common_Event_2)
Kernel.pbAddDependency2(Pokemon_3_ID, "Dependent2", Common_Event_3)
Kernel.pbAddDependency2(Pokemon_4_ID, "Dependent3", Common_Event_4)
Kernel.pbAddDependency2(Pokemon_5_ID, "Dependent4", Common_Event_5)
Kernel.pbAddDependency2(Pokemon_6_ID, "Dependent5", Common_Event_6)
auto_change_without_animation
end


These pictures need to be put in the Graphics/Characters folder.

http://www.mediafire.com/?qdn11ku4t0i
  #64    
Old April 30th, 2010 (06:03 AM).
help-14's Avatar
help-14 help-14 is offline
Team Kanto
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Oh, i have already did it. Well, noproblem.
__________________
My Deviantart: help-14.deviantart.com
  #65    
Old April 30th, 2010 (06:22 AM). Edited April 30th, 2010 by dudleyspud.
dudleyspud's Avatar
dudleyspud dudleyspud is offline
Team Kanto
 
Join Date: Feb 2009
Posts: 34
Quote originally posted by Crazyninjaguy:
Make sure you created the events with and id of over 200 on the map you get your pokemon, and then put these in a call script command after you add the first pokemon.

creat_6_dependent_event
autochange_without_animation

That should work
Sorry for asking this as I think it's an extremely stupid question, but I am new to Game Development. How do you set the id of the event? Thanks for your help so far.

Edit: Ok that was an extremely stupid question, I got it now, however when I try choosing a Pokemon this comes up:
Quote:
---------------------------
Pokemon Essentials
---------------------------
Script 'Interpreter' line 279: RuntimeError occurred.

Script error within event 9, map 5 (Oak's Lab):

(eval)in `pbExecuteScript'undefined local variable or method `autochange_without_animation' for #<Interpreter:0x7850608>

***Full script:

creat_6_dependent_event
autochange_without_animation


Interpreter:238:in `pbExecuteScript'

Interpreter:1652:in `eval'

Interpreter:238:in `pbExecuteScript'

Interpreter:1652:in `command_355'

Interpreter:496:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'

Scene_Map:100:in `update'

Scene_Map:98:in `loop'


---------------------------
OK
---------------------------
__________________

  #66    
Old April 30th, 2010 (03:51 PM).
tylerab01's Avatar
tylerab01 tylerab01 is offline
Pokemon AquaHarmony
Team Sinnoh
 
Join Date: Apr 2009
Location: France
Gender: Male
Nature: Bold
Posts: 165
This is amazing I GOT IT TO WORK!
__________________

  #67    
Old May 1st, 2010 (02:31 AM).
Crazyninjaguy's Avatar
Crazyninjaguy Crazyninjaguy is offline
I'm back.
Team Unova
 
Join Date: May 2008
Location: England
Age: 23
Gender: Male
Posts: 663
@dudleyspud, sorry i messed up a little in my other post.
The problem is this

You have autochange_without_animation

It should be this

auto_change_without_animation
  #68    
Old May 1st, 2010 (05:46 AM). Edited May 1st, 2010 by dudleyspud.
dudleyspud's Avatar
dudleyspud dudleyspud is offline
Team Kanto
 
Join Date: Feb 2009
Posts: 34
Quote originally posted by Crazyninjaguy:
@dudleyspud, sorry i messed up a little in my other post.
The problem is this

You have autochange_without_animation

It should be this

auto_change_without_animation
*sigh* seems like it's one problem after another. I now get;

Quote:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Failed to load bitmap: Graphics/Characters/4_0.png

BitmapCache:195:in `load_bitmap'

BitmapCache:235:in `character'

Sprite_Character:62:in `update_or'

PerspectiveTilemap:408:in `shadow_update'

Shadow:167:in `update'

Sprite_Character:6:in `perspectivetilemap_initialize'

PerspectiveTilemap:404:in `shadow_initialize'

Shadow:143:in `initialize'

DependentEvents:508:in `new'

DependentEvents:508:in `refresh'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Edit: Argh, figured out the problem. I now have to trawl through my graphics folder and rename EVERY Pokemon with their respective number. Any easier way of doing this?
__________________

  #69    
Old May 1st, 2010 (06:41 AM).
tylerab01's Avatar
tylerab01 tylerab01 is offline
Pokemon AquaHarmony
Team Sinnoh
 
Join Date: Apr 2009
Location: France
Gender: Male
Nature: Bold
Posts: 165
Well it was working for me untill I tried to implement it into a script I was using for reviving the lab pokemon and i got this error

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

Message: Script error within event 202, map 36 (Palastine Town):

Exception: NoMethodError

Message: Section141:466:in `addEvent2'undefined method `x' for nil:NilClass

***Full script:

creat_6_dependent_event


Interpreter:239:in `pbExecuteScript'

DependentEvents:33:in `pbAddDependen'

PokemonFollowingCharacter:160:in `auto_change_without_animation'

PokemonFollowingCharacter:231:in `creat_6_dependent_event'

(eval)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: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
---------------------------
__________________

  #70    
Old May 8th, 2010 (04:25 PM).
JakeG's Avatar
JakeG JakeG is offline
Pokemon Awakening-Coming Soon!
Team Unova
 
Join Date: May 2010
Location: NSW, Australia
Gender: Male
Nature: Brave
Posts: 58
I need help urgently! I was playing around with the scripts trying to get this to work and I have ruined them! Could somebody please Copy and paste the scripts needed for pokemon walking in full here? Thanks.
  #71    
Old May 9th, 2010 (05:40 AM).
Crazyninjaguy's Avatar
Crazyninjaguy Crazyninjaguy is offline
I'm back.
Team Unova
 
Join Date: May 2008
Location: England
Age: 23
Gender: Male
Posts: 663
Check the first post
It's all on there.
  #72    
Old May 9th, 2010 (02:18 PM).
SpawnHyuuga's Avatar
SpawnHyuuga SpawnHyuuga is offline
Elite Four Spawn
Team Hoenn
 
Join Date: Apr 2007
Location: New Bark Town, Johto
Gender: Male
Nature: Timid
Posts: 198
@ Anyone:

- How do I make the graphic for the animations transparent? The pink is getting in the way!

- Do I need to copy a special event 200 times, or can it just be anything to take up space? And which maps need 200 events? O.o
__________________
Any images or works I post, are that of my own creation, or I have properly credited the artist/creator. If I am the creator, you may use my work in any way you see fit, provided you give credit. If it is someone else's work, please give them a message, asking if you can use it.
  #73    
Old May 13th, 2010 (05:38 PM). Edited May 16th, 2010 by victorspvl.
victorspvl's Avatar
victorspvl victorspvl is offline
Team Sinnoh
 
Join Date: Aug 2007
Gender:
Posts: 93
I have some question, please somebody help-me, I need very much of this for my game:

1)How could I do to the Pokémon disappear and after appear.
For example.: To recover life in the Pokemon Center

2)How could I make an event like this:

When you talk to the Pokémon he respond as happiness:
for example
If happiness <= 0
Pokémon says:I'm angry
Happiness is> 0
Pokémon says:I'm happy!

3)How to make the script work only if the switch 99 is ON

4)How I make to surf with this script?

5)When I teleport to other map and talk with the pokémon in this other map, i got this error:
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'

6)How I remove the Dependent events?

I really need these answers...
Btw, great script!
Thanks!
__________________
Pokémon Silver Chronicles.

"Feel like a Pokémon Trainer."

wait...
  #74    
Old May 14th, 2010 (07:03 AM).
Rafael-animal's Avatar
Rafael-animal Rafael-animal is offline
Pokémon DS Kit
Team Hoenn
 
Join Date: Jun 2009
Gender: Male
Posts: 20
Good not if they will be able to help me, look I installed the following and it me goes perfectly except for two things: when I happen for for her boil one sees mas animations of which I tread (if I tread on 2 and I give another step there sees the animation of my step mas other 2) and another problem is that on having changed of pokémon it goes out for me a mistake which is this (and there does not go out for me the character of this pokémon):
---------------------------
Pokemon Rubi
---------------------------
Exception: NoMethodError

Message: undefined method `erase' for nil:NilClass

DependentEvents:545:in `refresh'

DependentEvents:543:in `eachEvent'

DependentEvents:385:in `each'

DependentEvents:385:in `eachEvent'

DependentEvents:543:in `refresh'

DependentEvents:565:in `update'

AnimationSprite:81:in `update'

AnimationSprite:80:in `each'

AnimationSprite:80:in `update'

Scene_Map:47:in `updateSpritesets'



This exception was logged in ./errorlog.txt.

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

¡Help! T_T.
  #75    
Old May 14th, 2010 (08:06 PM).
infinity+1 infinity+1 is offline
Team Johto
 
Join Date: May 2010
Gender: Male
Posts: 22
For people having trouble check this
Spoiler:
###########################################
#### 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


Thats the first lines of the actual script.. the numbers in red should match your event numbers

i.e. Dependent0 = Pokemon_1_ID
Dependent1 = Pokemon_2_ID etc..

This worked for me
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 03:25 PM.