DarkSoul144

Edit Scene Equip

Dec 6th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. class Window_EquipStatus < Window_Base
  2. #--------------------------------------------------------------------------
  3. # * Refresh
  4. #--------------------------------------------------------------------------
  5. def refresh
  6. contents.clear
  7. draw_actor_name(@actor, 4, 0) if @actor
  8. # Sửa lại cho đúng theo vị trí dòng bạn muốn xóa.
  9. remove_lines = [1,2,4]
  10. count = 0
  11. 6.times do |i|
  12. next if remove_lines.include?(i + 1)
  13. draw_item(0, line_height * (1 + count), 2 + i)
  14. count += 1
  15. end
  16. end
  17. end
Add Comment
Please, Sign In to add comment