• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Hidden Power Set Function 2026-04-14

Wes' Sandslash

Novice
Member
Joined
Feb 17, 2026
Posts
10
Wes' Sandslash submitted a new resource:

Hidden Power Set Function - A function that sets the type of Hidden Power keeping IVs at 31 or 30

If you add this into a script above main you can set your Pokèmons Hidden Power type.

Ruby:
Expand Collapse Copy
##############################################################################
# Hiddenpower set function
##############################################################################

def setHiddenPowerTypePerfect(pkmn, desired_type)
  # Liste aller validen Typen (ohne NORMAL/SHADOW/Pseudo)
  types = []
  GameData::Type.each do |t|
    next if t.pseudo_type
    next if [:NORMAL...

Read more about this resource...
 
Back
Top