;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@ChangeFlagShape]
{
#IF
IsGuildMaster

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_0


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_1

[@GuildFlagColorChange]
#ACT
movr D1 16
movr D2 16
movr D3 16
goto @ResultFlag

[@GuildFlagShapeChange]
#IF
checkgold 100000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_2


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_3

[@FLAGnum()]
#ACT
mov D0 %ARG(1)
movr D1 16
movr D2 16
movr D3 16
goto @ResultFlag

[@ResultFlag]
#ACT
TestFlag %D0 %D1 %D2 %D3

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_4

[@ThanksColor]
#IF
checkgold 100000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_5

#ACT
take ½ð±Ò 100000
ApplyFlag %D0 %D1 %D2 %D3

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\GuildFlagChange.txt] @Convert_GuildFlagChange_6

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