Has nothing to do with him being a smartass. Its the silly (sometimes ridiculous) writing thats on par with something like The Predator. Like getting swallowed by the John Carter reference, that literally just chomped a predator. Then surviving inside of it, making jokes from inside of it, and figuring out how the gauntlet works and cutting himself out.
Then he breaks out, steals a predbike, and disables the neck bombs on his comrades, and then they steal the kings spaceship. Forget Indiana Jones, at this point we're hitting actual childrens story levels in simplicitity and fantasy. Thats putting it nicely.