Advertiser Content

Scripting Question Shields down???

Started by #Not Important February 16th, 2020 2:21 PM
  • 515 views
  • 9 replies
Male
Hoenn
Seen 12 Hours Ago
Posted 1 Week Ago
322 posts
110 Days
help.
I want to add shields down to my game and I used mybuisness' script. So after fixing some stuff I tried it aaaaand. Nope. It didn't change form. So could one of you guys give me ur code?
Thx in advance
Pokemon Dev!
See the team here
Advertiser Content
Male
Hoenn
Seen 12 Hours Ago
Posted 1 Week Ago
322 posts
110 Days
In that I was seeing if it could be made with a Pokemon_Forms script and it can't.
Pokemon Dev!
See the team here

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
1,102 posts
1.6 Years
What?
I use it to put into the rand:

MultipleForms.register(:MINIOR,{
"getFormOnCreation"=>proc{|pokemon|
   next 1+rand(7)
}
})
Also, when wild battle, always it will be form 0:
  if isConst?(genwildpoke.species,PBSpecies,:MINIOR); genwildpoke.form=0; end
IDK what you want to do then, TBH. o.o
Male
Hoenn
Seen 12 Hours Ago
Posted 1 Week Ago
322 posts
110 Days
Maybe I'm not understanding how it works.
How I think it works:
Spoiler:
Minior is caught/hatched in the first form and when it gets to 50% health, it changes form
Pokemon Dev!
See the team here

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
1,102 posts
1.6 Years
Wild encounter always will be Meteor Form:
1min20sec
https://youtu.be/yhM05WI-fes

Breeding case always will be the same form than mother/father (with Ditto):
1min42sec
https://youtu.be/3h5vP32YfTc


About breeding code, I made a little edition in Day_Care script:
  # Inheriting form
  if isConst?(babyspecies,PBSpecies,:BURMY) ||
     isConst?(babyspecies,PBSpecies,:SHELLOS) ||
     isConst?(babyspecies,PBSpecies,:BASCULIN) ||
     isConst?(babyspecies,PBSpecies,:FLABEBE) ||
     isConst?(babyspecies,PBSpecies,:PUMPKABOO) ||
     isConst?(babyspecies,PBSpecies,:ORICORIO) ||
     isConst?(babyspecies,PBSpecies,:MINIOR)
    egg.form=mother.form
    egg.form=father.form if pbIsDitto?(mother)
  end 
  # Inheriting Moves
I will edit the main thread.
Male
Hoenn
Seen 12 Hours Ago
Posted 1 Week Ago
322 posts
110 Days
But in battle is what I need
Sorry to be so clueless XD
Pokemon Dev!
See the team here
Male
Hoenn
Seen 12 Hours Ago
Posted 1 Week Ago
322 posts
110 Days
I did and it gave me that frustrating syntax error at the end of the script
Pokemon Dev!
See the team here
Advertiser Content