Advertisement
Guest User

RPG Maker VX Ace Moar Pictures

a guest
Jan 28th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.94 KB | None | 0 0
  1. class Game_Interpreter
  2.   #--------------------------------------------------------------------------
  3.   # * Variable for pictures past 99
  4.   #--------------------------------------------------------------------------
  5.   VAR_PIC = 1
  6.   #--------------------------------------------------------------------------
  7.   # * Show Picture
  8.   #--------------------------------------------------------------------------
  9.   alias moar_command_231 command_231
  10.   def command_231
  11.     if $game_variables[VAR_PIC] > 99
  12.       @params[0] = $game_variables[1]
  13.     end
  14.     moar_command_231
  15.   end
  16.   #--------------------------------------------------------------------------
  17.   # * Move Picture
  18.   #--------------------------------------------------------------------------
  19.   alias moar_command_232 command_232
  20.   def command_232
  21.     if $game_variables[VAR_PIC] > 99
  22.       @params[0] = $game_variables[1]
  23.     end
  24.     moar_command_232
  25.   end
  26.   #--------------------------------------------------------------------------
  27.   # * Rotate Picture
  28.   #--------------------------------------------------------------------------
  29.   alias moar_command_233 command_233
  30.   def command_233
  31.     if $game_variables[VAR_PIC] > 99
  32.       @params[0] = $game_variables[1]
  33.     end
  34.     moar_command_233
  35.   end
  36.   #--------------------------------------------------------------------------
  37.   # * Tint Picture
  38.   #--------------------------------------------------------------------------
  39.   alias moar_command_234 command_234
  40.   def command_234
  41.     if $game_variables[VAR_PIC] > 99
  42.       @params[0] = $game_variables[1]
  43.     end
  44.     moar_command_234
  45.   end
  46.   #--------------------------------------------------------------------------
  47.   # * Erase Picture
  48.   #--------------------------------------------------------------------------
  49.   alias moar_command_235 command_235
  50.   def command_235
  51.     if $game_variables[VAR_PIC] > 99
  52.       @params[0] = $game_variables[1]
  53.     end
  54.     moar_command_235
  55.   end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement