In this episode, Lisa gives Bart nightmares while he is in a coma after he is struck by lightning.
On a stormy night, Bart tricks Lisa into playing The Scary Maze Game and posts photos of her being scared.
To pass the time, the family watches VHS tapes on their VCR, but when it breaks, Bart and Homer try to steal Flanders' router.
Bart tricks the rival into playing The Scary Maze Game, allowing him to go to the afterlife.
As Lisa apologizes, Homer exhaustedly enters the room and says he is dead, which digs Bart deeper into his nightmare.
Bart agrees to help Maude, who wants revenge on Homer for causing her death.
Bart, wanting his father to stay, shoots a T-shirt to the light of Heaven.
This causes Homer's spirit to fall back in his body and restores him to life.
So it just bobs along, occasionally landing on a funny idea but built on a disastrous foundation of mischaracterization and glibness.
So when the ending comes, only the least discriminating would feel its montage of character deaths as anything but a cheap gambit to close out a truly disappointing episode (and season) with unmerited weight.