IF...
if it's really a 1985 model Mariner, it will be the Yamaha built version
if there is a gearcase problem they can be quite the task to repair (unlike the Merc's of that era these require many shims and special tools to set things up properly - definately not a "driveway job" and given the age of the motor you (may) have issues finding a shop to work on it - parts are also getting scarce)
So, before proceeding here I would check the serial of the motor. If it starts 6A9-xxxxxx or you see the "made in Japan" sticker (ya, it's really there on the port side of the powerhead (most times)) then I (personally) would attach very little value to the motor when trying to figure a fair price (like maybe 200 bucks if you actually see it running).
Otherwise, if you like the boat, buy it with the thought forefront in your mind "I will have to replace the motor".
The Yami/Mariners were well built, but they discontinued a long time ago and they were carbon copies of Yamaha's own models which predated the Mariners, sometimes by a few years but sometimes "many".
This particular model was based on Yamaha's own model "20C" which was produced in 1980 - so "parts wise" (if this is the Yami version), this motor is 32 years old...