In The Dark Knight Rises (2012) when Miranda Tate enters Bruce's mansion for the first time after Bruce loses all of his money, the power goes out and they are left in the dark. This is foreshadowing.
This is foreshadowing Miranda's involvement with Bane. During multiple scenes in the movie, when the lights go out, this is to signify Bane's involvement in that scene (eg. the famous "oh you think darkness is your ally?").
In Scott Pilgrim vs. the World (201, as Scott leaves this scene Young Neil says he has to pee. When Scott returns to him 2 minutes later we can hear a trickle of liquid. Young Neil has not moved.
The boy pees on the floor in the middle of a party.
Relevant sections of [this clip](https://youtu.be/ICElL6dBsrQ?si=8iySUsujCGsNcCoI) are at 0:20 and 2:15