Thanks! It took me a pretty long time to get this ported to TIC-80 to HTML5.
Edit: (A direct file convert will not work. If you rename .tic to .html, it will not work and you will get a corrupted mess unless you have the pro version of tic 80. i used the companion app to export this to html, but it outputs to .zip, which also works for itch.io).