class Scene_Lecction
#--------------------------------------------------------------------------
# * Main Processing
#--------------------------------------------------------------------------
def main
@windowlection = Window_Lection.new
# Execute transition
Graphics.transition
# Main loop
loop do
# Update game screen
Graphics.update
# Update input information
Input.update
# Frame update
update
# Abort loop if screen is changed
if $scene != self
break
end
end
# Prepare for transition
Graphics.freeze
# Dispose of windows
@windowlection.dispose
end
#--------------------------------------------------------------------------
#Frame Update
#--------------------------------------------------------------------------
def update
@windowlection.update
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Map.new
return
end
end
#--------------------------------------------------------------------------
# **Window_Lection
#--------------------------------------------------------------------------
class Window_Lection < Window_Base
def initialize
super(0, 0, 640, 480)
self.contents = Bitmap.new(width - 32, height - 32)
end
end
Bueno, este script no tiene casi nada, pero al poner el simbolito de start (el que parece un triangulito verde) me dice que hay un error en la linea 54 "sintax error".