while(iS.nextFieldInstruction() != null){
fi = (FieldInstruction)iS.current();
if((fi instanceof GETFIELD) && (fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(character.className+'.'+anim)){
count++;
if(count==2){
while(iS.nextGETFIELD() != null){
GETFIELD gf = ((GETFIELD)iS.current());
if(gf.getClassName(cpg).equals(character.className)){
character.addField("Motion", gf.getFieldName(cpg));
return SearchResult.Success;
}