(script 214)

(string
    string_0226 "HighLite"
    string_022f ""
)

(said
)

(local
)

// 0170
(class HighLite of Prop
    (properties
        y $0
        x $0
        z $0
        heading $0
        yStep $2
        view $0
        loop $0
        cel $0
        priority $0
        underBits $0
        signal $0
        nsTop $0
        nsLeft $0
        nsBottom $0
        nsRight $0
        lsTop $0
        lsLeft $0
        lsBottom $0
        lsRight $0
        brTop $0
        brLeft $0
        brBottom $0
        brRight $0
        cycleSpeed $0
        script $0
        cycler $0
        timer $0
        highLiteX $0
        highLiteY $0
        deltaX $0
        deltaY $0
        leadingEdge $0
        ignoreCast $0
        eyesID $0
    )
    (method (init) // method_0004
  0004:39 57            pushi 57 // $57 init
  0006:76               push0 
  0007:57 27 04         super Prop 4 

  000a:38 014b          pushi 14b // $14b HighLitePosn
  000d:76               push0 
  000e:54 04             self 4 

  0010:39 05            pushi 5 // $5 view
  0012:78               push1 
  0013:38 0097          pushi 97 // $97 open
  0016:39 06            pushi 6 // $6 loop
  0018:78               push1 
  0019:78               push1 
  001a:39 07            pushi 7 // $7 cel
  001c:78               push1 
  001d:76               push0 
  001e:39 42            pushi 42 // $42 setPri
  0020:78               push1 
  0021:7a               push2 
  0022:38 00c5          pushi c5 // $c5 posn
  0025:7a               push2 
  0026:67 3e             pTos highLiteX 
  0028:67 40             pTos highLiteY 
  002a:38 00c9          pushi c9 // $c9 ignoreActors
  002d:78               push1 
  002e:78               push1 
  002f:39 7e            pushi 7e // $7e setCycle
  0031:78               push1 
  0032:51 16            class Fwd 
  0034:36                push 
  0035:54 2c             self 2c 

  0037:38 0148          pushi 148 // $148 leadingEdge
  003a:78               push1 
  003b:39 16            pushi 16 // $16 brRight
  003d:76               push0 
  003e:54 04             self 4 

  0040:36                push 
  0041:39 14            pushi 14 // $14 brLeft
  0043:76               push0 
  0044:54 04             self 4 

  0046:04                 sub 
  0047:36                push 
  0048:35 01              ldi 1 
  004a:02                 add 
  004b:36                push 
  004c:35 02              ldi 2 
  004e:08                 div 
  004f:36                push 
  0050:54 06             self 6 

  0052:48                 ret 
    )

    (method (doit) // method_0053
  0053:3f 06             link 6 // (var $6)
  0055:38 014b          pushi 14b // $14b HighLitePosn
  0058:76               push0 
  0059:54 04             self 4 

  005b:38 00c5          pushi c5 // $c5 posn
  005e:7a               push2 
  005f:67 3e             pTos highLiteX 
  0061:67 40             pTos highLiteY 
  0063:54 08             self 8 

  0065:63 48             pToa ignoreCast 
  0067:18                 not 
  0068:30 00aa            bnt code_0115 
  006b:39 67            pushi 67 // $67 first
  006d:76               push0 
  006e:81 05              lag gCast 
  0070:4a 04             send 4 

  0072:a5 00              sat temp0 

        code_0074
  0074:85 00              lat temp0 
  0076:30 009c            bnt code_0115 
  0079:39 44            pushi 44 // $44 next
  007b:78               push1 
  007c:8d 00              lst temp0 
  007e:81 05              lag gCast 
  0080:4a 06             send 6 

  0082:a5 01              sat temp1 
  0084:78               push1 
  0085:78               push1 
  0086:8d 00              lst temp0 
  0088:43 3a 02         callk NodeValue 2 

  008b:a5 02              sat temp2 
  008d:36                push 
  008e:43 06 02         callk IsObject 2 

  0091:31 7b              bnt code_010e 
  0093:8d 02              lst temp2 
  0095:81 00              lag gEgo 
  0097:1c                 ne? 
  0098:31 74              bnt code_010e 
  009a:8d 02              lst temp2 
  009c:5c              selfID 
  009d:1c                 ne? 
  009e:31 6e              bnt code_010e 
  00a0:8d 02              lst temp2 
  00a2:63 4a             pToa eyesID 
  00a4:1c                 ne? 
  00a5:31 67              bnt code_010e 
  00a7:39 04            pushi 4 // $4 x
  00a9:76               push0 
  00aa:85 02              lat temp2 
  00ac:4a 04             send 4 

  00ae:36                push 
  00af:39 04            pushi 4 // $4 x
  00b1:76               push0 
  00b2:54 04             self 4 

  00b4:04                 sub 
  00b5:a5 03              sat temp3 
  00b7:67 46             pTos leadingEdge 
  00b9:78               push1 
  00ba:8d 03              lst temp3 
  00bc:43 41 02         callk Abs 2 

  00bf:20                 ge? 
  00c0:31 44              bnt code_0106 
  00c2:78               push1 
  00c3:8d 02              lst temp2 
  00c5:43 0e 02         callk NumCels 2 

  00c8:a5 05              sat temp5 
  00ca:8d 03              lst temp3 
  00cc:34 03e8            ldi 3e8 
  00cf:06                 mul 
  00d0:36                push 
  00d1:63 46             pToa leadingEdge 
  00d3:08                 div 
  00d4:36                push 
  00d5:35 05              ldi 5 
  00d7:02                 add 
  00d8:36                push 
  00d9:8d 05              lst temp5 
  00db:35 02              ldi 2 
  00dd:08                 div 
  00de:06                 mul 
  00df:36                push 
  00e0:34 03e8            ldi 3e8 
  00e3:08                 div 
  00e4:36                push 
  00e5:8d 05              lst temp5 
  00e7:35 02              ldi 2 
  00e9:08                 div 
  00ea:02                 add 
  00eb:a5 04              sat temp4 
  00ed:36                push 
  00ee:85 05              lat temp5 
  00f0:22                 lt? 
  00f1:31 11              bnt code_0104 
  00f3:38 00ca          pushi ca // $ca show
  00f6:76               push0 
  00f7:39 07            pushi 7 // $7 cel
  00f9:78               push1 
  00fa:8d 04              lst temp4 
  00fc:38 00c7          pushi c7 // $c7 forceUpd
  00ff:76               push0 
  0100:85 02              lat temp2 
  0102:4a 0e             send e 


        code_0104
  0104:33 08              jmp code_010e 

        code_0106
  0106:38 0089          pushi 89 // $89 hide
  0109:76               push0 
  010a:85 02              lat temp2 
  010c:4a 04             send 4 


        code_010e
  010e:85 01              lat temp1 
  0110:a5 00              sat temp0 
  0112:32 ff5f            jmp code_0074 

        code_0115
  0115:39 3c            pushi 3c // $3c doit
  0117:76               push0 
  0118:57 27 04         super Prop 4 

  011b:48                 ret 
    )

    (method (handleEvent) // method_011c
  011c:39 4c            pushi 4c // $4c claimed
  011e:76               push0 
  011f:87 01              lap param1 
  0121:4a 04             send 4 

  0123:31 01              bnt code_0126 
  0125:48                 ret 

        code_0126
  0126:48                 ret 
    )

    (method (HighLitePosn) // method_0127
  0127:3f 01             link 1 // (var $1)
  0129:39 06            pushi 6 // $6 loop
  012b:76               push0 
  012c:81 00              lag gEgo 
  012e:4a 04             send 4 

  0130:a5 00              sat temp0 
  0132:36                push 
  0133:35 02              ldi 2 
  0135:1a                 eq? 
  0136:2f 07               bt code_013f 
  0138:8d 00              lst temp0 
  013a:35 01              ldi 1 
  013c:1a                 eq? 
  013d:31 0f              bnt code_014e 

        code_013f
  013f:39 04            pushi 4 // $4 x
  0141:76               push0 
  0142:81 00              lag gEgo 
  0144:4a 04             send 4 

  0146:36                push 
  0147:63 42             pToa deltaX 
  0149:04                 sub 
  014a:65 3e             aTop highLiteX 
  014c:33 0d              jmp code_015b 

        code_014e
  014e:39 04            pushi 4 // $4 x
  0150:76               push0 
  0151:81 00              lag gEgo 
  0153:4a 04             send 4 

  0155:36                push 
  0156:63 42             pToa deltaX 
  0158:02                 add 
  0159:65 3e             aTop highLiteX 

        code_015b
  015b:39 03            pushi 3 // $3 y
  015d:76               push0 
  015e:81 00              lag gEgo 
  0160:4a 04             send 4 

  0162:36                push 
  0163:63 44             pToa deltaY 
  0165:04                 sub 
  0166:65 40             aTop highLiteY 
  0168:48                 ret 
  0169:00                bnot 
    )

)



