Check trade requirements before animation

The issue is, that checking availebility of money and items to sell is done after the animation, thus forcing the player to wait for the error.

I think it would be better, if it checks first, if the player can not afford it, it just cancels and he does not have to wait for the animation, which is kinda annoying. (imo)

This PR fixes the issue.