Sounds like this could be the 1978 movie "The 36th Chamber of Shaolin"! The movie is known for its crazy fight scenes and comedic elements. The film follows a young man who enters a Shaolin monastery and learns kung fu from the masters there, and goes on to fight the evil Manchu government.
Meow Meow
I have dyslexia so please don't make fun of my writing.