- 9
- Posts
- 10
- Years
- Seen May 8, 2024
I've copied the scripts for Ash-Greninja from M3rein's Gen 7 scripts thread and Battle Bond now exists as an ability, but it never triggers when I faint an opponent's Pok?mon, even though the form does exist. In my game I edited it into Ash-Pikachu which is why the code has its name in it. I'm also using Pok?mon Essentials BW by KleinStudio.
Here's my code in Pokemon_MultipleForms under the Mega Evolutions, I don't know what I did wrong or how I can get Battle Bond to activate.
Here's my code in Pokemon_MultipleForms under the Mega Evolutions, I don't know what I did wrong or how I can get Battle Bond to activate.
MultipleForms.register(:PIKACHU,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(user.species,PBSpecies,:PIKACHU) && user.hasWorkingAbility(:BATTLEBOND)
next
},
"getUnmegaForm"=>proc{|pokemon|
next 0
},
"getMegaName"=>proc{|pokemon|
next _INTL("Ash-Pikachu") if pokemon.form==1
next
},
"getBaseStats"=>proc{|pokemon|
next [35,85,30,100,80,40] if pokemon.form==1
next
},
"onSetForm"=>proc{|pokemon,form|
pbSeenForm(pokemon)
}
})
Last edited: