Breakdown of Ayer había llovido y la calle estaba mojada.
Questions & Answers about Ayer había llovido y la calle estaba mojada.
The pluperfect había llovido presents the rain as happening earlier than another past reference point (yesterday, at the time you’re describing the street). It sets up a cause that precedes a later past state: it had rained earlier, and as a result the street was wet.