Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- # * Battle Log Adjustor
- # by dsiver144
- #===============================================================================
- module DSIVER144
- module BATTLE_LOG
- POSITION = [0,-15]
- BACK_COLOR = Color.new(0,0,0,255) #Solid Black (R,G,B,Alpha)
- end # BATTLE_LOG
- end # DSIVER144
- class Window_BattleLog < Window_Selectable
- include DSIVER144::BATTLE_LOG
- #--------------------------------------------------------------------------
- # * Object Initialization
- #--------------------------------------------------------------------------
- def initialize
- super(POSITION[0], POSITION[1], window_width, window_height)
- self.z = 200
- self.opacity = 0
- @lines = []
- @num_wait = 0
- create_back_bitmap
- create_back_sprite
- refresh
- end
- #----------------------------------------------------------------------------
- # * overwrite method: draw_background
- #----------------------------------------------------------------------------
- def draw_background
- new_back_color = BACK_COLOR
- @back_bitmap.clear
- @back_bitmap.fill_rect(back_rect, new_back_color)
- end
- end # Window_BattleLog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement