I keep getting syntax errors when I try to test my script, always at the class definition. The only thing that these classes have in common that is different from others is the use of alias. Anyone know what is causing this?
Content Hidden
Code:
#==============================================================================
# ** Scene_Title
#------------------------------------------------------------------------------
# This class performs title screen processing.
#==============================================================================
class Scene_Title
alias :afters_message_new_game :command_new_game
def command_new_game
afters_message_new_game
$game_message = Game_Message.new
end
end
#==============================================================================
# ** Interpreter
#------------------------------------------------------------------------------
# This interpreter runs event commands. This class is used within the
# Game_System class and the Game_Event class.
#==============================================================================
class Interpreter
alias :afters_msg_command_101 :command_101
def command_101
afters_msg_command_101
$game_message.event = $game_map.events[@event_id]
end
end
It was actually an error related to constants in another class, oddly enough.