Skip to content

GlobalFlag

Constants representing certain functionalities that are disabled by default in Duels, usually to avoid executing potentially expensive code in Duels where they are not needed. They are enabled automatically when relevant effects are registered or when certain functions are called.

ConstantHEXDECSummary
GLOBALFLAG_DECK_REVERSE_CHECK0x11Allows face-up cards in the Main Deck.
GLOBALFLAG_BRAINWASHING_CHECK0x22Enables effects that return the control of monsters to their owner.
GLOBALFLAG_DELAYED_QUICKEFFECT0x88
GLOBALFLAG_DETACH_EVENT0x1016Allows effects to respond when an Xyz Monster's material(s) are detached.
GLOBALFLAG_SPSUMMON_COUNT0x4064Enabled effects that limit the number of times players can Special Summon.
GLOBALFLAG_XMAT_COUNT_LIMIT0x80128Allowed EFFECT_TYPE_XMATERIAL effects to have count limits.
GLOBALFLAG_SELF_TOGRAVE0x100256Enables effects that continuously send their handler to the GY.
GLOBALFLAG_SPSUMMON_ONCE0x200512Enables restricting a monster to being Special Summoned only once per turn.