Can anyone spot what is wrong with this script please, iv tried over and over and cant figure it out, the part that im sure is broken is when the item is being moved to a rusted, iv put a <output(A3)> that will show if the item has been moved to A3 properly but it is always blank and the scipt always fail, and yes all the items needed are always equipped.
Code:
#SAY
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}________________________::::BlueMoon::::________\
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}:::::::::::<[ Back ]/@main>:::::::::::<[ Home ]/@main>::::::::::<[ X ]/@EXIT>:::::::::::\
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/8}\
It cost 1 Bullion to work on a rusted item. Choose the item to work on.\ \
Work on a rusted <DemonTemptation/@NumaAreaItemSegiongNEXT(DemonTemptation,1)> \
Work on a rusted <WarSpiritWheel/@NumaAreaItemSegiongNEXT(WarSpiritWheel,0)> \
Work on a rusted <LawOfMagic/@NumaAreaItemSegiongNEXT(LawOfMagic,1)> \
Work on a rusted <OriginationBracelet/@NumaAreaItemSegiongNEXT(OriginationBracelet,2)> \
Work on a rusted <SoulPurifier/@NumaAreaItemSegiongNEXT(SoulPurifier,2)> \
Work on a rusted <DragonLord/@NumaAreaItemSegiongNEXT(DragonLord,1)> \
Work on a rusted <TrueLordRing/@NumaAreaItemSegiongNEXT(TrueLordRing,0)> \
Work on a rusted <SoulRulerRing/@NumaAreaItemSegiongNEXT(SoulRulerRing,2)> \
Work on a rusted <ImperialValor/@NumaAreaItemSegiongNEXT(ImperialValor,0)> \ \
[COLOR=#ff0000][@NumaAreaItemSegiongNEXT()]
#ACT
Mov A1 %ARG(1)
Mov D0 %ARG(2)
Mov A3 ""
goto @NumaAreaItemSegiongNEXT22
[@NumaAreaItemSegiongNEXT22]
#ACT
Addstr A3 %A1
Addstr A3 "(Rusted)"[/COLOR]
#IF
checkitem Bullion 1
checkitem %A3 1
#ELSEACT
break
#ELSESAY
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}________________________::::BlueMoon::::________\
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}:::::::::::<[ Back ]/@main>:::::::::::<[ Home ]/@main>::::::::::<[ X ]/@EXIT>:::::::::::\
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/8}\
You don't have enough material. Check your material one more time.\ \
<Exit/@exit>\
<$OUTPUT(A3)>\\
#ACT
Take Bullion 1
Take %A3 1
goto @NumaAreaItemSegiongNEXT1#