The TH04 one might have the same function structure, but the only thing that's actually identical in both games is the picture darkening loop. Part of P0119, funded by [Anonymous] and -Tom-.
Split off from the delay function in this game, since the ending syncs a bunch of things independent from any frame delays. -Nmlgc