For my previous post I suggest replacing all the "pauseus 15" with:

call wate

And then add the subroutine;
wate:
pauseus 15
return

This should use less compiled code than having to integrate the assembly code for puaseus every time it is needed