Advertisement
mrbubble

Compatibility Patch: YEA Battle Engine & KMS Generic Gauge

Jan 15th, 2012
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.63 KB | None | 0 0
  1. #==============================================================================
  2. # Compatibility Patch :                                          v1.1 (1/15/12)
  3. #   YEA Battle Engine + KMS Generic Gauge
  4. #==============================================================================
  5. # Script by:
  6. #     Mr. Bubble
  7. #--------------------------------------------------------------------------
  8. # Place this script below both YEA Battle Engine and Generic Gauge in
  9. # the script edtior.
  10. #==============================================================================
  11.  
  12. $imported = {} if $imported.nil?
  13. $kms_imported = {} if $kms_imported.nil?
  14.  
  15. class Window_BattleStatus < Window_Selectable
  16.   if $imported["YEA-BattleEngine"] && $kms_imported["GenericGauge"]
  17.   #--------------------------------------------------------------------------
  18.   # overwrite method: draw_actor_hp
  19.   #--------------------------------------------------------------------------
  20.   def draw_actor_hp(actor, dx, dy, width = 124)
  21.     super(actor, dx, dy, width - 4)
  22.   end
  23.    
  24.   #--------------------------------------------------------------------------
  25.   # overwrite method: draw_actor_mp
  26.   #--------------------------------------------------------------------------
  27.   def draw_actor_mp(actor, dx, dy, width = 124)
  28.     super(actor, dx, dy, width - 4)
  29.   end
  30.    
  31.   #--------------------------------------------------------------------------
  32.   # overwrite method: draw_actor_tp
  33.   #--------------------------------------------------------------------------
  34.   def draw_actor_tp(actor, dx, dy, width = 124)
  35.     super(actor, dx, dy, width - 4)
  36.   end
  37.  
  38.   end # if $imported
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement