summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-03-02 20:03:32 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-03-02 20:03:32 -0500
commit5e6d487dcf1ad94c16543012ec3b9a54e3fd9c0c (patch)
treeaaa4df25cef0a5654508dd26b1f7ce371d03bf17
parent22a5ae8b5d5be58a0bd50b71335d2444857442bc (diff)
downloadtanetane-5e6d487dcf1ad94c16543012ec3b9a54e3fd9c0c.tar.gz
tanetane-5e6d487dcf1ad94c16543012ec3b9a54e3fd9c0c.tar.bz2
tanetane-5e6d487dcf1ad94c16543012ec3b9a54e3fd9c0c.zip
Claus vanishes into a puff of smoke when smacked by Mixolydia
-rw-r--r--res/scripts/pink_shell.lua7
-rw-r--r--res/sprites/curtain_call.pngbin0 -> 4744 bytes
-rw-r--r--res/sprites/curtain_call_anim.txt3
-rw-r--r--res/sprites/curtain_call_frames.txt31
4 files changed, 40 insertions, 1 deletions
diff --git a/res/scripts/pink_shell.lua b/res/scripts/pink_shell.lua index 775aeae..4d2d4ed 100644 --- a/res/scripts/pink_shell.lua +++ b/res/scripts/pink_shell.lua
@@ -188,9 +188,14 @@ function pink_shell.talk_to_mixolydia()
188 SetAnimation("duster", "frozen") 188 SetAnimation("duster", "frozen")
189 Delay(1000) 189 Delay(1000)
190 190
191 -- TODO: handle fake claus 191 -- TODO: handle fake claus (should Lucas react to this?)
192 if gamestate.still_has_claus then 192 if gamestate.still_has_claus then
193 pink_shell.smack("smack_claus_pos") 193 pink_shell.smack("smack_claus_pos")
194 DestroyNamedSprite("join_claus")
195 CreateAnimatedSpriteAtWarpPoint("puff", "curtain_call", "claus_lineup", "puff!", Direction.DOWN, SpriteLayer.ABOVE)
196 WaitForAnimation("puff")
197
198 DestroyNamedSprite("puff")
194 end 199 end
195 200
196 -- TODO: rest of scene 201 -- TODO: rest of scene
diff --git a/res/sprites/curtain_call.png b/res/sprites/curtain_call.png new file mode 100644 index 0000000..8100e59 --- /dev/null +++ b/res/sprites/curtain_call.png
Binary files differ
diff --git a/res/sprites/curtain_call_anim.txt b/res/sprites/curtain_call_anim.txt new file mode 100644 index 0000000..d0e71f3 --- /dev/null +++ b/res/sprites/curtain_call_anim.txt
@@ -0,0 +1,3 @@
1../res/sprites/curtain_call.png
2../res/sprites/curtain_call_frames.txt
3puff![down]%60: 17#5,18#4,19#4,20#5,21#4,22#2,23,24,25 \ No newline at end of file
diff --git a/res/sprites/curtain_call_frames.txt b/res/sprites/curtain_call_frames.txt new file mode 100644 index 0000000..258c9d6 --- /dev/null +++ b/res/sprites/curtain_call_frames.txt
@@ -0,0 +1,31 @@
140,32 cell size
210 frames per row
327 frames
4
532,32,16,32
632,32,16,32
732,32,16,32
832,32,16,32
932,32,16,32
1032,32,16,32
1132,32,16,32
1232,32,16,32
1332,32,16,32
1432,32,16,32
1532,32,16,32
1632,32,16,32
1732,32,16,32
1832,32,16,32
1932,32,16,32
2032,32,16,32
2140,16,23,16
2232,32,16,24
2332,32,16,40
2432,32,16,32
2532,32,16,40
2632,16,16,32
2732,16,16,32
2832,16,16,32
2932,16,16,33
3032,16,16,33
3116,16,8,16