forked from fachinformatiker/undertale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobj_face_papyrus.object.gmx
146 lines (146 loc) · 5 KB
/
obj_face_papyrus.object.gmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>spr_face_papyrus</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-555</depth>
<persistent>0</persistent>
<parentName>obj_torface</parentName>
<maskName><undefined></maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>event_inherited();
image_speed= 0.25;
if(instance_exists(776/* obj_face_sans */)) {
// obj_face_sans
with(776) instance_destroy();
}
if(instance_exists(777/* obj_face_undyne */)) {
// obj_face_undyne
with(777) instance_destroy();
}
if(instance_exists(770/* obj_face_alphys */)) {
// obj_face_alphys
with(770) instance_destroy();
}
if(instance_exists(771/* obj_face_asgore */)) {
// obj_face_asgore
with(771) instance_destroy();
}
if(instance_exists(765/* obj_face_torieltalk */)) {
// obj_face_torieltalk
with(765) instance_destroy();
}
if(instance_exists(767/* obj_face_torielblink */)) {
// obj_face_torielblink
with(767) instance_destroy();
}
if(instance_exists(764/* obj_torbody */)) {
// obj_torbody
with(764) instance_destroy();
}
if(instance_exists(773/* obj_face_mettaton */)) {
// obj_face_mettaton
with(773) instance_destroy();
}
if(global.faceemotion == 0 && sprite_index != real(2008))
sprite_index= real(2008);
if(global.faceemotion == 1 && sprite_index != real(2010))
sprite_index= real(2010);
if(global.faceemotion == 2 && sprite_index != real(2012))
sprite_index= real(2012);
if(global.faceemotion == 3 && sprite_index != real(2013))
sprite_index= real(2013);
if(global.faceemotion == 4 && sprite_index != real(2011))
sprite_index= real(2011);
if(global.faceemotion == 5 && sprite_index != real(2013))
sprite_index= real(2009);
if(global.faceemotion == 6 && sprite_index != real(2014))
sprite_index= real(2014);
if(global.faceemotion == 7 && sprite_index != real(2015))
sprite_index= real(2015);
if(global.faceemotion == 8 && sprite_index != real(2016))
sprite_index= real(2016);
if(global.faceemotion == 9 && sprite_index != real(2017))
sprite_index= real(2017);
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if(global.faceemotion == 0 && sprite_index != real(2008))
sprite_index= real(2008);
if(global.faceemotion == 1 && sprite_index != real(2010))
sprite_index= real(2010);
if(global.faceemotion == 2 && sprite_index != real(2012))
sprite_index= real(2012);
if(global.faceemotion == 3 && sprite_index != real(2013))
sprite_index= real(2013);
if(global.faceemotion == 4 && sprite_index != real(2011))
sprite_index= real(2011);
if(global.faceemotion == 5 && sprite_index != real(2009))
sprite_index= real(2009);
if(global.faceemotion == 6 && sprite_index != real(2014))
sprite_index= real(2014);
if(global.faceemotion == 7 && sprite_index != real(2015))
sprite_index= real(2015);
if(global.faceemotion == 8 && sprite_index != real(2016))
sprite_index= real(2016);
if(global.faceemotion == 9 && sprite_index != real(2017))
sprite_index= real(2017);
if(instance_exists(782/* OBJ_WRITER */)) {
if(OBJ_WRITER.halt != 0) image_speed= 0;
else image_speed= 0.25;
}
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>