;Accessory unequip script

StrenthPlus = GetItemFlag1(#TARGETID)
EndurancePlus = GetItemFlag2(#TARGETID)
WisdomPlus = GetItemFlag3(#TARGETID)
AgilityPlus = GetItemFlag4(#TARGETID)

SetUserStrengthBonus(#USERID,GetUserStrengthBonus(#USERID)-StrenthPlus)
SetUserEnduranceBonus(#USERID,GetUserEnduranceBonus(#USERID)-EndurancePlus)
SetUserWisdomBonus(#USERID,GetUserWisdomBonus(#USERID)-WisdomPlus)
SetUserAgilityBonus(#USERID,GetUserAgilityBonus(#USERID)-AgilityPlus)

Label END

Continue = 1