Hypoglossal nerve is a somatic motor nerve, supplying all extrinsic and intrinsic muscles of tongue.
If there is hypoglossal nerve injury (due to penetrating injury to the neck and a skull base pathology), it causes the following:
Atrophy of ipsilateral muscle of the tongue and deviation towards the affected side with speech disturbance.
Deviation of tongue to right side as hypoglossal nerve on right side is injured.