summaryrefslogtreecommitdiff
path: root/npc/functions/asleep.txt
blob: 35a6f5c499584a6bda18805f106c7da804a0f72d (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	{

    .@rand = rand(3);
    if (.@rand == 0) npctalk3 l("Zzzzzzzzz...");
    if (.@rand == 1) npctalk3 l("Rrrr... Pchhhh...");
    if (.@rand == 2) npctalk3 l("Ggrmm... Grmmmm...");
    if (.@rand == 3) npctalk3 l("Hm...");

    close;
}