summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/maps/pink_shell.tmx14
-rw-r--r--res/scripts/pink_shell.lua10
-rw-r--r--res/sprites/human_ocho.pngbin0 -> 10615 bytes
-rw-r--r--res/sprites/human_ocho_anim.txt18
-rw-r--r--res/sprites/human_ocho_frames.txt56
5 files changed, 97 insertions, 1 deletions
diff --git a/res/maps/pink_shell.tmx b/res/maps/pink_shell.tmx index d7d90ac..12eea42 100644 --- a/res/maps/pink_shell.tmx +++ b/res/maps/pink_shell.tmx
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="32" height="32" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="3"> 2<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="32" height="32" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="4">
3 <properties> 3 <properties>
4 <property name="music" value="are_you_gorgeous"/> 4 <property name="music" value="are_you_gorgeous"/>
5 </properties> 5 </properties>
@@ -49,6 +49,18 @@
49 <property name="script" value="go_outside"/> 49 <property name="script" value="go_outside"/>
50 </properties> 50 </properties>
51 </object> 51 </object>
52 <object id="3" name="ocho" type="sprite" x="280" y="222">
53 <properties>
54 <property name="animation" value="../res/sprites/human_ocho_anim.txt"/>
55 <property name="collisionHeight" type="int" value="8"/>
56 <property name="collisionOffsetX" type="int" value="-8"/>
57 <property name="collisionOffsetY" type="int" value="-8"/>
58 <property name="collisionWidth" type="int" value="12"/>
59 <property name="interactionScript" value="talk_to_ocho"/>
60 <property name="shadow" type="bool" value="true"/>
61 </properties>
62 <point/>
63 </object>
52 </objectgroup> 64 </objectgroup>
53 <layer id="1" name="Upper" width="32" height="32"> 65 <layer id="1" name="Upper" width="32" height="32">
54 <properties> 66 <properties>
diff --git a/res/scripts/pink_shell.lua b/res/scripts/pink_shell.lua index e17236e..1719c4f 100644 --- a/res/scripts/pink_shell.lua +++ b/res/scripts/pink_shell.lua
@@ -3,3 +3,13 @@ pink_shell = {}
3function pink_shell.go_outside() 3function pink_shell.go_outside()
4 ChangeMap("hallucination_cliff", "fromInside") 4 ChangeMap("hallucination_cliff", "fromInside")
5end 5end
6
7function pink_shell.talk_to_ocho()
8 StartCutscene()
9 SetAnimation("ocho", "talk")
10 DisplayMessage("* *twist* *turn*\n\f* That person over there is Mixolydia.\n\f* Isn't she pretty?\n\f...\n\f* Hey, the four of you don't look so good.", "Ocho", SpeakerType.MAN)
11 WaitForEndOfMessage()
12
13 SetAnimation("ocho", "still")
14 HideCutsceneBars()
15end
diff --git a/res/sprites/human_ocho.png b/res/sprites/human_ocho.png new file mode 100644 index 0000000..f7876b8 --- /dev/null +++ b/res/sprites/human_ocho.png
Binary files differ
diff --git a/res/sprites/human_ocho_anim.txt b/res/sprites/human_ocho_anim.txt new file mode 100644 index 0000000..d78e3c4 --- /dev/null +++ b/res/sprites/human_ocho_anim.txt
@@ -0,0 +1,18 @@
1../res/sprites/human_ocho.png
2../res/sprites/human_ocho_frames.txt
3still[down]: 0
4still[down_left]: 0
5still[left]: 1
6still[up_left]: 1
7still[up]: 1
8still[up_right]: 1
9still[right]: 2
10still[down_right]: 2
11talk[down]: 0,3
12talk[down_left]: 0,3
13talk[left]: 1,4
14talk[up_left]: 1,4
15talk[up]: 1,4
16talk[up_right]: 1,4
17talk[right]: 2,5
18talk[down_right]: 2,5 \ No newline at end of file
diff --git a/res/sprites/human_ocho_frames.txt b/res/sprites/human_ocho_frames.txt new file mode 100644 index 0000000..ebabb0e --- /dev/null +++ b/res/sprites/human_ocho_frames.txt
@@ -0,0 +1,56 @@
132,32 cell size
210 frames per row
352 frames
4
532,32,16,31
632,32,16,31
732,32,16,31
832,32,16,31
932,32,16,31
1032,32,16,31
1132,32,16,31
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
2132,32,16,32
2232,32,16,32
2332,32,16,32
2432,32,16,32
2532,32,16,32
2632,32,16,32
2732,32,16,32
2832,32,16,32
2932,32,16,32
3032,32,16,32
3132,32,16,32
3232,32,16,32
3332,32,16,32
3432,32,16,32
3532,32,16,32
3632,32,16,32
3732,32,16,32
3832,32,16,32
3932,32,16,32
4032,32,16,32
4132,32,16,32
4232,32,16,32
4332,32,16,32
4432,32,16,32
4532,32,16,32
4632,32,16,32
4732,32,16,32
4832,32,16,32
4932,32,16,32
5032,32,16,32
5132,32,16,32
5232,32,16,32
5332,32,16,32
5432,32,16,32
5532,32,16,32
5632,32,16,32