Not quite there I get this message everytime just before castform is put into battle and when i bring up the pokemon list from the main menu:Try putting the following at the beginning of pbForecast:
Then put the following somewhere in PokemonMultipleForms:Code:pbAnimation(PBMoves::TRANSFORM,self,PBSpecies::CASTFORM)
That should use the Transform animation and turn the Pokémon into a Castform (whose form is chosen depending on the in-battle weather as appropriate).Code:MultipleForms.register(:CASTFORM,{ "alterBitmap"=>proc{|pokemon| [email protected] if weather==PBWeather::SUNNYDAY next 1 elsif weather==PBWeather::RAINDANCE next 2 elsif weather==PBWeather::HAIL next 3 else next 0 end } })
Theoretically. I wouldn't be at all surprised if it didn't work. I haven't done anything like it before.
In PokemonLoad, find this line:
$PokemonStorage=Marshal.load(f)
and add this one below it:
$testpokemon=Marshal.load(f)
In PokemonSave, find:
Marshal.dump($PokemonStorage,f)
and add this below it:
Marshal.dump($testpokemon,f)
Just be warned that you have to start a new game (saving might fix it too) or the script will give an error, since the continue command makes it load whatever was saved in the Marshal.dump, which is nothing until you save the game.
I'm using Windows XP. I did never have that issue the last time I downloaded it.
I thought it wouldn't work.Not quite there I get this message everytime just before castform is put into battle and when i bring up the pokemon list from the main menu:
Exception: NoMethodError
Message: undefined method `pbWeather' for nil:NilClass
PokemonMultipleForms:380
PokemonMultipleForms:379:in `call'
PokemonUtilities:2561:in `pbLoadPokemonBitmapSpecies'
PokemonUtilities:2560:in `each'
SpriteWindow:794:in `each'
SpriteWindow:794:in `each'
PokemonUtilities:2560:in `pbLoadPokemonBitmapSpecies'
PokemonUtilities:2529:in `pbLoadPokemonBitmap'
PokeBattle_ActualScene:335:in `setPokemonBitmap'
PokeBattle_ActualScene:1730:in `pbSendOut'
self.form=[COLOR=Red]1[/COLOR]
pbAnimation(PBMoves::TRANSFORM,self,PBSpecies::CASTFORM)
That is defined in pokemon.txt. Each species can have a line "Evolutions=", which determines the species it evolves into and how.I want to make a stone that evolves pokemon that are supposed to be traded to evolve. The notes tell how to make the stone but how do you detemine which pokemon it evolves?
Evolutions=ALAKAZAM,Item,PSYCHICSTONE
Thanks again for the help, but it still didn't work. This time when I had castform use rain dance it showed no effect at all and it didn't even give the message "Castform transformed!" When I changed the weather for the map and started the battle I got this message while sending castform out:I thought it wouldn't work.
Okay, different tactic. Put copies of the following code in pbForecast, within each of the "if weather==PBWeather::etc." bits:
Change the form number for each weather type. Also, delete the other bit of code I told you to put in PokemonMultipleForms, because it's rubbish.Code:self.form=[COLOR=red]1[/COLOR] pbAnimation(PBMoves::TRANSFORM,self,PBSpecies::CASTFORM)
Again, I don't know if this will work.
Exception: NoMethodError
Message: undefined method `form=' for #<PokeBattle_Battler:0x9a6c520>
PokeBattle_Battler:575:in `pbForecast'
PokeBattle_Battle:1178:in `pbOnActiveAll'
PokeBattle_Battle:1175:in `each'
PokeBattle_Battle:1175:in `pbOnActiveAll'
PokeBattle_Battle:717:in `pbStartBattleCore'
PokeBattle_Battle:493:in `pbStartBattle'
PokemonField:767:in `pbWildBattle'
PokemonField:766:in `pbSceneStandby'
PokemonField:768:in `pbWildBattle'
PokemonField:765:in `pbBattleAnimation'
Evolutions=ALAKAZAM,Item,PSYCHICSTONE
Just make 3 separate trainers with same name and picture but with different pokemon and use conditional branches to decide which one would player battle. I hope you understand, cause I'm not so good at discribing things :/In my game, there are two rivals. My question is, how do I make it so that Rival A gets the pokemon who has an advantage to the Trainer's Pokemon, and Rival B gets the pokemon with the disadvantage?
I was thinking conditional branch, but I'm not entirely sure if that'd work... any other ideas?
Every time i go to retreive an egg from the daycare man I get this error message:
Exception: RuntimeError
Message: Script error within event 31, map 11 (Test Map):
Exception: NameError
Message: Section106:60:in `pbIsDitto?'undefined local variable or method `pokemon1' for #<Interpreter:0x9545fc8>
***Full script:
pbDayCareGenerateEgg
$PokemonGlobal.daycareEgg=0
$PokemonGlobal.daycareEggSteps=0
Interpreter:239:in `pbExecuteScript'
PokemonDayCare:160:in `pbDayCareGenerateEgg'
(eval):1: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'
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'
Whats wrong?
O.o Did you accidently quote me? That has nothing to do with the error at all, I wouldn't have even gotten that far if that were the case. And I mean no offense by the way. Thanks for replying though :)Have you deleted the map where you're supposed to start? If you have, go to the intro map and select the event at the center and edit it, at the end, it says to which map it will transfer when intro is done, so edit where it says where you'll be transfered and put in the map where you want to start.
Evolutions=ALAKAZAM,Trade,TRADESTONE,ALAKAZAM,Item,TRADESTONEThanks. So what if I still want say, Kadabra to evolve with the Trade stone and by trading? Is this possible?
(Seperate Question) I can't figure out how to make a trainer do anything but battle and talk. The notes say just enter the event commands (like the rival battle where afterwards he walks away and disappears) and the game ignors everything except the "Comment" commands. Please help.
When you pick a starter, set a game variable to a different number depending on which starter you chose (e.g. 1=Bulbasaur, 2=Charmander, 3=Squirtle).In my game, there are two rivals. My question is, how do I make it so that Rival A gets the pokemon who has an advantage to the Trainer's Pokemon, and Rival B gets the pokemon with the disadvantage?
I was thinking conditional branch, but I'm not entirely sure if that'd work... any other ideas?
EDIT: Also, is it possible to make it so that you can enter more than 7 characters for a Name/Nickname? O.o