Use bitshifts instead of hexcodes in managers (#1953)Co-authored-by: Lexi <lexi@qixils.dev> (commit: ac3213c)