//puts in grace period if set CALLSET_ENTRY (cryoprison, single_ball_play) { if (flag_test(FLAG_IS_CRYOPRISON_MB_RUNNING)) { mb_mode_end_ball (&cryoprison_mode); end_super_jackpot_reminder(); combo_init(); diverter_check(); enable_back_in_the_fridge(); //at completion of our 4th MB we enable the wizard mode //this acts as kind of a grace period for the jackpots task_sleep_sec(3); flag_off(FLAG_IS_CRYOPRISON_MB_RUNNING); jackpot_reset(); } }//end of function
//Also puts in grace period if set CALLSET_ENTRY (fortress, single_ball_play) { //kill the 5 sec trough recount callset_invoke (mb_trough_recount_timer_exit); //fortress is only a 2 ball MB so there is a possibility of //getting a quick drain and immediately losing the MB here // //incorporating a ball save here makes sense, but if the ball save //task gets stuck because the task ended abnormally, which has //happened, then we are stuck in a MB infinite loop // if (is_fortress_running && !fortress_ballsave ) { if (is_fortress_running) { mb_mode_end_ball (&fortress_mode); end_super_jackpot_reminder(); combo_init(); //this acts as kind of a grace period for the jackpots task_sleep_sec(3); is_fortress_running = FALSE; jackpot_reset(); diverter_check(); } }//end of function
CALLSET_ENTRY (combo, valid_playfield) { combo_init(); }
static void prefs_init() { combo_init((ComboBoxElements **) &oss_widgets[0].data.combo.elements, &oss_widgets[0].data.combo.n_elements); }