From c5a96f0ee23a3dbe1a6dab0a1062cf25b7a2aba4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 15 Feb 2021 22:27:24 -0500 Subject: Added Kumatora talking animation --- res/scripts/map2.lua | 2 +- res/sprites/kuma_anim.txt | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/res/scripts/map2.lua b/res/scripts/map2.lua index 6e826a3..92c1747 100644 --- a/res/scripts/map2.lua +++ b/res/scripts/map2.lua @@ -93,10 +93,10 @@ function map2.approach_doria() SetAnimation("doria", "hairflip!") WaitForAnimation("doria") - SetDirection("doria", Direction.DOWN_RIGHT) SetAnimation("doria", "still") Delay(1000) + SetAnimation("kuma", "talk") DisplayMessage("* H-hey, what do you mean ?", "Kumatora", SpeakerType.WOMAN) WaitForEndOfMessage() diff --git a/res/sprites/kuma_anim.txt b/res/sprites/kuma_anim.txt index 68e8776..ce29180 100644 --- a/res/sprites/kuma_anim.txt +++ b/res/sprites/kuma_anim.txt @@ -31,4 +31,12 @@ run[up_left]: 67,75,83,91 run[up]: 68,76,84,92 run[up_right]: 69,77,85,93 run[right]: 70,78,86,94 -run[down_right]: 71,79,87,95 \ No newline at end of file +run[down_right]: 71,79,87,95 +talk[down]: 32,40 +talk[down_left]: 33,41 +talk[left]: 34,42 +talk[up_left]: 35,43 +talk[up]: 36,44 +talk[up_right]: 37,45 +talk[right]: 38,46 +talk[down_right]: 39,47 \ No newline at end of file -- cgit 1.4.1