Advertisement
khanhdu

☆ $D13x - Window Skins

Jun 10th, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 33.43 KB | None | 0 0
  1. if true # << Make true to use this script, false to disable.
  2. #===============================================================================
  3. #
  4. # ☆ $D13x - Window Skins
  5. # -- Author   : Dekita
  6. # -- Version  : 1.1
  7. # -- Level    : Easy / Normal
  8. # -- Requires : N/A
  9. # -- Engine   : RPG Maker VX Ace.
  10. #
  11. #===============================================================================
  12. # ☆ Import
  13. #-------------------------------------------------------------------------------
  14. $D13x={}if$D13x==nil
  15. $D13x[:Window_Skins]=true
  16. #===============================================================================
  17. # ☆ Updates
  18. #-------------------------------------------------------------------------------
  19. # D /M /Y
  20. # o1/o4/2o13 - Added More Window Cutomisation,
  21. # 26/o3/2o13 - Started, Finished,
  22. #
  23. #===============================================================================
  24. # ☆ Introduction
  25. #-------------------------------------------------------------------------------
  26. # This script allows each window to have its own unique windowskin, hue
  27. # and opacity.
  28. #
  29. #===============================================================================
  30. # ★☆★☆★☆★☆★☆★☆★☆★ TERMS AND CONDITIONS: ☆★☆★☆★☆★☆★☆★☆★☆★☆
  31. #===============================================================================
  32. # 1. You MUST give credit to "Dekita" !!
  33. # 2. You are NOT allowed to repost this script.(or modified versions)
  34. # 3. You are NOT allowed to convert this script.
  35. # 4. You are NOT allowed to use this script for Commercial games.
  36. # 5. ENJOY!
  37. #
  38. # "FINE PRINT"
  39. # By using this script you hereby agree to the above terms and conditions,
  40. #  if any violation of the above terms occurs "legal action" may be taken.
  41. # Not understanding the above terms and conditions does NOT mean that
  42. #  they do not apply to you.
  43. # If you wish to discuss the terms and conditions in further detail you can
  44. # contact me at http://dekitarpg.wordpress.com/
  45. #
  46. #===============================================================================
  47. # ☆ Instructions
  48. #-------------------------------------------------------------------------------
  49. # Place Below " ▼ Materials " and Above " ▼ Main " in your script editor.
  50. #
  51. #===============================================================================
  52. # ☆ HELP
  53. #-------------------------------------------------------------------------------
  54. # Remember to put your windowskins into the new folder (defined below)
  55. #
  56. #===============================================================================
  57. module WindowSkins
  58. #===============================================================================
  59.   #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  60.   # ☆ General Settings
  61.   #--------------------------------------------------------------------------
  62.   # This is where you set the folder, that windowskins should be placed in.
  63.   Folder = "Graphics/$D13x/Windows/"
  64.   #--------------------------------------------------------------------------
  65.   Skins={ # << KEEP !!
  66.   #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  67.   # ☆ Window Settings
  68.   #--------------------------------------------------------------------------
  69.   # This is where you set the windowskin for each window.
  70.   # Simply put a # at the start of lines you want to keep the default
  71.   # :window type      => ["Skin Name"   , hue,  opacity]
  72.   #--------------------------------------------------------------------------
  73.     :default          => ["PWI_Style_Gol",   0,      225],
  74.   #--------------------------------------------------------------------------
  75.   # Menu Windows
  76.     :menu_status      => ["PWI_Style_Blu",   0,      225],
  77.     :menu_command     => ["PWI_Style_Blu",   0,      225],
  78.     :menu_actor       => ["PWI_Style_Blu",   0,      225],
  79.     :gold_window      => ["PWI_Style_Blu",   0,      225],
  80.   #--------------------------------------------------------------------------
  81.   # Item Windows
  82.     :item_category    => ["PWI_Style_Gol",   0,      225],
  83.     :item_list        => ["PWI_Style_Gol",   0,      225],
  84.     :item_help_window => ["PWI_Style_Gol",   0,      225],
  85.   #--------------------------------------------------------------------------
  86.   # Skill Windows
  87.     :skill_command    => ["PWI_Style_Gol",   0,      225],
  88.     :skill_status     => ["PWI_Style_Gol",   0,      225],
  89.     :skill_list       => ["PWI_Style_Gol",   0,      225],
  90.     :skill_status_II  => ["PWI_Style_Gol",   0,      225],# << Requires my skill scene
  91.     :skill_list_II    => ["PWI_Style_Gol",   0,      225],# << Requires my skill scene
  92.   #--------------------------------------------------------------------------
  93.   # Equip Windows
  94.     :equip_status     => ["PWI_Style_Red",   0,      225],
  95.     :equip_command    => ["PWI_Style_Red",   0,      225],
  96.     :equip_slot       => ["PWI_Style_Red",   0,      225],
  97.     :equip_item       => ["PWI_Style_Red",   0,      225],
  98.     :equip_help_window=> ["PWI_Style_Red",   0,      225],
  99.   #--------------------------------------------------------------------------
  100.   # Status windows
  101.     :window_status    => ["PWI_Style_Blu",   0,      225],
  102.     :status_command   => ["PWI_Style_Blu",   0,      225],# << Requires my status scene
  103.     :window_status_II => ["PWI_Style_Blu",   0,      225],# << Requires my status scene
  104.   #--------------------------------------------------------------------------
  105.   # Save/Load Windows
  106.     :save_help_window => ["PWI_Style_Whi",  0,      255],
  107.     :window_save_file => ["PWI_Style_Whi",  0,      255],
  108.   #--------------------------------------------------------------------------
  109.   # Shop Windows
  110.     :window_shop_command  => ["PWI_Style_Gol",   0,      225],
  111.     :window_shop_buy      => ["PWI_Style_Gol",   0,      225],
  112.     :window_shop_sell     => ["PWI_Style_Gol",   0,      225],
  113.     :window_shop_number   => ["PWI_Style_Gol",   0,      225],
  114.     :window_shop_status   => ["PWI_Style_Gol",   0,      225],
  115.   #--------------------------------------------------------------------------
  116.   # Name windows
  117.     :window_name_edit     => ["PWI_Style_Red",   0,      225],
  118.     :window_name_input    => ["PWI_Style_Gre",   0,      225],
  119.   #--------------------------------------------------------------------------
  120.   # Window Choice
  121.     :window_choice_list   => ["PWI_Style_Blu",   0,      225],
  122.   #--------------------------------------------------------------------------
  123.   # Number Input
  124.     :window_number_input  => ["PWI_Style_Gol",   0,      225],
  125.   #--------------------------------------------------------------------------
  126.   # Key Item
  127.     :window_key_item      => ["PWI_Style_Gol",   0,      225],
  128.   #--------------------------------------------------------------------------
  129.   # Message Windows
  130.     :window_message       => ["PWI_Style_Gol",   0,      225],
  131.     :window_scroll_text   => ["PWI_Style_Gol",   0,        0],
  132.   #--------------------------------------------------------------------------
  133.   # Map Name Window
  134.     :window_map_name      => ["PWI_Style_Gol",   0,      225],
  135.   #--------------------------------------------------------------------------
  136.   # Battle Windows
  137.     :window_battle_log    => ["PWI_Style_Gol",   0,        0],
  138.     :window_party_command => ["PWI_Style_Gol",   0,      225],
  139.     :window_actor_command => ["PWI_Style_Gol",   0,      225],
  140.     :window_battle_status => ["PWI_Style_Gol",   0,      225],
  141.     :window_battle_actor  => ["PWI_Style_Gol",   0,      225],
  142.     :window_battle_enemy  => ["PWI_Style_Gol",   0,      225],
  143.     :window_battle_skill  => ["PWI_Style_Gol",   0,      225],
  144.     :window_battle_item   => ["PWI_Style_Gol",   0,      225],
  145.   #--------------------------------------------------------------------------
  146.   # Title Window
  147.     :window_title_command => ["PWI_Style_Gol",   0,      225],
  148.   #--------------------------------------------------------------------------
  149.   # Game End Window
  150.     :window_game_end      => ["PWI_Style_Gol",   0,        0],
  151.   #--------------------------------------------------------------------------
  152.   # Debug Windows
  153.     :window_debug_left    => ["PWI_Style_Gol",   0,      225],
  154.     :window_debug_right   => ["PWI_Style_Gol",   0,      225],
  155.   #--------------------------------------------------------------------------
  156.   }# << End Skins, Keep !   #####################
  157.                             # CUSTOMISATION END #
  158. end                         #####################
  159. #☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★#
  160. #                                                                               #
  161. #                       http://dekitarpg.wordpress.com/                         #
  162. #                                                                               #
  163. #★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆#
  164. #===============================================================================#
  165. # ARE YOU MODIFYING BEYOND THIS POINT? \.\.                                     #
  166. # YES?\.\.                                                                      #
  167. # OMG, REALLY? \|                                                               #
  168. # WELL SLAP MY FACE AND CALL ME A DRAGONITE.\..\..                              #
  169. # I REALLY DIDN'T THINK YOU HAD IT IN YOU.\..\..                                #
  170. #===============================================================================#
  171. module Cache
  172. #===============================================================================
  173.   #--------------------------------------------------------------------------
  174.   # Get Windowskin
  175.   #--------------------------------------------------------------------------
  176.   def self.skin(filename, hue=0)
  177.     load_bitmap(WindowSkins::Folder, filename, hue)
  178.   end
  179.  
  180. end
  181.  
  182. #===============================================================================
  183. class Window_Base < Window
  184. #===============================================================================
  185.   #--------------------------------------------------------------------------
  186.   # Alias List
  187.   #--------------------------------------------------------------------------
  188.   alias :initskins :initialize
  189.   #--------------------------------------------------------------------------
  190.   # Object Initialization
  191.   #--------------------------------------------------------------------------
  192.   def initialize(x, y, width, height)
  193.     initskins(x, y, width, height)
  194.     set_the_skin
  195.     do_skin_change
  196.   end
  197.   #--------------------------------------------------------------------------
  198.   # Set Windowskin
  199.   #--------------------------------------------------------------------------
  200.   def set_the_skin
  201.     @skin = WindowSkins::Skins[:default]
  202.   end
  203.   #--------------------------------------------------------------------------
  204.   # Change WindowSkin From Default
  205.   #--------------------------------------------------------------------------
  206.   def do_skin_change
  207.     return unless @skin
  208.     self.windowskin = Cache.skin(@skin[0], @skin[1])
  209.     self.opacity = @skin[2] if @skin[2] != nil
  210.   end
  211.  
  212. end
  213.  
  214. #===============================================================================
  215. class Window_Help < Window_Base
  216. #===============================================================================
  217.   #--------------------------------------------------------------------------
  218.   # Set Windowskin (overwrite from super)
  219.   #--------------------------------------------------------------------------
  220.   def set_the_skin
  221.     type = :default
  222.     type = :save_help_window if SceneManager.scene_is?(Scene_Load)
  223.     type = :save_help_window if SceneManager.scene_is?(Scene_Save)
  224.     type = :equip_help_window if SceneManager.scene_is?(Scene_Equip)
  225.     type = :item_help_window if SceneManager.scene_is?(Scene_Item)
  226.     @skin = WindowSkins::Skins[type]
  227.   end
  228.  
  229. end
  230.  
  231. #===============================================================================
  232. class Window_Gold < Window_Base
  233. #===============================================================================
  234.   #--------------------------------------------------------------------------
  235.   # Set Windowskin (overwrite from super)
  236.   #--------------------------------------------------------------------------
  237.   def set_the_skin
  238.     @skin = WindowSkins::Skins[:gold_window]
  239.   end
  240.  
  241. end
  242.  
  243. #===============================================================================
  244. class Window_MenuStatus < Window_Selectable
  245. #===============================================================================
  246.   #--------------------------------------------------------------------------
  247.   # Set Windowskin (overwrite from super)
  248.   #--------------------------------------------------------------------------
  249.   def set_the_skin
  250.     @skin = WindowSkins::Skins[:menu_status]
  251.   end
  252.  
  253. end
  254.  
  255. #===============================================================================
  256. class Window_MenuCommand < Window_Command
  257. #===============================================================================
  258.   #--------------------------------------------------------------------------
  259.   # Set Windowskin (overwrite from super)
  260.   #--------------------------------------------------------------------------
  261.   def set_the_skin
  262.     @skin = WindowSkins::Skins[:menu_command]
  263.   end
  264.  
  265. end
  266.  
  267. #===============================================================================
  268. class Window_MenuActor < Window_MenuStatus
  269. #===============================================================================
  270.   #--------------------------------------------------------------------------
  271.   # Set Windowskin (overwrite from super)
  272.   #--------------------------------------------------------------------------
  273.   def set_the_skin
  274.     @skin = WindowSkins::Skins[:menu_actor]
  275.   end
  276.  
  277. end
  278.  
  279. #===============================================================================
  280. class Window_ItemCategory < Window_HorzCommand
  281. #===============================================================================
  282.   #--------------------------------------------------------------------------
  283.   # Set Windowskin (overwrite from super)
  284.   #--------------------------------------------------------------------------
  285.   def set_the_skin
  286.     @skin = WindowSkins::Skins[:item_category]
  287.   end
  288.  
  289. end
  290.  
  291. #===============================================================================
  292. class Window_ItemList < Window_Selectable
  293. #===============================================================================
  294.   #--------------------------------------------------------------------------
  295.   # Set Windowskin (overwrite from super)
  296.   #--------------------------------------------------------------------------
  297.   def set_the_skin
  298.     @skin = WindowSkins::Skins[:item_list]
  299.   end
  300.  
  301. end
  302.  
  303. #===============================================================================
  304. class Window_SkillCommand < Window_Command
  305. #===============================================================================
  306.   #--------------------------------------------------------------------------
  307.   # Set Windowskin (overwrite from super)
  308.   #--------------------------------------------------------------------------
  309.   def set_the_skin
  310.     @skin = WindowSkins::Skins[:skill_command]
  311.   end
  312.  
  313. end
  314.  
  315. #===============================================================================
  316. class Window_SkillStatus < Window_Base
  317. #===============================================================================
  318.   #--------------------------------------------------------------------------
  319.   # Set Windowskin (overwrite from super)
  320.   #--------------------------------------------------------------------------
  321.   def set_the_skin
  322.     @skin = WindowSkins::Skins[:skill_status]
  323.   end
  324.  
  325. end
  326.  
  327. #===============================================================================
  328. class Window_SkillList < Window_Selectable
  329. #===============================================================================
  330.   #--------------------------------------------------------------------------
  331.   # Set Windowskin (overwrite from super)
  332.   #--------------------------------------------------------------------------
  333.   def set_the_skin
  334.     @skin = WindowSkins::Skins[:skill_list]
  335.   end
  336.  
  337. end
  338.  
  339. #==============================================================================
  340. class Deki_SkillList < Window_SkillList
  341. #==============================================================================
  342.   #--------------------------------------------------------------------------
  343.   # Set Windowskin (overwrite from super)
  344.   #--------------------------------------------------------------------------
  345.   def set_the_skin
  346.     @skin = WindowSkins::Skins[:skill_list_II]
  347.   end
  348.  
  349. end
  350. #==============================================================================
  351. class Window_DekiSkillStatus < Window_Selectable
  352. #==============================================================================
  353.   #--------------------------------------------------------------------------
  354.   # Set Windowskin (overwrite from super)
  355.   #--------------------------------------------------------------------------
  356.   def set_the_skin
  357.     @skin = WindowSkins::Skins[:skill_status_II]
  358.   end
  359.  
  360. end
  361.  
  362. #===============================================================================
  363. class Window_EquipStatus < Window_Base
  364. #===============================================================================
  365.   #--------------------------------------------------------------------------
  366.   # Set Windowskin (overwrite from super)
  367.   #--------------------------------------------------------------------------
  368.   def set_the_skin
  369.     @skin = WindowSkins::Skins[:equip_status]
  370.   end
  371.  
  372. end
  373.  
  374. #===============================================================================
  375. class Window_EquipCommand < Window_HorzCommand
  376. #===============================================================================
  377.   #--------------------------------------------------------------------------
  378.   # Set Windowskin (overwrite from super)
  379.   #--------------------------------------------------------------------------
  380.   def set_the_skin
  381.     @skin = WindowSkins::Skins[:equip_command]
  382.   end
  383.  
  384. end
  385.  
  386. #===============================================================================
  387. class Window_EquipSlot < Window_Selectable
  388. #===============================================================================
  389.   #--------------------------------------------------------------------------
  390.   # Set Windowskin (overwrite from super)
  391.   #--------------------------------------------------------------------------
  392.   def set_the_skin
  393.     @skin = WindowSkins::Skins[:equip_slot]
  394.   end
  395.  
  396. end
  397.  
  398. #===============================================================================
  399. class Window_EquipItem < Window_ItemList
  400. #===============================================================================
  401.   #--------------------------------------------------------------------------
  402.   # Set Windowskin (overwrite from super)
  403.   #--------------------------------------------------------------------------
  404.   def set_the_skin
  405.     @skin = WindowSkins::Skins[:equip_item]
  406.   end
  407.  
  408. end
  409.  
  410. #===============================================================================
  411. class Window_Status < Window_Selectable
  412. #===============================================================================
  413.   #--------------------------------------------------------------------------
  414.   # Set Windowskin (overwrite from super)
  415.   #--------------------------------------------------------------------------
  416.   def set_the_skin
  417.     @skin = WindowSkins::Skins[:window_status]
  418.   end
  419.  
  420. end
  421.  
  422. #===============================================================================
  423. class Window_StatusCommand < Window_Command
  424. #===============================================================================
  425.   #--------------------------------------------------------------------------
  426.   # Set Windowskin (overwrite from super)
  427.   #--------------------------------------------------------------------------
  428.   def set_the_skin
  429.     @skin = WindowSkins::Skins[:status_command]
  430.   end
  431.  
  432. end
  433.  
  434. #===============================================================================
  435. class Window_Status_II < Window_Selectable
  436. #===============================================================================
  437.   #--------------------------------------------------------------------------
  438.   # Set Windowskin (overwrite from super)
  439.   #--------------------------------------------------------------------------
  440.   def set_the_skin
  441.     @skin = WindowSkins::Skins[:window_status_II]
  442.   end
  443.  
  444. end
  445.  
  446. #===============================================================================
  447. class Window_SaveFile < Window_Base
  448. #===============================================================================
  449.   #--------------------------------------------------------------------------
  450.   # Set Windowskin (overwrite from super)
  451.   #--------------------------------------------------------------------------
  452.   def set_the_skin
  453.     @skin = WindowSkins::Skins[:window_save_file]
  454.   end
  455.  
  456. end
  457.  
  458. #===============================================================================
  459. class Window_ShopCommand < Window_HorzCommand
  460. #===============================================================================
  461.   #--------------------------------------------------------------------------
  462.   # Set Windowskin (overwrite from super)
  463.   #--------------------------------------------------------------------------
  464.   def set_the_skin
  465.     @skin = WindowSkins::Skins[:window_shop_command]
  466.   end
  467.  
  468. end
  469.  
  470. #===============================================================================
  471. class Window_ShopBuy < Window_Selectable
  472. #===============================================================================
  473.   #--------------------------------------------------------------------------
  474.   # Set Windowskin (overwrite from super)
  475.   #--------------------------------------------------------------------------
  476.   def set_the_skin
  477.     @skin = WindowSkins::Skins[:window_shop_buy]
  478.   end
  479.  
  480. end
  481.  
  482. #===============================================================================
  483. class Window_ShopSell < Window_ItemList
  484. #===============================================================================
  485.   #--------------------------------------------------------------------------
  486.   # Set Windowskin (overwrite from super)
  487.   #--------------------------------------------------------------------------
  488.   def set_the_skin
  489.     @skin = WindowSkins::Skins[:window_shop_sell]
  490.   end
  491.  
  492. end
  493.  
  494. #===============================================================================
  495. class Window_ShopNumber < Window_Selectable
  496. #===============================================================================
  497.   #--------------------------------------------------------------------------
  498.   # Set Windowskin (overwrite from super)
  499.   #--------------------------------------------------------------------------
  500.   def set_the_skin
  501.     @skin = WindowSkins::Skins[:window_shop_number]
  502.   end
  503.  
  504. end
  505.  
  506. #===============================================================================
  507. class Window_ShopStatus < Window_Base
  508. #===============================================================================
  509.   #--------------------------------------------------------------------------
  510.   # Set Windowskin (overwrite from super)
  511.   #--------------------------------------------------------------------------
  512.   def set_the_skin
  513.     @skin = WindowSkins::Skins[:window_shop_status]
  514.   end
  515.  
  516. end
  517.  
  518. #===============================================================================
  519. class Window_NameEdit < Window_Base
  520. #===============================================================================
  521.   #--------------------------------------------------------------------------
  522.   # Set Windowskin (overwrite from super)
  523.   #--------------------------------------------------------------------------
  524.   def set_the_skin
  525.     @skin = WindowSkins::Skins[:window_name_edit]
  526.   end
  527.  
  528. end
  529.  
  530. #===============================================================================
  531. class Window_NameInput < Window_Selectable
  532. #===============================================================================
  533.   #--------------------------------------------------------------------------
  534.   # Set Windowskin (overwrite from super)
  535.   #--------------------------------------------------------------------------
  536.   def set_the_skin
  537.     @skin = WindowSkins::Skins[:window_name_input]
  538.   end
  539.  
  540. end
  541.  
  542. #===============================================================================
  543. class Window_ChoiceList < Window_Command
  544. #===============================================================================
  545.   #--------------------------------------------------------------------------
  546.   # Set Windowskin (overwrite from super)
  547.   #--------------------------------------------------------------------------
  548.   def set_the_skin
  549.     @skin = WindowSkins::Skins[:window_choice_list]
  550.   end
  551.  
  552. end
  553.  
  554. #===============================================================================
  555. class Window_NumberInput < Window_Base
  556. #===============================================================================
  557.   #--------------------------------------------------------------------------
  558.   # Set Windowskin (overwrite from super)
  559.   #--------------------------------------------------------------------------
  560.   def set_the_skin
  561.     @skin = WindowSkins::Skins[:window_number_input]
  562.   end
  563.  
  564. end
  565.  
  566. #===============================================================================
  567. class Window_KeyItem < Window_ItemList
  568. #===============================================================================
  569.   #--------------------------------------------------------------------------
  570.   # Set Windowskin (overwrite from super)
  571.   #--------------------------------------------------------------------------
  572.   def set_the_skin
  573.     @skin = WindowSkins::Skins[:window_key_item]
  574.   end
  575.  
  576. end
  577.  
  578. #===============================================================================
  579. class Window_Message < Window_Base
  580. #===============================================================================
  581.   #--------------------------------------------------------------------------
  582.   # Set Windowskin (overwrite from super)
  583.   #--------------------------------------------------------------------------
  584.   def set_the_skin
  585.     @skin = WindowSkins::Skins[:window_message]
  586.   end
  587.  
  588. end
  589.  
  590. #===============================================================================
  591. class Window_ScrollText < Window_Base
  592. #===============================================================================
  593.   #--------------------------------------------------------------------------
  594.   # Set Windowskin (overwrite from super)
  595.   #--------------------------------------------------------------------------
  596.   def set_the_skin
  597.     @skin = WindowSkins::Skins[:window_scroll_text]
  598.   end
  599.  
  600. end
  601.  
  602. #===============================================================================
  603. class Window_MapName < Window_Base
  604. #===============================================================================
  605.   #--------------------------------------------------------------------------
  606.   # Set Windowskin (overwrite from super)
  607.   #--------------------------------------------------------------------------
  608.   def set_the_skin
  609.     @skin = WindowSkins::Skins[:window_map_name]
  610.   end
  611.  
  612. end
  613.  
  614. #===============================================================================
  615. class Window_BattleLog < Window_Selectable
  616. #===============================================================================
  617.   #--------------------------------------------------------------------------
  618.   # Set Windowskin (overwrite from super)
  619.   #--------------------------------------------------------------------------
  620.   def set_the_skin
  621.     @skin = WindowSkins::Skins[:window_battle_log]
  622.   end
  623.  
  624. end
  625.  
  626. #===============================================================================
  627. class Window_PartyCommand < Window_Command
  628. #===============================================================================
  629.   #--------------------------------------------------------------------------
  630.   # Set Windowskin (overwrite from super)
  631.   #--------------------------------------------------------------------------
  632.   def set_the_skin
  633.     @skin = WindowSkins::Skins[:window_party_command]
  634.   end
  635.  
  636. end
  637.  
  638. #===============================================================================
  639. class Window_ActorCommand < Window_Command
  640. #===============================================================================
  641.   #--------------------------------------------------------------------------
  642.   # Set Windowskin (overwrite from super)
  643.   #--------------------------------------------------------------------------
  644.   def set_the_skin
  645.     @skin = WindowSkins::Skins[:window_actor_command]
  646.   end
  647.  
  648. end
  649.  
  650. #===============================================================================
  651. class Window_BattleStatus < Window_Selectable
  652. #===============================================================================
  653.   #--------------------------------------------------------------------------
  654.   # Set Windowskin (overwrite from super)
  655.   #--------------------------------------------------------------------------
  656.   def set_the_skin
  657.     @skin = WindowSkins::Skins[:window_battle_status]
  658.   end
  659.  
  660. end
  661.  
  662. #===============================================================================
  663. class Window_BattleActor < Window_BattleStatus
  664. #===============================================================================
  665.   #--------------------------------------------------------------------------
  666.   # Set Windowskin (overwrite from super)
  667.   #--------------------------------------------------------------------------
  668.   def set_the_skin
  669.     @skin = WindowSkins::Skins[:window_battle_actor]
  670.   end
  671.  
  672. end
  673.  
  674. #===============================================================================
  675. class Window_BattleEnemy < Window_Selectable
  676. #===============================================================================
  677.   #--------------------------------------------------------------------------
  678.   # Set Windowskin (overwrite from super)
  679.   #--------------------------------------------------------------------------
  680.   def set_the_skin
  681.     @skin = WindowSkins::Skins[:window_battle_enemy]
  682.   end
  683.  
  684. end
  685.  
  686. #===============================================================================
  687. class Window_BattleSkill < Window_SkillList
  688. #===============================================================================
  689.   #--------------------------------------------------------------------------
  690.   # Set Windowskin (overwrite from super)
  691.   #--------------------------------------------------------------------------
  692.   def set_the_skin
  693.     @skin = WindowSkins::Skins[:window_battle_skill]
  694.   end
  695.  
  696. end
  697.  
  698. #===============================================================================
  699. class Window_BattleItem < Window_ItemList
  700. #===============================================================================
  701.   #--------------------------------------------------------------------------
  702.   # Set Windowskin (overwrite from super)
  703.   #--------------------------------------------------------------------------
  704.   def set_the_skin
  705.     @skin = WindowSkins::Skins[:window_battle_item]
  706.   end
  707.  
  708. end
  709.  
  710. #===============================================================================
  711. class Window_TitleCommand < Window_Command
  712. #===============================================================================
  713.   #--------------------------------------------------------------------------
  714.   # Set Windowskin (overwrite from super)
  715.   #--------------------------------------------------------------------------
  716.   def set_the_skin
  717.     @skin = WindowSkins::Skins[:window_title_command]
  718.   end
  719.  
  720. end
  721.  
  722. #===============================================================================
  723. class Window_GameEnd < Window_Command
  724. #===============================================================================
  725.   #--------------------------------------------------------------------------
  726.   # Set Windowskin (overwrite from super)
  727.   #--------------------------------------------------------------------------
  728.   def set_the_skin
  729.     @skin = WindowSkins::Skins[:window_game_end]
  730.   end
  731.  
  732. end
  733.  
  734. #===============================================================================
  735. class Window_DebugLeft < Window_Selectable
  736. #===============================================================================
  737.   #--------------------------------------------------------------------------
  738.   # Set Windowskin (overwrite from super)
  739.   #--------------------------------------------------------------------------
  740.   def set_the_skin
  741.     @skin = WindowSkins::Skins[:window_debug_left]
  742.   end
  743.  
  744. end
  745.  
  746. #===============================================================================
  747. class Window_DebugRight < Window_Selectable
  748. #===============================================================================
  749.   #--------------------------------------------------------------------------
  750.   # Set Windowskin (overwrite from super)
  751.   #--------------------------------------------------------------------------
  752.   def set_the_skin
  753.     @skin = WindowSkins::Skins[:window_debug_right]
  754.   end
  755.  
  756. end
  757.  
  758. #==============================================================================#
  759. #                      http://dekitarpg.wordpress.com/                         #
  760. #==============================================================================#
  761. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement