loop do;Graphics.update;@yesno.update @yesno.update_cursor_rect;Input.update if Input.trigger?(Input::C) if $game_party.gold < $game_variables[10] and @yesno.index == 0 $game_system.se_play($data_system.buzzer_se);else $game_system.se_play($data_system.decision_se) case @yesno.index; when 0;$game_switches[10] = true ;break; when 1;$game_switches[10] = false;break; end;end;end;end; @yesno.dispose;@gold_window.dispose;