|
1
|
if (global.faceemotion == 0 && sprite_index != spr_face_papyrus)
|
|
2
|
sprite_index = spr_face_papyrus;
|
|
3
|
if (global.faceemotion == 1 && sprite_index != spr_face_papyrusmad)
|
|
4
|
sprite_index = spr_face_papyrusmad;
|
|
5
|
if (global.faceemotion == 2 && sprite_index != spr_face_papyruslaugh)
|
|
6
|
sprite_index = spr_face_papyruslaugh;
|
|
7
|
if (global.faceemotion == 3 && sprite_index != spr_face_papyrusside)
|
|
8
|
sprite_index = spr_face_papyrusside;
|
|
9
|
if (global.faceemotion == 4 && sprite_index != spr_face_papyrusevil)
|
|
10
|
sprite_index = spr_face_papyrusevil;
|
|
11
|
if (global.faceemotion == 5 && sprite_index != spr_face_papyrussweat)
|
|
12
|
sprite_index = spr_face_papyrussweat;
|
|
13
|
if (global.faceemotion == 6 && sprite_index != spr_face_papyrusdejected)
|
|
14
|
sprite_index = spr_face_papyrusdejected;
|
|
15
|
if (global.faceemotion == 7 && sprite_index != spr_face_papyruswacky)
|
|
16
|
sprite_index = spr_face_papyruswacky;
|
|
17
|
if (global.faceemotion == 8 && sprite_index != spr_face_papyruscry)
|
|
18
|
sprite_index = spr_face_papyruscry;
|
|
19
|
if (global.faceemotion == 9 && sprite_index != spr_face_papyruscool)
|
|
20
|
sprite_index = spr_face_papyruscool;
|
|
21
|
if (instance_exists(OBJ_WRITER))
|
|
22
|
{
|
|
23
|
if (OBJ_WRITER.halt != 0)
|
|
24
|
image_speed = 0;
|
|
25
|
else
|
|
26
|
image_speed = 0.25;
|
|
27
|
}
|