;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@main]
{
begin
#IF
check [777] 1
check [778] 0
#ACT
Goto @setmission
#ELSEACT
break



[@setmission]
begin
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [024] [MonCount]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess]

#IF
Large P1 10
Equal P2 0
#ACT
Goto @noCount

#IF
Equal P2 1
#ACT
break
#ELSEACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [024] [MonCount]
Inc P1 1
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [MonCount] %P1
end

[@noCount]
begin
#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess] 1
set [778] 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\Mon_024.txt] @Convert_Mon_024_0

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