;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


[@Basic5_Wangdaein_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Wang21_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 2
#ACT
GOTO @Wangdaein21_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 1
#ACT
GOTO @Wangdaein21_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_0

#ACT
BREAK

[@Wangdaein21_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_1

[@Wangdaein21_STEP1_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_2

[@Wangdaein21_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_3

}



[@Basic5_Wangsopal_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Wangsopal21_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 3
#ACT
GOTO @Wangsopal_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 2
#ACT
GOTO @Wangsopal_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_4

#ACT
BREAK


[@Wangsopal_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_5

[@Wangsopal_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_6

[@Wangsopal_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_7

[@Wangsopal_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_8

[@Wangsopal_STEP1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_9

[@Wangsopal_STEP1_5]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_10

[@Wangsopal_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_11

}




[@Basic5_Wangyuroung_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Wangyuroung_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 11
#ACT
GOTO @Wangyuroung_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 10
#ACT
GOTO @Wangyuroung_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 9
#ACT
GOTO @Wangyuroung_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_12

#ACT
BREAK

[@Wangyuroung_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_13

[@Wangyuroung_STEP1_1]
#IF
checkitem Áé»ê»¤ÎÀ 1
checkitem ¼¦Ñª 1
#ACT
take Áé»ê»¤ÎÀ 1
take ¼¦Ñª 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=10"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_14


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_15

#ELSEACT
break


[@Wangyuroung_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_16

[@Wangyuroung_STEP2_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_17

[@Wangyuroung_STEP2_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_18

[@Wangyuroung_STEP2_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_19

[@Wangyuroung_STEP2_4]
#IF
#ACT
Mov A0 "AreaQuest5"
Mov D0 2
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_20

[@Wangyuroung_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_21

}




[@Basic5_Euihyun_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Euihyun_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 4
#ACT
GOTO @Euihyun_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 3
#ACT
GOTO @Euihyun_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_22

#ACT
break

[@Euihyun_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_23

[@Euihyun_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_24

[@Euihyun_STEP1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_25

[@Euihyun_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_26

}




[@Basic5_Yunbal_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Yunbal_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 9
#ACT
GOTO @Yunbal_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 8
#ACT
GOTO @Yunbal_STEP5
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 7
#ACT
GOTO @Yunbal_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 6
#ACT
GOTO @Yunbal_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 5
#ACT
GOTO @Yunbal_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 4
#ACT
GOTO @Yunbal_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_27

#ACT
BREAK


[@Yunbal_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_28

[@Yunbal_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_29

[@Yunbal_STEP1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=5"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_30

[@Yunbal_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_31

[@Yunbal_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_32

[@Yunbal_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_33

[@Yunbal_STEP3_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=7"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_34

[@Yunbal_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_35

[@Yunbal_STEP5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_36

[@Yunbal_STEP5_1]
#IF
checkitem Áé»ê»¤ÎÀ 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_37


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_38

#ELSEACT
break


[@Yunbal_STEP5_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_39

[@Yunbal_STEP5_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_40

[@Yunbal_STEP5_4]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=9"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_41

[@Yunbal_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_42

}




[@Basic5_Bichunkanli_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Bichunkanli_Next2]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 24
#ACT
GOTO @Bichunkanli1_STEP7
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 14
#ACT
GOTO @Bichunkanli1_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 13
#ACT
GOTO @Bichunkanli1_STEP5
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 12
#ACT
GOTO @Bichunkanli1_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 11
#ACT
GOTO @Bichunkanli1_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 8
#ACT
GOTO @Bichunkanli1_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 7
#ACT
GOTO @Bichunkanli1_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_43

#ACT
BREAK

[@Bichunkanli1_STEP1]
#IF
#ACT
give Áé»ê»¤ÎÀ 1
Mov A0 "AreaQuest5"
Mov D0 1
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=8"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_44

[@Bichunkanli1_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_45

[@Bichunkanli1_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_46

[@Bichunkanli1_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_47

[@Bichunkanli1_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_48

[@Bichunkanli1_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_49

[@Bichunkanli1_STEP3_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_50

[@Bichunkanli1_STEP3_4]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=12"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_51

[@Bichunkanli1_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_52

[@Bichunkanli1_STEP5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_53

[@Bichunkanli1_STEP5_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_54

[@Bichunkanli1_STEP5_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=14"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_55

[@Bichunkanli1_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_56

[@Bichunkanli1_STEP7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_57

[@Bichunkanli1_STEP7_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_58

[@Bichunkanli1_STEP7_2]
#IF
checkitem ²»ËÀÅÆ 1
#ACT
SET [199] 0
SET [305] 1
Mov A0 "AreaQuest5"
Mov D0 3
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=22"
Take ²»ËÀÅÆ 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_59


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_60

#ELSEACT
break

}








[@Basic5_Chongmungja_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Chongmungja_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 20
#ACT
GOTO @Chongmungja_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 19
#ACT
GOTO @Chongmungja_STEP5
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 18
#ACT
GOTO @Chongmungja_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 17
#ACT
GOTO @Chongmungja_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 13
#ACT
GOTO @Chongmungja_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 12
#ACT
GOTO @Chongmungja_STEP1
BREAK



#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_61

#ACT
BREAK


[@Chongmungja_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_62

[@Chongmungja_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_63

[@Chongmungja_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_64

[@Chongmungja_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_65

[@Chongmungja_STEP1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_66

[@Chongmungja_STEP1_5]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=13"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_67

[@Chongmungja_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_68

[@Chongmungja_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_69

[@Chongmungja_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_70

[@Chongmungja_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_71

[@Chongmungja_STEP3_3]
#IF
#ACT
SET [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=18"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_72

[@Chongmungja_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_73

[@Chongmungja_STEP5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_74

[@Chongmungja_STEP5_1]
#IF
checkitem É®ÂÂ½©Ê¬¹Ç 1
#ACT
SET [199] 0
take É®ÂÂ½©Ê¬¹Ç 1
give »ÙÃð»¤Éí·û 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=20"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_75


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_76

#ELSEACT
break

[@Chongmungja_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_77

}






[@Basic5_Serjeon1_21]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Serjeon1_Next]

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 22
#ACT
GOTO @SerjeonNpc3_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 21
#ACT
GOTO @SerjeonNpc3_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 20
#ACT
GOTO @SerjeonNpc3_STEP1
BREAK


#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 16
#ACT
GOTO @SerjeonNpc_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 15
#ACT
GOTO @SerjeonNpc_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 14
#ACT
GOTO @SerjeonNpc_STEP1
BREAK


#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 6
#ACT
GOTO @Serjeon_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 5
#ACT
GOTO @Serjeon_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_78

#ACT
BREAK


[@Serjeon_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_79

[@Serjeon_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_80

[@Serjeon_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_81

[@Serjeon_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_82

[@Serjeon_STEP1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_83

[@Serjeon_STEP1_5]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=6"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_84

[@Serjeon_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_85

[@SerjeonNpc_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_86

[@SerjeonNpc_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_87

[@SerjeonNpc_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_88

[@SerjeonNpc_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_89

[@SerjeonNpc_STEP1_4]
#IF
#ACT
MongenP "DQ201_001,22,25,5" ½©Ê¬1 5
MongenP "DQ201_001,22,25,2" ½©Ê¬2 5
MongenP "DQ201_001,22,25,5" ½©Ê¬3 5
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=16"
Delaygoto [Local] 180 @SerjeonNpc_STEP1_4Time


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_90

[@SerjeonNpc_STEP1_4Time]
#IF
EQUAL "DQ201_001" %USERMAP
checkmonmap DQ201_001 1
#ACT
Map 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=15"
delaygoto [local] 3 @SerjeonNpc3_say2

#ELSEACT
BREAK

[@SerjeonNpc3_say2]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_91

#ELSEACT
break

[@SerjeonNpc_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_92

[@SerjeonNpc_STEP3]
#IF
checkmonmap DQ201_001 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_93


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_94

[@SerjeonNpc_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_95

[@SerjeonNpc_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_96

[@SerjeonNpc_STEP3_3]
#IF
#ACT
map 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=17"
delaygoto [local] 3 @SerjeonNpc_Step3_4

[@SerjeonNpc_Step3_4]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_97

[@SerjeonNpc3_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_98

[@SerjeonNpc3_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_99

[@SerjeonNpc3_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_100

[@SerjeonNpc3_STEP1_3]
#IF
#ACT
MongenP "DQ202_001,23,25,3" ½©Ê¬1 5
MongenP "DQ202_001,23,25,2" ½©Ê¬2 5
MongenP "DQ202_001,23,25,3" ½©Ê¬3 5
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=22"
Delaygoto [Local] 180 @SerjeonNpc3_STEP1_4Time


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_101

[@SerjeonNpc3_STEP1_4Time]
#IF
EQUAL "DQ202_001" %USERMAP
checkmonmap DQ202_001 1
#ACT
Map 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=21"
delaygoto [local] 3 @SerjeonNpc3_say1

[@SerjeonNpc3_say1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_102

#ELSEACT
break

[@SerjeonNpc3_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_103

[@SerjeonNpc3_STEP3]
#IF
checkmonmap DQ202_001 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_104


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_105

[@SerjeonNpc3_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_106

[@SerjeonNpc3_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_107

[@SerjeonNpc3_STEP3_3]
#IF
#ACT
SET [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=23"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_108

[@SerjeonNpc3_STEP3_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_109

[@SerjeonNpc3_STEP3_5]
#IF
#ACT
map 0
delaygoto [local] 3 @SerjeonNpc3_say3

[@SerjeonNpc3_say3]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide5\ChoBoGuide5.txt] @Convert_ChoBoGuide5_110

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