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

Untitled

53
Posts
11
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


    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 😄
     
    Last edited:
    Back
    Top