CD edition, script 11 - castTriggerScript::changeState() 004e:0020: 87 01 lap 01 004e:0022: 65 16 aTop state[16] 004e:0024: 36 push 004e:0025: 3c dup 004e:0026: 35 00 ldi 00 (case 0) 004e:0028: 1a eq? 004e:0029: 31 75 bnt 75 [00a0] (next case) 004e:002b: 38 bd 00 pushi 00bd ; 189, with 004e:002e: 38 08 00 pushi 0008 ; fixPriority 004e:0031: 76 push0 004e:0032: 76 push0 004e:0033: 76 push0 004e:0034: 78 push1 004e:0035: 76 push0 004e:0036: 76 push0 004e:0037: 7a push2 004e:0038: 39 03 pushi 03 ; z 004e:003a: 51 0b class IntArray[0b], 004e:003c: 4a 14 00 send 0014 ; 20 004e:003f: a3 04 sal 04 004e:0041: 38 bd 00 pushi 00bd ; 189, with 004e:0044: 38 04 00 pushi 0004 ; scaleX 004e:0047: 7a push2 004e:0048: 39 03 pushi 03 ; z 004e:004a: 39 06 pushi 06 ; maxScale 004e:004c: 39 07 pushi 07 ; priority 004e:004e: 51 0b class IntArray[0b], 004e:0050: 4a 0c 00 send 000c ; 12 004e:0053: a3 05 sal 05 004e:0055: 38 bd 00 pushi 00bd ; 189, with 004e:0058: 38 08 00 pushi 0008 ; fixPriority 004e:005b: 7a push2 004e:005c: 39 03 pushi 03 ; z 004e:005e: 76 push0 004e:005f: 39 03 pushi 03 ; z 004e:0061: 76 push0 004e:0062: 78 push1 004e:0063: 7a push2 004e:0064: 39 03 pushi 03 ; z 004e:0066: 51 0b class IntArray[0b], 004e:0068: 4a 14 00 send 0014 ; 20 004e:006b: a3 06 sal 06 004e:006d: 38 18 02 pushi 0218 ; 536, handsOff 004e:0070: 76 push0 004e:0071: 81 01 lag 01 004e:0073: 4a 04 00 send 0004 004e:0076: 38 11 01 pushi 0111 ; 273, setHeading 004e:0079: 7a push2 004e:007a: 39 04 pushi 04 ; 4 call args 004e:007c: 78 push1 ; x 004e:007d: 76 push0 004e:007e: 81 00 lag 00 004e:0080: 4a 04 00 send 0004 004e:0083: 36 push 004e:0084: 7a push2 ; y 004e:0085: 76 push0 004e:0086: 81 00 lag 00 004e:0088: 4a 04 00 send 0004 004e:008b: 36 push 004e:008c: 88 b9 01 lsg 01b9 ; 441 004e:008f: 88 ba 01 lsg 01ba ; 442 004e:0092: 43 60 08 00 callk GetAngle[60], 0008 004e:0096: 36 push 004e:0097: 7c pushSelf 004e:0098: 81 00 lag 00 004e:009a: 4a 08 00 send 0008 ; (g0_hero setHeading: ...) 004e:009d: 32 18 02 jmp 0218 [02b8] (end the switch) 004e:00a0: 3c dup 004e:00a1: 35 01 ldi 01 (case 1) 004e:00a3: 1a eq? 004e:00a4: 30 82 00 bnt 0082 [0129] (next case) 004e:00a7: 39 0f pushi 0f ; 15, loop 004e:00a9: 76 push0 004e:00aa: 81 00 lag 00 004e:00ac: 4a 04 00 send 0004 004e:00af: a3 01 sal 01 004e:00b1: 39 0e pushi 0e ; 14, view 004e:00b3: 76 push0 004e:00b4: 81 00 lag 00 004e:00b6: 4a 04 00 send 0004 004e:00b9: 36 push 004e:00ba: 35 11 ldi 11 ; 17 004e:00bc: 1e gt? 004e:00bd: 31 42 bnt 42 [0101] 004e:00bf: 39 0e pushi 0e ; 14, view 004e:00c1: 76 push0 004e:00c2: 81 00 lag 00 004e:00c4: 4a 04 00 send 0004 004e:00c7: 36 push 004e:00c8: 35 15 ldi 15 ; 21 004e:00ca: 22 lt? 004e:00cb: 31 34 bnt 34 [0101] 004e:00cd: 31 32 bnt 32 [0101] 004e:00cf: 39 10 pushi 10 ; 16, cel 004e:00d1: 76 push0 004e:00d2: 81 00 lag 00 004e:00d4: 4a 04 00 send 0004 004e:00d7: a3 02 sal 02 004e:00d9: 39 0e pushi 0e ; 14, view 004e:00db: 78 push1 004e:00dc: 39 13 pushi 13 ; 19, nsTop 004e:00de: 39 0f pushi 0f ; 15, loop 004e:00e0: 78 push1 004e:00e1: 39 4b pushi 4b ; 75, 'K', at 004e:00e3: 78 push1 004e:00e4: 8b 01 lsl 01 004e:00e6: 83 04 lal 04 004e:00e8: 4a 06 00 send 0006 004e:00eb: 36 push 004e:00ec: 38 4d 01 pushi 014d ; 333, setCel 004e:00ef: 78 push1 004e:00f0: 76 push0 004e:00f1: 38 ec 00 pushi 00ec ; 236, setCycle 004e:00f4: 7a push2 004e:00f5: 51 19 class End[19], 004e:00f7: 36 push 004e:00f8: 7c pushSelf 004e:00f9: 81 00 lag 00 004e:00fb: 4a 1a 00 send 001a ; 26 004e:00fe: 32 b7 01 jmp 01b7 [02b8] (end the switch) 004e:0101: 39 0e pushi 0e ; 14, view 004e:0103: 78 push1 004e:0104: 39 0e pushi 0e ; 14, view 004e:0106: 39 0f pushi 0f ; 15, loop 004e:0108: 78 push1 004e:0109: 39 4b pushi 4b ; 75, 'K', at 004e:010b: 78 push1 004e:010c: 8b 01 lsl 01 004e:010e: 83 06 lal 06 004e:0110: 4a 06 00 send 0006 004e:0113: 36 push 004e:0114: 38 4d 01 pushi 014d ; 333, setCel 004e:0117: 78 push1 004e:0118: 76 push0 004e:0119: 38 ec 00 pushi 00ec ; 236, setCycle 004e:011c: 7a push2 004e:011d: 51 19 class End[19], 004e:011f: 36 push 004e:0120: 7c pushSelf 004e:0121: 81 00 lag 00 004e:0123: 4a 1a 00 send 001a ; 26 004e:0126: 32 8f 01 jmp 018f [02b8] (end the switch) 004e:0129: 3c dup 004e:012a: 35 02 ldi 02 (case 2) 004e:012c: 1a eq? 004e:012d: 30 85 00 bnt 0085 [01b5] (next case) 004e:0130: 78 push1 004e:0131: 78 push1 004e:0132: 88 b9 01 lsg 01b9 ; 441 004e:0135: 7a push2 004e:0136: 78 push1 004e:0137: 88 ba 01 lsg 01ba ; 442 004e:013a: 38 56 01 pushi 0156 ; 342, setScaler 004e:013d: 78 push1 004e:013e: 89 00 lsg 00 004e:0140: 38 09 01 pushi 0109 ; 265, cycleSpeed 004e:0143: 78 push1 004e:0144: 76 push0 004e:0145: 39 4a pushi 4a ; 74, 'J', setPri 004e:0147: 78 push1 004e:0148: 38 b4 00 pushi 00b4 ; 180, script 004e:014b: 38 93 00 pushi 0093 ; 147, init 004e:014e: 76 push0 004e:014f: 38 ec 00 pushi 00ec ; 236, setCycle 004e:0152: 78 push1 004e:0153: 51 16 class Fwd[16], 004e:0155: 36 push 004e:0156: 72 40 00 lofsa triggerEffect[035f] 004e:0159: 4a 28 00 send 0028 ; 40 004e:015c: 63 26 pToa register[26] 004e:015e: 31 17 bnt 17 [0177] 004e:0160: 38 15 01 pushi 0115 ; 277, onMe 004e:0163: 7a push2 004e:0164: 88 b9 01 lsg 01b9 ; 441 004e:0167: 88 ba 01 lsg 01ba ; 442 004e:016a: 4a 08 00 send 0008 004e:016d: 31 04 bnt 04 [0173] 004e:016f: 63 26 pToa register[26] 004e:0171: a3 00 sal 00 004e:0173: 35 00 ldi 00 004e:0175: 65 26 aTop register[26] 004e:0177: 39 0e pushi 0e ; 14, view 004e:0179: 76 push0 004e:017a: 81 00 lag 00 004e:017c: 4a 04 00 send 0004 004e:017f: 36 push 004e:0180: 35 11 ldi 11 ; 17 004e:0182: 1e gt? 004e:0183: 31 0e bnt 0e [0193] 004e:0185: 39 0e pushi 0e ; 14, view 004e:0187: 76 push0 004e:0188: 81 00 lag 00 004e:018a: 4a 04 00 send 0004 004e:018d: 36 push 004e:018e: 35 15 ldi 15 ; 21 004e:0190: 22 lt? 004e:0191: 31 00 bnt 00 [0193] 004e:0193: 18 not 004e:0194: 31 0d bnt 0d [01a3] 004e:0196: 38 ec 00 pushi 00ec ; 236, setCycle 004e:0199: 7a push2 004e:019a: 51 1a class Beg[1a], 004e:019c: 36 push 004e:019d: 7c pushSelf 004e:019e: 81 00 lag 00 004e:01a0: 4a 08 00 send 0008 004e:01a3: 39 34 pushi 34 ; 52, '4', number 004e:01a5: 78 push1 004e:01a6: 38 a6 03 pushi 03a6 ; 934, BAD SELECTOR 004e:01a9: 39 33 pushi 33 ; 51, '3', play 004e:01ab: 76 push0 004e:01ac: 72 c0 00 lofsa soundFX[03df] 004e:01af: 4a 0a 00 send 000a ; 10 004e:01b2: 32 03 01 jmp 0103 [02b8] (end the switch) 004e:01b5: 3c dup 004e:01b6: 35 03 ldi 03 (case 3) 004e:01b8: 1a eq? 004e:01b9: 31 11 bnt 11 [01cc] (next case) 004e:01bb: 38 94 00 pushi 0094 ; 148, dispose 004e:01be: 76 push0 004e:01bf: 72 40 00 lofsa triggerEffect[035f] 004e:01c2: 4a 04 00 send 0004 004e:01c5: 35 02 ldi 02 004e:01c7: 65 1c aTop cycles[1c] 004e:01c9: 32 ec 00 jmp 00ec [02b8] (end the switch) 004e:01cc: 3c dup 004e:01cd: 35 04 ldi 04 (case 4) 004e:01cf: 1a eq? 004e:01d0: 30 cf 00 bnt 00cf [02a2] (next case) 004e:01d3: 39 0e pushi 0e ; 14, view 004e:01d5: 76 push0 004e:01d6: 81 00 lag 00 004e:01d8: 4a 04 00 send 0004 004e:01db: 36 push 004e:01dc: 35 11 ldi 11 ; 17 004e:01de: 1e gt? 004e:01df: 31 49 bnt 49 [022a] 004e:01e1: 39 0e pushi 0e ; 14, view 004e:01e3: 76 push0 004e:01e4: 81 00 lag 00 004e:01e6: 4a 04 00 send 0004 004e:01e9: 36 push 004e:01ea: 35 15 ldi 15 ; 21 004e:01ec: 22 lt? 004e:01ed: 31 3b bnt 3b [022a] 004e:01ef: 31 39 bnt 39 [022a] 004e:01f1: 39 0e pushi 0e ; 14, view 004e:01f3: 78 push1 004e:01f4: 39 14 pushi 14 ; 20, nsRight 004e:01f6: 39 0f pushi 0f ; 15, loop 004e:01f8: 78 push1 004e:01f9: 39 4b pushi 4b ; 75, 'K', at 004e:01fb: 78 push1 004e:01fc: 39 0f pushi 0f ; 15, loop 004e:01fe: 76 push0 004e:01ff: 81 00 lag 00 004e:0201: 4a 04 00 send 0004 004e:0204: 36 push 004e:0205: 83 05 lal 05 004e:0207: 4a 06 00 send 0006 004e:020a: 36 push 004e:020b: 39 10 pushi 10 ; 16, cel 004e:020d: 78 push1 004e:020e: 39 0f pushi 0f ; 15, loop 004e:0210: 76 push0 004e:0211: 81 00 lag 00 004e:0213: 4a 04 00 send 0004 004e:0216: 36 push 004e:0217: 35 06 ldi 06 004e:0219: 22 lt? 004e:021a: 31 04 bnt 04 [0220] 004e:021c: 35 04 ldi 04 004e:021e: 33 02 jmp 02 [0222] 004e:0220: 35 05 ldi 05 004e:0222: 36 push 004e:0223: 81 00 lag 00 004e:0225: 4a 12 00 send 0012 ; 18 004e:0228: 33 09 jmp 09 [0233] 004e:022a: 38 16 03 pushi 0316 ; 790, normalize 004e:022d: 76 push0 004e:022e: 81 00 lag 00 004e:0230: 4a 04 00 send 0004 004e:0233: 39 0f pushi 0f ; 15 call args 004e:0235: 89 0b lsg 0b ; 11 004e:0237: 38 0e 01 pushi 010e ; 270, yLast 004e:023a: 38 22 01 pushi 0122 ; 290, prevCue 004e:023d: 38 54 01 pushi 0154 ; 340, detailLevel 004e:0240: 38 b8 01 pushi 01b8 ; 440, getCursor 004e:0243: 38 cc 01 pushi 01cc ; 460, highlightedIcon 004e:0246: 38 08 02 pushi 0208 ; 520, writeString 004e:0249: 38 44 02 pushi 0244 ; 580, atEnd 004e:024c: 38 51 02 pushi 0251 ; 593, vChangeDir 004e:024f: 38 58 02 pushi 0258 ; 600, currentRoom 004e:0252: 38 81 02 pushi 0281 ; 641, audSequence 004e:0255: 38 83 02 pushi 0283 ; 643, display 004e:0258: 38 8a 02 pushi 028a ; 650, textY 004e:025b: 38 ee 02 pushi 02ee ; 750, myTeller 004e:025e: 38 20 03 pushi 0320 ; 800, puzzleCast 004e:0261: 46 e7 fd 05 00 1e 00 calle fde7 ; 64999 0005 001e ; 30 004e:0268: 18 not 004e:0269: 31 14 bnt 14 [027f] 004e:026b: 38 f5 00 pushi 00f5 ; 245, say 004e:026e: 38 06 00 pushi 0006 ; maxScale 004e:0271: 76 push0 004e:0272: 76 push0 004e:0273: 78 push1 004e:0274: 76 push0 004e:0275: 7c pushSelf 004e:0276: 39 0b pushi 0b ; 11, inRight 004e:0278: 81 5b lag 5b ; 91, '[' 004e:027a: 4a 10 00 send 0010 ; 16 004e:027d: 33 39 jmp 39 [02b8] (end the switch) 004e:027f: 83 00 lal 00 004e:0281: 31 0b bnt 0b [028e] 004e:0283: 38 2f 01 pushi 012f ; 303, doVerb 004e:0286: 78 push1 004e:0287: 39 ae pushi ae ; 174, cycles 004e:0289: 4a 06 00 send 0006 004e:028c: 33 2a jmp 2a [02b8] (end the switch) 004e:028e: 38 f5 00 pushi 00f5 ; 245, say 004e:0291: 38 06 00 pushi 0006 ; maxScale 004e:0294: 76 push0 004e:0295: 76 push0 004e:0296: 78 push1 004e:0297: 76 push0 004e:0298: 7c pushSelf 004e:0299: 39 0b pushi 0b ; 11, inRight 004e:029b: 81 5b lag 5b ; 91, '[' 004e:029d: 4a 10 00 send 0010 ; 16 004e:02a0: 33 16 jmp 16 [02b8] (end the switch) 004e:02a2: 3c dup 004e:02a3: 35 05 ldi 05 (case 5) 004e:02a5: 1a eq? 004e:02a6: 31 10 bnt 10 [02b8] (end the switch) 004e:02a8: 38 19 02 pushi 0219 ; 537, handsOn 004e:02ab: 76 push0 004e:02ac: 81 01 lag 01 004e:02ae: 4a 04 00 send 0004 004e:02b1: 38 94 00 pushi 0094 ; 148, dispose 004e:02b4: 76 push0 004e:02b5: 54 04 00 self 0004 004e:02b8: 3a toss 004e:02b9: 48 ret