Advertisement
TheSixth

Battle QTE System - Theo's SBS Compatibility Patch by Sixth

Sep 2nd, 2015
1,980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 3.32 KB | None | 0 0
  1. #===============================================================================
  2. # * [ACE] Battle QTE System - Theo's TSBS Compatibility Patch
  3. #===============================================================================
  4. # * Made by: Sixth (www.rpgmakervxace.net, www.forums.rpgmakerweb.com)
  5. # * Version: 1.0
  6. # * Updated: 17/02/2015
  7. # * Requires:
  8. #   ~ Scripts: Wanabe's LoadSo
  9. #              FenixFyreX's FyxInput
  10. #              KGC's Bitmap Extension
  11. #              Theo's Sideview Battle System
  12. #              Sixth's Battle QTE System
  13. #   ~ Files: msvcrt-ruby191.dll
  14. #            fyxinput.so
  15. #            TRGSSX.dll
  16. #-------------------------------------------------------------------------------
  17. # * < Change Log >
  18. #-------------------------------------------------------------------------------
  19. # * Version 1.0 (16/02/2015)
  20. #   - Initial release.
  21. #-------------------------------------------------------------------------------
  22. # * < Description >
  23. #-------------------------------------------------------------------------------
  24. # * This script will fix the QTE after-effects in Theo's SBS.
  25. #   Without this, some QTE effects won't work!
  26. #-------------------------------------------------------------------------------
  27. # * < Installation >
  28. #-------------------------------------------------------------------------------
  29. # * Put this script below my Battle QTE System but above Main!
  30. #-------------------------------------------------------------------------------
  31. # * < Compatibility Info >
  32. #-------------------------------------------------------------------------------
  33. # * Well, it is a compatibility patch, so it got no issues yet. :P
  34. # * I aliased one method in Scene_Battle:
  35. #   - tsbs_apply_item
  36. #-------------------------------------------------------------------------------
  37. # * < Known Issues >
  38. #-------------------------------------------------------------------------------
  39. # * No known issues so far.
  40. #-------------------------------------------------------------------------------
  41. # * < Terms of Use >
  42. #-------------------------------------------------------------------------------
  43. # * Free to use for whatever purposes you want.
  44. # * Credit me (Sixth) in your game, pretty please! :P
  45. # * Posting modified versions of this script is allowed as long as you notice me
  46. #   about it with a link to it!
  47. #===============================================================================
  48. $imported = {} if $imported.nil?
  49. $imported["SixthBattleQTE-TSBSPatch"] = true
  50. #===============================================================================
  51. # No settings here! I said no, shoo-shoo! :P
  52. #===============================================================================
  53. class Scene_Battle < Scene_Base
  54.  
  55.   alias sixth_qte_effects_tsbs3344 tsbs_apply_item
  56.   def tsbs_apply_item(target, item, subj = @subject)
  57.     if @subject.is_a?(Game_Actor) && !item.qte_effects.nil?
  58.       if @success != nil
  59.         apply_qte_effects(@subject,item,@subject.qte_success,:user)
  60.         apply_qte_effects(target,item,@subject.qte_success,:target)
  61.       end
  62.     end
  63.     sixth_qte_effects_tsbs3344(target, item, subj = @subject)
  64.   end
  65.  
  66. end
  67. #==============================================================================
  68. # !!END OF SCRIPT - OHH, NOES!!
  69. #==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement