anchor.diff:    void copyFromJSON(JSONObject json) {
        // print("copying from json");
         importantWord = json[ActionEffect.IMPORTANTWORD];
  -      amountIndex = amounts.indexOf(int.parse(json[ActionEffect.IMPORTANTINT]));
  +      importantInt = (int.parse(json[ActionEffect.IMPORTANTINT]));
     }
   
     @override
  
positive.code:             o.value = "$amount";
              o.text = "$amount";
              selectAmount.append(o);
              if(amount == amounts[amountIndex]) {
                  print("selecting ${o.value}");
                  o.selected = true;
              }else {
  
negative.code:       }
  
        for(OptionElement o in selectAmount.options) {
            if(int.parse(o.value) == importantInt) {
                o.selected = true;
                return;
            }
  