I recommend you not to use deep nest subroutine call. A subroutine should be called after another subroutine has returned over. SmileBASIC's stack must not be so deep. Actually, I'm looking forward to the completion of this game. I'd like to support you as much as I could in order to fix the problem. Is it possible to show us line 349 of your code?