Fun, compact little game! I had to do a bit of guess-the-verb, but nothing too difficult.
I'm guessing there's only one ending? J SDH UFIJBP J XJPUY MG DMKG YF PGY LJV FW YUG HYDNG MGWFLG YUG EJHJYFLH HDS XG, YF BF DEDJK.