Added conversion between markings_t and uint8_t (how markings are stored in-game)