• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Another Form for Kyurem

  • 56
    Posts
    9
    Years
    Greetings

    I have been playing around with Pokémon Essentials, and have been trying to make a third form of Kyurem that can be obtained by fusing Reshiram/Zekrom with Kyurem Black/White form - in that order. Is that even possible or will I have to come up with another way around this?
     
    Last edited by a moderator:
    First up your going to need to add 3rd form for Kyurem.
    Add the bits I've highlighted in red.
    and put what ever values you like in the green bit.
    Code:
    MultipleForms.register(:KYUREM,{
    "getBaseStats"=>proc{|pokemon|
       case pokemon.form
       when 1; next [125,120, 90,95,170,100] # White Kyurem
       when 2; next [125,170,100,95,120, 90] # Black Kyurem
       [COLOR="Red"]when 3; next [[COLOR="Lime"]125,150,95,95,120, 95[/COLOR]] # Grey Kyurem[/COLOR]
       else;   next                          # Kyurem
       end
    },
    "height"=>proc{|pokemon|
       case pokemon.form
       when 1; next 36 # White Kyurem
       when 2; next 33 # Black Kyurem
       [COLOR="Red"]when 3; next [COLOR="Lime"]35[/COLOR] # Grey Kyurem[/COLOR]
       else;   next    # Kyurem
       end
    },
    "getAbilityList"=>proc{|pokemon|
       case pokemon.form
       when 1; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:TURBOBLAZE),2]] # White Kyurem
       when 2; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:TERAVOLT),2]]   # Black Kyurem
       [COLOR="Red"]when 3; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:[COLOR="Lime"]TERAVOLT[/COLOR]),2]]   # Grey Kyurem[/COLOR]
       else;   next                                      # Kyurem
       end
    },
    "evYield"=>proc{|pokemon|
       case pokemon.form
       when 1; next [0,0,0,0,3,0] # White Kyurem
       when 2; next [0,3,0,0,0,0] # Black Kyurem
       [COLOR="Red"]when 3; next [[COLOR="Lime"]3,0,0,0,0,0[/COLOR]] # Grey Kyurem[/COLOR]
       else;   next               # Kyurem
       end
    },
    "getMoveList"=>proc{|pokemon|
       next if pokemon.form==0
       movelist=[]
       case pokemon.form
       when 1; movelist=[[1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [36,:SLASH],[43,:FUSIONFLARE],[50,:ICEBURN],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE]]
       when 2; movelist=[[1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [36,:SLASH],[43,:FUSIONBOLT],[50,:FREEZESHOCK],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE]]
       [COLOR="Red"]when 3; movelist=[[[COLOR="Lime"]1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [43,:FUSIONFLARE],[43,:FUSIONBOLT],[50,:FREEZESHOCK],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE[/COLOR]]][/COLOR]
       end
       for i in movelist
         i[1]=getConst(PBMoves,i[1])
       end
       next movelist
    }
    })
     
    First up your going to need to add 3rd form for Kyurem.
    Add the bits I've highlighted in red.
    and put what ever values you like in the green bit.
    Code:
    MultipleForms.register(:KYUREM,{
    "getBaseStats"=>proc{|pokemon|
       case pokemon.form
       when 1; next [125,120, 90,95,170,100] # White Kyurem
       when 2; next [125,170,100,95,120, 90] # Black Kyurem
       [COLOR="Red"]when 3; next [[COLOR="Lime"]125,150,95,95,120, 95[/COLOR]] # Grey Kyurem[/COLOR]
       else;   next                          # Kyurem
       end
    },
    "height"=>proc{|pokemon|
       case pokemon.form
       when 1; next 36 # White Kyurem
       when 2; next 33 # Black Kyurem
       [COLOR="Red"]when 3; next [COLOR="Lime"]35[/COLOR] # Grey Kyurem[/COLOR]
       else;   next    # Kyurem
       end
    },
    "getAbilityList"=>proc{|pokemon|
       case pokemon.form
       when 1; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:TURBOBLAZE),2]] # White Kyurem
       when 2; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:TERAVOLT),2]]   # Black Kyurem
       [COLOR="Red"]when 3; next [[getID(PBAbilities,:PRESSURE),0],
                     [getID(PBAbilities,:[COLOR="Lime"]TERAVOLT[/COLOR]),2]]   # Grey Kyurem[/COLOR]
       else;   next                                      # Kyurem
       end
    },
    "evYield"=>proc{|pokemon|
       case pokemon.form
       when 1; next [0,0,0,0,3,0] # White Kyurem
       when 2; next [0,3,0,0,0,0] # Black Kyurem
       [COLOR="Red"]when 3; next [[COLOR="Lime"]3,0,0,0,0,0[/COLOR]] # Grey Kyurem[/COLOR]
       else;   next               # Kyurem
       end
    },
    "getMoveList"=>proc{|pokemon|
       next if pokemon.form==0
       movelist=[]
       case pokemon.form
       when 1; movelist=[[1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [36,:SLASH],[43,:FUSIONFLARE],[50,:ICEBURN],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE]]
       when 2; movelist=[[1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [36,:SLASH],[43,:FUSIONBOLT],[50,:FREEZESHOCK],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE]]
       [COLOR="Red"]when 3; movelist=[[[COLOR="Lime"]1,:ICYWIND],[1,:DRAGONRAGE],[8,:IMPRISON],
                         [15,:ANCIENTPOWER],[22,:ICEBEAM],[29,:DRAGONBREATH],
                         [43,:FUSIONFLARE],[43,:FUSIONBOLT],[50,:FREEZESHOCK],
                         [57,:DRAGONPULSE],[64,:IMPRISON],[71,:ENDEAVOR],
                         [78,:BLIZZARD],[85,:OUTRAGE],[92,:HYPERVOICE[/COLOR]]][/COLOR]
       end
       for i in movelist
         i[1]=getConst(PBMoves,i[1])
       end
       next movelist
    }
    })

    I have added Kyurem's third form. What will come next?
     
    Back
    Top