Method: RGSS.setup_event_command
- Defined in:
- lib/RGSS.rb
.setup_event_command(version, options) ⇒ Object
239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/RGSS.rb', line 239 def self.setup_event_command(version, ) # format event commands to flow style for the event codes that aren't move commands if [:round_trip] reset_method(RPG::EventCommand, :clean, -> {}) else reset_method(RPG::EventCommand, :clean, -> { @parameters[0].rstrip! if @code == 401 }) end reset_const(RPG::EventCommand, :MOVE_LIST_CODE, version == :xp ? 209 : 205) end |