User:Kulagin/Movelist

From Wavu Wiki, the 🌊 wavy Tekken wiki
Revision as of 15:17, 16 June 2021 by Kulagin (talk | contribs) (Created page with "<syntaxhighlight lang="python" line="1"> class CancelDirectionCode(Enum): _D_B = 1 << 1 _D = 1 << 2 _D_F = 1 << 3 _B = 1 << 4 _N = 1 << 5 _F = 1 << 6...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
class CancelDirectionCode(Enum):
    _D_B = 1 << 1
    _D = 1 << 2
    _D_F = 1 << 3
    _B = 1 << 4
    _N = 1 << 5
    _F = 1 << 6
    _U_B = 1 << 7
    _U = 1 << 8
    _U_F = 1 << 9

    special = 1 << 15
    cancel_list_end = 0x8000
    group_cancel = 0x800B
    group_cancel_list_end = 0x800C

CancelDirectionCode enum inside Cancel objects.

If 15th bit is not set, it means it's a direction code of an input. If 15th bit is set, depending on the value of the variable, it indicates the end of the cancel list, or a pointer to a group cancel list.

If it's a pointer to a group cancel list, the index of the cancel in the group cancel list is in the move_id member in the Cancel object.