- if Input.trigger?(Input::C)
- unless @selected == nil
- if $game_system.cust_battle == "TEAM"
- if @selected == @active_battler
- @windows["actor"].active = true
- @windows["actor"].visible = true
- @windows["help"].visible = true
- @tbs_phase = 1
- @active_battler.blink = false unless @active_battler == nil
- clear_tr_sprites
- return
- end
- unless @selected.is_a?(Game_Enemy) or $game_system.acted.include?(@selected)
- @tbs_phase = 1
- @active_battler.blink = false unless @active_battler == nil
- set_active_battler(@selected)
- clear_tr_sprites
- return
- else
- for actor in actors + neutral
- if $game_system.acted.include?(actor)
- next
- else
- @cursor.x = actor.x
- @cursor.y = actor.y
- end
- end
- end
- elsif $game_system.cust_battle == "ATB" and @selected == @active_battler
- @windows["actor"].active = true
- @windows["actor"].visible = true
- @windows["help"].visible = true
- @tbs_phase = 1
- clear_tr_sprites
- return
- else
- unless @active_battler == nil
- Sound.play_decision
- @cursor.x = @active_battler.x
- @cursor.y = @active_battler.y
- clear_tr_sprites
- return
- end
- end
- clear_tr_sprites
- return
- else
- Sound.play_decision
- if $game_system.cust_battle == "TEAM"
- for actor in actors + neutral
- if $game_system.acted.include?(actor)
- next
- else
- @cursor.x = actor.x
- @cursor.y = actor.y
- @windows["actor"].active = true
- @windows["actor"].visible = true
- @windows["help"].visible = true
- @tbs_phase = 1
- end
- end
- end
- unless @active_battler == nil
- @cursor.x = @active_battler.x
- @cursor.y = @active_battler.y
- end
- clear_tr_sprites
- return
- end
- end
- end







