Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##------
- ## This snippet fixes a compatibility issue between CPBE and Bubble Mix command
- ## when a mix skill is set as a character's command. The proper ordering of
- ## these three scripts is CPBE, Bubble Mix, then this snippet.
- ## - Neon Black - 12.23.2012
- ##------
- class Scene_Battle < Scene_Base ## Checks if the two scripts are present.
- if $imported["BubsMix"] && $imported["CP_BATTLEVIEW_2"]
- def command_new_comms(skl = nil)
- skill = skl ? skl : $data_skills[@actor_command_window.current_ext]
- if skill.mix ## Checks if the skill is a mix skill.
- @mix_window.return_selected_items ## Does stuff.
- @mix_window.last_window = :yea_bcl
- @mixing = true
- @skill_window.hide
- @mix_window.refresh
- @mix_window.show.activate.select(0)
- else ## Does more stuff.
- BattleManager.actor.input.set_skill(skill.id)
- if !skill.need_selection?
- next_command
- elsif skill.for_opponent?
- select_enemy_selection
- else
- select_actor_selection
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement