Hi sir,
The scenario shows , your friend has impaction problem due to wisdom teeth. Pericoronitis is swelling of gums over the erupting tooth due to infection.
Next Steps
Take a OPG xray and visit the dentist for further queries
Health Tips
Don't stop your jaw movements. Use mouthwash for 1 week . Go for a professional cleaning sir.
Hope this helps