Jump to content

Utility: Quick Mall Device Tool


Lil Troll

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

From: Masao(Shopstreet) - Original Mall Script, ++ Added All Card Shop - NON MVP

From: An Old Warper Script that I downloaded. (I dont have the scripter name) Thanks to him/her.)

From: Refine.TXT

Features: Quick Mall // Quick Sell // Quick Warp // Quick Repair

 

ITEM DB:
17515,Mall,Mall,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "MallMenu";},{},{}            
ITEM AVAIL:
17515,7504
/////////////////////////////////////////////////////////////////////////////////////
//RATHENA SCRIPT
/////////////////////////////////////////////////////////////////////////////////////
//From: Masao(Shopstreet) - Original Mall Script, Added All Card Shop - NON MVP
//From: An Old Warper Script that I downloaded. (I dont have the scripter name) Thanks to him/her.)
//From: Refine.TXT
/////////////////////////////////////////////////////////////////////////////////////
//BY: LIL TROLL
//Features: Quick Mall // Quick Sell // Quick Warp // Quick Repair
/////////////////////////////////////////////////////////////////////////////////////
// v.1.2
/////////////////////////////////////////////////////////////////////////////////////
-    script    Portable Quick-Device    -1,{
OnInit:
    npctalk "Portable Quick-Device is opened!";        
    //OnInit: is needed for the script to work! NPCTALK IS JUST A DUMMY..
}
function    script    MallMenu    {
    getitem 17515,1;
    switch(select("[Quick-Warp]:[Quick-Shop]:[Quick-Repair]")) {
    Case 1:
          callfunc "Warper";
          end;
    Case 2:
          callfunc "QuickShop";
          end;
    Case 3:
          callfunc "equiprepair";
          end;
    }
}

function    script    QuickShop    {
switch(select("[Quick-Mall]:[Quick-Sell]")) {
         Case 1:
           callfunc "QuickMall";
               next;
         Case 2:
               callshop "SS Armor",2;
               dispbottom "Portable Quick-Device: You opened Sell-Shop.";
               end;
          }
}
function    script    QuickMall    {
       dispbottom "Portable Quick-Device: So what are you buying?";
    mes "[Portable Device Quick-Mall]";
    mes "Welcome to ^FF0000" + strcharinfo(0) + "^000000 to ^000088Quick Mall^000000.";
    mes "Browse what you want to buy!";
    next;
    switch(select("Armors:Weapons:Cards:Etc:Nothing")) {
    close2;
    case 1:
    switch(select("Armor:Shield:Footgear:Garments:Lower Headgears:Middle Headgears:Upper Headgears:Accessories")) {
        case 1:
        callshop "SS Armor", 0;
        end;

        case 2:
        callshop "SS Shield", 0;
        end;

        case 3:
        callshop "SS Footgear", 0;
        end;

        case 4:
        callshop "SS Garments", 0;
        end;

        case 5:
        callshop "SS LowerH", 0;
        end;

        case 6:
        callshop "SS MiddleH", 0;
        end;

        case 7:
        callshop "SS UpperH", 0;
        end;

        case 8:
        callshop "SS Accessories", 0;
        end;
    }


    case 2:
    switch(select("Katars:Mace:Knuckle:Whips:Instruments:Books:Guns:Fuuma:One-Handed Swords:Two-Handed Swords:Spears:Dagger:Axes:Bows:Staffs")) {
        case 1:
        callshop "SS Katars", 0;
        end;

        case 2:
        callshop "SS Mace", 0;
        end;

        case 3:
        callshop "SS Knuckle", 0;
        end;

        case 4:
        callshop "SS Whips", 0;
        end;

        case 5:
        callshop "SS Instruments", 0;
        end;

        case 6:
        callshop "SS Books", 0;
        end;

        case 7:
        callshop "SS Guns", 0;
        end;

        case 8:
        callshop "SS Fuuma", 0;
        end;

        case 9:
        callshop "SS OneSwords", 0;
        end;

        case 10:
        callshop "SS TwoSwords", 0;
        end;

        case 11:
        callshop "SS Spears", 0;
        end;

        case 12:
        callshop "SS Dagger", 0;
        end;

        case 13:
        callshop "SS Axes", 0;
        end;

        case 14:
        callshop "SS Bows", 0;
        end;

        case 15:
        callshop "SS Staffs", 0;
        end;
    }
    
    case 3:
    switch(select("A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q:R:S:T:U:V:W:X:Y:Z")){
        
        case 1:
        callshop "SS CARD A", 0;
        end;    

        case 2:
        callshop "SS CARD B", 0;
        end;    

        case 3:
        callshop "SS CARD C", 0;
        end;    
        
        case 4:
        callshop "SS CARD D", 0;
        end;    

        case 5:
        callshop "SS CARD E", 0;
        end;    

        case 6:
        callshop "SS CARD F", 0;
        end;    

        case 7:
        callshop "SS CARD G", 0;
        end;    

        case 8:
        callshop "SS CARD H", 0;
        end;    

        case 9:
        callshop "SS CARD I", 0;
        end;    
        
        case 10:
        callshop "SS CARD J", 0;
        end;    

        case 11:
        callshop "SS CARD K", 0;
        end;    

        case 12:
        callshop "SS CARD L", 0;
        end;    

        case 13:
        callshop "SS CARD M", 0;
        end;    

        case 14:
        callshop "SS CARD N", 0;
        end;    

        case 15:
        callshop "SS CARD O", 0;
        end;    

        case 16:
        callshop "SS CARD P", 0;
        end;    

        case 17:
        callshop "SS CARD Q", 0;
        end;    

        case 18:
        callshop "SS CARD R", 0;
        end;    
    
        case 19:
        callshop "SS CARD S", 0;
        end;    

        case 20:
        callshop "SS CARD T", 0;
        end;    

        case 21:
        callshop "SS CARD U", 0;
        end;    

        case 22:
        callshop "SS CARD V", 0;
        end;    

        case 23:
        callshop "SS CARD W", 0;
        end;    

        case 24:
        mes "[Quick Mall]";
        mes "There is no X Card";
        close;
        //callshop "SS CARD X", 0;    

        case 25:
        callshop "SS CARD Y", 0;
        end;    

        case 26:
        callshop "SS CARD Z", 0;
        end;    
    }

    case 4:
    switch(select("Ammunition:Alchemist:Streets")){
        
        case 1:
        callshop "SS Ammunition", 0;
        end;    

        case 2:
        callshop "SS AlchemistS", 0;
        end;    

        case 3:
        callshop "SS StreetDealer", 0;
        end;    

    }
    end;
    case 5:
    mes "[Portable Device Quick-Mall]";
    mes "Okay,come back when you need me.";
    close;
    }
}

function    script    Warper    {
dispbottom "Portable Quick-Device: So where are you going?";        

function Go; function Disp; function Pick;

// --------------------------------------------------
//    Main Menu:
// --------------------------------------------------    
    mes "[Portable Quick-Warper]";
    mes "" + strcharinfo(0) + "..";
       mes "Where do you want to go?";
menu    "Last Warp ^777777["+lastwarp$+"]^000000",-,
    " ~ ^04B486Main Town^000000 ^6D6FE0[" + getmapusers("hyrule") + "]^000000",Maintown,
    " ~ ^7D2272Towns^000000",Towns,
    " ~ ^6B1312Fields^000000",Fields,
    " ~ ^BF2B0DDungeons^000000",Dungeons;

    if (lastwarp$ == "") dispbottom "You have not warped anywhere yet.";
        else warp lastwarp$,lastwarpx,lastwarpy;
    close;

// ------------------- Functions -------------------
// * Go("<map>",<x>,<y>);
//    ~ Warps directly to a map.
// * Disp("<Menu Option>",<first option>,<last option>);
// * Pick("<map_prefix>"{,<index offset>});
//    ~ Dynamic menu and map selection.
// * Disp("","<Option 1>:<Option 2>:<etc.>");
// * Pick("","<map1>","<map2>","<etc.>");
//    ~ Manual menu and map selection.
//
// Other notes:
//   ~ Array @c[] holds all (x,y) coordinates.
//   ~ Use @c[2] EXCEPT when maps begin dynamically
//      at 0: use @c[0] and Pick() offset 1.
// --------------------------------------------------

function Go {
    warp getarg(0),getarg(1,0),getarg(2,0);
    getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
    close; }
function Disp {
    set @menu$,"";
    if(getarg(0)=="") {
        set @menu$,getarg(1);
        return; }
    for(set .@i,getarg(1); .@i<=getarg(2); set .@i,.@i+1)
        set @menu$, @menu$+getarg(0)+" "+.@i+":";
    return; }
function Pick {
    if(getarg(0)=="") {
        set .@i, select(@menu$);
        warp getarg(.@i),@c[.@i*2],@c[.@i*2+1]; }
    else {
        set .@i, select(@menu$)-getarg(1,0);
        warp getarg(0)+((.@i<10)?"0":"")+.@i,@c[.@i*2],@c[.@i*2+1]; }
    getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
    close; }

//---------------------------------------------------
    Maintown:
//---------------------------------------------------
menu    "^04B486Hyrule Main Town(Upper Mid)^000000",uppermid,
        "^088A08Hyrule Main Town(Upper Right)^000000",upperright,
        "^FFBF00Hyrule Main Town(Lower Mid)^000000",lowermid,
        "^0101DFHyrule Main Town(Lower left)^000000",lowerleft,
        "^FA5882Hyrule Main Town(Vending Area)^000000",vending;
                
uppermid: Go("hyrule",133,180);
upperright: Go("hyrule",230,194);
lowermid: Go("hyrule",133,48);
lowerleft: Go("hyrule",84,61);
vending: Go("hyrule",134,121);
//goldmap: Go("ars_fild04",0,0);
//turbo: Go("turbo_room",99,100);
        
// --------------------------------------------------
    Towns:
// --------------------------------------------------
menu    "^338C60Prontera^000000 ^6D6FE0[" + getmapusers("prontera") + "]^000000",T1, "^338C60Alberta^000000 ^6D6FE0[" + getmapusers("alberta") + "]^000000",T2, "^338C60Aldebaran^000000 ^6D6FE0[" + getmapusers("aldebaran") + "]^000000",T3, "^338C60Amatsu^000000 ^6D6FE0[" + getmapusers("amatsu") + "]^000000",T4, "^338C60Ayothaya^000000 ^6D6FE0[" + getmapusers("ayothaya") + "]^000000",T5,
    "^338C60Brasilis^000000 ^6D6FE0[" + getmapusers("brasilis") + "]^000000",T6, "^338C60Comodo^000000 ^6D6FE0[" + getmapusers("comodo") + "]^000000",T7,
    "^338C60Geffen^000000 ^6D6FE0[" + getmapusers("geffen") + "]^000000",T11, "^338C60Gonryun^000000 ^6D6FE0[" + getmapusers("gonryun") + "]^000000",T12, "^338C60Hugel^000000 ^6D6FE0[" + getmapusers("hugel") + "]^000000",T13,
    "^338C60Izlude^000000 ^6D6FE0[" + getmapusers("izlude") + "]^000000",T14, "^338C60Jawaii^000000 ^6D6FE0[" + getmapusers("jawaii") + "]^000000",T15, "^338C60Lighthalzen^000000 ^6D6FE0[" + getmapusers("lighthalzen") + "]^000000",T16, "^338C60Louyang^000000 ^6D6FE0[" + getmapusers("louyang") + "]^000000",T17, "^338C60Lutie^000000 ^6D6FE0[" + getmapusers("xmas") + "]^000000",T18,
    "^338C60Morroc^000000 ^6D6FE0[" + getmapusers("morocc") + "]^000000",T22, "^338C60Moscovia^000000 ^6D6FE0[" + getmapusers("moscovia") + "]^000000",T23,
    "^338C60Payon^000000 ^6D6FE0[" + getmapusers("payon") + "]^000000",T26, "^338C60Rachel^000000 ^6D6FE0[" + getmapusers("rachel") + "]^000000",T27,
    "^338C60Umbala^000000 ^6D6FE0[" + getmapusers("umbala") + "]^000000",T30, "^338C60Veins^000000 ^6D6FE0[" + getmapusers("veins") + "]^000000",T31, "^338C60Yuno^000000 ^6D6FE0[" + getmapusers("yuno") + "]^000000",T32;

T1: Go("prontera",155,183);
T2: Go("alberta",28,234);
T3: Go("aldebaran",140,131);
T4: Go("amatsu",114,137);
T5: Go("ayothaya",208,166);
T6: Go("brasilis",196,189);
T7: Go("comodo",209,143);
T11: Go("geffen",120,68);
T12: Go("gonryun",160,121);
T13: Go("hugel",96,145);
T14: Go("izlude",128,114);
T15: Go("jawaii",213,230);
T16: Go("lighthalzen",158,92);
T17: Go("louyang",217,100);
T18: Go("xmas",147,134);
T22: Go("morocc",161,91);
T23: Go("moscovia",219,193);
T26: Go("payon",166,231);
T27: Go("rachel",115,136);
T30: Go("umbala",101,151);
T31: Go("veins",216,123);
T32: Go("yuno",158,175);

// --------------------------------------------------
    Fields:
// --------------------------------------------------
menu    "^FF0000Amatsu Fields^000000",F1, "^FF0000Ayothaya Fields^000000",F2, "^FF0000Bifrost Fields^000000", F3,
    "^FF0000Brasilis Fields^000000",F4, "^FF0000Comodo Fields^000000",F5, "^FF0000Dewata Fields^000000",F26,
    "^FF0000Eclage Fields^000000",F27, "^FF0000Einbroch Fields^000000",F6, "^FF0000El Dicastes Fields^000000",F7,
    "^FF0000Geffen Fields^000000",F8, "^FF0000Gonryun Fields^000000",F9, "^FF0000Hugel Fields^000000",F10,
    "^FF0000Lighthalzen Fields^000000",F11, "^FF0000Louyang Field^000000",F12, "^FF0000Lutie Field^000000",F13,
    "^FF0000Malaya Fields^000000",F28, "^FF0000Manuk Fields^000000",F14, "^FF0000Mjolnir Fields^000000",F15,
    "^FF0000Moscovia Fields^000000",F16, "^FF0000Niflheim Fields^000000",F17, "^FF0000Payon Forests^000000",F18,
    "^FF0000Prontera Fields^000000",F19, "^FF0000Rachel Fields^000000",F20, "^FF0000Sograt Deserts^000000",F21,
    "^FF0000Splendide Fields^000000",F22, "^FF0000Umbala Fields^000000",F23, "^FF0000Veins Fields^000000",F24,
    "^FF0000Yuno Fields^000000",F25;

F1: setarray @c[2],190,197;
    Disp("Amatsu Field",1,1); Pick("ama_fild");
F2: setarray @c[2],173,134,212,150;
    Disp("Ayothaya Field",1,2); Pick("ayo_fild");
F3: setarray @c[2],193,220,220,187;
    Disp("Bifrost Field",1,2); Pick("bif_fild");
F4: setarray @c[2],74,32;
    Disp("Brasilis Field",1,1); Pick("bra_fild");
F5: setarray @c[2],180,178,231,160,191,172,228,194,224,203,190,223,234,177,194,175,172,172;
    Disp("Comodo Field",1,9); Pick("cmd_fild");
F6: setarray @c[2],142,225,182,141,187,228,185,173,216,173,195,148,272,220,173,214,207,174,196,200;
    Disp("Einbroch Field",1,10); Pick("ein_fild");
F7: setarray @c[2],143,132,143,217;
    Disp("El Dicastes Field",1,2); Pick("dic_fild");
F8: setarray @c[0],46,199,213,204,195,212,257,192,188,171,166,263,248,158,195,191,186,183,221,117,178,218,136,328,240,181,235,235,211,185;
    Disp("Geffen Field",0,14); Pick("gef_fild",1);
F9: setarray @c[2],220,227;
    Disp("Gonryun Field",1,1); Pick("gon_fild");
F10: setarray @c[2],268,101,222,193,232,185,252,189,196,106,216,220,227,197;
    Disp("Hugel Field",1,7); Pick("hu_fild");
F11: setarray @c[2],240,179,185,235,240,226;
    Disp("Lighthalzen Field",1,3); Pick("lhz_fild");
F12: setarray @c[2],229,187;
    Disp("Louyang Field",1,1); Pick("lou_fild");
F13: setarray @c[2],115,145;
    Disp("Lutie Field",1,1); Pick("xmas_fild");
F14: setarray @c[2],35,236,35,262,84,365;
    Disp("Manuk Field",1,3); Pick("man_fild");
F15: setarray @c[2],204,120,175,193,208,213,179,180,181,240,195,270,235,202,188,215,205,144,245,223,180,206,196,208;
    Disp("Mjolnir Field",1,12); Pick("mjolnir_");
F16: setarray @c[2],82,104,131,147;
    Disp("Moscovia Field",1,2); Pick("mosk_fild");
F17: setarray @c[2],215,229,167,234;
    Disp("Niflheim Field",1,2); Pick("nif_fild");
F18: setarray @c[2],158,206,151,219,205,148,186,247,134,204,193,235,200,177,137,189,201,224,160,205,194,150;
    Disp("Payon Forest",1,11); Pick("pay_fild");
F19: setarray @c[0],208,227,190,206,240,206,190,143,307,252,239,213,185,188,193,194,187,218,210,183,195,149,198,164;
    Disp("Prontera Field",0,11); Pick("prt_fild",1);
F20: setarray @c[2],192,162,235,166,202,206,202,208,225,202,202,214,263,196,217,201,87,121,277,181,221,185,175,200,174,197;
    Disp("Rachel Field",1,13); Pick("ra_fild");
F21: setarray @c[2],219,205,177,206,194,182,184,217,203,213,213,208,224,170,229,177,195,198,209,168,198,216,156,187,185,263,209,219,223,188,206,228,208,238,209,223,85,97,207,202,31,195,38,195;
    Disp("Sograt Desert",1,22); Pick("moc_fild");
F22: setarray @c[2],175,186,236,184,188,204;
    Disp("Splendide Field",1,3); Pick("spl_fild");
F23: setarray @c[2],217,206,223,221,237,215,202,197;
    Disp("Umbala Field",1,4); Pick("um_fild");
F24: setarray @c[2],186,175,196,370,222,45,51,250,202,324,150,223,149,307;
    Disp("Veins Field",1,7); Pick("ve_fild");
F25: setarray @c[2],189,224,192,207,221,157,226,199,223,177,187,232,231,174,196,203,183,214,200,124,195,226,210,304;
    Disp("Yuno Field",1,12); Pick("yuno_fild");
F26: setarray @c[2],371,212;
    Disp("Dewata Field",1,1); Pick("dew_fild");
F27: setarray @c[2],97,314;
    Disp("Eclage Field",1,1); Pick("ecl_fild");
F28: setarray @c[2],40,272,207,180;
    Disp("Malaya Field",1,2); Pick("ma_fild");

// --------------------------------------------------
    Dungeons:
// --------------------------------------------------
menu    "^7401DFAbyss Lakes^000000",D1, "^7401DFAmatsu Dungeon^000000",D2, "^7401DFAnthell^000000",D3,
        "^7401DFAyothaya Dungeon^000000",D4, "^7401DFBeach Dungeon^000000",D5, "^7401DFBio Labs^000000",D6,
        "^7401DFBrasilis Dungeon^000000",D7, "^7401DFByalan Dungeon^000000",D8, "^7401DFClock Tower^000000",D9,
        "^7401DFCoal Mines^000000",D10, "^7401DFCulvert^000000",D11, "^7401DFCursed Abbey^000000",D12, "^7401DFDewata Dungeon^000000",D41,
        "^7401DFEinbroch Dungeon^000000",D13, "^7401DFEndless Tower^000000",D14, "^7401DFGefenia^000000",D15,
        "^7401DFGeffen Dungeon^000000",D16, "^7401DFGlast Heim^000000",D17, "^7401DFGonryun Dungeon^000000",D18,
        "^7401DFGuild Dungeons^000000",GD, "^7401DFHidden Dungeon^000000",D19, "^7401DFIce Dungeon^000000",D20,
        "^7401DFJuperos^000000",D21, "^7401DFKiel Dungeon^000000",D22, "^7401DFLouyang Dungeon^000000",D23,
        "^7401DFMagma Dungeon^000000",D24, "^7401DFMalangdo Dungeon^000000",D42, "^7401DFMoscovia Dungeon^000000",D25,
        "^7401DFNidhogg's Dungeon^000000",D26, "^7401DFOdin Temple^000000",D27, "^7401DFOrc Dungeon^000000",D28, "^7401DFPayon Dungeon^000000",D29,
        "^7401DFPyramids^000000",D30, "^7401DFRachel Sanctuary^000000",D31, "^7401DFScaraba Hole^000000",D32, "^7401DFSealed Shrine^000000",D33,
        "^7401DFSphinx^000000",D34, "^7401DFSunken Ship^000000",D35, "^7401DFThanatos Tower^000000",D36, "^7401DFThor Volcano^000000",D37,
        "^7401DFToy Factory^000000",D38, "^7401DFTurtle Dungeon^000000",D39, "^7401DFUmbala Dungeon^000000",D40;

D1: setarray @c[2],261,272,275,270,116,27;
    Disp("Abyss Lakes",1,3); Pick("abyss_");
D2: setarray @c[2],228,11,34,41,119,14;
    Disp("Amatsu Dungeon",1,3); Pick("ama_dun");
D3: setarray @c[2],35,262,168,170;
    Disp("Anthell",1,2); Pick("anthell");
D4: setarray @c[2],275,19,24,26;
    Disp("","Ancient Shrine Maze:Inside Ancient Shrine"); Pick("ayo_dun");
D5: setarray @c[2],266,67,255,244,23,260;
    Disp("Beach Dungeon",1,3); Pick("","beach_dun","beach_dun2","beach_dun3");
D6: setarray @c[2],150,288,150,18,140,134;
    Disp("Bio Lab",1,3); Pick("lhz_dun");
D7: setarray @c[2],87,47,262,262;
    Disp("Brasilis Dungeon",1,2); Pick("bra_dun");
D8: setarray @c[0],168,168,253,252,236,204,32,63,26,27;
    Disp("Byalan Dungeon",1,5); Pick("iz_dun",1);
D9: setarray @c[2],199,159,148,283,65,147,56,155,297,25,127,169,277,178,268,74;
    Disp("","Clock Tower 1:Clock Tower 2:Clock Tower 3:Clock Tower 4:Basement 1:Basement 2:Basement 3:Basement 4");
    Pick("","c_tower1","c_tower2","c_tower3","c_tower4","alde_dun01","alde_dun02","alde_dun03","alde_dun04");
D10: setarray @c[2],52,17,381,343,302,262;
    Disp("Coal Mines",1,3); Pick("mjo_dun");
D11: setarray @c[2],131,247,19,19,180,169,100,92;
    Disp("Culvert",1,4); Pick("","prt_sewb1","prt_sewb2","prt_sewb3","prt_sewb4");
D12: setarray @c[2],51,14,150,11,120,10;
    Disp("Cursed Abbey",1,3); Pick("abbey");
D13: setarray @c[2],22,14,292,290;
    Disp("Einbroch Dungeon",1,2); Pick("ein_dun");
D14: setarray @c[2],72,112;
    Disp("","Misty Island"); Pick("","e_tower");
D15: setarray @c[2],40,103,203,34,266,168,130,272;
    Disp("Gefenia",1,4); Pick("gefenia",0);
D16: setarray @c[0],104,99,115,236,106,132,203,200;
    Disp("Geffen Dungeon",1,4); Pick("gef_dun",1);
D17: setarray @c[2],375,304,199,29,104,25,150,15,157,287,147,15,258,255,108,291,171,283,68,277,156,7,12,7,133,271,224,274,14,70,150,14;
    Disp("","Entrance:Castle 1:Castle 2:Chivalry 1:Chivalry 2:Churchyard:Culvert 1:Culvert 2:Culvert 3:Culvert 4:St. Abbey:Staircase Dungeon:Underground Cave 1:Underground Cave 2:Underground Prison 1:Underground Prison 2");
    Pick("","glast_01","gl_cas01","gl_cas02","gl_knt01","gl_knt02","gl_chyard","gl_sew01","gl_sew02","gl_sew03","gl_sew04","gl_church","gl_step","gl_dun01","gl_dun02","gl_prison","gl_prison1");
D18: setarray @c[2],153,53,28,113,68,16;
    Disp("Gonryun Dungeon",1,3); Pick("gon_dun");
D19: setarray @c[2],176,7,93,20,23,8;
    Disp("Hidden Dungeon",1,3); Pick("prt_maze");
D20: setarray @c[2],157,14,151,155,149,22,33,158;
    Disp("Ice Dungeon",1,4); Pick("ice_dun");
D21: setarray @c[2],140,51,53,247,37,63,150,285;
    Disp("","Entrance:Juperos 1:Juperos 2:Core");
    Pick("","jupe_cave","juperos_01","juperos_02","jupe_core");
D22: setarray @c[2],28,226,41,198;
    Disp("Kiel Dungeon",1,2); Pick("kh_dun");
D23: setarray @c[2],218,196,282,20,165,38;
    Disp("","The Royal Tomb:Inside the Royal Tomb:Suei Long Gon"); Pick("lou_dun");
D24: setarray @c[2],126,68,47,30;
    Disp("Magma Dungeon",1,2); Pick("mag_dun");
D25: setarray @c[2],189,48,165,30,32,135;
    Disp("Moscovia Dungeon",1,3); Pick("mosk_dun");
D26: setarray @c[2],61,239,60,271;
    Disp("Nidhogg's Dungeon",1,2); Pick("nyd_dun");
D27: setarray @c[2],298,167,224,149,266,280;
    Disp("Odin Temple",1,3); Pick("odin_tem");
D28: setarray @c[2],32,170,21,185;
    Disp("Orc Dungeon",1,2); Pick("orcsdun");
D29: setarray @c[0],21,183,19,33,19,63,155,159,201,204;
    Disp("Payon Dungeon",1,5); Pick("pay_dun",1);
D30: setarray @c[2],192,9,10,192,100,92,181,11,94,96,192,8;
    Disp("","Pyramids 1:Pyramids 2:Pyramids 3:Pyramids 4:Basement 1:Basement 2"); Pick("moc_pryd");
D31: setarray @c[2],140,11,32,21,4,149,204,218,150,9;
    Disp("Rachel Sanctuary",1,5); Pick("ra_san");
D32: setarray @c[2],364,44,101,141;
    Disp("Scaraba Hole",1,2); Pick("dic_dun");
D33: setarray @c[2],306,143;
    Disp("","Friar Patrick"); Pick("","monk_test");
D34: setarray @c[2],288,9,149,81,210,54,10,222,100,99;
    Disp("Sphinx",1,5); Pick("","in_sphinx1","in_sphinx2","in_sphinx3","in_sphinx4","in_sphinx5");
D35: setarray @c[2],69,24,102,27;
    Disp("Sunken Ship",1,2); Pick("treasure");
D36: setarray @c[2],150,39,150,136,220,158,59,143,62,11,89,221,35,166,93,148,29,107,159,138,19,20,130,52;
    Disp("Thanatos Tower",1,12); Pick("tha_t");
D37: setarray @c[2],21,228,75,205,34,272;
    Disp("Thor Volcano",1,3); Pick("thor_v");
D38: setarray @c[2],205,15,129,133;
    Disp("Toy Factory",1,2); Pick("xmas_dun");
D39: setarray @c[2],154,49,148,261,132,189,100,192;
    Disp("","Entrance:Turtle Dungeon 1:Turtle Dungeon 2:Turtle Dungeon 3"); Pick("tur_dun");
D40: setarray @c[2],42,31,48,30,204,78;
    Disp("","Carpenter's Shop in the Tree:Passage to a Foreign World:Hvergermil's Fountain");
    Pick("","um_dun01","um_dun02","yggdrasil01");
D41: setarray @c[2],285,160,299,29;
    Disp("Dewata Dungeon",1,2); Pick("dew_dun");
D42: setarray @c[2],33,230;
    Disp("Malangdo Dungeon",1,1); Pick("mal_dun");
GD: setarray @c[2],119,93,39,161,50,44,116,45,199,195,200,124;
    Disp("","Baldur:Luina:Valkyrie:Britoniah:Arunafeltz:Schwaltzvalt");
    Pick("","gld_dun01","gld_dun02","gld_dun03","gld_dun04","arug_dun01","schg_dun01");

// --------------------------------------------------
// --------------------------------------------------
}

function    script    equiprepair    {
    set .@repairprice,5000;
    mes "[Portable Device Quick-Repair]";
    mes "Remember that you need 5000 to repair an item.";
    next;
    switch(select("Repair Items")) {
    case 1:
        set .@checkitem,1;
        while (1) {
            if (getbrokenid(.@checkitem) == 0) {
                break;
            }
            set .@checkitem,.@checkitem+1;
        }
        set .@checkitem,.@checkitem-1;
        if (!.@checkitem) {
            mes "[Portable Device Quick-Repair]";
            mes "Non of your item is damaged!";
            close;
        }
        mes "[Portable Device Quick-Repair]";
        mes "Damage Items:";
        mes "" + .@checkitem + "";
              next;
              mes "[Portable Device Quick-Repair]";
        set .@totalcost,.@repairprice*.@checkitem;
        mes "Each repair costs: " + .@repairprice + " Zeny.";
              mes "Total cost: " + .@totalcost + " Zeny.";
        next;
        switch(select("Yes:No")) {
        case 1:
            if (Zeny < .@totalcost) {
                mes "[Portable Device Quick-Repair]";
                mes "Inssuficient Funds.";
                close;
            }
            set .@checkitem2,1;
            while (1) {
                if (getbrokenid(.@checkitem2) == 0) {
                    break;
                }
                set .@checkitem2,.@checkitem2+1;
            }
            set .@checkitem2,.@checkitem2-1;
            if (.@checkitem == .@checkitem2) {
                set zeny,zeny-.@totalcost;
                while (.@checkitem) {
                    repair(.@checkitem);
                    set .@checkitem,.@checkitem-1;
                }
                mes "[Portable Device Quick-Repair]";
                mes "Done repairing items.";
                close;
            }
            else {
                mes "[Portable Device Quick-Repair]";
                mes "Equip the items you need to repair.";
                close;
            }
        case 2:
            mes "[Portable Device Quick-Repair]";
            mes "You should get your items repaired as soon as possible!";
            close;
        }
    }
}

