Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- itools = dofile('lib_input_tools.lua')
- core = dofile('lib_core.lua')
- -- Define functions to perform each movement option (except for 'Nothing')
- -- Movement_Options = ['Turn Right', 'Turn Left', 'Turn Down', 'Turn Up', 'Untargeted Horizontal Slash',
- -- 'Untargeted Horizontal Slash, Shield', 'Targeted Vertical Slash', 'Targeted Vertical Slash, Untarget ASAP',
- -- 'Untargeted Right Slash', 'Untargeted Right Slash, Shield', 'Targeted Forward Thrust',
- -- 'Targeted Forward Thrust, Untarget ASAP', 'Nothing']
- function Turn_Right()
- -- Press Z to target for 1 visual frame, then do nothing for 5 visual frames, then hold Right for 1 visual frame
- -- clear inputs at the start of each function for safety
- -- advance visual frame at the start for safety
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=127,['Y Axis']=0})
- itools.clear_inputs()
- itools.vframe_advance()
- end
- function Turn_Left()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=-128,['Y Axis']=0})
- itools.clear_inputs()
- itools.vframe_advance()
- end
- function Turn_Down()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=0,['Y Axis']=-128})
- itools.clear_inputs()
- itools.vframe_advance()
- end
- function Turn_Up()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=0,['Y Axis']=127})
- itools.clear_inputs()
- itools.vframe_advance()
- end
- function Untargeted_Horizontal_Slash()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['B']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Untargeted_Horizontal_Slash_Shield()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['B']=true})
- itools.clear_inputs()
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Targeted_Vertical_Slash()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['B']=true, ['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.clear_inputs()
- itools.vframe_advance()
- end
- function Targeted_Vertical_Slash_Untarget_ASAP()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['B']=true, ['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Untargeted_Right_Slash()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=127,['Y Axis']=0,['B']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Untargeted_Right_Slash_Shield()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=127,['Y Axis']=0,['B']=true})
- itools.clear_inputs()
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.vframe_advance({['R']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Targeted_Forward_Thrust()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=0,['Y Axis']=127,['B']=true,['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Targeted_Forward_Thrust_Untarget_ASAP()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=0,['Y Axis']=127,['B']=true,['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- function Perform_Goron_Pound_Clip()
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['Z']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['X Axis']=0,['Y Axis']=-128,['C Down']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- -- This input sets down the bomb
- itools.vframe_advance({['A']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance({['C Right']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- -- Skip mask transition cutscene
- itools.vframe_advance({['A']=true})
- itools.clear_inputs()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- -- control stick direction for mask transition
- itools.vframe_advance({['X Axis']=0,['Y Axis']=127})
- itools.clear_inputs()
- -- turn up before curling
- itools.vframe_advance({['X Axis']=0,['Y Axis']=127})
- itools.clear_inputs()
- -- find out how many frames to wait before curling + pounding so bomb timing is correct --- 27
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- -- curl
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- -- pound
- itools.vframe_advance({['A']=true,['B']=true})
- itools.clear_inputs()
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- itools.vframe_advance({['A']=true})
- -- release A after 17 frames (have -11 y velocity at this point)
- itools.clear_inputs()
- -- 4 frames of -20 y velocity followed by a frame of 15 linear velocity
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- -- wait 6 visual frames for position to become constant
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- -- waiting even more just in case
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- itools.vframe_advance()
- end
- file = io.open('deku princess goron pound clip permutations 4 options.txt')
- contents = file:read('*a')
- file:close()
- function split(input)
- local t={} ; i=1
- for str in string.gmatch(input, '([^\n]+)') do
- t[i] = str
- i = i + 1
- end
- return t
- end
- function advance(amount)
- for i = 1, amount, 1 do
- itools.vframe_advance()
- end
- end
- perms = split(contents)
- file_write = io.open('deku princess goron pound clip data.txt', 'w+')
- Clip_Exists = false
- Line_Count = 1
- ikeeta = 1
- while ikeeta <= table.getn(perms) do
- line = perms[ikeeta]
- --if input.get().C then
- -- break
- --end
- -- STUFF HERE
- print('Line: ' .. Line_Count .. ' Clip Exists ' .. tostring(Clip_Exists))
- Redunant_Position = false
- Valid_Position = false
- Angle_In_Range = false
- Clip_Successful = false
- itools.clear_inputs()
- -- load save state (4)
- itools.load_state(4)
- Positions = {}
- X_Position = core.read_float_be(0x3FFDD4,'RDRAM')
- Z_Position = core.read_float_be(0x3FFDDC,'RDRAM')
- Y_Position = core.read_float_be(0x3FFDD8,'RDRAM')
- Positions['X' .. tostring(X_Position) .. 'Z' .. tostring(Z_Position) .. 'Y' .. tostring( Y_Position)] = true
- previous_index = 1
- for i = 1, string.len(line), 1 do
- if string.sub(line, i, i) == '&' then
- if string.sub(line, previous_index, i-1) == 'Turn Right' then
- Turn_Right()
- elseif string.sub(line, previous_index, i-1) == 'Turn Left' then
- Turn_Left()
- elseif string.sub(line, previous_index, i-1) == 'Turn Down' then
- Turn_Down()
- elseif string.sub(line, previous_index, i-1) == 'Turn Up' then
- Turn_Up()
- elseif string.sub(line, previous_index, i-1) == 'Untargeted Horizontal Slash' then
- Untargeted_Horizontal_Slash()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Untargeted Horizontal Slash, Shield' then
- Untargeted_Horizontal_Slash_Shield()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Targeted Vertical Slash' then
- Targeted_Vertical_Slash()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Targeted Vertical Slash, Untarget ASAP' then
- Targeted_Vertical_Slash_Untarget_ASAP()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Untargeted Right Slash' then
- Untargeted_Right_Slash()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Untargeted Right Slash, Shield' then
- Untargeted_Right_Slash_Shield()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Targeted Forward Thrust' then
- Targeted_Forward_Thrust()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- elseif string.sub(line, previous_index, i-1) == 'Targeted Forward Thrust, Untarget ASAP' then
- Targeted_Forward_Thrust_Untarget_ASAP()
- if Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] == true then
- Redunant_Position = true
- else
- Positions['X' .. tostring(core.read_float_be(0x3FFDD4,'RDRAM')) .. 'Z' .. tostring(core.read_float_be(0x3FFDDC,'RDRAM')) .. 'Y' .. tostring(core.read_float_be(0x3FFDD8,'RDRAM'))] = true
- end
- end
- previous_index = i + 1
- end
- end
- -- Update Positions
- X_Position = core.read_float_be(0x3FFDD4,'RDRAM')
- Z_Position = core.read_float_be(0x3FFDDC,'RDRAM')
- Y_Position = core.read_float_be(0x3FFDD8,'RDRAM')
- -- Check if link has a valid position before attempting the goron pound clip
- if X_Position >= -1877 and Z_Position <= 105.8205 and Z_Position <= -.96828*X_Position - 1692.75739432 then
- Valid_Position = true
- -- Before doing goron pound clip, make sure link is targeted facing the wall (doesn't have to stay targeted)
- -- because Perform_Goron_Pound_Clip() assumes link is facing the wall with camera angle roughly aligned with
- -- link's angle
- Angle = memory.read_s16_be(0x3FFE6E,'RDRAM')
- if Angle <= 25215 and Angle >= 23215 then
- Turn_Left()
- Angle_In_Range = true
- elseif Angle <= -7553 and Angle >= -9553 then
- Turn_Right()
- Angle_In_Range = true
- elseif Angle <= 8831 and Angle >= 6831 then
- Turn_Down()
- Angle_In_Range = true
- elseif Angle <= -23937 and Angle >= -25937 then
- Angle_In_Range = true
- end
- -- wait 5 visual frames or so in this function
- Perform_Goron_Pound_Clip()
- -- Update Positions
- X_Position = core.read_float_be(0x3FFDD4,'RDRAM')
- Z_Position = core.read_float_be(0x3FFDDC,'RDRAM')
- Y_Position = core.read_float_be(0x3FFDD8,'RDRAM')
- -- Check if the goron pound clip was successful or not
- if Z_Position < -.96828*X_Position - 1750 then
- Clip_Successful = true
- print('SUCCESS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
- Clip_Exists = true
- end
- end
- file_write:write('Permutation = ' .. line .. '\n')
- if Redundant_Position == true then
- file_write:write('Redundant Position?: Yes\n')
- elseif Redundant_Position == false then
- file_write:write('Redundant Position?: No\n')
- end
- if Valid_Position == true then
- file_write:write('Valid Position?: Yes\n')
- elseif Valid_Position == false then
- file_write:write('Valid Position?: No\n')
- end
- if Angle_In_Range == true then
- file_write:write('Angle in Range?: Yes\n')
- elseif Angle_In_Range == false then
- file_write:write('Angle in Range?: No\n')
- end
- if Clip_Successful == true then
- file_write:write('Clip Successful?: Yes\n')
- elseif Clip_Successful == false then
- file_write:write('Clip Successful?: No\n')
- end
- file_write:write('---\n')
- Line_Count = Line_Count + 1
- -- END
- ikeeta = ikeeta + 1
- end
- file_write:close()
- print('done')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement