RoboBob3000 wrote:
Could you share your code?
Well, it's the exact same as your code as you sent it to me. I have the Flashlight Manager set to none and the Scared Roach set to a Roach, however. If you insist, though...
Manager
Click here to view the secret text
× Set var "_PlayerLightType" = 80
Set player weapon Off
Set var "Flashlight1X" = -1
Set var "Flashlight2X" = -1
Set var "Flashlight3X" = -1
Set var "Flashlight4X" = -1
Set var "Flashlight5X" = -1
Set var "Flashlight6X" = -1
Set var "Flashlight7X" = -1
Set var "Flashlight8X" = -1
Set var "Flashlight9X" = -1
Set var "Flashlight10X" = -1
Set var "Flashlight11X" = -1
Set var "Flashlight12X" = -1
Set var "Flashlight13X" = -1
Set var "Flashlight14X" = -1
Set var "Flashlight15X" = -1
Set var "Flashlight16X" = -1
Set var "Flashlight17X" = -1
Set var "Flashlight18X" = -1
Set var "Flashlight19X" = -1
Set var "Flashlight20X" = -1
Set var "Flashlight21X" = -1
Set var "Flashlight22X" = -1
Set var "Flashlight23X" = -1
Set var "Flashlight24X" = -1
Set var "Flashlight25X" = -1
Set var "Flashlight1Y" = -1
Set var "Flashlight2Y" = -1
Set var "Flashlight3Y" = -1
Set var "Flashlight4Y" = -1
Set var "Flashlight5Y" = -1
Set var "Flashlight6Y" = -1
Set var "Flashlight7Y" = -1
Set var "Flashlight8Y" = -1
Set var "Flashlight9Y" = -1
Set var "Flashlight10Y" = -1
Set var "Flashlight11Y" = -1
Set var "Flashlight12Y" = -1
Set var "Flashlight13Y" = -1
Set var "Flashlight14Y" = -1
Set var "Flashlight15Y" = -1
Set var "Flashlight16Y" = -1
Set var "Flashlight17Y" = -1
Set var "Flashlight18Y" = -1
Set var "Flashlight19Y" = -1
Set var "Flashlight20Y" = -1
Set var "Flashlight21Y" = -1
Set var "Flashlight22Y" = -1
Set var "Flashlight23Y" = -1
Set var "Flashlight24Y" = -1
Set var "Flashlight25Y" = -1
Label Loop
If ...
? Set var "Flashlight1X" = _X-2
Set var "Flashlight2X" = _X-1
Set var "Flashlight3X" = _X
Set var "Flashlight4X" = _X+1
Set var "Flashlight5X" = _X+2
Set var "Flashlight6X" = _X-2
Set var "Flashlight7X" = _X-1
Set var "Flashlight8X" = _X
Set var "Flashlight9X" = _X+1
Set var "Flashlight10X" = _X+2
Set var "Flashlight11X" = _X-2
Set var "Flashlight12X" = _X-1
Set var "Flashlight13X" = _X
Set var "Flashlight14X" = _X+1
Set var "Flashlight15X" = _X+2
Set var "Flashlight16X" = _X-2
Set var "Flashlight17X" = _X-1
Set var "Flashlight18X" = _X
Set var "Flashlight19X" = _X+1
Set var "Flashlight20X" = _X+2
Set var "Flashlight21X" = _X-2
Set var "Flashlight22X" = _X-1
Set var "Flashlight23X" = _X
Set var "Flashlight24X" = _X+1
Set var "Flashlight25X" = _X+2
Set var "Flashlight1Y" = _Y-2
Set var "Flashlight2Y" = _Y-2
Set var "Flashlight3Y" = _Y-2
Set var "Flashlight4Y" = _Y-2
Set var "Flashlight5Y" = _Y-2
Set var "Flashlight6Y" = _Y-1
Set var "Flashlight7Y" = _Y-1
Set var "Flashlight8Y" = _Y-1
Set var "Flashlight9Y" = _Y-1
Set var "Flashlight10Y" = _Y-1
Set var "Flashlight11Y" = _Y
Set var "Flashlight12Y" = _Y
Set var "Flashlight13Y" = _Y
Set var "Flashlight14Y" = _Y
Set var "Flashlight15Y" = _Y
Set var "Flashlight16Y" = _Y+1
Set var "Flashlight17Y" = _Y+1
Set var "Flashlight18Y" = _Y+1
Set var "Flashlight19Y" = _Y+1
Set var "Flashlight20Y" = _Y+1
Set var "Flashlight21Y" = _Y+2
Set var "Flashlight22Y" = _Y+2
Set var "Flashlight23Y" = _Y+2
Set var "Flashlight24Y" = _Y+2
Set var "Flashlight25Y" = _Y+2
Else
Set var "Flashlight1X" = -1
Set var "Flashlight2X" = -1
Set var "Flashlight3X" = -1
Set var "Flashlight4X" = -1
Set var "Flashlight5X" = -1
Set var "Flashlight6X" = -1
Set var "Flashlight7X" = -1
Set var "Flashlight8X" = -1
Set var "Flashlight9X" = -1
Set var "Flashlight10X" = -1
Set var "Flashlight11X" = -1
Set var "Flashlight12X" = -1
Set var "Flashlight13X" = -1
Set var "Flashlight14X" = -1
Set var "Flashlight15X" = -1
Set var "Flashlight16X" = -1
Set var "Flashlight17X" = -1
Set var "Flashlight18X" = -1
Set var "Flashlight19X" = -1
Set var "Flashlight20X" = -1
Set var "Flashlight21X" = -1
Set var "Flashlight22X" = -1
Set var "Flashlight23X" = -1
Set var "Flashlight24X" = -1
Set var "Flashlight25X" = -1
Set var "Flashlight1Y" = -1
Set var "Flashlight2Y" = -1
Set var "Flashlight3Y" = -1
Set var "Flashlight4Y" = -1
Set var "Flashlight5Y" = -1
Set var "Flashlight6Y" = -1
Set var "Flashlight7Y" = -1
Set var "Flashlight8Y" = -1
Set var "Flashlight9Y" = -1
Set var "Flashlight10Y" = -1
Set var "Flashlight11Y" = -1
Set var "Flashlight12Y" = -1
Set var "Flashlight13Y" = -1
Set var "Flashlight14Y" = -1
Set var "Flashlight15Y" = -1
Set var "Flashlight16Y" = -1
Set var "Flashlight17Y" = -1
Set var "Flashlight18Y" = -1
Set var "Flashlight19Y" = -1
Set var "Flashlight20Y" = -1
Set var "Flashlight21Y" = -1
Set var "Flashlight22Y" = -1
Set var "Flashlight23Y" = -1
Set var "Flashlight24Y" = -1
Set var "Flashlight25Y" = -1
If End
Wait 0
Go to Loop
Roach
Click here to view the secret text
× Imperative 7
Imperative 3
If ...
Wait for clean room
Disappear
End
If End
Set var ".tempx" = 0
Set var ".tempy" = 0
Set var ".IsFleeing" = 0
Set var ".FleeDirection" = -1
Set var ".ReturnValue" = 0
Label Loop
Set var ".tempx" = _MyX
Set var ".tempy" = _MyY
GoSub CheckPointForFlashlight
GoSub SetFleeState
Label Flee
If ...
Wait until var ".IsFleeing" = 1
Set var "_MyO" = .FleeDirection
Set var "_MyScriptX" = .FleeDirection
Go to Check for direct movement
Else
Label Pursue as Roach
Set var ".tempx" = _MyX
Set var ".tempy" = _MyY
GoSub GetPoint'sCardinalDirectionFromPlayer
Set var "_MyO" = 8 - .ReturnValue
Set var "_MyScriptX" = _MyO
Label Check for direct movement
If ...
Wait for open move northwest
Set var "_MyScriptX" = -9999
Set var ".tempx" = _MyX + ((_MyO%3) -1)
Set var ".tempy" = _MyY + ((_MyO/3) -1)
GoSub CheckPointForFlashlight
GoSub SetFleeState
Set var "_MyScriptX" = (_MyO%3) -1
Set var "_MyScriptY" = (_MyO/3) -1
Move 0,0,1,0
Set var "_MyScriptX" = -9999
Set var "_MyScriptY" = -9999
Else
Label Check whether we were moving diagonally, cleanup if not
Set var "temp" = _MyO%2
If ...
Wait until var "temp" = 1
If ...
Wait until var ".IsFleeing" = 1
Set var "_MyScriptX" = -9999
Set var ".IsFleeing" = 0
Set var ".FleeDirection" = -1
Set var ".tempx" = _MyX
Set var ".tempy" = _MyY
GoSub CheckPointForFlashlight
If ...
Wait until var ".ReturnValue" = 1
Wait 1
If End
Else
Set var "_MyScriptX" = _MyO
Face direction northwest
Set var "_MyScriptX" = -9999
Wait 0
If End
Else
Label Check for north/south movement
Set var "_MyScriptX" = ((_MyO/3)*3)+1
If ...
Wait for open move northwest
Set var "_MyScriptX" = -9999
Set var ".tempy" = _MyY + ((_MyO/3) -1)
GoSub CheckPointForFlashlight
GoSub SetFleeState
Set var "_MyScriptY" = (_MyO/3) -1
Move 0,0,1,0
Set var "_MyScriptY" = -9999
Else
Label Check for east/west movement
Set var "_MyScriptX" = (_MyO%3)+3
If ...
Wait for open move northwest
Set var "_MyScriptX" = -9999
Set var ".tempx" = _MyX + ((_MyO%3) -1)
GoSub CheckPointForFlashlight
GoSub SetFleeState
Set var "_MyScriptX" = (_MyO%3) -1
Move 0,0,1,0
Set var "_MyScriptX" = -9999
Else
Label No diag move open, so cleanup instead
If ...
Wait until var ".IsFleeing" = 1
Set var "_MyScriptX" = -9999
Set var ".IsFleeing" = 0
Set var ".FleeDirection" = -1
Set var ".tempx" = _MyX
Set var ".tempy" = _MyY
GoSub CheckPointForFlashlight
If ...
Wait until var ".ReturnValue" = 1
Wait 1
If End
Else
Set var "_MyScriptX" = _MyO
Face direction northwest
Set var "_MyScriptX" = -9999
Wait 0
If End
If End
If End
If End
If End
If End
Go to Loop
Label CheckPointForFlashlight
Set var ".ReturnValue" = 0
Set var ".FlashlightCheckX" = Flashlight1X
Set var ".FlashlightCheckY" = Flashlight1Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight2X
Set var ".FlashlightCheckY" = Flashlight2Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight3X
Set var ".FlashlightCheckY" = Flashlight3Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight4X
Set var ".FlashlightCheckY" = Flashlight4Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight5X
Set var ".FlashlightCheckY" = Flashlight5Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight6X
Set var ".FlashlightCheckY" = Flashlight6Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight7X
Set var ".FlashlightCheckY" = Flashlight7Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight8X
Set var ".FlashlightCheckY" = Flashlight8Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight9X
Set var ".FlashlightCheckY" = Flashlight9Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight10X
Set var ".FlashlightCheckY" = Flashlight10Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight11X
Set var ".FlashlightCheckY" = Flashlight11Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight12X
Set var ".FlashlightCheckY" = Flashlight12Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight13X
Set var ".FlashlightCheckY" = Flashlight13Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight14X
Set var ".FlashlightCheckY" = Flashlight14Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight15X
Set var ".FlashlightCheckY" = Flashlight15Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight16X
Set var ".FlashlightCheckY" = Flashlight16Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight17X
Set var ".FlashlightCheckY" = Flashlight17Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight18X
Set var ".FlashlightCheckY" = Flashlight18Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight19X
Set var ".FlashlightCheckY" = Flashlight19Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight20X
Set var ".FlashlightCheckY" = Flashlight20Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight21X
Set var ".FlashlightCheckY" = Flashlight21Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight22X
Set var ".FlashlightCheckY" = Flashlight22Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight23X
Set var ".FlashlightCheckY" = Flashlight23Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight24X
Set var ".FlashlightCheckY" = Flashlight24Y
GoSub FlashlightCheckSub
Set var ".FlashlightCheckX" = Flashlight25X
Set var ".FlashlightCheckY" = Flashlight25Y
GoSub FlashlightCheckSub
Return
Label FlashlightCheckSub
If ...
Wait until var ".tempx" = .FlashlightCheckX
If ...
Wait until var ".tempy" = .FlashlightCheckY
Set var ".ReturnValue" = 1
If End
If End
Return
Label GetPoint'sCardinalDirectionFromPlayer
Set var ".ReturnValue" = 0
If ...
Wait until var ".tempx" < _X
Set var ".ReturnValue" + 0
If End
If ...
Wait until var ".tempx" = _X
Set var ".ReturnValue" + 1
If End
If ...
Wait until var ".tempx" > _X
Set var ".ReturnValue" + 2
If End
If ...
Wait until var ".tempy" < _Y
Set var ".ReturnValue" + 0
If End
If ...
Wait until var ".tempy" = _Y
Set var ".ReturnValue" + 3
If End
If ...
Wait until var ".tempy" > _Y
Set var ".ReturnValue" + 6
If End
Return
Label SetFleeState
If ...
Wait until var ".ReturnValue" = 1
Set var ".IsFleeing" = 1
Set var ".tempx" = _MyX
Set var ".tempy" = _MyY
GoSub GetPoint'sCardinalDirectionFromPlayer
Set var ".FleeDirection" = .ReturnValue
If End
Return
____________________________
Camwoodstock - The Epic Blunder, Dugan's Best Janitor, Rooted Hold Runner, Lowest Point Watcher, and 132nd Skywatcher (and 13th Gel Authority)
Mastered all of GatEB, KDD 2.0, JtRH, and TCB! | Saw The Second Sky! (lots of secrets left!)
Her/him | & |
Steam |
Backloggery