• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Regional forms UPDATED

  • 53
    Posts
    12
    Years
    [DIV]Hey guys its been almost 8 years i was on here so I have something for you all as I went and make a small script for those still struggling I be glad to help[/DIV]

    Have you always been wondering why your regional forms arent showing up in a encounter or
    evolve on a specific region for the stone to evolve Raichu
    Solution to it is all in a small add of a script from a existing code

    Make a new script put it before Main

    And Copy all this as you can add more I recommend placing it under a new script


    [SPAN]Note this is only for Essentials 18.2 as I have no further plans to make it for outdated ones[/SPAN]
    All forms are defined in the PBS.


    Code:
    #===============================================================================
    # Alolan forms
    #===============================================================================
    [COLOR="RoyalBlue"]MultipleForms.register(:RATTATA,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
        mapPos = pbGetMetadata($game_map.map_id,MetadataMapPosition)
        next 1 if mapPos && mapPos[0]==2   # Sevi 4-5
        next 0
      }
    })[/COLOR]
    
    MultipleForms.register(:RATICATE,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
        mapPos = pbGetMetadata($game_map.map_id,MetadataMapPosition)
        next 1 if mapPos && mapPos[0]==2   # Sevi 4-5
        next 0
      }
    })
    
    
    MultipleForms.register(:MEOWTH,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
        mapPos = pbGetMetadata($game_map.map_id,MetadataMapPosition)
        next 1 if mapPos && mapPos[0]==1   # Seviis
        next 0
      }
    })
    
    MultipleForms.register(:PERSIAN,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
        mapPos = pbGetMetadata($game_map.map_id,MetadataMapPosition)
        next 1 if mapPos && mapPos[0]==1   # Seviis
        next 0
      }
    })
    
    MultipleForms.register(:VULPIX,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
        mapPos = pbGetMetadata($game_map.map_id,[COLOR="Red"]MetadataMapPosition[/COLOR])
        next 1 if mapPos && mapPos[0]==2   # Seviis FOUR
        next 0
      }
    })

    Notice as the stone evolution need to be this way for the encounter to work as Vulpix needs to be on the current region you are in
    same goes for Raichu, Exegcute yeah you get the idea.

    As for Meowth this is pretty much the same but defining its Galar form should be the same just make a new script and change map to the prefered region.


    Bonus !!code on the Yamask regional form its just for those of you having trouble making it

    Code:
    MultipleForms.register(:YAMASK,{
      "getFormOnCreation" => proc { |pkmn|
        next if pkmn.formSimple>=2
       [COLOR="Cyan"] mapPos = pbGetMetadata($game_map.map_id,MetadataMapPosition)[/COLOR]
        next 1 if mapPos && mapPos[0]==1   # Seviis
        next 0
      }
    })
    Hope this script is usefull for those of you who have questions I be able to give to answer so thats it from me
    credit would be appreciated although it is not necessary 😄
     
    Back
    Top