• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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] Alternate Forms Not Working

  • 8
    Posts
    5
    Years
    • Seen Nov 6, 2022
    This has probably been asked a lot, but I went to add Alolan and Galarian forms. I put the code in correctly, the enemy battle sprites appear correctly, however when I capture them and go to use them they come out as the regular. They also show up in the summary form as the Alolan or Galarian variant.

    My Pokemon_Forms script.
    Code:
    MultipleForms.register(:MEOWTH,{
    "getFormOnCreation"=>proc{|pokemon|
       maps=[14]   # Map IDs for second form
       if $game_map && maps.include?($game_map.map_id)
         next 1
       else
         next 0
       end
       },
    "Type 1"=>proc{|pokemon|
          next if pokemon.form==0         #Normal Form
          case pokemon.form
          when 1; next getID(PBTypes,:DARK)   #Alolan
          end

    My pokemonforms pbs
    Code:
    #-------------------------------
    [MEOWTH-1]
    Formname=Alolan
    Type1=DARK
     
    When we caught a pokémon, we have an code to turn forceForm to 0, IIRC. Find the code and edit there and I think will solved your problem.
    Try to look for 'megaUnform'.
     
    Back
    Top