Location
Constants representing locations in a Duel.
Constant | HEX | DEC | Summary |
---|---|---|---|
LOCATION_DECK | 0x1 | 1 | Main Deck |
LOCATION_HAND | 0x2 | 2 | Hand |
LOCATION_MZONE | 0x4 | 4 | Monster Zone |
LOCATION_SZONE | 0x8 | 8 | Location for Spells and Traps |
LOCATION_ONFIELD | 0xc | 12 | All zones on the field |
LOCATION_GRAVE | 0x10 | 16 | GY |
LOCATION_REMOVED | 0x20 | 32 | Banishment |
LOCATION_PUBLIC | 0x3c | 60 | Public knowledge locations |
LOCATION_EXTRA | 0x40 | 64 | Extra Deck |
LOCATION_OVERLAY | 0x80 | 128 | Attached |
LOCATION_FZONE | 0x100 | 256 | Field Zone |
LOCATION_PZONE | 0x200 | 512 | Pendulum Zone |
LOCATION_ALL | 0x3ff | 1023 | All locations |
LOCATION_STZONE | 0x400 | 1024 | Spell & Trap Zones |
LOCATION_MMZONE | 0x800 | 2048 | Main Monster Zone |
LOCATION_EMZONE | 0x1000 | 4096 | Extra Monster Zone |