Skip to content

Reason

Constants representing the reasons for actions performed in the game.

ConstantHEXDECSummary
REASON_DESTROY0x11Caused by destroying a card(s).
REASON_RELEASE0x22Caused by Tributing a card(s).
REASON_TEMPORARY0x44Banishing a monster temporarily.
REASON_MATERIAL0x88Caused by using a card as material for a Summon.
REASON_SUMMON0x1016Caused by Normal Summoning a monster.
REASON_BATTLE0x2032Caused by destroying a card(s) by battle.
REASON_EFFECT0x4064Performed during the resolution of an effect.
REASON_COST0x80128Performed as costs.
REASON_ADJUST0x100256Caused by adjusting a player's hand size at the end of the turn.
REASON_LOST_TARGET0x200512Caused by an losing the equip target of an Equip Card.
REASON_RULE0x4001024Caused by game mechanics.
REASON_SPSUMMON0x8002048Caused by Special Summoning a monster.
REASON_DISSUMMON0x10004096Caused by negating a Summon.
REASON_FLIP0x20008192(Unused reason value)
REASON_DISCARD0x400016384Caused by discarding a card(s).
REASON_RETURN0x20000131072Caused by returning a banished card to the GY.
REASON_FUSION0x40000262144Caused by using a card as Fusion Material.
REASON_SYNCHRO0x80000524288Caused by Synchro Summoning a monster.
REASON_RITUAL0x1000001048576Caused by using a card as Ritual Material.
REASON_XYZ0x2000002097152Caused by using a card as Xyz Material.
REASON_REPLACE0x100000016777216Caused by replacing card destruction.
REASON_DRAW0x200000033554432Caused by drawing a card(s).
REASON_REDIRECT0x400000067108864Caused by redirecting a card's destination.
REASON_EXCAVATE0x8000000134217728Performed after excavating a card.
REASON_REVEAL0x8000000134217728Performed after excavating a card.
REASON_LINK0x10000000268435456Caused by using a card as Link Material.