PDA

View Full Version : [Question] Partner Double Controlled Wild Battle


Aamelo
April 20th, 2012, 04:02 PM
So yes. I am back to ask a few more questions for a Game I have been helping devolving called Pokemon Celestite.

So yeah, in the Second Version of the Game right on the begging there has to be a Double "Controled" Wild Battle using Partners trainers. How ever, even with the Partner trainer, only the Main Character and Only one Enemy show up.

I Have it made like this:
$PokemonGlobal.nextBattleBack="003"
pbRegisterPartner(PBTrainers::RIVAL,"Alice",0)
Conditional Branch: pbWildBattle(PBSpecies::PLOOM,7) [Set Handling when Condictions don't apply]

This is how I have done it
Is there any way to help?

Nickalooose
April 20th, 2012, 07:42 PM
pbDoubleWildBattle(PBSpecies::PIKACHU,21,PBSpecies::CLEFAIRY,17)


That's and event double wild battle, replace both Pokémon with your desired.

Everything else is fine, I do assume that the only problem is the fact you are trying to call 1 wild battled event.

Aamelo
April 21st, 2012, 06:57 AM
It worked! Thanks!

Another Question: How do I Make the player not be unable to run away from a Controlled Wild Battle Like that?

Nickalooose
April 21st, 2012, 07:35 AM
pbDoubleWildBattle(PBSpecies::PIKACHU,21,PBSpecies::CLEFAIRY,17,1,false)


Notice the added red bit, 1 is the global variable used, change this to whatever variable you want... False, is whether the battle can be fled from, true or false are the outcomes here... I think that's all you would need to add, I have not tested this myself.

Try going to this website

Pokémon Wiki (http://pokemonessentials.wikia.com/wiki/Pok%C3%A9mon_Essentials_Wiki)

This will have most the info you will probably need or use.

Aamelo
April 21st, 2012, 12:15 PM
For some reason, in the partners battle, it shows the message "Shmoo gained 80 exp points" thrice, is it a bug?

Nickalooose
April 21st, 2012, 12:21 PM
Sounds like it, report this within the bugs and error reporting (http://www.pokecommunity.com/showthread.php?t=271519) thread, maybe Maruno will be able to show you a quick fix.

Maruno
April 22nd, 2012, 02:36 AM
Is this battle a "demonstration" battle, where it's just NPCs fighting and not the player? If so, there's nothing in the scripts that supports that kind of thing, so it's not surprising you get problems.

Please give me an exact description of what happened: what kind of battle, which trainers had which Pokémon, who attacked whom, etc. You can keep it in this thread.

Aamelo
April 24th, 2012, 10:28 AM
The Script used was pbDoubleWildBattle(PBSpecies::PLOOM,7,PBSpecies::PLOOM,7,1,false)with Set Handling Conditions if Case doesn't aply, it is battled with a partner trainer using pbRegisterPartner(
PBTrainers::RIVAL,"Alice",0)

Here is the data of the three pokémon involved in the battle as well as the trainer:

Pokémon:
[1]
Name=Shmoo
InternalName=SHMOO
Kind=Imaginary
Pokedex=Shmoo and Joshua found each other in Nixing Rest and their instant connection made them destined partners. Shmoo's name refers to the horn like sound it makes when it makes noise.
Type1=GRASS
BaseStats=50,49,55,45,65,60
Rareness=0
BaseEXP=60
Happiness=80
GrowthRate=Parabolic
StepsToHatch=5120
Color=Green
Habitat=Rare
EffortPoints=0,0,1,0,0,0
Abilities=WATERABSORB, HEATPROOF
Compatibility=15,15
Height=0.7
Weight=6.9
GenderRate=AlwaysFemale
Moves=1,CALL,4,TERRACOTTA,6,WARHORN
EggMoves=
Evolutions=REQUIA,ItemFemale,MOONSTONE
BattlerPlayerY=23
BattlerEnemyY=10
BattlerAltitude=0
[3]
Name=Checkitty
InternalName=CHECKITTY
Kind=Cat
Pokedex=When Alice first started her journey in Lennetto, Chesha the Checkitty was the first Pokemon she met.
Type1=NORMAL
BaseStats=50,45,50,35,60,65
Rareness=10
BaseEXP=80
Happiness=70
GrowthRate=Parabolic
StepsToHatch=5120
Color=Black
Habitat=Rare
EffortPoints=0,0,0,0,1,0
Abilities=SAPSIPPER
Compatibility=1,1
Height=2.8
Weight=8.6
GenderRate=AlwaysMale
Moves=1,ROLLOVER,1,WAG,3,MEOW
EggMoves=
Evolutions=CHECKAT,ItemMale,DSKST
BattlerPlayerY=17
BattlerEnemyY=21
BattlerAltitude=0
[14]
Name=Puddloom
InternalName=PLOOM
Kind=Nightmare
Pokedex=Puddlooms are the most common Nightmares of Luminos and can be found almost anywhere”.
Type1=NIGHTMARE
BaseStats=40,30,30,30,30,30
Rareness=100
BaseEXP=80
Happiness=70
GrowthRate=Parabolic
StepsToHatch=3840
Color=Purple
Habitat=Rare
EffortPoints=1,0,0,0,0,0
Abilities=LIQUIDOOZE
Compatibility=1,1
Height=0.9
Weight=30.0
GenderRate=Genderless
Moves=1,SHRIEK,1,TONGUEWHIP
EggMoves=
Evolutions=
BattlerPlayerY=27
BattlerEnemyY=16
BattlerAltitude=0

Partner Trainer:
#-------------------
RIVAL
Alice
1
CHECKITTY,3,16,,ROLLOVER,WAG,MEOW,,false,false

And don't know if userfull, the whole list of atacks:
1,CALL,Call,42,0,NORMAL,Status,100,40,0,04,0,ek,Smart,"The user calls in an endearing way, making the opposing team less wary. The foes' Attack stats are lowered."
2,WAG,Wag,43,0,NORMAL,Status,100,30,0,04,0,ek,Smart,"The user wags its tail cutely, making opposing Pokémon less wary and lowering their Defense stat."
3,TERRACOTTA,Terracotta,00,40,GROUND,Physical,100,35,0,00,0,abef,Tough,"The user charges toward the opponent, knocking opposing Pokémon down with its clay-covered body."
4,MEOW,Meow,4B,0,NORMAL,Status,100,20,0,00,0,ek,Cute,"The user meows cutely toward the opposing Pokémon making it feel bad for attacking and lowering it’s Attack Stat two stages."
5,ROLLOVER,RollOver,00,35,NORMAL,Physical,70,35,0,00,-1,abef,Cute,"The user lazily rolls over and crushes the opposing Pokémon under its weight."
6,WARHORN,War Horn,1C,0,NORMAL,Status,0,25,0,40,0,ek,Tough,"The user blasts its horn loudly and courageously boosting its Attack Stat."
7,INNERGLOW,Inner Glow,D8,0,GLOW,Status,0,5,0,10,0,ei,Beauty,"The user glows brightly to restore its own HP."
8,SLEEPYSIGH,Sleepy Sigh,04,0,PSYCHIC,Status,0,10,0,00,0,cek,Cute,"The user yawns causing others to fall asleep after a while."
9,COUNTME,Count Me,03,0,PSYCHIC,Status,0,10,0,00,0,ce,Smart,"The user casts an illusion of it continuously multiplying, so many Sheepy makes you sleepy."
10,PUSHNPULL,Push n’ Pull,BD,20,NORMAL,Physical,100,30,0,00,-1,abel,Tough,"The user slowly and forcefully pushes and pulls the opponent."
11,SMELLYSLIME,Smelly Slime,13,0,BUG,Status,90,20,0,00,0,ae,Tough,"The user spits a fowl smelling slime at the opponent which confuses the opponent."
12,CURLUP,Curl Up,1D,0,BUG,Status,100,40,0,10,1,e,Smart,"The user curls up tightly and increases its defense a little."
13,BUMP,Bump,00,40,NORMAL,Physical,100,30,0,00,0,abe,Tough,"The user roughly bumps its opponent."
14,STILLNESS,Stillness,AA,0,PSYCHIC,Status,100,10,0,10,-1,e,Cool,"The user focuses by staying quiet and still. Protecting itself it can block any oncoming attack."
15,MAGICMIRROR,Magic Mirror,73,1,PSYCHIC,Physical,90,20,0,00,0,abe,Beauty,"The user casts a veil around them that stops an enemy attack and reflects it back at them."
16,BUNNPUNCH,Bunn Punch,BD,20,NORMAL,Physical,80,10,0,00,0,abej,Tough,"The user jabs right and left at the opponent."
17,BUNNKICK,Bunn Kick,BD,20,NORMAL,Physical,80,10,0,00,0,abe,Tough,"The user spins in the air kicking twice at the opponent."
18,SHUFFLE,Shuffle,ED,0,NORMAL,Status,50,15,0,10,0,e,Smart,"The user switches out with another party Pokemon."
19,SHRIEK,Shriek,07,0,NIGHTMARE,Status,100,20,0,04,0,cek,Tough,"The user let’s out a shrill cry that paralyzes all opponents in fear."
20,TONGUEWHIP,Tongue Whip,05,20,NIGHTMARE,Physical,80,15,50,00,0,abce,Tough,"The user slaps it’s opponent with it’s poisonous tongue."


Hope this can be fixed...