;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@HelperHonChonMaDoQuest]
{
#IF
Check [207] 1
#ACT
FormatStr "FLD_MADOHAVEUSER='%s'" %USERNAME
ReadValueSql "TBL_MadoHaveUserQuest" %A9 "FLD_MADOHAVEUSER,FLD_MADOUSERCONTENT,FLD_MADOUSERCHECK" [@HelperHonChonMaDoQuest_PreCheck]

[@HelperHonChonMaDoQuest_PreCheck()]
#IF
#ACT
Mov A8 %ARG(1)
mov D0 %ARG(2)
Mov D1 %ARG(3)

#IF
Equal A8 ""

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_0

#ACT
break

#IF
Equal D0 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_1

#ACT
break

#IF
Equal D0 2

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_2

#ACT
break

#IF
Large D0 2
Small D0 7

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_3

#ACT
break

#IF
Equal D0 7

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_4

#ACT
break

#IF
Equal D0 8

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_5

#ACT
break

#IF
Large D0 8
Small D0 12

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_6

#ACT
break

#IF
Equal D0 12
Small D1 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_7

#ACT
break

#IF
Equal D0 12
Large D1 1
Small D1 4

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_8

#ACT
break

#IF
Equal D0 13

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_9

#ACT
break

#IF
Large D0 13


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\HonChonMado\HelperHonChonMaDoBook.txt] @Convert_HelperHonChonMaDoBook_10

#ACT
break
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;