summaryrefslogtreecommitdiff
path: root/npc/functions/asleep.txt
blob: aa5abd6358c0253d1d2f3e1719ffa17b5f4db002 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Evol functions.
// Authors:
//    Alige
//    Reid
// Description:
//    Tell a random sleeping sound.
// Variables:
//    .@rand = Random number between the number of "sleeping" choice.

function	script	asleep	{
    switch(rand(5)) {
        case 0: npctalkonce(l("Zzzzzzzzz...")); break;
        case 1: npctalkonce(l("Rrrr... Pchhhh...")); break;
        case 2: npctalkonce(l("Ggrmm... Grmmmm...")); break;
        case 3: npctalkonce(l("Hm... Shhhh...")); break;
        default: emotion(E_SLEEPY);
    }
    end;
}