EntityContainer = {} EntityContainer[ "Director" ] = { on_start = function( self ) background2d:autoscroll_to_entity( entity_manager:get_entity( "Cloud" ) ) FFVII.set_party( "Cloud", nil, nil ); FFVII.Data.progress_game = 1 return 0 end, main = function( self ) return 0 end, } EntityContainer[ "Cloud" ] = { cloud = nil, on_start = function( self ) set_entity_to_character( "Cloud", "Cloud" ) self.cloud = entity_manager:get_entity( "Cloud" ) self.cloud:set_solid( true ) self.cloud:set_visible( true ) self.cloud:set_position( 0.1, 0.1, 0 ) self.cloud:set_rotation( 180 ) self.cloud:play_animation( "Idle" ) player_lock( false ) return 0 end, } EntityContainer[ "Gateway0" ] = { on_start = function( self ) return 0 end, on_enter_line = function( self, entity ) return 0 end, on_move_to_line = function( self, entity ) return 0 end, on_cross_line = function( self, entity ) if entity == "Cloud" then load_field_map_request( "ffvii_elevtr1", "Spawn_elevtr1_1f" ) end return 0 end, on_leave_line = function( self, entity ) return 0 end, } EntityContainer[ "Gateway1" ] = { on_start = function( self ) return 0 end, on_enter_line = function( self, entity ) return 0 end, on_move_to_line = function( self, entity ) return 0 end, on_cross_line = function( self, entity ) if entity == "Cloud" then load_field_map_request( "ffvii_nmkin_3", "Spawn_nmkin_2" ) end return 0 end, on_leave_line = function( self, entity ) return 0 end, }