//shops
-    shop    SS Armor    -,2304:10000,2306:20000,2308:20000,2310:50000,2311:50000,2313:50000,2315:75000,2317:100000,2322:20000,2326:60000,2331:75000,2342:100000,2353:75000,2364:150000,2367:100000,2399:50000
-    shop    SS Shield    -,2102:10000,2104:20000,2106:60000,2108:60000,2110:85000,2114:30000,2116:30000,2123:50000,2124:50000
-    shop    SS Footgear    -,2404:10000,2406:20000,2409:30000,2412:50000,2417:50000,2418:50000,2424:50000,2425:20000
-    shop    SS Mace    -,1502:10000,1505:20000,1511:20000,1514:-1,1517:-1,1520:50000,1522:100000,1523:25000,1528:50000,1529:50000,1531:50000
-    shop    SS Knuckle    -,1802:20000,1804:50000,1806:60000,1808:75000,1810:70000,1812:60000,1813:100000,1814:100000,1822:150000
-    shop    SS Whips    -,1951:10000,1953:20000,1955:30000,1962:20000,1963:50000,1972:10000,1974:10000,1976:50000
-    shop    SS Instruments    -,1902:10000,1904:20000,1906:-1,1908:50000,1913:50000,1914:50000,1915:50000,1916:50000,1917:50000
-    shop    SS Books    -,1550:30000,1551:60000,1552:51000,1559:25000,1561:75000,1564:25000,1568:70000,1569:70000,1570:70000,1571:70000,1572:50000
-    shop    SS Guns    -,13103:60000,13105:100000,13106:200000,13101:10000,13150:6000,13152:30000,13153:50000,13155:60000,13156:100000,13154:30000,13159:250000,13157:150000,13161:300000,13162:500000
-    shop    SS Fuuma    -,7522:500,7521:500,7523:500
-    shop    SS OneSwords    -,1108:10000,1117:10000,1120:100000,1124:50000,1130:100000,1131:50000,1133:50000,1138:200000,1139:200000,1145:100000,1149:50000
-    shop    SS TwoSwords    -,1155:50000,1158:90000,1163:120000,1164:50000,1165:50000,1166:75000,1168:50000,1169:500000,1172:200000,1175:75000
-    shop    SS Spears    -,1405:20000,1408:50000,1415:100000,1417:75000,1421:75000,1422:25000
-    shop    SS Dagger    -,1208:20000,1211:20000,1217:20000,1223:50000,1231:75000,1235:75000,1236:75000,1237:75000
-    shop    SS Axes    -,1302:10000,1306:20000,1307:45000,1309:75000,1352:20000,1355:30000,1358:75000,1363:50000,1364:50000,1365:50000,1366:50000,1371:100000
-    shop    SS Accessories    -,2621:-1,2622:-1,2624:30000,2618:10000,2625:30000,2626:30000,2674:10000,2648:50000,2649:50000,2627:-1,2701:75000
-    shop    SS Bows    -,1702:20000,1705:50000,1708:20000,1720:50000,1723:75000,1724:75000,1725:75000
-    shop    SS Staffs    -,1602:20000,1605:20000,1608:20000,1611:45000,1618:85000,1620:85000,1622:50000,1624:50000,1625:50000,1626:50000
-    shop    SS Garments    -,2504:10000,2506:40000,2507:82000,2508:56000,2514:50000,2518:60000,2519:60000,2528:85000,2531:10000,2553:10000
-    shop    SS Katars    -,1251:50000,1253:100000,1255:75000,1261:125000,1262:20000,1263:20000,1265:100000,1275:100000,1276:100000,1277:100000,1278:100000
-    shop    SS LowerH    -,2218:10000,5054:30000,2267:5000,5107:100000,2265:5000,2266:50000,2269:50000,2270:50000
-    shop    SS MiddleH    -,2201:5000,2203:4000,2205:3500,2212:5000,2225:10000,2229:50000,2231:50000,2234:50000,2235:50000,2281:25000,2292:50000,2296:50000
-    shop    SS UpperH    -,2210:1000,2211:1000,2213:10000,2214:20000,2217:10000,2221:5000,2223:10000,2246:75000,2256:75000,2264:100000,2280:20000,2299:30000
-    shop    SS Headgear1    -,5380:40000,5382:40000,2269:5000,2270:5000,5107:15000,5110:15000,2247:30000:5206:10000,2245:30000,2286:35000,2296:15000,2258:45000,5161:200000,5104:40000,2295:20000,5026:30000,5032:100000,5038:30000,5229:65000,5227:65000,5228:65000,5198:50000,5058:300000,5253:80000,5252:60000,5296:100000,5231:300000,5232:300000,5233:300000,5230:300000,5234:300000,5076:50000
-    shop    SS Headgear2    -,5059:100000,5235:75000,5236:75000,5237:75000,5293:150000,5303:35000,5304:65000,5312:65000,5315:45000,5317:45000,5319:75000,5320:120000,5323:588888,5336:50000,5337:50000,5338:50000,5339:50000,5346:50000
-    shop    SS Headgear3    -,5181:300000,5102:500000,5016:75000,5349:150000,5013:700000,5022:500000,5171:1250000,5135:500000,5029:50000,5033:65000,5040:100000,5047:35000,5065:65000,5068:50000,5074:50000,5084:75000,5086:150000,5108:350000,5121:100000,5133:50000,5137:100000,5138:150000,5140:55000,5146:75000,5151:75000,5152:150000,5170:150000,5173:75000,5174:75000,5175:75000,5184:50000,5185:45000,5187:75000,5188:50000,5191:25000,5192:25000,5193:25000,5194:25000,5195:25000,5196:25000,5197:25000
-    shop    SS Headgear4    -,5200:75000,5205:100000,5211:75000,5226:50000,5238:75000,5239:75000,5240:75000,5241:75000,5242:75000,5243:50000,5325:75000,5254:100000,5255:65000,5257:50000,5297:100000,2202:45000,5258:35000,5298:50000,5276:50000,5273:50000,5275:50000,5274:50000,5259:50000,5271:250000,5272:50000,5284:50000,5286:75000,5288:50000,5289:50000,5291:55000,5292:55000,5294:55000,5352:50000,5324:100000,5359:50000,5360:50000
-    shop    SS Headgear5    -,5340:50000,5341:50000,5342:50000,5343:50000,5344:50000,5345:50000,5354:50000,5355:50000,5361:65000,5365:50000,5373:75000,5374:350000,5379:50000,5383:60000,5384:88888,5390:88888,5388:50000,5411:50000,5393:75000,5397:35000,5399:50000,5800:175000,5801:300000,5802:150000
-    shop    SS Ammunition    -,1766:50,1755:20,1750:10,1754:20,1761:20,1752:20,1760:20,1759:20,1772:100,1757:30,1770:20,1769:30,1765:40,1763:30,1762:30,1767:30,1764:30,1751:20,1768:30,1753:30,1756:30,1758:30,1771:1000,13200:50,13202:100,13201:300,13206:500,13203:500,13207:500,13204:500,13205:500,13252:50,13254:500,13251:100,13253:300,13250:50,13256:50,13259:50,13258:50,13255:50,13257:50
-    shop    SS AlchemistS    -,715:600,716:600,717:600,1025:200,7136:500,7135:500,7136:500,7137:500,7138:500,7139:500
-    shop    SS StreetDealer    -,678:5000,505:-1,506:40,610:4000,545:150,546:600,547:1650
-    shop    SS CARD A    -,4140:1000000,4409:1000000,4244:1000000,4253:1000000,4401:1000000,4402:1000000,4400:1000000,4252:1000000,4245:1000000,4032:1000000,4062:1000000,4387:1000000,4248:1000000,4249:1000000,4043:1000000,4013:1000000,4018:1000000,4234:1000000,4344:1000000,4243:1000000,4138:1000000,4242:1000000,4371:1000000,4240:1000000,4114:1000000,4075:1000000,4347:1000000,4246:1000000,4247:1000000,4425:1000000
-    shop    SS CARD B    -,4023:1000000,4233:1000000,4438:1000000,4450:1000000,4129:1000000,4119:1000000,4307:1000000,4356:1000000,4074:1000000,4215:1000000,4327:1000000,4320:1000000,4214:1000000,4379:1000000,4212:1000000,4428:1000000,4390:1000000,4213:1000000,4426:1000000
-    shop    SS CARD C    -,4063:1000000,4288:1000000,4290:1000000,4289:1000000,4368:1000000,4447:1000000,4452:1000000,4284:1000000,4300:1000000,4285:1000000,4009:1000000,4235:1000000,4373:1000000,4202:1000000,4299:1000000,4229:1000000,4262:1000000,4041:1000000,4015:1000000,4293:1000000,4448:1000000,4061:1000000,4153:1000000,4296:1000000,4040:1000000,4298:1000000,4297:1000000
-    shop    SS CARD D    -,4272:1000000,4170:1000000,4169:1000000,4171:1000000,4449:1000000,4388:1000000,4173:1000000,4082:1000000,4174:1000000,4122:1000000,4182:1000000,4370:1000000,4181:1000000,4098:1000000,4444:1000000,4385:1000000,4179:1000000,4178:1000000,4069:1000000,4180:1000000,4004:1000000,4421:1000000,4177:1000000,4176:1000000,4154:1000000,4056:1000000
-    shop    SS CARD E    -,4279:1000000,4118:1000000,4410:1000000,4266:1000000,4070:1000000,4251:1000000,4052:1000000,4217:1000000,4451:1000000,4360:1000000,4349:1000000,4141:1000000,4258:1000000,4250:1000000,4250:1000000,4267:1000000
-    shop    SS CARD F    -,4002:1000000,4316:1000000,4020:1000000,4026:1000000,4160:1000000,4439:1000000,4080:1000000,4319:1000000,4088:1000000,4405:1000000,4151:1000000
-    shop    SS CARD G    -,4152:1000000,4423:1000000,4149:1000000,4323:1000000,4418:1000000,4354:1000000,4280:1000000,4110:1000000,4271:1000000,4270:1000000,4303:1000000,4278:1000000,4087:1000000,4165:1000000,4150:1000000,4060:1000000,4155:1000000,4156:1000000,4378:1000000,4072:1000000,4161:1000000,4283:1000000,4381:1000000,4377:1000000,4355:1000000,4162:1000000,4163:1000000,4164:1000000
-    shop    SS CARD H    -,4325:1000000,4331:1000000,4437:1000000,4232:1000000,4322:1000000,4345:1000000,4453:1000000,4081:1000000,4413:1000000,4343:1000000,4045:1000000,4019:1000000,4103:1000000,4362:1000000,4115:1000000,4035:1000000,4384:1000000,4328:1000000,4321:1000000
-    shop    SS CARD I    -,4417:1000000,4433:1000000,4263:1000000,4231:1000000,4269:1000000,4268:1000000,4239:1000000,4412:1000000,4116:1000000
-    shop    SS CARD J    -,4109:1000000,4139:1000000
-    shop    SS CARD K    -,4065:1000000,4287:1000000,4286:1000000,4431:1000000,4366:1000000,4351:1000000,4136:1000000,4301:1000000,4434:1000000,4292:1000000,4091:1000000,4295:1000000,4027:1000000
-    shop    SS CARD L    -,4350:1000000,4184:1000000,4195:1000000,4188:1000000,4265:1000000,4191:1000000,4445:1000000,4193:1000000,4006:1000000
-    shop    SS CARD M    -,4432:1000000,4076:1000000,4201:1000000,4050:1000000,4030:1000000,4079:1000000,4105:1000000,4112:1000000,4364:1000000,4196:1000000,4084:1000000,4113:1000000,4095:1000000,4046:1000000,4197:1000000,4097:1000000,4198:1000000,4124:1000000,4200:1000000,4067:1000000,4199:1000000,4341:1000000,4057:1000000,4205:1000000,4339:1000000,4204:1000000,4126:1000000,4132:1000000,4208:1000000,4317:1000000,4036:1000000,4106:1000000,4090:1000000,4420:1000000,4108:1000000,4206:1000000,4207:1000000
-    shop    SS CARD N    -,4440:1000000,4167:1000000,4127:1000000,4166:1000000,4159:1000000,4334:1000000
-    shop    SS CARD O    -,4093:1000000,4392:1000000,4338:1000000,4256:1000000,4375:1000000,4035:1000000,4066:1000000,4071:1000000,4238:1000000,4237:1000000
-    shop    SS CARD P    -,4310:1000000,4309:1000000,4099:1000000,4031:1000000,4007:1000000,4314:1000000,4311:1000000,4315:1000000,4077:1000000,4329:1000000,4008:1000000,4011:1000000,4073:1000000,4335:1000000,4024:1000000,4389:1000000,4048:1000000,4175:1000000,4033:1000000,4337:1000000,4001:1000000,4313:1000000,4003:1000000
-    shop    SS CARD Q    -,4294:1000000
-    shop    SS CARD R    -,4083:1000000,4436:1000000,4186:1000000,4187:1000000,4133:1000000,4380:1000000,4383:1000000,4353:1000000,4104:1000000,4391:1000000,4185:1000000,4021:1000000,4014:1000000,4192:1000000,4422:1000000,4194:1000000
-    shop    SS CARD S    -,4219:1000000,4429:1000000,4101:1000000,4005:1000000,4216:1000000,4017:1000000,4078:1000000,4068:1000000,4130:1000000,4326:1000000,4312:1000000,4414:1000000,4358:1000000,4273:1000000,4393:1000000,4230:1000000,4117:1000000,4416:1000000,4406:1000000,4025:1000000,4221:1000000,4222:1000000,4092:1000000,4404:1000000,4158:1000000,4120:1000000,4228:1000000,4044:1000000,4037:1000000,4415:1000000,4100:1000000,4394:1000000,4059:1000000,4086:1000000,4220:1000000,4022:1000000,4227:1000000,4039:1000000,4223:1000000,4424:1000000,4042:1000000,4224:1000000,4226:1000000,4225:1000000,4111:1000000
-    shop    SS CARD T    -,4395:1000000,4396:1000000,4058:1000000,4172:1000000,4016:1000000,4012:1000000,4254:1000000,4306:1000000,4308:1000000
-    shop    SS CARD U    -,4336:1000000
-    shop    SS CARD V    -,4049:1000000,4183:1000000,4411:1000000,4369:1000000,4333:1000000,4107:1000000,4209:1000000,4053:1000000,4211:1000000
-    shop    SS CARD W    -,4210:1000000,4332:1000000,4102:1000000,4361:1000000,4348:1000000,4257:1000000,4010:1000000,4264:1000000,4029:1000000,4259:1000000,4261:1000000,4260:1000000,4034:1000000,4190:1000000,4189:1000000
//-    shop    SS CARD X
-    shop    SS CARD Y    -,4382:1000000,4051:1000000
-    shop    SS CARD Z    -,4096:1000000,4064:1000000,4277:1000000,4281:1000000,4038:1000000,4274:1000000,4275:1000000,4435:1000000
Edited by Lil Troll
  • Upvote 1
Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

 

