;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@Area10_NPC1]
{
#IF
check [110] 1
check [111] 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSQL "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Area10_NPC1Read]
break

#ELSEACT
goto @NoQuest_Say
break

[@Area10_NPC1Read()]
#IF
#ACT
Mov A0 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 1
#ACT
goto @Area10_NPC1_1
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 2
#ACT
goto @Area10_NPC1_1Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 24
#ACT
goto @Area10_NPC1_2
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 25
#ACT
goto @Area10_NPC1_2Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 26
#ACT
goto @Area10_NPC1_3
break


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_0

[@Area10_NPC1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_1

[@Area10_NPC1_1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_2

[@Area10_NPC1_1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_3

#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"

[@Area10_NPC1_1Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_4

[@Area10_NPC1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_5

[@Area10_NPC1_2_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_6

[@Area10_NPC1_2_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_7

[@Area10_NPC1_2_3]
#IF
checkitem 触龙神之钟 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_8

#ACT
take 触龙神之钟 1


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_9

[@Area10_GiveUpEnd]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_10

#ACT
set [310] 1
set [182] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1=30,FLD_STATUS1_RDY=0"
Mov A0 "AreaQuest10"
Mov D0 29
Mov D1 24
Mov D2 0
Mov D3 0
Goto @EverythingReward


[@Area10_NPC1_2_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_11

#ACT
give 触龙神之钟 1
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=25"

[@Area10_NPC1_2Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_12

[@Area10_NPC1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_13

[@Area10_NPC1_3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_14

[@Area10_NPC1_3_2a]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_15

[@Area10_NPC1_3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_16

#ACT
set [310] 1
take 触龙神之钟 1
Mov A0 "AreaQuest10"
Mov D0 29
Mov D1 26
Mov D2 0
Mov D3 0
Goto @EverythingReward

FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1=30,FLD_STATUS1_RDY=0"

}

[@Area10_NPC2]
{
#IF
check [110] 1
check [111] 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSQL "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Area10_NPC2Read]

[@Area10_NPC2Read()]
#IF
#ACT
Mov A0 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 2
#ACT
goto @Area10_NPC2_1
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 3
#ACT
goto @Area10_NPC2_1Re
break


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_17

[@Area10_NPC2_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_18

[@Area10_NPC2_1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_19

[@Area10_NPC2_1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_20

[@Area10_NPC2_1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_21

[@Area10_NPC2_1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_22

#ACT
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

[@Area10_NPC2_1Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_23

}

[@Area10_NPC3]
{
#IF
check [110] 1
check [111] 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSQL "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Area10_NPC3Read]

[@Area10_NPC3Read()]
#IF
#ACT
Mov A0 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 4
#ACT
goto @Area10_NPC3_1
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 5
#ACT
goto @Area10_NPC3_1Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 6
#ACT
goto @Area10_NPC3_2
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 7
#ACT
goto @Area10_NPC3_2Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 8
#ACT
goto @Area10_NPC3_3
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 9
#ACT
goto @Area10_NPC3_3Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 10
#ACT
goto @Area10_NPC3_4
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 11
#ACT
goto @Area10_NPC3_4
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 12
#ACT
goto @Area10_NPC3_4Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 19
#ACT
goto @Area10_NPC3_5
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 20
#ACT
goto @Area10_NPC3_5Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 22
#ACT
goto @Area10_NPC3_7
break


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_24

[@Area10_NPC3_1]
#IF
checkitem 经书 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_25


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_26

[@Area10_NPC3_1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_27

[@Area10_NPC3_1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_28

[@Area10_NPC3_1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_29

[@Area10_NPC3_1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_30

[@Area10_NPC3_1_5]
#If

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_31

#ACT
take 经书 1
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=5"

[@Area10_NPC3_1Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_32

[@Area10_NPC3_2]
#IF
checkitem 金属块 30

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_33

#ACT
take 金属块 30
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=7"


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_34

[@Area10_NPC3_2Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_35

[@Area10_NPC3_3]
#IF
checkitem 蝴蝶虫消化液包 30

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_36


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_37

[@Area10_NPC3_3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_38

[@Area10_NPC3_3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_39

[@Area10_NPC3_3_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_40

[@Area10_NPC3_3_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_41

#ACT
give money 10000
give 金属块 30
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=9"

[@Area10_NPC3_3Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_42

[@Area10_NPC3_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_43

[@Area10_NPC3_4_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_44

[@Area10_NPC3_4_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_45

[@Area10_NPC3_4_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_46

[@Area10_NPC3_4_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_47

#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=12"

[@Area10_NPC3_4Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_48

[@Area10_NPC3_5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_49

[@Area10_NPC3_6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_50

[@Area10_NPC3_7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_51

#ACT
MongenP "DQ802_001,27,21,0" 邪恶钳虫 1
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=20"

[@Area10_NPC3_5Re]
#IF
checkmonmap DQ802_001 1 邪恶钳虫

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_52

#ELSEACT
MongenP "DQ802_001,27,21,0" 邪恶钳虫 2

}

[@Area10_NPC4]
{
#IF
check [110] 1
check [111] 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSQL "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Area10_NPC4Read]

[@Area10_NPC4Read()]
#IF
#ACT
Mov A0 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 9
#ACT
goto @Area10_NPC4_1
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 10
#ACT
goto @Area10_NPC4_1Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 13
#ACT
goto @Area10_NPC4_2
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 14
#ACT
goto @Area10_NPC4_2Re
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 15
#ACT
goto @Area10_NPC4_3
break

#ELSEACT
goto @NoQuest_Say

[@Area10_NPC4_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_53

[@Area10_NPC4_1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_54

#ACT
take money 10000

[@Area10_NPC4_1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_55

[@Area10_NPC4_1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_56

[@Area10_NPC4_1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_57

[@Area10_NPC4_1_5]
#IF
checkitem 金属块 30
checkitem 蝴蝶虫消化液包 30
#ACT
take 金属块 30
take 蝴蝶虫消化液包 30
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=10"
Delaygoto [Local] 30 @Area10_NPC4_1_6

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_58


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_59

[@Area10_NPC4_1_6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_60

#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"

[@Area10_NPC4_1Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_61

[@Area10_NPC4_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_62

[@Area10_NPC4_2_1]
#IF
checkitem 石模具 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_63

#ACT
take 石模具 1


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_64

[@Area10_NPC4_2_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_65

[@Area10_NPC4_2_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_66

#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=14"


[@Area10_NPC4_2Re]
#IF
Min 10 30
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=15"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_67


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_68

[@Area10_NPC4_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_69

#ACT
give 触龙神之钟 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=16"

[@Area10_NPC4_3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_70

}

[@Area10_NPC5]
{
#IF
check [110] 1
check [111] 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSQL "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Area10_NPC5Read]

[@Area10_NPC5Read()]
#IF
#ACT
Mov A0 %ARG(1)
Mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 22
#ACT
goto @Area10_NPC5_1
break

#IF
Equal A0 %USERNAME
Equal D0 29
Equal D1 23
#ACT
goto @Area10_NPC5_1Re
break


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_71

[@Area10_NPC5_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_72

[@Area10_NPC5_1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_73

#ACT
set [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSQL "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=23"

[@Area10_NPC5_1Re]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide10\ChoboGuide10.txt] @Convert_ChoboGuide10_74

}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;