From bf310adba5d39b9d201fa33d0c67fcce14cb936d Mon Sep 17 00:00:00 2001 From: miteruzo Date: Tue, 27 Jun 2023 12:38:16 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B4=E3=83=BC=E3=83=88=E3=81=86=E3=81=AE?= =?UTF-8?q?=E5=8B=95=E4=BD=9C=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF=BC=8C?= =?UTF-8?q?=E3=81=84=E3=82=8D=E3=81=84=E3=82=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/modules/goatoh.mod.hsp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/android/modules/goatoh.mod.hsp b/android/modules/goatoh.mod.hsp index ff7e065..1d0f84d 100644 --- a/android/modules/goatoh.mod.hsp +++ b/android/modules/goatoh.mod.hsp @@ -23,7 +23,8 @@ New \ direction.insNum = p_initDirection - walking.insNum = False + walking.insNum = True + running.insNum = False eating.insNum = False openingEyes.insNum = False openingMouth.insNum = False @@ -85,13 +86,24 @@ Draw \ Pos posX.p_insId, posY.p_insId CelPut BUFFER_GOATOH_LEG - Interval p_insId + Interval@Goatoh p_insId Return #deffunc local \ Interval \ int p_insId + If walking.p_insId { + Walk@Goatoh p_insId + } + Else: If running.p_insId { + DoRun@Goatoh p_insId + } + + If eating.p_insId { + Eat@Goatoh p_insId + } + frame.p_insId++ Return