...Pardon? He said it had nothing to do with Undertale.
There is nothing indicating it is a precursor or prequel of any kind.
Plus, in all of the in-game events involving Gaster, it specifies that, despite him being gone, nothing different happened. His disappearance was insignificant.