Skip to content

DuelOption

Constants representing rules enforced in a Duel. These are usually set automatically depending on the type of Duel being played.

ConstantHEXDECSummary
DUEL_TEST_MODE0x11The user can control both players.
DUEL_ATTACK_FIRST_TURN0x22The starting player can attack on their first turn.
DUEL_USE_TRAPS_IN_NEW_CHAIN0x44Continuous Traps cannot activate effects in the same chain they're activated.
DUEL_PSEUDO_SHUFFLE0x1016The Deck is never shuffled.
DUEL_TRIGGER_WHEN_PRIVATE_KNOWLEDGE0x2032Trigger Effects can activate when sent to a location that is private knowledge.
DUEL_SIMPLE_AI0x4064Includes a simple AI player.
DUEL_RELAY0x80128Players in the same team switch to the next when one loses.
DUEL_OCG_OBSOLETE_IGNITION0x100256The turn player can activate an Ignition Effect after a Chain or Summon.
DUEL_OBSOLETE_IGNITION0x100256The turn player can activate an Ignition Effect after a Chain or Summon.
DUEL_1ST_TURN_DRAW0x200512The starting player draws a card on their first turn.
DUEL_1_FIELD0x4001024Only 1 field can be face-up in the Field Zone at once.
DUEL_PZONE0x8002048Includes Pendulum Zones integrated in the Spell & Trap Zones.
DUEL_SEPARATE_PZONE0x10004096Includes Pendulum Zones separate from Spell & Trap Zones.
DUEL_EMZONE0x20008192Includes the Extra Monster Zones.
DUEL_FSX_MMZONE0x400016384Fusion, Synchro, and Xyz Monsters can be Special Summoned to Main Monster Zones.
DUEL_TRAP_MONSTERS_NOT_USE_ZONE0x800032768Trap Monsters do not occupy a Spell & Trap Zone.
DUEL_RETURN_TO_DECK_TRIGGERS0x1000065536Trigger Effects can activate when the card is sent to the Deck.
DUEL_TRIGGER_ONLY_IN_LOCATION0x20000131072Trigger Effects cannot activate if the card is moved.
DUEL_MODE_MR50x2e800190464Master Rule (April 1, 2020 revision)
DUEL_SPSUMMON_ONCE_OLD_NEGATE0x40000262144Negated Special Summons do not count for Special Summon limits.
DUEL_CANNOT_SUMMON_OATH_OLD0x80000524288Negated Summons do not count for restrictions that care about performed Summons.
DUEL_MODE_MR10xd0700853760Master Rule
DUEL_MODE_MR20xd0700853760Master Rule 2
DUEL_OBSOLETE_RULING0xd0700853760Master Rule
DUEL_MODE_MR30xd1800858112Master Rule 3
DUEL_MODE_MR40xd2800862208New Master Rule
DUEL_NO_STANDBY_PHASE0x1000001048576No Standby Phase.
DUEL_NO_MAIN_PHASE_20x2000002097152No Main Phase 2.
DUEL_3_COLUMNS_FIELD0x4000004194304There are only 3 Main Monster Zones and 3 Spell & Trap Zones.
DUEL_MODE_SPEED0x6200006422528Speed Duel rules
DUEL_DRAW_UNTIL_50x8000008388608Players draw cards until they have 5 cards in their hand in the Draw Phase.
DUEL_NO_HAND_LIMIT0x100000016777216Players have no hand size limit.
DUEL_UNLIMITED_SUMMONS0x200000033554432Players can perform any number of Normal Summons/Sets.
DUEL_INVERTED_QUICK_PRIORITY0x400000067108864Traps can't chain to each other or miss timing, but can activate in Damage Step.
DUEL_MODE_RUSH0x7f20200133300736Rush Duel rules
DUEL_EQUIP_NOT_SENT_IF_MISSING_TARGET0x8000000134217728Equip Cards are not sent to the GY if their target leaves the field.
DUEL_0_ATK_DESTROYED0x100000002684354560-ATK monsters are destroyed when battling each other.
DUEL_STORE_ATTACK_REPLAYS0x20000000536870912Battle replays rewind back to the beginning of the Battle Step.
DUEL_SINGLE_CHAIN_IN_DAMAGE_SUBSTEP0x400000001073741824Only one Chain can occur during each substep of the Damage Step.
DUEL_CAN_REPOS_IF_NON_SUMPLAYER0x800000002147483648Players can change the battle position of monsters they did not Summon.
DUEL_TCG_SEGOC_NONPUBLIC0x1000000004294967296Private Trigger Effects have the same timing as other Trigger Effects.
DUEL_TCG_SEGOC_FIRSTTRIGGER0x2000000008589934592Simultaneous trigger effects on a chain follow TCG ordering.
DUEL_TCG_FAST_EFFECT_IGNITION0x40000000017179869184Ignition Effects in Chain Link 1 are treated as fast effects.
DUEL_MODE_GOAT0x7f80d072c34226374444Goat Format rules.
DUEL_NORMAL_SUMMON_FACEUP_DEF0x100000000068719476736Monsters can be Normal Summoned in face-up Defense Position.