• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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] Helping Adding an Altenative Form

8
Posts
10
Years
    • Seen Apr 28, 2024
    Hello

    I tried to create an alolan form on pokemon reborn for my own use, for a test but without sucess
    I want to create an alternative form for charizard
    That Charizard would evolve from a regular charmeleon, the evolution method could be level+held item, (level 36 + dragon scale).
    Charizard would be Fire/Dragon with a new ability, something like a misture of levitate and steelworker but for flying type.

    can anybody help me? i'm a newbie making changes in script on pokemon essentials

    Code:
    MultipleForms.register(:CHARIZARD,{
    "dexEntry"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       next "The bones it possesses were once its mother?s. Its mother?s regrets have become like a vengeful spirit protecting this Pok?mon."  # Alola
    },
    "getFormOnCreation"=>proc{|pokemon|
       chancemaps=[669]   
       # Map IDs for alolan form
       if $game_map && chancemaps.include?($game_map.map_id)
         randomnum = rand(2)
         if randomnum == 3
           next 3
         elsif randomnum == 0
           next 0
         end     
       else
         next 0
       end
    },
    "height"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       next 1.7                     # Alola
    },
    "weight"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       next 110.5                   # Alola
    },
    "type2"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       next getID(PBTypes,:DRAGON)    # Alola
    },
    "getMoveList"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       movelist=[]
       case pokemon.form            # Alola
         when 3 ; movelist=[[0,:DRAGONBREATH],[1,:FLAREBLITZ],[1,:HEATWAVE],
                            [1,:AIRSLASH],[1,:DRAGONCLAW],[1,:SHADOWCLAW],
                            [1,:SCRATCH],[1,:GROWL],[1,:SMOKESCREEN],
                            [1,:EMBER],[7,:EMBER],[10,:SMOKESCREEN],
                            [17,:DRAGONRAGE],[21,:SCARYFACE],[28,:FIREFANG],
                            [32,:FLAMEBURST],[37,:WINGATTACK],[41,:DRAGONCLAW],
                            [47,:FLAMETHROWER],[56,:DRAGONPULSE],[62,:FIRESPIN],
                            [71,:INFERNO],[77,:DRACOMETEOR],[82,:BLUEFLARE]]
       end
       for i in movelist
         i[1]=getConst(PBMoves,i[1])
       end
       next movelist
    },
    "getBaseStats"=>proc{|pokemon|
       next if pokemon.form==0      # Normal
       next [78,84,78,100,109,85]   # Alola
    },
    "ability"=>proc{|pokemon|
       next if pokemon.form==0              # Normal
       next getID(PBAbilities,:LEVITATE)    # Alola
    },
    "onSetForm"=>proc{|pokemon,form|
       pbSeenForm(pokemon)
    }
    })
     
    Last edited by a moderator:
    8
    Posts
    10
    Years
    • Seen Apr 28, 2024
    that is the script, i'm working with but the form does not work
     
    Last edited by a moderator:
    277
    Posts
    15
    Years
  • What version of Essentials are you using?
    most of that can easily be defined in the pokemonforms.txt if you are using v17+
     
    Back
    Top