Code:
case 1:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced an attack level!", 6248);
sendFrame126("@[email protected] attack level is now " + getLevelForXP(playerXP[0]) + " .", 6249);
NpcDialogueSend = true;
break;
case 2:
switch (playerLevel[0]) {
case 5:
sendFrame164(6206);
sendFrame246(6210, 290, 1325);
sendFrame126("", 6207);
sendFrame126("You can now equip Steel weapons!", 6208);
NpcDialogueSend = true;
break;
case 10:
sendFrame164(6206);
sendFrame246(6210, 290, 1327);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Black weapons!", 6208);
NpcDialogueSend = true;
break;
case 20:
sendFrame164(6206);
sendFrame246(6210, 290, 1329);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Mithril weapons!", 6208);
NpcDialogueSend = true;
break;
case 30:
sendFrame164(6206);
sendFrame246(6210, 290, 1331);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Adamant weapons!", 6208);
NpcDialogueSend = true;
break;
case 40:
sendFrame164(6206);
sendFrame246(6210, 290, 1333);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Runite weapons!", 6208);
NpcDialogueSend = true;
break;
case 50:
sendFrame164(6206);
sendFrame246(6210, 290, 4153);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Granite weapons with 50 strength!", 6208);
NpcDialogueSend = true;
break;
case 60:
sendFrame164(6206);
sendFrame246(6210, 290, 4587);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Dragon weapons!", 6208);
NpcDialogueSend = true;
break;
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear an Attack skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 3:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced an defence level!", 6248);
sendFrame126("@[email protected] defence level is now " + getLevelForXP(playerXP[1]) + " .", 6249);
NpcDialogueSend = true;
break;
case 4:
switch (playerLevel[1]) {
case 5:
sendFrame164(6206);
sendFrame246(6210, 290, 1141);
sendFrame126("", 6207);
sendFrame126("You can now equip Steel armor!", 6208);
NpcDialogueSend = true;
break;
case 10:
sendFrame164(6206);
sendFrame246(6210, 290, 1153);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Black armor!", 6208);
NpcDialogueSend = true;
break;
case 20:
sendFrame164(6206);
sendFrame246(6210, 290, 1143);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Mithril armor!", 6208);
NpcDialogueSend = true;
break;
case 30:
sendFrame164(6206);
sendFrame246(6210, 290, 1145);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Adamant armor!", 6208);
NpcDialogueSend = true;
break;
case 40:
sendFrame164(6206);
sendFrame246(6210, 290, 1147);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Runite armor!", 6208);
NpcDialogueSend = true;
break;
case 50:
sendFrame164(6206);
sendFrame246(6210, 290, 3122);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Granite armor with 50 strength!", 6208);
NpcDialogueSend = true;
break;
case 60:
sendFrame164(6206);
sendFrame246(6210, 290, 1149);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Dragon armor!", 6208);
NpcDialogueSend = true;
break;
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear an Defence skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 5:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced a strength level!", 6248);
sendFrame126("@[email protected] strength level is now " + getLevelForXP(playerXP[2]) + " .", 6249);
NpcDialogueSend = true;
break;
case 6:
switch (playerLevel[2]) {
case 50:
sendFrame164(6206);
sendFrame246(6210, 290, 3122);
sendFrame126("", 6207);
sendFrame126("@[email protected] can now equip Granite weaponry with 50 attack/defence!", 6208);
NpcDialogueSend = true;
break;
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear a Strength skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 7:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced a Hitpoints level!", 6248);
sendFrame126("@[email protected] Hitpoints level is now " + getLevelForXP(playerXP[3]) + " .", 6249);
NpcDialogueSend = true;
break;
case 8:
switch (playerLevel[3]) {
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear a Hitpoints skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 9:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced a Ranging level!", 6248);
sendFrame126("@[email protected] Ranging level is now " + getLevelForXP(playerXP[4]) + " .", 6249);
NpcDialogueSend = true;
break;
case 10:
switch (playerLevel[4]) {
case 5:
sendFrame164(6206);
sendFrame246(6210, 290, 843);
sendFrame126("You can use Oak Shortbows!", 6207);
sendFrame126("You can also use Oak Longbows!", 6208);
NpcDialogueSend = true;
break;
case 20:
sendFrame164(6206);
sendFrame246(6210, 290, 849);
sendFrame126("You can use Willow Shortbows!", 6207);
sendFrame126("You can also use Willow Longbows!", 6208);
NpcDialogueSend = true;
break;
case 30:
sendFrame164(6206);
sendFrame246(6210, 290, 853);
sendFrame126("You can use Maple Shortbows!", 6207);
sendFrame126("You can also use Maple Longbows!", 6208);
NpcDialogueSend = true;
break;
case 40:
sendFrame164(6206);
sendFrame246(6210, 290, 857);
sendFrame126("@[email protected] can use Yew Shortbows & Longbows!", 6207);
sendFrame126("You can also use Green Dragonhide Armor!", 6208);
NpcDialogueSend = true;
break;
case 50:
sendFrame164(6206);
sendFrame246(6210, 290, 861);
sendFrame126("@[email protected] can use Magic Shortbows & Longbows!", 6207);
sendFrame126("@[email protected] can also use Blue Dragonhide Armor!", 6208);
NpcDialogueSend = true;
break;
case 60:
sendFrame164(6206);
sendFrame246(6210, 290, 843);
sendFrame126("@[email protected] can use red Dragonhide Armor!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 70:
sendFrame164(6206);
sendFrame246(6210, 290, 843);
sendFrame126("@[email protected] can use Black Dragonhide Armor!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear a Ranging skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 11:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced a Prayer level!", 6248);
sendFrame126("@[email protected] Prayer level is now " + getLevelForXP(playerXP[5]) + " .", 6249);
NpcDialogueSend = true;
break;
case 12:
switch (playerLevel[5]) {
case 4:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer @Burst of Stength!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 7:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Clarity of Thought!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 10:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Rock Skin!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 13:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Superhuman Strength!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 16:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Improved Reflexes!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 19:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Rapid Restore!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 22:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Rapid Heal!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 25:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Protect Items!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 28:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Steel Skin!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 31:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Ultimate Strength!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 34:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Incredible Reflexes!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 37:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Protect from Magic!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 40:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Protect from Missles!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 43:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Protect from Melee!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 46:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Retribution!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 49:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Redemption!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 52:
sendFrame164(6206);
sendFrame246(6210, 290, 1718);
sendFrame126("You can use the prayer Smite!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 99:
sendFrame164(6206);
sendFrame246(6210, 290, 0000);//CHANGE 0000 TO THE SKILL CAPE ID
sendFrame126("You can now buy and wear a Prayer skillcape!", 6207);
sendFrame126("@[email protected] can buy a skill cape from ------!", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
case 13:
sendFrame164(6247);
stillgfx(199, absX, absY);
sendFrame126("@[email protected], you just advanced a Magic level!", 6248);
sendFrame126("@[email protected] Magic level is now " + getLevelForXP(playerXP[6]) + " .", 6249);
NpcDialogueSend = true;
break;
case 14:
switch (playerLevel[6]) {
case 3:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Confuse!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 5:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Water Strike!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 7:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 1 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 9:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Earth Strike!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 11:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Weaken!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 13:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Fire Strike!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 15:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Bones to Bananas!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 17:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Wind Bolt!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 19:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Curse!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 20:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Bind!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 21:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Low Level Alchemy!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 23:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Water Bolt!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 25:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Varrock Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 27:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 2 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 29:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Earth Bolt!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 31:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Lumbridge Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 33:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Telekinetic grab!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 35:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Fire Bolt!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 37:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Falador Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 39:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Crumble Undead!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 41:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Wind Blast!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 43:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Superheat Item!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 45:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Camelot Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 47:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Water Blast!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 49:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 3 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 50:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Iban Blast, ", 6207);
sendFrame126("the spell Snare, and the spell MAgic Dart!", 6208);
NpcDialogueSend = true;
break;
case 51:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Ardougne teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 53:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Earth Blast!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 55:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell High Level Alchemy!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 56:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Charge Water Orb!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 57:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 4 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 58:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Watchtower Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 59:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Fire Blast!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 60:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Bones to Peaches, Charge Earth Orb,", 6207);
sendFrame126("Claws of Guthix, Saradomin Strike, and Flames of Zamorak!", 6208);
NpcDialogueSend = true;
break;
case 61:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Trollheim Teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 62:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Wind Wave!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 63:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Charge Fire Orb!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 64:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Ape Atoll teleport!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 65:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Water Wave!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 66:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Charge Air Orb and", 6207);
sendFrame126("Vulnerability!", 6208);
NpcDialogueSend = true;
break;
case 68:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 5 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 70:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Earth Wave!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 73:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enfeeble!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 74:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Teleother Lumbridge!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 75:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Fire Wave!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 79:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Entangle!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 80:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Stun and Charge!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 82:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Teleother Falador!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 87:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Enchant Level 6 Jewelry!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
case 90:
sendFrame164(6206);
sendFrame246(6210, 290, 579);
sendFrame126("You can use the magic spell Teleother Camelot!", 6207);
sendFrame126("", 6208);
NpcDialogueSend = true;
break;
default:
NpcDialogue = 0;
NpcDialogueSend = false;
RemoveAllWindows();
break;
}
break;
Add this to packet 40