Scripts, Tutorials & Tools 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: 13
    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(:SILVALLY,{
    "type1"=>proc{|pokemon|
    types=[:NORMAL,:FIGHTING,:FLYING,:POISON,:GROUND,
    :ROCK,:BUG,:GHOST,:STEEL,:QMARKS,
    :FIRE,:WATER,:GRASS,:ELECTRIC,:PSYCHIC,
    :ICE,:DRAGON,:DARK,:FAIRY]
    next getID(PBTypes,types[pokemon.form])
    },
    "type2"=>proc{|pokemon|
    types=[:NORMAL,:FIGHTING,:FLYING,:POISON,:GROUND,
    :ROCK,:BUG,:GHOST,:STEEL,:QMARKS,
    :FIRE,:WATER,:GRASS,:ELECTRIC,:PSYCHIC,
    :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,:SKYDISK)
    next 3 if isConst?(pokemon.item,PBItems,:TOXICDISK)
    next 4 if isConst?(pokemon.item,PBItems,:EARTHDISK)
    next 5 if isConst?(pokemon.item,PBItems,:STONEDISK)
    next 6 if isConst?(pokemon.item,PBItems,:INSECTDISK)
    next 7 if isConst?(pokemon.item,PBItems,:SPOOKYDISK)
    next 8 if isConst?(pokemon.item,PBItems,:IRONDISK)
    next 10 if isConst?(pokemon.item,PBItems,:FLAMEDISK)
    next 11 if isConst?(pokemon.item,PBItems,:SPLASHDISK)
    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,:PIXIEDISK)
    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,:SILVALLY) && !self.isFainted?
    if self.form!=@pokemon.form
    self.form=@pokemon.form
    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(:SKYDISK)
    return getConst(PBTypes,:POISON) if attacker.hasWorkingItem(:TOXICDISK)
    return getConst(PBTypes,:GROUND) if attacker.hasWorkingItem(:EARTHDISK)
    return getConst(PBTypes,:ROCK) if attacker.hasWorkingItem(:STONEDISK)
    return getConst(PBTypes,:BUG) if attacker.hasWorkingItem(:INSECTDISK)
    return getConst(PBTypes,:GHOST) if attacker.hasWorkingItem(:SPOOKYDISK)
    return getConst(PBTypes,:STEEL) if attacker.hasWorkingItem(:IRONDISK)
    return getConst(PBTypes,:FIRE) if attacker.hasWorkingItem(:FLAMEDISK)
    return getConst(PBTypes,:WATER) if attacker.hasWorkingItem(:SPLASHDISK)
    return getConst(PBTypes,:GRASS) if attacker.hasWorkingItem(:MEADOWDISK)
    return getConst(PBTypes,:ELECTRIC) if attacker.hasWorkingItem(:ZAPDISK)
    return getConst(PBTypes,:PSYCHIC) 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(:SHOCKDRIVE)
    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
      #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: 13
        yes :)
        Reply With Quote
          #4    
        Old September 9th, 2018 (10:06 AM).
        WolfPP's Avatar
        WolfPP WolfPP is online now
           
          Join Date: Aug 2018
          Location: Brazil
          Gender: Male
          Nature: Jolly
          Posts: 164
          Sorry to ress!

          I tried to post here (https://www.pokecommunity.com/showthread.php?t=387706&page=6) but as been closed.

          So, i follow the tutorial. All is ok, except that:
          My Silvally when holds the something (bellow) hes gets another types in Summary Screen:
          Water - In Summary Screen shows Grass type;
          The same with:
          Fire into Water
          Electric - Psychic
          Psychic - Ice
          Ice - Dragon
          Dark - Fairy
          Fairy - Normal
          Grass - Electric

          The item sprite and sprite of pokemon screens are correcty, only types doenst.

          How can i fix that? And what you means about "QMARKS" in 'Pokemon_MultipleForms'?

          Thank you!
          Reply With Quote
          Reply

          Quick Reply

          Join the conversation!

          Create an account to post a reply in this thread, participate in other discussions, and more!

          Create a PokéCommunity Account
          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 6:47 PM.