;;Ҫɾ

;-------------------------------------------------------

[@Main]
#SAY
Welcome to Vital Elementz Main Npc\
What can i help you with?\\
<Coming Soon/@Soon>\
<Poll Infomation/@Poll>\
<Vital Points/@VitalPoints>\
<Level 4 & 5 Learning/@TrainMagic>\
<Item Crafting/@ItemCrafting>\
<Donators Area/@Donations>\\
<Leave/@Exit>

#IF
IsAdmin
#SAY
\\
<Account Options/@Account>\
<Test/@Test>\\

[@Test]
#IF
#ACT
Mov A0 %USERMAP
Mov A1 %USERX
Mov A2 %USERY
FormatStr "%s,%s,%s,1" %A0 %A1 %A2
GroupMove %A9 %Username
#SAY
Map: {FCOLOR/10}<$OUTPUT(A0)>{FCOLOR/12}\
X: {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12}\
Y: {FCOLOR/10}<$OUTPUT(A2)>{FCOLOR/12}\
Format: {FCOLOR/10}<$OUTPUT(A9)>{FCOLOR/12}\

;-------------------------------------------------------

[@Soon]
#SAY
Soon to come:\\
The all new Vital System\
Advantage Refine\
Armour Refine\
Past Bichon War's\
Daily Lottery\

;-------------------------------------------------------

[@VitalPoints]
#SAY
What do you want to do?\\
<Exchange Vital Points for Fame Points/@ExchangeVPForFP>\
<Buy Roses/@Buy_Rose>\\
;<Advantage Refine/@RefineAdvantage>\
<Leave/@Exit>

;-------------------------------------------------------

[@ExchangeVPForFP]
#SAY
Welcome:\
{FCOLOR/10}50 Vital Points{FCOLOR/12} = {FCOLOR/10}10 Fame Point{FCOLOR/12}\\
<Trade Points/@TradePoints>\
<Leave/@Exit>

;-------------------------------

[@TradePoints]
#ACT
Loadvalue D1 "QuestDiary\System\VitalPoints.txt" [Points] %USERNAME
Mov D3 50

#IF
CheckFAME
Large D1 %D3
#ACT
Mov D4 %P9
Inc D4 10
Dec D1 %D3
SetFame %D4
SaveValue "QuestDiary\System\VitalPoints.txt" [Points] %USERNAME %D1
#SAY
Done...\\
<Leave/@Exit>\
#ELSESAY
An error has stoped this from completing...\\
This is most likely because you do not have enought\
Vital Points...\\
<Leave/@Exit>

;-------------------------------------------------------

[@Move_ToPlayer]
#CALL [Merchant\MainNpc\Tele2Player.txt] @TeleportPlayer

;-------------------------------------------------------

[@Poll]
#CALL [Merchant\MainNpc\Poll.txt] @Main_Poll

;-------------------------------------------------------

[@CharacterTransfer]
#CALL [Merchant\MainNpc\CharacterTransfer.txt] @Main_CharacterTransfer

;-------------------------------------------------------

[@RefineAdvantage]
#CALL [Merchant\MainNpc\AdvantageRefine.txt] @Main_AdvantageRefine

;-------------------------------------------------------

[@Buy_Rose]
#CALL [Merchant\MainNpc\Rose.txt] @Main_Rose

;-------------------------------------------------------

[@RenameItem]
#CALL [Merchant\MainNpc\RenameItem.txt] @Main_ItemRename

;-------------------------------------------------------

[@ItemCrafting]
#CALL [Merchant\MainNpc\Crafting.txt] @Main_Crafting

;-------------------------------------------------------

[@TrainMagic]
#CALL [Merchant\MainNpc\TrainMagic.txt] @Train_Warrior

;-------------------------------------------------------

[@Donations]
#IF
CheckNameList HasDonated.txt
#ACT
GoTo @CALL_Donations
#ELSESAY
To enter this area you must have donated...\\
<Leave/@Exit>\

;-----------------------

[@CALL_Donations]
#CALL [Merchant\MainNpc\Donations.txt] @Main_Donations

;-------------------------------------------------------

;;Ҫɾ