• 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!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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
    9
    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:
    Back
    Top