From: Masao(Shopstreet) - Original Mall Script, ++ Added All Card Shop - NON MVP

From: An Old Warper Script that I downloaded. (I dont have the scripter name) Thanks to him/her.)

From: Refine.TXT

Features: Quick Mall // Quick Sell // Quick Warp // Quick Repair

ITEM DB:
17515,Mall,Mall,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "MallMenu";},{},{}            
ITEM AVAIL:
17515,7504
/////////////////////////////////////////////////////////////////////////////////////
//RATHENA SCRIPT
/////////////////////////////////////////////////////////////////////////////////////
//From: Masao(Shopstreet) - Original Mall Script, Added All Card Shop - NON MVP
//From: An Old Warper Script that I downloaded. (I dont have the scripter name) Thanks to him/her.)
//From: Refine.TXT
/////////////////////////////////////////////////////////////////////////////////////
//BY: LIL TROLL
//Features: Quick Mall // Quick Sell // Quick Warp // Quick Repair
/////////////////////////////////////////////////////////////////////////////////////
// v.1.2
/////////////////////////////////////////////////////////////////////////////////////
-    script    Portable Quick-Device    -1,{
OnInit:
    npctalk "Portable Quick-Device is opened!";        
    //OnInit: is needed for the script to work! NPCTALK IS JUST A DUMMY..
}
function    script    MallMenu    {
    getitem 17515,1;
    switch(select("[Quick-Warp]:[Quick-Shop]:[Quick-Repair]")) {
    Case 1:
          callfunc "Warper";
          end;
    Case 2:
          callfunc "QuickShop";
          end;
    Case 3:
          callfunc "equiprepair";
          end;
    }
}

function    script    QuickShop    {
switch(select("[Quick-Mall]:[Quick-Sell]")) {
         Case 1:
           callfunc "QuickMall";
               next;
         Case 2:
               callshop "SS Armor",2;
               dispbottom "Portable Quick-Device: You opened Sell-Shop.";
               end;
          }
}
function    script    QuickMall    {
       dispbottom "Portable Quick-Device: So what are you buying?";
    mes "[Portable Device Quick-Mall]";
    mes "Welcome to ^FF0000" + strcharinfo(0) + "^000000 to ^000088Quick Mall^000000.";
    mes "Browse what you want to buy!";
    next;
    switch(select("Armors:Weapons:Cards:Etc:Nothing")) {
    close2;
    case 1:
    switch(select("Armor:Shield:Footgear:Garments:Lower Headgears:Middle Headgears:Upper Headgears:Accessories")) {
        case 1:
        callshop "SS Armor", 0;
        end;

        case 2:
        callshop "SS Shield", 0;
        end;

        case 3:
        callshop "SS Footgear", 0;
        end;

        case 4:
        callshop "SS Garments", 0;
        end;

        case 5:
        callshop "SS LowerH", 0;
        end;

        case 6:
        callshop "SS MiddleH", 0;
        end;

        case 7:
        callshop "SS UpperH", 0;
        end;

        case 8:
        callshop "SS Accessories", 0;
        end;
    }


    case 2:
    switch(select("Katars:Mace:Knuckle:Whips:Instruments:Books:Guns:Fuuma:One-Handed Swords:Two-Handed Swords:Spears:Dagger:Axes:Bows:Staffs")) {
        case 1:
        callshop "SS Katars", 0;
        end;

        case 2:
        callshop "SS Mace", 0;
        end;

        case 3:
        callshop "SS Knuckle", 0;
        end;

        case 4:
        callshop "SS Whips", 0;
        end;

        case 5:
        callshop "SS Instruments", 0;
        end;

        case 6:
        callshop "SS Books", 0;
        end;

        case 7:
        callshop "SS Guns", 0;
        end;

        case 8:
        callshop "SS Fuuma", 0;
        end;

        case 9:
        callshop "SS OneSwords", 0;
        end;

        case 10:
        callshop "SS TwoSwords", 0;
        end;

        case 11:
        callshop "SS Spears", 0;
        end;

        case 12:
        callshop "SS Dagger", 0;
        end;

        case 13:
        callshop "SS Axes", 0;
        end;

        case 14:
        callshop "SS Bows", 0;
        end;

        case 15:
        callshop "SS Staffs", 0;
        end;
    }
    
    case 3:
    switch(select("A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q:R:S:T:U:V:W:X:Y:Z")){
        
        case 1:
        callshop "SS CARD A", 0;
        end;    

        case 2:
        callshop "SS CARD B", 0;
        end;    

        case 3:
        callshop "SS CARD C", 0;
        end;    
        
        case 4:
        callshop "SS CARD D", 0;
        end;    

        case 5:
        callshop "SS CARD E", 0;
        end;    

        case 6:
        callshop "SS CARD F", 0;
        end;    

        case 7:
        callshop "SS CARD G", 0;
        end;    

        case 8:
        callshop "SS CARD H", 0;
        end;    

        case 9:
        callshop "SS CARD I", 0;
        end;    
        
        case 10:
        callshop "SS CARD J", 0;
        end;    

        case 11:
        callshop "SS CARD K", 0;
        end;    

        case 12:
        callshop "SS CARD L", 0;
        end;    

        case 13:
        callshop "SS CARD M", 0;
        end;    

        case 14:
        callshop "SS CARD N", 0;
        end;    

        case 15:
        callshop "SS CARD O", 0;
        end;    

        case 16:
        callshop "SS CARD P", 0;
        end;    

        case 17:
        callshop "SS CARD Q", 0;
        end;    

        case 18:
        callshop "SS CARD R", 0;
        end;    
    
        case 19:
        callshop "SS CARD S", 0;
        end;    

        case 20:
        callshop "SS CARD T", 0;
        end;    

        case 21:
        callshop "SS CARD U", 0;
        end;    

        case 22:
        callshop "SS CARD V", 0;
        end;    

        case 23:
        callshop "SS CARD W", 0;
        end;    

        case 24:
        mes "[Quick Mall]";
        mes "There is no X Card";
        close;
        //callshop "SS CARD X", 0;    

        case 25:
        callshop "SS CARD Y", 0;
        end;    

        case 26:
        callshop "SS CARD Z", 0;
        end;    
    }

    case 4:
    switch(select("Ammunition:Alchemist:Streets")){
        
        case 1:
        callshop "SS Ammunition", 0;
        end;    

        case 2:
        callshop "SS AlchemistS", 0;
        end;    

        case 3:
        callshop "SS StreetDealer", 0;
        end;    

    }
    end;
    case 5:
    mes "[Portable Device Quick-Mall]";
    mes "Okay,come back when you need me.";
    close;
    }
}

