The PokéCommunity Forums Fan Games Custom Game Development Scripts & Tutorials
Essentials Script Silvally´s Ability; RKS System V2

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.

Reply
 
Thread Tools
  #1    
Old October 16th, 2016 (3:54 PM). Edited October 24th, 2016 by Diegotoon.
Diegotoon's Avatar
Diegotoon Diegotoon is offline
 
Join Date: Feb 2015
Gender: Male
Posts: 9
RKS System (Essentials 15+)
Hello, this is my fiirs script ok XP.
Well, only follow the instructions



First:
In Pokemon_MultipleForms, in the line 619, copy the next script:
Spoiler:


MultipleForms.register(ILVALLY,{
"type1"=>proc{|pokemon|
types=[:NORMAL,:FIGHTING,:FLYING,OISON,:GROUND,
:ROCK,:BUG,:GHOST,TEEL,:QMARKS,
:FIRE,:WATER,:GRASS,:ELECTRIC,SYCHIC,
:ICE,:DRAGON,:DARK,:FAIRY]
next getID(PBTypes,types[pokemon.form])
},
"type2"=>proc{|pokemon|
types=[:NORMAL,:FIGHTING,:FLYING,OISON,:GROUND,
:ROCK,:BUG,:GHOST,TEEL,:QMARKS,
:FIRE,:WATER,:GRASS,:ELECTRIC,SYCHIC,
:ICE,:DRAGON,:DARK,:FAIRY]
next getID(PBTypes,types[pokemon.form])
},
"getForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:FISTDISK)
next 2 if isConst?(pokemon.item,PBItems,KYDISK)
next 3 if isConst?(pokemon.item,PBItems,:TOXICDISK)
next 4 if isConst?(pokemon.item,PBItems,:EARTHDISK)
next 5 if isConst?(pokemon.item,PBItems,TONEDISK)
next 6 if isConst?(pokemon.item,PBItems,:INSECTDISK)
next 7 if isConst?(pokemon.item,PBItems,POOKYDISK)
next 8 if isConst?(pokemon.item,PBItems,:IRONDISK)
next 10 if isConst?(pokemon.item,PBItems,:FLAMEDISK)
next 11 if isConst?(pokemon.item,PBItems,PLASHDISK)
next 12 if isConst?(pokemon.item,PBItems,:MEADOWDISK)
next 13 if isConst?(pokemon.item,PBItems,:ZAPDISK)
next 14 if isConst?(pokemon.item,PBItems,:MINDDISK)
next 15 if isConst?(pokemon.item,PBItems,:ICICLEDISK)
next 16 if isConst?(pokemon.item,PBItems,:DRACODISK)
next 17 if isConst?(pokemon.item,PBItems,:DREADDISK)
next 18 if isConst?(pokemon.item,PBItems,IXIEDISK)
next 0
},
"onSetForm"=>proc{|pokemon,form|
pbSeenForm(pokemon)
}
})



Next
In PokeBattle_Battler, in the line 757, copy the next script:
Spoiler:

# Silvally
if isConst?(self.ability,PBAbilities,:RKSSYSTEM) &&
isConst?(self.species,PBSpecies,ILVALLY) && !self.isFainted?
if [email protected]
[email protected]
transformed=true
end
end


Next (Edited)
In PokeBattle_MoveEffects, copy the next script:
Spoiler:

################################################################################
# Multi-Attack
################################################################################
class PokeBattle_Move_199 < PokeBattle_Move
def pbType(type,attacker,opponent)
if isConst?(@id,PBMoves,:MULTIATTACK)
return getConst(PBTypes,:FIGHTING) if attacker.hasWorkingItem(:FISTDISK)
return getConst(PBTypes,:FLYING) if attacker.hasWorkingItem(KYDISK)
return getConst(PBTypes,OISON) if attacker.hasWorkingItem(:TOXICDISK)
return getConst(PBTypes,:GROUND) if attacker.hasWorkingItem(:EARTHDISK)
return getConst(PBTypes,:ROCK) if attacker.hasWorkingItem(TONEDISK)
return getConst(PBTypes,:BUG) if attacker.hasWorkingItem(:INSECTDISK)
return getConst(PBTypes,:GHOST) if attacker.hasWorkingItem(POOKYDISK)
return getConst(PBTypes,TEEL) if attacker.hasWorkingItem(:IRONDISK)
return getConst(PBTypes,:FIRE) if attacker.hasWorkingItem(:FLAMEDISK)
return getConst(PBTypes,:WATER) if attacker.hasWorkingItem(PLASHDISK)
return getConst(PBTypes,:GRASS) if attacker.hasWorkingItem(:MEADOWDISK)
return getConst(PBTypes,:ELECTRIC) if attacker.hasWorkingItem(:ZAPDISK)
return getConst(PBTypes,SYCHIC) if attacker.hasWorkingItem(:MINDDISK)
return getConst(PBTypes,:ICE) if attacker.hasWorkingItem(:ICICLEDISK)
return getConst(PBTypes,:DRAGON) if attacker.hasWorkingItem(:DRACODISK)
return getConst(PBTypes,:DARK) if attacker.hasWorkingItem(:DREADDISK)
elsif isConst?(@id,PBMoves,:TECHNOBLAS)
return getConst(PBTypes,:ELECTRIC) if attacker.hasWorkingItem(HOCKDRIVE)
return getConst(PBTypes,:FIRE) if attacker.hasWorkingItem(:BURNDRIVE)
return getConst(PBTypes,:ICE) if attacker.hasWorkingItem(:CHILLDRIVE)
return getConst(PBTypes,:WATER) if attacker.hasWorkingItem(:DOUSEDRIVE)
end
return getConst(PBTypes,:NORMAL)
end
end



