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!
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.
if pbIsImportantItem?(item) || pbIsTechnicalMachine?(item) || pbIsHiddenMachine?(item)
@scene.pbDisplay(_INTL("That's too important to toss out!"))
next
end
But it still doesn't work? After looking through the code, I've seen that hidden machines shouldn't even be toss-able because of this code:
Code:
# Important items can't be sold, given to hold, or tossed.
def pbIsImportantItem?(item)
return $ItemData[item] && (pbIsKeyItem?(item) || pbIsHiddenMachine?(item) ||
(INFINITETMS && pbIsTechnicalMachine?(item))
)
end
Does pbIsHiddenMachine?(item) not work?
EDIT: Oh, sorry, my PBS Item file was messed up. It works now.