Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Config
- module FF9_Help
- Window_EquipSlot = Window_Selectable
- end
- end
- class Window_EquipSlot < Window_Selectable
- alias :griver_ff9_help_window_equipslot_process_handling :process_handling
- def process_handling
- griver_ff9_help_window_equipslot_process_handling
- return unless open? && active
- if @actor
- if $ff9_help_active
- Config::FF9_Help::Deactivate_SE.play if ff9_help_open? && Input.trigger?(Config::FF9_Help::Toggle_Key) if Config::FF9_Help::Deactivate_SE != nil
- return ff9_help_toggle if Input.trigger?(Config::FF9_Help::Toggle_Key)
- else
- Config::FF9_Help::Activate_SE.play if ff9_help_avalaible? && Input.trigger?(Config::FF9_Help::Toggle_Key) if Config::FF9_Help::Activate_SE != nil
- return ff9_help_toggle if ff9_help_avalaible? && Input.trigger?(Config::FF9_Help::Toggle_Key)
- end
- end
- end
- def ff9_help_text
- Config::FF9_Help::Window_EquipSlot[@actor.equips[index].name]
- end
- def ff9_help_avalaible?
- Config::FF9_Help::Window_EquipSlot.include?(@actor.equips[index].name) rescue return
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement