(script 387)

(string
    string_0238 "jWalk"
)

(said
)

(local
)

// 01fe
(instance public jWalk of Script
    (properties
        client $0
        state $ffff
        start $0
        timer $0
        cycles $0
        seconds $0
        lastSeconds $0
        register $0
        script $0
        caller $0
    )
    (method (init) // method_000c
  000c:39 57            pushi 57 // $57 init
  000e:76               push0 
  000f:59 01            &rest 1 
  0011:57 05 04         super Script 4 

  0014:48                 ret 
    )

    (method (dispose) // method_0015
  0015:39 58            pushi 58 // $58 dispose
  0017:76               push0 
  0018:59 01            &rest 1 
  001a:57 05 04         super Script 4 

  001d:78               push1 
  001e:38 03d9          pushi 3d9 // $3d9 sel_985
  0021:43 03 02         callk DisposeScript 2 

  0024:78               push1 
  0025:38 0183          pushi 183 // $183 sel_387
  0028:43 03 02         callk DisposeScript 2 

  002b:48                 ret 
    )

    (method (doit) // method_002c
  002c:39 3c            pushi 3c // $3c doit
  002e:76               push0 
  002f:59 01            &rest 1 
  0031:57 05 04         super Script 4 

  0034:48                 ret 
    )

    (method (changeState) // method_0035
  0035:87 01              lap param1 
  0037:65 0a             aTop state 
  0039:36                push 
  003a:3c                 dup 
  003b:35 00              ldi 0 
  003d:1a                 eq? 
  003e:31 0b              bnt code_004b 
  0040:76               push0 
  0041:45 03 00         callb procedure_0003 0 // HandsOff 

  0044:35 07              ldi 7 
  0046:65 10             aTop cycles 
  0048:32 01aa            jmp code_01f5 

        code_004b
  004b:3c                 dup 
  004c:35 01              ldi 1 
  004e:1a                 eq? 
  004f:30 00a1            bnt code_00f3 
  0052:76               push0 
  0053:45 03 00         callb procedure_0003 0 // HandsOff 

  0056:39 7e            pushi 7e // $7e setCycle
  0058:78               push1 
  0059:51 17            class Walk 
  005b:36                push 
  005c:38 00d3          pushi d3 // $d3 setMotion
  005f:39 04            pushi 4 // $4 x
  0061:51 1d            class MoveTo 
  0063:36                push 
  0064:38 0131          pushi 131 // $131 numOfLoops
  0067:39 37            pushi 37 // $37 yStep
  0069:7c            pushSelf 
  006a:38 00d4          pushi d4 // $d4 setAvoider
  006d:78               push1 
  006e:38 00be          pushi be // $be offScreenOK
  0071:78               push1 
  0072:78               push1 
  0073:39 56            pushi 56 // $56 new
  0075:76               push0 
  0076:51 21            class Avoid 
  0078:4a 04             send 4 

  007a:4a 06             send 6 

  007c:36                push 
  007d:39 57            pushi 57 // $57 init
  007f:76               push0 
  0080:80 0175            lag global373 
  0083:4a 1c             send 1c 

  0085:38 00da          pushi da // $da inRect
  0088:39 04            pushi 4 // $4 x
  008a:38 00fc          pushi fc // $fc showMem
  008d:39 75            pushi 75 // $75 register
  008f:38 0138          pushi 138 // $138 upID
  0092:38 0083          pushi 83 // $83 playMaybe
  0095:81 00              lag gEgo 
  0097:4a 0c             send c 

  0099:31 20              bnt code_00bb 
  009b:38 00d3          pushi d3 // $d3 setMotion
  009e:39 03            pushi 3 // $3 y
  00a0:51 1d            class MoveTo 
  00a2:36                push 
  00a3:39 04            pushi 4 // $4 x
  00a5:76               push0 
  00a6:81 00              lag gEgo 
  00a8:4a 04             send 4 

  00aa:36                push 
  00ab:39 03            pushi 3 // $3 y
  00ad:76               push0 
  00ae:81 00              lag gEgo 
  00b0:4a 04             send 4 

  00b2:36                push 
  00b3:35 14              ldi 14 
  00b5:02                 add 
  00b6:36                push 
  00b7:81 00              lag gEgo 
  00b9:4a 0a             send a 


        code_00bb
  00bb:38 00da          pushi da // $da inRect
  00be:39 04            pushi 4 // $4 x
  00c0:38 0127          pushi 127 // $127 intermediate
  00c3:39 32            pushi 32 // $32 b-i2
  00c5:38 0140          pushi 140 // $140 upRoomNo
  00c8:39 3c            pushi 3c // $3c doit
  00ca:81 00              lag gEgo 
  00cc:4a 0c             send c 

  00ce:31 20              bnt code_00f0 
  00d0:38 00d3          pushi d3 // $d3 setMotion
  00d3:39 03            pushi 3 // $3 y
  00d5:51 1d            class MoveTo 
  00d7:36                push 
  00d8:39 04            pushi 4 // $4 x
  00da:76               push0 
  00db:81 00              lag gEgo 
  00dd:4a 04             send 4 

  00df:36                push 
  00e0:35 0f              ldi f 
  00e2:04                 sub 
  00e3:36                push 
  00e4:39 03            pushi 3 // $3 y
  00e6:76               push0 
  00e7:81 00              lag gEgo 
  00e9:4a 04             send 4 

  00eb:36                push 
  00ec:81 00              lag gEgo 
  00ee:4a 0a             send a 


        code_00f0
  00f0:32 0102            jmp code_01f5 

        code_00f3
  00f3:3c                 dup 
  00f4:35 02              ldi 2 
  00f6:1a                 eq? 
  00f7:31 1a              bnt code_0113 
  00f9:76               push0 
  00fa:45 03 00         callb procedure_0003 0 // HandsOff 

  00fd:38 00d3          pushi d3 // $d3 setMotion
  0100:39 04            pushi 4 // $4 x
  0102:51 1d            class MoveTo 
  0104:36                push 
  0105:38 012e          pushi 12e // $12e oldMover
  0108:39 7c            pushi 7c // $7c lastTime
  010a:7c            pushSelf 
  010b:80 0175            lag global373 
  010e:4a 0c             send c 

  0110:32 00e2            jmp code_01f5 

        code_0113
  0113:3c                 dup 
  0114:35 03              ldi 3 
  0116:1a                 eq? 
  0117:31 16              bnt code_012f 
  0119:38 00d3          pushi d3 // $d3 setMotion
  011c:39 04            pushi 4 // $4 x
  011e:51 1d            class MoveTo 
  0120:36                push 
  0121:38 010e          pushi 10e // $10e overlay
  0124:39 7b            pushi 7b // $7b cycleCnt
  0126:7c            pushSelf 
  0127:80 0175            lag global373 
  012a:4a 0c             send c 

  012c:32 00c6            jmp code_01f5 

        code_012f
  012f:3c                 dup 
  0130:35 04              ldi 4 
  0132:1a                 eq? 
  0133:31 25              bnt code_015a 
  0135:39 2b            pushi 2b // $2b number
  0137:78               push1 
  0138:39 2b            pushi 2b // $2b number
  013a:39 06            pushi 6 // $6 loop
  013c:78               push1 
  013d:78               push1 
  013e:39 3f            pushi 3f // $3f priority
  0140:78               push1 
  0141:39 05            pushi 5 // $5 view
  0143:39 2a            pushi 2a // $2a play
  0145:76               push0 
  0146:80 0083            lag global131 
  0149:4a 16             send 16 

  014b:39 7e            pushi 7e // $7e setCycle
  014d:7a               push2 
  014e:51 1a            class End 
  0150:36                push 
  0151:7c            pushSelf 
  0152:80 01be            lag gCellar 
  0155:4a 08             send 8 

  0157:32 009b            jmp code_01f5 

        code_015a
  015a:3c                 dup 
  015b:35 05              ldi 5 
  015d:1a                 eq? 
  015e:31 1e              bnt code_017e 
  0160:39 12            pushi 12 // $12 illegalBits
  0162:78               push1 
  0163:76               push0 
  0164:39 42            pushi 42 // $42 setPri
  0166:78               push1 
  0167:39 08            pushi 8 // $8 underBits
  0169:38 00d3          pushi d3 // $d3 setMotion
  016c:39 04            pushi 4 // $4 x
  016e:51 1d            class MoveTo 
  0170:36                push 
  0171:38 00f0          pushi f0 // $f0 targetObj
  0174:39 7a            pushi 7a // $7a setScript
  0176:7c            pushSelf 
  0177:80 0175            lag global373 
  017a:4a 18             send 18 

  017c:33 77              jmp code_01f5 

        code_017e
  017e:3c                 dup 
  017f:35 06              ldi 6 
  0181:1a                 eq? 
  0182:31 16              bnt code_019a 
  0184:38 00d3          pushi d3 // $d3 setMotion
  0187:39 04            pushi 4 // $4 x
  0189:51 1d            class MoveTo 
  018b:36                push 
  018c:38 00db          pushi db // $db onControl
  018f:38 0081          pushi 81 // $81 prevSignal
  0192:7c            pushSelf 
  0193:80 0175            lag global373 
  0196:4a 0c             send c 

  0198:33 5b              jmp code_01f5 

        code_019a
  019a:3c                 dup 
  019b:35 07              ldi 7 
  019d:1a                 eq? 
  019e:31 2d              bnt code_01cd 
  01a0:38 0089          pushi 89 // $89 hide
  01a3:76               push0 
  01a4:80 0175            lag global373 
  01a7:4a 04             send 4 

  01a9:39 7e            pushi 7e // $7e setCycle
  01ab:7a               push2 
  01ac:51 1b            class Beg 
  01ae:36                push 
  01af:7c            pushSelf 
  01b0:80 01be            lag gCellar 
  01b3:4a 08             send 8 

  01b5:39 2b            pushi 2b // $2b number
  01b7:78               push1 
  01b8:39 2c            pushi 2c // $2c handle
  01ba:39 06            pushi 6 // $6 loop
  01bc:78               push1 
  01bd:78               push1 
  01be:39 3f            pushi 3f // $3f priority
  01c0:78               push1 
  01c1:39 05            pushi 5 // $5 view
  01c3:39 2a            pushi 2a // $2a play
  01c5:76               push0 
  01c6:80 0083            lag global131 
  01c9:4a 16             send 16 

  01cb:33 28              jmp code_01f5 

        code_01cd
  01cd:3c                 dup 
  01ce:35 08              ldi 8 
  01d0:1a                 eq? 
  01d1:31 22              bnt code_01f5 
  01d3:39 58            pushi 58 // $58 dispose
  01d5:76               push0 
  01d6:80 0175            lag global373 
  01d9:4a 04             send 4 

  01db:38 00c6          pushi c6 // $c6 stopUpd
  01de:76               push0 
  01df:80 01be            lag gCellar 
  01e2:4a 04             send 4 

  01e4:76               push0 
  01e5:45 04 00         callb procedure_0004 0 // HandsOn 

  01e8:35 11              ldi 11 
  01ea:a0 009b            sag global155 
  01ed:39 7a            pushi 7a // $7a setScript
  01ef:78               push1 
  01f0:76               push0 
  01f1:63 08             pToa client 
  01f3:4a 06             send 6 


        code_01f5
  01f5:3a                toss 
  01f6:48                 ret 
  01f7:00                bnot 
    )

)