function    script    Warper    {
dispbottom "Portable Quick-Device: So where are you going?";        

function Go; function Disp; function Pick;

// --------------------------------------------------
//    Main Menu:
// --------------------------------------------------    
    mes "[Portable Quick-Warper]";
    mes "" + strcharinfo(0) + "..";
       mes "Where do you want to go?";
menu    "Last Warp ^777777["+lastwarp$+"]^000000",-,
    " ~ ^04B486Main Town^000000 ^6D6FE0[" + getmapusers("hyrule") + "]^000000",Maintown,
    " ~ ^7D2272Towns^000000",Towns,
    " ~ ^6B1312Fields^000000",Fields,
    " ~ ^BF2B0DDungeons^000000",Dungeons;

    if (lastwarp$ == "") dispbottom "You have not warped anywhere yet.";
        else warp lastwarp$,lastwarpx,lastwarpy;
    close;

// ------------------- Functions -------------------
// * Go("<map>",<x>,<y>);
//    ~ Warps directly to a map.
// * Disp("<Menu Option>",<first option>,<last option>);
// * Pick("<map_prefix>"{,<index offset>});
//    ~ Dynamic menu and map selection.
// * Disp("","<Option 1>:<Option 2>:<etc.>");
// * Pick("","<map1>","<map2>","<etc.>");
//    ~ Manual menu and map selection.
//
// Other notes:
//   ~ Array @c[] holds all (x,y) coordinates.
//   ~ Use @c[2] EXCEPT when maps begin dynamically
//      at 0: use @c[0] and Pick() offset 1.
// --------------------------------------------------

function Go {
    warp getarg(0),getarg(1,0),getarg(2,0);
    getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
    close; }
function Disp {
    set @menu$,"";
    if(getarg(0)=="") {
        set @menu$,getarg(1);
        return; }
    for(set .@i,getarg(1); .@i<=getarg(2); set .@i,.@i+1)
        set @menu$, @menu$+getarg(0)+" "+.@i+":";
    return; }
function Pick {
    if(getarg(0)=="") {
        set .@i, select(@menu$);
        warp getarg(.@i),@c[.@i*2],@c[.@i*2+1]; }
    else {
        set .@i, select(@menu$)-getarg(1,0);
        warp getarg(0)+((.@i<10)?"0":"")+.@i,@c[.@i*2],@c[.@i*2+1]; }
    getmapxy(lastwarp$,lastwarpx,lastwarpy,0);
    close; }

//---------------------------------------------------
    Maintown:
//---------------------------------------------------
menu    "^04B486Hyrule Main Town(Upper Mid)^000000",uppermid,
        "^088A08Hyrule Main Town(Upper Right)^000000",upperright,
        "^FFBF00Hyrule Main Town(Lower Mid)^000000",lowermid,
        "^0101DFHyrule Main Town(Lower left)^000000",lowerleft,
        "^FA5882Hyrule Main Town(Vending Area)^000000",vending;
                
uppermid: Go("hyrule",133,180);
upperright: Go("hyrule",230,194);
lowermid: Go("hyrule",133,48);
lowerleft: Go("hyrule",84,61);
vending: Go("hyrule",134,121);
//goldmap: Go("ars_fild04",0,0);
//turbo: Go("turbo_room",99,100);
        
// --------------------------------------------------
    Towns:
// --------------------------------------------------
menu    "^338C60Prontera^000000 ^6D6FE0[" + getmapusers("prontera") + "]^000000",T1, "^338C60Alberta^000000 ^6D6FE0[" + getmapusers("alberta") + "]^000000",T2, "^338C60Aldebaran^000000 ^6D6FE0[" + getmapusers("aldebaran") + "]^000000",T3, "^338C60Amatsu^000000 ^6D6FE0[" + getmapusers("amatsu") + "]^000000",T4, "^338C60Ayothaya^000000 ^6D6FE0[" + getmapusers("ayothaya") + "]^000000",T5,
    "^338C60Brasilis^000000 ^6D6FE0[" + getmapusers("brasilis") + "]^000000",T6, "^338C60Comodo^000000 ^6D6FE0[" + getmapusers("comodo") + "]^000000",T7,
    "^338C60Geffen^000000 ^6D6FE0[" + getmapusers("geffen") + "]^000000",T11, "^338C60Gonryun^000000 ^6D6FE0[" + getmapusers("gonryun") + "]^000000",T12, "^338C60Hugel^000000 ^6D6FE0[" + getmapusers("hugel") + "]^000000",T13,
    "^338C60Izlude^000000 ^6D6FE0[" + getmapusers("izlude") + "]^000000",T14, "^338C60Jawaii^000000 ^6D6FE0[" + getmapusers("jawaii") + "]^000000",T15, "^338C60Lighthalzen^000000 ^6D6FE0[" + getmapusers("lighthalzen") + "]^000000",T16, "^338C60Louyang^000000 ^6D6FE0[" + getmapusers("louyang") + "]^000000",T17, "^338C60Lutie^000000 ^6D6FE0[" + getmapusers("xmas") + "]^000000",T18,
    "^338C60Morroc^000000 ^6D6FE0[" + getmapusers("morocc") + "]^000000",T22, "^338C60Moscovia^000000 ^6D6FE0[" + getmapusers("moscovia") + "]^000000",T23,
    "^338C60Payon^000000 ^6D6FE0[" + getmapusers("payon") + "]^000000",T26, "^338C60Rachel^000000 ^6D6FE0[" + getmapusers("rachel") + "]^000000",T27,
    "^338C60Umbala^000000 ^6D6FE0[" + getmapusers("umbala") + "]^000000",T30, "^338C60Veins^000000 ^6D6FE0[" + getmapusers("veins") + "]^000000",T31, "^338C60Yuno^000000 ^6D6FE0[" + getmapusers("yuno") + "]^000000",T32;

T1: Go("prontera",155,183);
T2: Go("alberta",28,234);
T3: Go("aldebaran",140,131);
T4: Go("amatsu",114,137);
T5: Go("ayothaya",208,166);
T6: Go("brasilis",196,189);
T7: Go("comodo",209,143);
T11: Go("geffen",120,68);
T12: Go("gonryun",160,121);
T13: Go("hugel",96,145);
T14: Go("izlude",128,114);
T15: Go("jawaii",213,230);
T16: Go("lighthalzen",158,92);
T17: Go("louyang",217,100);
T18: Go("xmas",147,134);
T22: Go("morocc",161,91);
T23: Go("moscovia",219,193);
T26: Go("payon",166,231);
T27: Go("rachel",115,136);
T30: Go("umbala",101,151);
T31: Go("veins",216,123);
T32: Go("yuno",158,175);

// --------------------------------------------------
    Fields:
// --------------------------------------------------
menu    "^FF0000Amatsu Fields^000000",F1, "^FF0000Ayothaya Fields^000000",F2, "^FF0000Bifrost Fields^000000", F3,
    "^FF0000Brasilis Fields^000000",F4, "^FF0000Comodo Fields^000000",F5, "^FF0000Dewata Fields^000000",F26,
    "^FF0000Eclage Fields^000000",F27, "^FF0000Einbroch Fields^000000",F6, "^FF0000El Dicastes Fields^000000",F7,
    "^FF0000Geffen Fields^000000",F8, "^FF0000Gonryun Fields^000000",F9, "^FF0000Hugel Fields^000000",F10,
    "^FF0000Lighthalzen Fields^000000",F11, "^FF0000Louyang Field^000000",F12, "^FF0000Lutie Field^000000",F13,
    "^FF0000Malaya Fields^000000",F28, "^FF0000Manuk Fields^000000",F14, "^FF0000Mjolnir Fields^000000",F15,
    "^FF0000Moscovia Fields^000000",F16, "^FF0000Niflheim Fields^000000",F17, "^FF0000Payon Forests^000000",F18,
    "^FF0000Prontera Fields^000000",F19, "^FF0000Rachel Fields^000000",F20, "^FF0000Sograt Deserts^000000",F21,
    "^FF0000Splendide Fields^000000",F22, "^FF0000Umbala Fields^000000",F23, "^FF0000Veins Fields^000000",F24,
    "^FF0000Yuno Fields^000000",F25;

F1: setarray @c[2],190,197;
    Disp("Amatsu Field",1,1); Pick("ama_fild");
F2: setarray @c[2],173,134,212,150;
    Disp("Ayothaya Field",1,2); Pick("ayo_fild");
F3: setarray @c[2],193,220,220,187;
    Disp("Bifrost Field",1,2); Pick("bif_fild");
F4: setarray @c[2],74,32;
    Disp("Brasilis Field",1,1); Pick("bra_fild");
F5: setarray @c[2],180,178,231,160,191,172,228,194,224,203,190,223,234,177,194,175,172,172;
    Disp("Comodo Field",1,9); Pick("cmd_fild");
F6: setarray @c[2],142,225,182,141,187,228,185,173,216,173,195,148,272,220,173,214,207,174,196,200;
    Disp("Einbroch Field",1,10); Pick("ein_fild");
F7: setarray @c[2],143,132,143,217;
    Disp("El Dicastes Field",1,2); Pick("dic_fild");
F8: setarray @c[0],46,199,213,204,195,212,257,192,188,171,166,263,248,158,195,191,186,183,221,117,178,218,136,328,240,181,235,235,211,185;
    Disp("Geffen Field",0,14); Pick("gef_fild",1);
F9: setarray @c[2],220,227;
    Disp("Gonryun Field",1,1); Pick("gon_fild");
F10: setarray @c[2],268,101,222,193,232,185,252,189,196,106,216,220,227,197;
    Disp("Hugel Field",1,7); Pick("hu_fild");
F11: setarray @c[2],240,179,185,235,240,226;
    Disp("Lighthalzen Field",1,3); Pick("lhz_fild");
F12: setarray @c[2],229,187;
    Disp("Louyang Field",1,1); Pick("lou_fild");
F13: setarray @c[2],115,145;
    Disp("Lutie Field",1,1); Pick("xmas_fild");
F14: setarray @c[2],35,236,35,262,84,365;
    Disp("Manuk Field",1,3); Pick("man_fild");
F15: setarray @c[2],204,120,175,193,208,213,179,180,181,240,195,270,235,202,188,215,205,144,245,223,180,206,196,208;
    Disp("Mjolnir Field",1,12); Pick("mjolnir_");
F16: setarray @c[2],82,104,131,147;
    Disp("Moscovia Field",1,2); Pick("mosk_fild");
F17: setarray @c[2],215,229,167,234;
    Disp("Niflheim Field",1,2); Pick("nif_fild");
F18: setarray @c[2],158,206,151,219,205,148,186,247,134,204,193,235,200,177,137,189,201,224,160,205,194,150;
    Disp("Payon Forest",1,11); Pick("pay_fild");
F19: setarray @c[0],208,227,190,206,240,206,190,143,307,252,239,213,185,188,193,194,187,218,210,183,195,149,198,164;
    Disp("Prontera Field",0,11); Pick("prt_fild",1);
F20: setarray @c[2],192,162,235,166,202,206,202,208,225,202,202,214,263,196,217,201,87,121,277,181,221,185,175,200,174,197;
    Disp("Rachel Field",1,13); Pick("ra_fild");
F21: setarray @c[2],219,205,177,206,194,182,184,217,203,213,213,208,224,170,229,177,195,198,209,168,198,216,156,187,185,263,209,219,223,188,206,228,208,238,209,223,85,97,207,202,31,195,38,195;
    Disp("Sograt Desert",1,22); Pick("moc_fild");
F22: setarray @c[2],175,186,236,184,188,204;
    Disp("Splendide Field",1,3); Pick("spl_fild");
F23: setarray @c[2],217,206,223,221,237,215,202,197;
    Disp("Umbala Field",1,4); Pick("um_fild");
F24: setarray @c[2],186,175,196,370,222,45,51,250,202,324,150,223,149,307;
    Disp("Veins Field",1,7); Pick("ve_fild");
F25: setarray @c[2],189,224,192,207,221,157,226,199,223,177,187,232,231,174,196,203,183,214,200,124,195,226,210,304;
    Disp("Yuno Field",1,12); Pick("yuno_fild");
F26: setarray @c[2],371,212;
    Disp("Dewata Field",1,1); Pick("dew_fild");
F27: setarray @c[2],97,314;
    Disp("Eclage Field",1,1); Pick("ecl_fild");
F28: setarray @c[2],40,272,207,180;
    Disp("Malaya Field",1,2); Pick("ma_fild");

// --------------------------------------------------
    Dungeons:
// --------------------------------------------------
menu    "^7401DFAbyss Lakes^000000",D1, "^7401DFAmatsu Dungeon^000000",D2, "^7401DFAnthell^000000",D3,
        "^7401DFAyothaya Dungeon^000000",D4, "^7401DFBeach Dungeon^000000",D5, "^7401DFBio Labs^000000",D6,
        "^7401DFBrasilis Dungeon^000000",D7, "^7401DFByalan Dungeon^000000",D8, "^7401DFClock Tower^000000",D9,
        "^7401DFCoal Mines^000000",D10, "^7401DFCulvert^000000",D11, "^7401DFCursed Abbey^000000",D12, "^7401DFDewata Dungeon^000000",D41,
        "^7401DFEinbroch Dungeon^000000",D13, "^7401DFEndless Tower^000000",D14, "^7401DFGefenia^000000",D15,
        "^7401DFGeffen Dungeon^000000",D16, "^7401DFGlast Heim^000000",D17, "^7401DFGonryun Dungeon^000000",D18,
        "^7401DFGuild Dungeons^000000",GD, "^7401DFHidden Dungeon^000000",D19, "^7401DFIce Dungeon^000000",D20,
        "^7401DFJuperos^000000",D21, "^7401DFKiel Dungeon^000000",D22, "^7401DFLouyang Dungeon^000000",D23,
        "^7401DFMagma Dungeon^000000",D24, "^7401DFMalangdo Dungeon^000000",D42, "^7401DFMoscovia Dungeon^000000",D25,
        "^7401DFNidhogg's Dungeon^000000",D26, "^7401DFOdin Temple^000000",D27, "^7401DFOrc Dungeon^000000",D28, "^7401DFPayon Dungeon^000000",D29,
        "^7401DFPyramids^000000",D30, "^7401DFRachel Sanctuary^000000",D31, "^7401DFScaraba Hole^000000",D32, "^7401DFSealed Shrine^000000",D33,
        "^7401DFSphinx^000000",D34, "^7401DFSunken Ship^000000",D35, "^7401DFThanatos Tower^000000",D36, "^7401DFThor Volcano^000000",D37,
        "^7401DFToy Factory^000000",D38, "^7401DFTurtle Dungeon^000000",D39, "^7401DFUmbala Dungeon^000000",D40;

D1: setarray @c[2],261,272,275,270,116,27;
    Disp("Abyss Lakes",1,3); Pick("abyss_");
D2: setarray @c[2],228,11,34,41,119,14;
    Disp("Amatsu Dungeon",1,3); Pick("ama_dun");
D3: setarray @c[2],35,262,168,170;
    Disp("Anthell",1,2); Pick("anthell");
D4: setarray @c[2],275,19,24,26;
    Disp("","Ancient Shrine Maze:Inside Ancient Shrine"); Pick("ayo_dun");
D5: setarray @c[2],266,67,255,244,23,260;
    Disp("Beach Dungeon",1,3); Pick("","beach_dun","beach_dun2","beach_dun3");
D6: setarray @c[2],150,288,150,18,140,134;
    Disp("Bio Lab",1,3); Pick("lhz_dun");
D7: setarray @c[2],87,47,262,262;
    Disp("Brasilis Dungeon",1,2); Pick("bra_dun");
D8: setarray @c[0],168,168,253,252,236,204,32,63,26,27;
    Disp("Byalan Dungeon",1,5); Pick("iz_dun",1);
D9: setarray @c[2],199,159,148,283,65,147,56,155,297,25,127,169,277,178,268,74;
    Disp("","Clock Tower 1:Clock Tower 2:Clock Tower 3:Clock Tower 4:Basement 1:Basement 2:Basement 3:Basement 4");
    Pick("","c_tower1","c_tower2","c_tower3","c_tower4","alde_dun01","alde_dun02","alde_dun03","alde_dun04");
D10: setarray @c[2],52,17,381,343,302,262;
    Disp("Coal Mines",1,3); Pick("mjo_dun");
D11: setarray @c[2],131,247,19,19,180,169,100,92;
    Disp("Culvert",1,4); Pick("","prt_sewb1","prt_sewb2","prt_sewb3","prt_sewb4");
D12: setarray @c[2],51,14,150,11,120,10;
    Disp("Cursed Abbey",1,3); Pick("abbey");
D13: setarray @c[2],22,14,292,290;
    Disp("Einbroch Dungeon",1,2); Pick("ein_dun");
D14: setarray @c[2],72,112;
    Disp("","Misty Island"); Pick("","e_tower");
D15: setarray @c[2],40,103,203,34,266,168,130,272;
    Disp("Gefenia",1,4); Pick("gefenia",0);
D16: setarray @c[0],104,99,115,236,106,132,203,200;
    Disp("Geffen Dungeon",1,4); Pick("gef_dun",1);
D17: setarray @c[2],375,304,199,29,104,25,150,15,157,287,147,15,258,255,108,291,171,283,68,277,156,7,12,7,133,271,224,274,14,70,150,14;
    Disp("","Entrance:Castle 1:Castle 2:Chivalry 1:Chivalry 2:Churchyard:Culvert 1:Culvert 2:Culvert 3:Culvert 4:St. Abbey:Staircase Dungeon:Underground Cave 1:Underground Cave 2:Underground Prison 1:Underground Prison 2");
    Pick("","glast_01","gl_cas01","gl_cas02","gl_knt01","gl_knt02","gl_chyard","gl_sew01","gl_sew02","gl_sew03","gl_sew04","gl_church","gl_step","gl_dun01","gl_dun02","gl_prison","gl_prison1");
D18: setarray @c[2],153,53,28,113,68,16;
    Disp("Gonryun Dungeon",1,3); Pick("gon_dun");
D19: setarray @c[2],176,7,93,20,23,8;
    Disp("Hidden Dungeon",1,3); Pick("prt_maze");
D20: setarray @c[2],157,14,151,155,149,22,33,158;
    Disp("Ice Dungeon",1,4); Pick("ice_dun");
D21: setarray @c[2],140,51,53,247,37,63,150,285;
    Disp("","Entrance:Juperos 1:Juperos 2:Core");
    Pick("","jupe_cave","juperos_01","juperos_02","jupe_core");
D22: setarray @c[2],28,226,41,198;
    Disp("Kiel Dungeon",1,2); Pick("kh_dun");
D23: setarray @c[2],218,196,282,20,165,38;
    Disp("","The Royal Tomb:Inside the Royal Tomb:Suei Long Gon"); Pick("lou_dun");
D24: setarray @c[2],126,68,47,30;
    Disp("Magma Dungeon",1,2); Pick("mag_dun");
D25: setarray @c[2],189,48,165,30,32,135;
    Disp("Moscovia Dungeon",1,3); Pick("mosk_dun");
D26: setarray @c[2],61,239,60,271;
    Disp("Nidhogg's Dungeon",1,2); Pick("nyd_dun");
D27: setarray @c[2],298,167,224,149,266,280;
    Disp("Odin Temple",1,3); Pick("odin_tem");
D28: setarray @c[2],32,170,21,185;
    Disp("Orc Dungeon",1,2); Pick("orcsdun");
D29: setarray @c[0],21,183,19,33,19,63,155,159,201,204;
    Disp("Payon Dungeon",1,5); Pick("pay_dun",1);
D30: setarray @c[2],192,9,10,192,100,92,181,11,94,96,192,8;
    Disp("","Pyramids 1:Pyramids 2:Pyramids 3:Pyramids 4:Basement 1:Basement 2"); Pick("moc_pryd");
D31: setarray @c[2],140,11,32,21,4,149,204,218,150,9;
    Disp("Rachel Sanctuary",1,5); Pick("ra_san");
D32: setarray @c[2],364,44,101,141;
    Disp("Scaraba Hole",1,2); Pick("dic_dun");
D33: setarray @c[2],306,143;
    Disp("","Friar Patrick"); Pick("","monk_test");
D34: setarray @c[2],288,9,149,81,210,54,10,222,100,99;
    Disp("Sphinx",1,5); Pick("","in_sphinx1","in_sphinx2","in_sphinx3","in_sphinx4","in_sphinx5");
D35: setarray @c[2],69,24,102,27;
    Disp("Sunken Ship",1,2); Pick("treasure");
D36: setarray @c[2],150,39,150,136,220,158,59,143,62,11,89,221,35,166,93,148,29,107,159,138,19,20,130,52;
    Disp("Thanatos Tower",1,12); Pick("tha_t");
D37: setarray @c[2],21,228,75,205,34,272;
    Disp("Thor Volcano",1,3); Pick("thor_v");
D38: setarray @c[2],205,15,129,133;
    Disp("Toy Factory",1,2); Pick("xmas_dun");
D39: setarray @c[2],154,49,148,261,132,189,100,192;
    Disp("","Entrance:Turtle Dungeon 1:Turtle Dungeon 2:Turtle Dungeon 3"); Pick("tur_dun");
D40: setarray @c[2],42,31,48,30,204,78;
    Disp("","Carpenter's Shop in the Tree:Passage to a Foreign World:Hvergermil's Fountain");
    Pick("","um_dun01","um_dun02","yggdrasil01");
D41: setarray @c[2],285,160,299,29;
    Disp("Dewata Dungeon",1,2); Pick("dew_dun");
D42: setarray @c[2],33,230;
    Disp("Malangdo Dungeon",1,1); Pick("mal_dun");
GD: setarray @c[2],119,93,39,161,50,44,116,45,199,195,200,124;
    Disp("","Baldur:Luina:Valkyrie:Britoniah:Arunafeltz:Schwaltzvalt");
    Pick("","gld_dun01","gld_dun02","gld_dun03","gld_dun04","arug_dun01","schg_dun01");

// --------------------------------------------------
// --------------------------------------------------
}

function    script    equiprepair    {
    set .@repairprice,5000;
    mes "[Portable Device Quick-Repair]";
    mes "Remember that you need 5000 to repair an item.";
    next;
    switch(select("Repair Items")) {
    case 1:
        set .@checkitem,1;
        while (1) {
            if (getbrokenid(.@checkitem) == 0) {
                break;
            }
            set .@checkitem,.@checkitem+1;
        }
        set .@checkitem,.@checkitem-1;
        if (!.@checkitem) {
            mes "[Portable Device Quick-Repair]";
            mes "Non of your item is damaged!";
            close;
        }
        mes "[Portable Device Quick-Repair]";
        mes "Damage Items:";
        mes "" + .@checkitem + "";
              next;
              mes "[Portable Device Quick-Repair]";
        set .@totalcost,.@repairprice*.@checkitem;
        mes "Each repair costs: " + .@repairprice + " Zeny.";
              mes "Total cost: " + .@totalcost + " Zeny.";
        next;
        switch(select("Yes:No")) {
        case 1:
            if (Zeny < .@totalcost) {
                mes "[Portable Device Quick-Repair]";
                mes "Inssuficient Funds.";
                close;
            }
            set .@checkitem2,1;
            while (1) {
                if (getbrokenid(.@checkitem2) == 0) {
                    break;
                }
                set .@checkitem2,.@checkitem2+1;
            }
            set .@checkitem2,.@checkitem2-1;
            if (.@checkitem == .@checkitem2) {
                set zeny,zeny-.@totalcost;
                while (.@checkitem) {
                    repair(.@checkitem);
                    set .@checkitem,.@checkitem-1;
                }
                mes "[Portable Device Quick-Repair]";
                mes "Done repairing items.";
                close;
            }
            else {
                mes "[Portable Device Quick-Repair]";
                mes "Equip the items you need to repair.";
                close;
            }
        case 2:
            mes "[Portable Device Quick-Repair]";
            mes "You should get your items repaired as soon as possible!";
            close;
        }
    }
}