Next:
In PBS Folder:

In items file add:
Spoiler:

605,FLAMEDISK,Flame Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Fire-type moves.,0,0,0,
606,SPLASHDISK,Splash Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Water-type moves.,0,0,0,
607,ZAPDISK,Zap Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Electric-type moves.,0,0,0,
608,MEADOWDISK,Meadow Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Grass-type moves.,0,0,0,
609,ICICLEDISK,Icicle Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Ice-type moves.,0,0,0,
610,FISTDISK,Fist Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Fighting-type moves.,0,0,0,
611,TOXICDISK,Toxic Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Poison-type moves.,0,0,0,
612,EARTHDISK,Earth Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Ground-type moves.,0,0,0,
613,SKYDISK,Sky Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Flying-type moves.,0,0,0,
614,MINDDISK,Mind Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Psychic-type moves.,0,0,0,
615,INSECTDISK,Insect Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Bug-type moves.,0,0,0,
616,STONEDISK,Stone Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Rock-type moves.,0,0,0,
617,SPOOKYDISK,Spooky Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Ghost-type moves.,0,0,0,
618,DRACODISK,Draco Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Dragon-type moves.,0,0,0,
619,DREADDISK,Dread Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Dark-type moves.,0,0,0,
620,IRONDISK,Iron Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Steel-type moves.,0,0,0,
621,PIXIEDISK,Pixie Disk,1,1000,An item to be held by a Pok mon. It is a stone tablet that boosts the power of Fairy-type moves.,0,0,0,


In pokemon file add:
Spoiler:

[722]
Name=Silvally
InternalName=SILVALLY
Type1=NORMAL
BaseStats=120,120,120,120,120,120
GenderRate=Genderless
GrowthRate=Slow
BaseEXP=324
EffortPoints=3,0,0,0,0,0
Rareness=3
Happiness=0
Abilities=RKSSYSTEM
Moves=1,SEISMICTOSS,1,COSMICPOWER,1,NATURALGIFT,1,PUNISHMENT,10,GRAVITY,20,EARTHPOWER,30,HYPERVOICE,40,EXTREMESPEED,50,REFRESH,60,FUTURESIGHT,70,RECOVER,80,HYPERBEAM,90,PERISHSONG,100,MULTIATTACK
Compatibility=Undiscovered
StepsToHatch=30855
Height=7.07
Weight=221.6
Color=Gray
RegionalNumbers=0,722
Kind=Synthetic
Pokedex=When TypeNull gains a partner it can trust, it deliberately destroys the restraining device it wears. Freed of the restraining effects of its mask, Silvally’s senses are heightened, and it reverts to its natural temperament.
BattlerPlayerY=17
BattlerEnemyY=17
BattlerAltitude=0
BattlerX=0
BattlerPlayerX=0
Evolutions=


In moves (Edited)
Spoiler:

623,MULTIATTACK,MultiAttack,199,120,NORMAL,Physical,85,10,0,00,0,abef,"Its type varies with the kind of Disk the user is holding."


Resources
By leparagon (http://www.leparagon.deviantart.com)
http://www.leparagon.deviantart.com/art/Silvally-sprite-check-description-for-types-640396495

Icons
https://drive.google.com/open?id=0B-sDOig6tz4IQlRnMlJrZ1g5NXc
Reply With Quote

Relevant Advertising!

  #2    
Old October 19th, 2016 (3:43 AM).
Mega Infernape907's Avatar
Mega Infernape907 Mega Infernape907 is offline
 
Join Date: Oct 2016
Posts: 14
Wow! you're very good at this. Can you do the same thing but with Solgaleo and Lunala please?
Reply With Quote
  #3    
Old October 20th, 2016 (2:52 PM).
Diegotoon's Avatar
Diegotoon Diegotoon is offline
 
Join Date: Feb 2015
Gender: Male
Posts: 9
yes
Reply With Quote
Reply
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 GMT -8. The time now is 8:27 PM.