src/net/sourceforge/kolmafia/request/GenieRequest.java
// You have 1 wish left today.
You have 1 wish left today.
You have 1 wish left today .
public static void visitChoice(final String responseText) {
    Matcher matcher = GenieRequest.WISH_PATTERN.matcher(responseText);
    if (matcher.find()) {
      int wishesLeft = Integer.parseInt(matcher.group(1));
      Preferences.setInteger("_genieWishesUsed", 3 - wishesLeft);
      GenieRequest.usingPocketWish = false;
    } else if (responseText.contains("You are using a pocket wish!")) {
      GenieRequest.usingPocketWish = true;
    }
  }
public static void visitChoice ( final String responseText ) { Matcher matcher = GenieRequest . WISH_PATTERN . matcher ( responseText ) ; if ( matcher . find ( ) ) { int wishesLeft = Integer . parseInt ( matcher . group ( 1 ) ) ; Preferences . setInteger ( "_genieWishesUsed" , 3 - wishesLeft ) ; GenieRequest . usingPocketWish = false ; } else if ( responseText . contains ( "You are using a pocket wish!" ) ) { GenieRequest . usingPocketWish = true ; } }
You have 1 wish left today.
You have 1 wish left today .