;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@Area11_Map1]
{
#IF
checkhum DQ605_001 1
#ACT
goto @Area11Map1_STEP1
break

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 4
checkitem 极乐琵琶 1

#ACT
MonClear DQ605_001
GOTO @Area11Map1_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 5
#ACT
MonClear DQ605_001
GOTO @Area11Map1_STEP4
BREAK

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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 5
#ACT
MonClear DQ605_001
GOTO @Area11Map1_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 4
checkitem 极乐琵琶 1
#ACT
MonClear DQ605_001
GOTO @Area11Map1_STEP2
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\Map.txt] @Convert_Map_0

#ACT
BREAK

[@Area11Map1_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\Map.txt] @Convert_Map_1

[@Area11Map1_STEP3]
#IF
#ACT
Enter_ok
take 极乐琵琶 1
MongenP "DQ605_001,38,54,10" 骨鬼将 1
MongenP "DQ605_001,38,54,10" 骷髅武将 10
MongenP "DQ605_001,35,58,10" 骷髅武士 10
MongenP "DQ605_001,33,55,10" 骷髅弓箭手 10
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=5"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\Map.txt] @Convert_Map_2

[@Area11Map1_STEP4]
#IF
#ACT
Enter_ok
MongenP "DQ605_001,38,54,10" 骨鬼将 1
MongenP "DQ605_001,38,54,10" 骷髅武将 10
MongenP "DQ605_001,35,58,10" 骷髅武士 10
MongenP "DQ605_001,33,55,10" 骷髅弓箭手 10

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\Map.txt] @Convert_Map_3

[@Area11Map1_STEP1]
#IF
#ACT
Enter_Fail

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\Map.txt] @Convert_Map_4

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