| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- 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,
- }
|