get the amount of candy required to do a powerup concode_field_sep Map<Float,Float> LEVEL_CPMULTIPLIER concode_field_sep int getMaxCp concode_elem_sep float getLevel concode_elem_sep int getCpAfterPowerup concode_elem_sep int getStartdustCostsForPowerup concode_elem_sep float getLevelFromCpMultiplier concode_elem_sep int getMaxCpForTrainerLevel
int function ( float arg0 , int arg1 ) { float loc0 = getLevelFromCpMultiplier ( arg0 ) ; if ( loc0 <= 13 && arg1 <= 20 ) { return 1 ; } if ( loc0 <= 21 && arg1 <= 36 ) { return 2 ; } if ( loc0 <= 31 && arg1 <= 60 ) { return 3 ; } return 4 ; }