//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."; end; } 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; end; }