add the start_number offset to var_values[VAR_N] directly, instead of adding it in func_frame_num