viewing paste Unknown #21614 | Athena

Posted on the
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
//Rainbow Road Bonuses/Tricks & Traps
6@trivia,180,262,0      script  Mushroom#1      RED_MUSHROOM,0,0,{
OnTouch:
if( attachrid('aid) )
        if( getcharid(0) == 'cid )
{
'MushType = rand(1,2);
if('MushType == 1)
{
//disablenpc instance_npcname("Mushroom#1");
//if( attachrid('aid) )
//      if( getcharid(0) == 'cid ) {
atcommand "@size 2";
soundeffect "smb_powerup.wav",0;
sleep2 1000;
atcommand "@speed 40";
instance_announce -1,"[Trivia Instance] Trivia 5: You have powered up! You run faster now! Get going!",bc_map;
soundeffect "mk64_mario02.wav",0;
sleep2 5000;
atcommand "@size 0";
atcommand "@speed 150";
dispbottom "Your speed has returned to normal.";
} else
if ('MushType == 2)
{
atcommand "@size 1";
atcommand "@effect 426";
atcommand "@speed 600";
soundeffect "mk64_mario05.wav",0;
instance_announce -1,"[Trivia Instance] Trivia 5: Oh no! Seem's that was a poisonous Mushroom! Over time the toxins will leave your body!",bc_map;
sleep2 10000;
atcommand "@size 0";
sleep2 2000;
atcommand "@speed 150";
dispbottom "Your speed has returned to normal.";
soundeffect "mk64_mario10.wav",0;
}
}
}
6@trivia,157,257,0      script  Traps#1 139,0,0,{
OnTouch:
'Traps = rand(1,10);
if('Traps == 1)
{
sc_start SC_FROZEN,5000,3;
} else
if('Traps == 2)
{
sc_start SC_CONFUSION,10000,10;
} else
if('Traps == 3)
{
if( attachrid('aid) )
        if( getcharid(0) == 'cid )
{
warp has_instance("6@trivia"),154,201;
sleep2 2000;
instance_announce -1,"[Trivia Instance] Trivia 5: Oh no! You've been warped back to the beginning! Better move faster!",bc_map;
}
Viewed 692 times, submitted by unknown.