//shops
-    shop    SS Armor    -,2304:10000,2306:20000,2308:20000,2310:50000,2311:50000,2313:50000,2315:75000,2317:100000,2322:20000,2326:60000,2331:75000,2342:100000,2353:75000,2364:150000,2367:100000,2399:50000
-    shop    SS Shield    -,2102:10000,2104:20000,2106:60000,2108:60000,2110:85000,2114:30000,2116:30000,2123:50000,2124:50000
-    shop    SS Footgear    -,2404:10000,2406:20000,2409:30000,2412:50000,2417:50000,2418:50000,2424:50000,2425:20000
-    shop    SS Mace    -,1502:10000,1505:20000,1511:20000,1514:-1,1517:-1,1520:50000,1522:100000,1523:25000,1528:50000,1529:50000,1531:50000
-    shop    SS Knuckle    -,1802:20000,1804:50000,1806:60000,1808:75000,1810:70000,1812:60000,1813:100000,1814:100000,1822:150000
-    shop    SS Whips    -,1951:10000,1953:20000,1955:30000,1962:20000,1963:50000,1972:10000,1974:10000,1976:50000
-    shop    SS Instruments    -,1902:10000,1904:20000,1906:-1,1908:50000,1913:50000,1914:50000,1915:50000,1916:50000,1917:50000
-    shop    SS Books    -,1550:30000,1551:60000,1552:51000,1559:25000,1561:75000,1564:25000,1568:70000,1569:70000,1570:70000,1571:70000,1572:50000
-    shop    SS Guns    -,13103:60000,13105:100000,13106:200000,13101:10000,13150:6000,13152:30000,13153:50000,13155:60000,13156:100000,13154:30000,13159:250000,13157:150000,13161:300000,13162:500000
-    shop    SS Fuuma    -,7522:500,7521:500,7523:500
-    shop    SS OneSwords    -,1108:10000,1117:10000,1120:100000,1124:50000,1130:100000,1131:50000,1133:50000,1138:200000,1139:200000,1145:100000,1149:50000
-    shop    SS TwoSwords    -,1155:50000,1158:90000,1163:120000,1164:50000,1165:50000,1166:75000,1168:50000,1169:500000,1172:200000,1175:75000
-    shop    SS Spears    -,1405:20000,1408:50000,1415:100000,1417:75000,1421:75000,1422:25000
-    shop    SS Dagger    -,1208:20000,1211:20000,1217:20000,1223:50000,1231:75000,1235:75000,1236:75000,1237:75000
-    shop    SS Axes    -,1302:10000,1306:20000,1307:45000,1309:75000,1352:20000,1355:30000,1358:75000,1363:50000,1364:50000,1365:50000,1366:50000,1371:100000
-    shop    SS Accessories    -,2621:-1,2622:-1,2624:30000,2618:10000,2625:30000,2626:30000,2674:10000,2648:50000,2649:50000,2627:-1,2701:75000
-    shop    SS Bows    -,1702:20000,1705:50000,1708:20000,1720:50000,1723:75000,1724:75000,1725:75000
-    shop    SS Staffs    -,1602:20000,1605:20000,1608:20000,1611:45000,1618:85000,1620:85000,1622:50000,1624:50000,1625:50000,1626:50000
-    shop    SS Garments    -,2504:10000,2506:40000,2507:82000,2508:56000,2514:50000,2518:60000,2519:60000,2528:85000,2531:10000,2553:10000
-    shop    SS Katars    -,1251:50000,1253:100000,1255:75000,1261:125000,1262:20000,1263:20000,1265:100000,1275:100000,1276:100000,1277:100000,1278:100000
-    shop    SS LowerH    -,2218:10000,5054:30000,2267:5000,5107:100000,2265:5000,2266:50000,2269:50000,2270:50000
-    shop    SS MiddleH    -,2201:5000,2203:4000,2205:3500,2212:5000,2225:10000,2229:50000,2231:50000,2234:50000,2235:50000,2281:25000,2292:50000,2296:50000
-    shop    SS UpperH    -,2210:1000,2211:1000,2213:10000,2214:20000,2217:10000,2221:5000,2223:10000,2246:75000,2256:75000,2264:100000,2280:20000,2299:30000
-    shop    SS Headgear1    -,5380:40000,5382:40000,2269:5000,2270:5000,5107:15000,5110:15000,2247:30000:5206:10000,2245:30000,2286:35000,2296:15000,2258:45000,5161:200000,5104:40000,2295:20000,5026:30000,5032:100000,5038:30000,5229:65000,5227:65000,5228:65000,5198:50000,5058:300000,5253:80000,5252:60000,5296:100000,5231:300000,5232:300000,5233:300000,5230:300000,5234:300000,5076:50000
-    shop    SS Headgear2    -,5059:100000,5235:75000,5236:75000,5237:75000,5293:150000,5303:35000,5304:65000,5312:65000,5315:45000,5317:45000,5319:75000,5320:120000,5323:588888,5336:50000,5337:50000,5338:50000,5339:50000,5346:50000
-    shop    SS Headgear3    -,5181:300000,5102:500000,5016:75000,5349:150000,5013:700000,5022:500000,5171:1250000,5135:500000,5029:50000,5033:65000,5040:100000,5047:35000,5065:65000,5068:50000,5074:50000,5084:75000,5086:150000,5108:350000,5121:100000,5133:50000,5137:100000,5138:150000,5140:55000,5146:75000,5151:75000,5152:150000,5170:150000,5173:75000,5174:75000,5175:75000,5184:50000,5185:45000,5187:75000,5188:50000,5191:25000,5192:25000,5193:25000,5194:25000,5195:25000,5196:25000,5197:25000
-    shop    SS Headgear4    -,5200:75000,5205:100000,5211:75000,5226:50000,5238:75000,5239:75000,5240:75000,5241:75000,5242:75000,5243:50000,5325:75000,5254:100000,5255:65000,5257:50000,5297:100000,2202:45000,5258:35000,5298:50000,5276:50000,5273:50000,5275:50000,5274:50000,5259:50000,5271:250000,5272:50000,5284:50000,5286:75000,5288:50000,5289:50000,5291:55000,5292:55000,5294:55000,5352:50000,5324:100000,5359:50000,5360:50000
-    shop    SS Headgear5    -,5340:50000,5341:50000,5342:50000,5343:50000,5344:50000,5345:50000,5354:50000,5355:50000,5361:65000,5365:50000,5373:75000,5374:350000,5379:50000,5383:60000,5384:88888,5390:88888,5388:50000,5411:50000,5393:75000,5397:35000,5399:50000,5800:175000,5801:300000,5802:150000
-    shop    SS Ammunition    -,1766:50,1755:20,1750:10,1754:20,1761:20,1752:20,1760:20,1759:20,1772:100,1757:30,1770:20,1769:30,1765:40,1763:30,1762:30,1767:30,1764:30,1751:20,1768:30,1753:30,1756:30,1758:30,1771:1000,13200:50,13202:100,13201:300,13206:500,13203:500,13207:500,13204:500,13205:500,13252:50,13254:500,13251:100,13253:300,13250:50,13256:50,13259:50,13258:50,13255:50,13257:50
-    shop    SS AlchemistS    -,715:600,716:600,717:600,1025:200,7136:500,7135:500,7136:500,7137:500,7138:500,7139:500
-    shop    SS StreetDealer    -,678:5000,505:-1,506:40,610:4000,545:150,546:600,547:1650
-    shop    SS CARD A    -,4140:1000000,4409:1000000,4244:1000000,4253:1000000,4401:1000000,4402:1000000,4400:1000000,4252:1000000,4245:1000000,4032:1000000,4062:1000000,4387:1000000,4248:1000000,4249:1000000,4043:1000000,4013:1000000,4018:1000000,4234:1000000,4344:1000000,4243:1000000,4138:1000000,4242:1000000,4371:1000000,4240:1000000,4114:1000000,4075:1000000,4347:1000000,4246:1000000,4247:1000000,4425:1000000
-    shop    SS CARD B    -,4023:1000000,4233:1000000,4438:1000000,4450:1000000,4129:1000000,4119:1000000,4307:1000000,4356:1000000,4074:1000000,4215:1000000,4327:1000000,4320:1000000,4214:1000000,4379:1000000,4212:1000000,4428:1000000,4390:1000000,4213:1000000,4426:1000000
-    shop    SS CARD C    -,4063:1000000,4288:1000000,4290:1000000,4289:1000000,4368:1000000,4447:1000000,4452:1000000,4284:1000000,4300:1000000,4285:1000000,4009:1000000,4235:1000000,4373:1000000,4202:1000000,4299:1000000,4229:1000000,4262:1000000,4041:1000000,4015:1000000,4293:1000000,4448:1000000,4061:1000000,4153:1000000,4296:1000000,4040:1000000,4298:1000000,4297:1000000
-    shop    SS CARD D    -,4272:1000000,4170:1000000,4169:1000000,4171:1000000,4449:1000000,4388:1000000,4173:1000000,4082:1000000,4174:1000000,4122:1000000,4182:1000000,4370:1000000,4181:1000000,4098:1000000,4444:1000000,4385:1000000,4179:1000000,4178:1000000,4069:1000000,4180:1000000,4004:1000000,4421:1000000,4177:1000000,4176:1000000,4154:1000000,4056:1000000
-    shop    SS CARD E    -,4279:1000000,4118:1000000,4410:1000000,4266:1000000,4070:1000000,4251:1000000,4052:1000000,4217:1000000,4451:1000000,4360:1000000,4349:1000000,4141:1000000,4258:1000000,4250:1000000,4250:1000000,4267:1000000
-    shop    SS CARD F    -,4002:1000000,4316:1000000,4020:1000000,4026:1000000,4160:1000000,4439:1000000,4080:1000000,4319:1000000,4088:1000000,4405:1000000,4151:1000000
-    shop    SS CARD G    -,4152:1000000,4423:1000000,4149:1000000,4323:1000000,4418:1000000,4354:1000000,4280:1000000,4110:1000000,4271:1000000,4270:1000000,4303:1000000,4278:1000000,4087:1000000,4165:1000000,4150:1000000,4060:1000000,4155:1000000,4156:1000000,4378:1000000,4072:1000000,4161:1000000,4283:1000000,4381:1000000,4377:1000000,4355:1000000,4162:1000000,4163:1000000,4164:1000000
-    shop    SS CARD H    -,4325:1000000,4331:1000000,4437:1000000,4232:1000000,4322:1000000,4345:1000000,4453:1000000,4081:1000000,4413:1000000,4343:1000000,4045:1000000,4019:1000000,4103:1000000,4362:1000000,4115:1000000,4035:1000000,4384:1000000,4328:1000000,4321:1000000
-    shop    SS CARD I    -,4417:1000000,4433:1000000,4263:1000000,4231:1000000,4269:1000000,4268:1000000,4239:1000000,4412:1000000,4116:1000000
-    shop    SS CARD J    -,4109:1000000,4139:1000000
-    shop    SS CARD K    -,4065:1000000,4287:1000000,4286:1000000,4431:1000000,4366:1000000,4351:1000000,4136:1000000,4301:1000000,4434:1000000,4292:1000000,4091:1000000,4295:1000000,4027:1000000
-    shop    SS CARD L    -,4350:1000000,4184:1000000,4195:1000000,4188:1000000,4265:1000000,4191:1000000,4445:1000000,4193:1000000,4006:1000000
-    shop    SS CARD M    -,4432:1000000,4076:1000000,4201:1000000,4050:1000000,4030:1000000,4079:1000000,4105:1000000,4112:1000000,4364:1000000,4196:1000000,4084:1000000,4113:1000000,4095:1000000,4046:1000000,4197:1000000,4097:1000000,4198:1000000,4124:1000000,4200:1000000,4067:1000000,4199:1000000,4341:1000000,4057:1000000,4205:1000000,4339:1000000,4204:1000000,4126:1000000,4132:1000000,4208:1000000,4317:1000000,4036:1000000,4106:1000000,4090:1000000,4420:1000000,4108:1000000,4206:1000000,4207:1000000
-    shop    SS CARD N    -,4440:1000000,4167:1000000,4127:1000000,4166:1000000,4159:1000000,4334:1000000
-    shop    SS CARD O    -,4093:1000000,4392:1000000,4338:1000000,4256:1000000,4375:1000000,4035:1000000,4066:1000000,4071:1000000,4238:1000000,4237:1000000
-    shop    SS CARD P    -,4310:1000000,4309:1000000,4099:1000000,4031:1000000,4007:1000000,4314:1000000,4311:1000000,4315:1000000,4077:1000000,4329:1000000,4008:1000000,4011:1000000,4073:1000000,4335:1000000,4024:1000000,4389:1000000,4048:1000000,4175:1000000,4033:1000000,4337:1000000,4001:1000000,4313:1000000,4003:1000000
-    shop    SS CARD Q    -,4294:1000000
-    shop    SS CARD R    -,4083:1000000,4436:1000000,4186:1000000,4187:1000000,4133:1000000,4380:1000000,4383:1000000,4353:1000000,4104:1000000,4391:1000000,4185:1000000,4021:1000000,4014:1000000,4192:1000000,4422:1000000,4194:1000000
-    shop    SS CARD S    -,4219:1000000,4429:1000000,4101:1000000,4005:1000000,4216:1000000,4017:1000000,4078:1000000,4068:1000000,4130:1000000,4326:1000000,4312:1000000,4414:1000000,4358:1000000,4273:1000000,4393:1000000,4230:1000000,4117:1000000,4416:1000000,4406:1000000,4025:1000000,4221:1000000,4222:1000000,4092:1000000,4404:1000000,4158:1000000,4120:1000000,4228:1000000,4044:1000000,4037:1000000,4415:1000000,4100:1000000,4394:1000000,4059:1000000,4086:1000000,4220:1000000,4022:1000000,4227:1000000,4039:1000000,4223:1000000,4424:1000000,4042:1000000,4224:1000000,4226:1000000,4225:1000000,4111:1000000
-    shop    SS CARD T    -,4395:1000000,4396:1000000,4058:1000000,4172:1000000,4016:1000000,4012:1000000,4254:1000000,4306:1000000,4308:1000000
-    shop    SS CARD U    -,4336:1000000
-    shop    SS CARD V    -,4049:1000000,4183:1000000,4411:1000000,4369:1000000,4333:1000000,4107:1000000,4209:1000000,4053:1000000,4211:1000000
-    shop    SS CARD W    -,4210:1000000,4332:1000000,4102:1000000,4361:1000000,4348:1000000,4257:1000000,4010:1000000,4264:1000000,4029:1000000,4259:1000000,4261:1000000,4260:1000000,4034:1000000,4190:1000000,4189:1000000
//-    shop    SS CARD X
-    shop    SS CARD Y    -,4382:1000000,4051:1000000
-    shop    SS CARD Z    -,4096:1000000,4064:1000000,4277:1000000,4281:1000000,4038:1000000,4274:1000000,4275:1000000,4435:1000000

 

can you update to latest all item in RO ? :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...