;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCQuest_Check]
{
#ACT
Mov D0 0

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17baska1-npcroom1.txt] @Convert_17baska1-npcroom1_0

#IF
check [205] 1
check [405] 0

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17baska1-npcroom1.txt] @Convert_17baska1-npcroom1_1

#ACT
Mov D0 1

#IF
!Equal D0 1
#ACT
goto @NoQuest_Say
break


[@NoQuest_Say]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17baska1-npcroom1.txt] @Convert_17baska1-npcroom1_2

[@baska1Quest_start1]
#IF
#ACT
FormatStr "FLD_MADOUSER='%s'" %USERNAME
ReadValueSql "TBL_HonChonMadoQuest" %A9 "FLD_MADOMAIN" [@Madomain_0]

[@Madomain_0()]
#ACT
mov D1 %ARG(1)


#IF
DAYOFWEEK FRI
Equal D1 4
#ACT
goto @baska1Quest_start1_A
break

#IF
DAYOFWEEK FRI
Equal D1 5
#ACT
goto @baska1Quest_start1_AA
break

#IF
DAYOFWEEK SAT
Equal D1 5
#ACT
goto @baska1Quest_start1_AA
break

#IF
#ACT
goto @NoQuest_Say
break

[@baska1Quest_start1_A]
#CALL [HonChondo\MadoNpcBaska.txt] @MadoTimeQuestBaska_A


[@baska1Quest_start1_AA]
#CALL [HonChondo\MadoNpcBaska.txt] @MadoTimeQuestsundaynpcA
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;