Why won't it let you use they were house key on Pokemon pearl?

you find it on the ground