Advertisement
Guest User

Untitled

a guest
Jan 21st, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. # Simple snippet to automatically change all "show text" message windows
  2. # to have the same background , e.g dim / transparent
  3. module MSG_Defaults
  4.  
  5. Window_Type = 1
  6. # 0 = Default
  7. # 1 = Dim Background
  8. # 2 = Transparent
  9. end
  10. #==============================================================================
  11. class Game_Interpreter
  12. #==============================================================================
  13.  
  14. alias :cm101_msge :command_101
  15. def command_101
  16. @params[2] = MSG_Defaults::Window_Type if @params[2] == 0
  17. cm101_msge
  18. end
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement