Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------------------------------------------------------------------
- # ++ Snippet ++ Increase Battle Status Window Height - by Mr. Bubble
- #-----------------------------------------------------------------------------
- # Increases the heights of battle status window, actor command window,
- # and party command window to accommodate 5 lines of actor status and shifts
- # them up accordingly.
- #
- # This snippet is admittedly very crude.
- #-----------------------------------------------------------------------------
- # ++ INSTALLATION ++
- # Place below the Core Sideview scripts and below ATB scripts (if you are
- # using the ATB).
- #
- # This snippet also works with the default battle system.
- #
- # If you are using the Tankentai ATB, the ATB bars positions will be offset.
- # To fix this, go into the ATB Configurations and change the
- # coordinates for each gauge in ATB_PARTY_POSITION.
- #-----------------------------------------------------------------------------
- class Scene_Battle < Scene_Base
- V_HEIGHT = 152
- alias create_info_viewport_y_extend create_info_viewport
- def create_info_viewport
- create_info_viewport_y_extend
- @info_viewport.rect.y = 264
- @info_viewport.rect.height = V_HEIGHT
- @status_window.height = V_HEIGHT
- @actor_command_window.height = V_HEIGHT
- if !$imported.nil? && $imported["TankentaiATB"]
- @party_command_window.y -= 24
- else
- @party_command_window.height = V_HEIGHT
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement