;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@006_Agent]
{
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [006] [GateOpen]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [006] [GateClose]

#IF
Equal P1 1
Equal P2 1
#ACT
Goto @006Agent_CannotGo
break

#IF
Equal P1 1
Equal P2 0
#ACT
Goto @006Agent_GoGo
break

#IF
Equal P1 0
Equal P2 0
#ACT
Goto @006Agent_Wait
break

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_0

[@006Agent_Wait]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_1

[@006Agent_GoGo]
begin
#IF
CheckHum DQ1602_1 30

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_2

#IF
!CheckLevel 33

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_3

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_4

[@006Agent_GoGo1]
begin
#IF
CheckHum DQ1602_1 30

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_5


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_6

#ELSEACT
Mapmove DQ1602_1 242 368
break
end


[@006Agent_CannotGo]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\006\006npc.txt] @Convert_006npc_7

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