;;Ҫɾ
[@ChangeFlagShape]
{
#IF
IsGuildMaster
#SAY
What do you want to do?\\
<Change Flag Shape./@GuildFlagShapeChange> \
<Change Flag Colour./@GuildFlagColorChange> \ \
<Leave/@exit> \

#ELSESAY
You are not a {FCOLOR/10}Guild Master{FCOLOR/12}\ \
<Leave/@exit>

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

[@GuildFlagShapeChange]
#IF
checkgold 100000
#SAY
what shape flag do you want?\
Current Flag Shape: {FCOLOR/10}<$OUTPUT(D0)>{FCOLOR/12}\\
<Shape 0/@FLAGnum(0)>\
<Shape 1/@FLAGnum(1)>\
<Shape 2/@FLAGnum(2)>\
<Shape 3/@FLAGnum(3)>\
<Shape 4/@FLAGnum(4)>\
<Shape 5/@FLAGnum(5)>\
<Shape 6/@FLAGnum(6)>\
<Shape 7/@FLAGnum(7)>\
<Shape 8/@FLAGnum(8)>\
<Shape 9/@FLAGnum(9)>\
<Shape 10/@FLAGnum(10)>\
<Shape 11/@FLAGnum(11)>\\
<Leave/@exit>

#ELSESAY
You do not have {FCOLOR/10}100000{FCOLOR/12} gold...\ \
<Leave/@exit>

[@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
Do you want to change <$GUILDNAME>'s flag?\\
<Guild Flag Colour/@GuildFlagColorChange>\
<Guild Flag Shape/@GuildFlagShapeChange>\
<Set New Guild Flag/@ThanksColor>\ \
<Leave/@exit>

[@ThanksColor]
#IF
checkgold 100000
#ACT
Take Gold 100000
ApplyFlag %D0 %D1 %D2 %D3
CLOSE
#ELSESAY
You do not have {FCOLOR/10}100000{FCOLOR/12} gold...\ \
<Leave/@exit>
}
;;Ҫɾ