Hah, looks better than my original code. When it was starting to be created, I didn't even know how to write a function, and there were a grand total of I think two when it was retired. Here [1] is my updated code. Apologies for some edgy commands, my IRC server has some... interesting people in it.
[1] https://hoppy.haus/git/Failure/MIPS