「止まってたらSPANIMする」仕組みにする必要があるね if bu and 4 then x=x-1:if !spchk(0) then spanim(省く、最後の0は1にする)