1 |
caster_free(all); |
2 |
visible = true; |
3 |
type = floor(random(8)); |
4 |
image_xscale = 2; |
5 |
image_yscale = 2; |
6 |
if (type == 7) |
7 |
{ |
8 |
x = room_width / 2; |
9 |
y = room_height / 2; |
10 |
sprite_index = spr_tobdog_sleep_trash; |
11 |
thissong = caster_load("music/sigh_of_dog.ogg"); |
12 |
caster_loop(thissong, 1, 0.8 + random(0.2)); |
13 |
image_speed = 0.05; |
14 |
} |
15 |
else |
16 |
{ |
17 |
x = (room_width / 2) - (sprite_width / 2); |
18 |
y = (room_height / 2) - (sprite_height / 2); |
19 |
thissong = caster_load("music/dance_of_dog.ogg"); |
20 |
caster_loop(thissong, 1, 0.95 + random(0.1)); |
21 |
image_speed = 0.15; |
22 |
} |