• 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.

Pokemon multiple form not working (Essentials v16.2)

76
Posts
8
Years
    • Seen Dec 9, 2022
    Hi community,

    I added with success alolan pokemon. As a result I have I ahve 2 Grimers. Now i wanted to add a third Grimer; the sprites are saved under 088_1, 088b_1 and so on. The alola Grimer is saved as 088d and also the script section for alolan forms is seperate from Pokemon_MultipleForms. Now as for the third Grimer that I wanted to add I add this script in Pokemon_MultipleForms

    Code:
    MultipleForms.register(:GRIMER,{
    "getFormOnCreation"=>proc{|pokemon|
    maps=[76] # Map IDs for second form
      if $game_map && maps.include?($game_map.map_id)
        next 1
      else
        next 0
      end
    },
    "type1"=>proc{|pokemon|
       next if pokemon.form==0     # Normal Form
       case pokemon.form
       when 1; next getID (PBType,:GROUND) # Delta
       end
    }
    })
    
    MultipleForms.copy(:GRIMER,:MUK)

    However when I am on the map76 normal Grimer appears. Although it shouldn't happen. What did I do wrong? FYI: I use Essentials 16.2
     
    Last edited by a moderator:
    277
    Posts
    15
    Years
  • try

    Code:
    MultipleForms.register(:GRIMER,{
    "getFormOnCreation"=>proc{|pokemon|
       maps=[76]   # Map IDs for second form
       if ($game_map && maps.include?($game_map.map_id))
         next 1
       end
       next 0
    }
    })
     
    Last edited:
    Back
    Top