Oops, entity_flags are offset by 8 bits