SHARE
TWEET

Toru Higuruma - Centered Title Command

neutale May 22nd, 2020 1,445 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #==============================================================================
  2. # ■ Centered Title Command RGSS3 v1.1         MIT License; see git.io/tic
  3. #------------------------------------------------------------------------------
  4. #  Centers title command texts and 5 characters wider.
  5. #==============================================================================
  6.  
  7. class Window_TitleCommand
  8.   #--------------------------------------------------------------------------
  9.   # ● Alignment [* redefinition *]
  10.   #--------------------------------------------------------------------------
  11.   def alignment
  12.     return 1
  13.   end
  14.   #--------------------------------------------------------------------------
  15.   # ● Window width [* redefined *]
  16.   #--------------------------------------------------------------------------
  17.   def window_width
  18.     return 128
  19.   end
  20. end
  21. #------------------------------------------------------------------------------
  22. class Window_GameEnd
  23.   #--------------------------------------------------------------------------
  24.   # ● Alignment [* redefinition *]
  25.   #--------------------------------------------------------------------------
  26.   def alignment
  27.     return 1
  28.   end
  29.   #--------------------------------------------------------------------------
  30.   # ● Window width [* redefined *]
  31.   #--------------------------------------------------------------------------
  32.   def window_width
  33.     return 128
  34.   end
  35. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top