1 2 3 4 5 6 7 8 9 10 11 | - script dsbfkdjsfb 1_F_MARIA,{ getmapxy .@map$, .@x, .@y, 0; if ( !checkcell( .@map$, .@x, .@y, call_water ) ) { dispbottom "you have to stand on a body of water"; end; } dispbottom "let's fishing"; end; OnInit: setitemscript Red_Potion, "{ getmapxy .@map$, .@x, .@y, 0; if ( !checkcell( .@map$, .@x, .@y, call_water ) ) { dispbottom \"you have to stand on a body of water\"; end; } else dispbottom \"let's go fishing\"; }", 0; } |