Ross Taylor shrugged off his eye problems to score a superb unbeaten century as New Zealand set Pakistan a formidable 369-run target to win the second Test on Monday.
Taylor finished 102 not out despite only being cleared to play two days before the Test after scarring on his left eye threatened his vision.
New Zealand declared late on the fourth day in Hamilton at 313 for five and Pakistan were one without loss after facing three overs before stumps.
Both sides vowed there would be no holding back on the final day with Pakistan needing to win to keep their world number two ranking and New Zealand looking to improve on seventh place.
SCORES IN BRIEF
NEW ZEALAND: First innings 271
PAKISTAN: First innings 216
NEW ZEALAND: Second innings 313 for 5 decl (Latham 80, Williamson 42, Taylor 102 not out, Nicholls 26, de Grandhomme 32; Imran 3-76)
PAKISTAN: Second innings 1 for no loss.