1 | CD edition, script 11 - castTriggerScript::changeState()
|
---|
2 |
|
---|
3 |
|
---|
4 | 004e:0020: 87 01 lap 01
|
---|
5 | 004e:0022: 65 16 aTop state[16]
|
---|
6 | 004e:0024: 36 push
|
---|
7 |
|
---|
8 |
|
---|
9 | 004e:0025: 3c dup
|
---|
10 | 004e:0026: 35 00 ldi 00 (case 0)
|
---|
11 | 004e:0028: 1a eq?
|
---|
12 | 004e:0029: 31 75 bnt 75 [00a0] (next case)
|
---|
13 | 004e:002b: 38 bd 00 pushi 00bd ; 189, with
|
---|
14 | 004e:002e: 38 08 00 pushi 0008 ; fixPriority
|
---|
15 | 004e:0031: 76 push0
|
---|
16 | 004e:0032: 76 push0
|
---|
17 | 004e:0033: 76 push0
|
---|
18 | 004e:0034: 78 push1
|
---|
19 | 004e:0035: 76 push0
|
---|
20 | 004e:0036: 76 push0
|
---|
21 | 004e:0037: 7a push2
|
---|
22 | 004e:0038: 39 03 pushi 03 ; z
|
---|
23 | 004e:003a: 51 0b class IntArray[0b],
|
---|
24 | 004e:003c: 4a 14 00 send 0014 ; 20
|
---|
25 | 004e:003f: a3 04 sal 04
|
---|
26 | 004e:0041: 38 bd 00 pushi 00bd ; 189, with
|
---|
27 | 004e:0044: 38 04 00 pushi 0004 ; scaleX
|
---|
28 | 004e:0047: 7a push2
|
---|
29 | 004e:0048: 39 03 pushi 03 ; z
|
---|
30 | 004e:004a: 39 06 pushi 06 ; maxScale
|
---|
31 | 004e:004c: 39 07 pushi 07 ; priority
|
---|
32 | 004e:004e: 51 0b class IntArray[0b],
|
---|
33 | 004e:0050: 4a 0c 00 send 000c ; 12
|
---|
34 | 004e:0053: a3 05 sal 05
|
---|
35 | 004e:0055: 38 bd 00 pushi 00bd ; 189, with
|
---|
36 | 004e:0058: 38 08 00 pushi 0008 ; fixPriority
|
---|
37 | 004e:005b: 7a push2
|
---|
38 | 004e:005c: 39 03 pushi 03 ; z
|
---|
39 | 004e:005e: 76 push0
|
---|
40 | 004e:005f: 39 03 pushi 03 ; z
|
---|
41 | 004e:0061: 76 push0
|
---|
42 | 004e:0062: 78 push1
|
---|
43 | 004e:0063: 7a push2
|
---|
44 | 004e:0064: 39 03 pushi 03 ; z
|
---|
45 | 004e:0066: 51 0b class IntArray[0b],
|
---|
46 | 004e:0068: 4a 14 00 send 0014 ; 20
|
---|
47 | 004e:006b: a3 06 sal 06
|
---|
48 | 004e:006d: 38 18 02 pushi 0218 ; 536, handsOff
|
---|
49 | 004e:0070: 76 push0
|
---|
50 | 004e:0071: 81 01 lag 01
|
---|
51 | 004e:0073: 4a 04 00 send 0004
|
---|
52 | 004e:0076: 38 11 01 pushi 0111 ; 273, setHeading
|
---|
53 | 004e:0079: 7a push2
|
---|
54 |
|
---|
55 | 004e:007a: 39 04 pushi 04 ; 4 call args
|
---|
56 | 004e:007c: 78 push1 ; x
|
---|
57 | 004e:007d: 76 push0
|
---|
58 | 004e:007e: 81 00 lag 00
|
---|
59 | 004e:0080: 4a 04 00 send 0004
|
---|
60 | 004e:0083: 36 push
|
---|
61 | 004e:0084: 7a push2 ; y
|
---|
62 | 004e:0085: 76 push0
|
---|
63 | 004e:0086: 81 00 lag 00
|
---|
64 | 004e:0088: 4a 04 00 send 0004
|
---|
65 | 004e:008b: 36 push
|
---|
66 | 004e:008c: 88 b9 01 lsg 01b9 ; 441
|
---|
67 | 004e:008f: 88 ba 01 lsg 01ba ; 442
|
---|
68 | 004e:0092: 43 60 08 00 callk GetAngle[60], 0008
|
---|
69 | 004e:0096: 36 push
|
---|
70 |
|
---|
71 | 004e:0097: 7c pushSelf
|
---|
72 | 004e:0098: 81 00 lag 00
|
---|
73 | 004e:009a: 4a 08 00 send 0008 ; (g0_hero setHeading: ...)
|
---|
74 | 004e:009d: 32 18 02 jmp 0218 [02b8] (end the switch)
|
---|
75 |
|
---|
76 |
|
---|
77 | 004e:00a0: 3c dup
|
---|
78 | 004e:00a1: 35 01 ldi 01 (case 1)
|
---|
79 | 004e:00a3: 1a eq?
|
---|
80 | 004e:00a4: 30 82 00 bnt 0082 [0129] (next case)
|
---|
81 | 004e:00a7: 39 0f pushi 0f ; 15, loop
|
---|
82 | 004e:00a9: 76 push0
|
---|
83 | 004e:00aa: 81 00 lag 00
|
---|
84 | 004e:00ac: 4a 04 00 send 0004
|
---|
85 | 004e:00af: a3 01 sal 01
|
---|
86 | 004e:00b1: 39 0e pushi 0e ; 14, view
|
---|
87 | 004e:00b3: 76 push0
|
---|
88 | 004e:00b4: 81 00 lag 00
|
---|
89 | 004e:00b6: 4a 04 00 send 0004
|
---|
90 | 004e:00b9: 36 push
|
---|
91 | 004e:00ba: 35 11 ldi 11 ; 17
|
---|
92 | 004e:00bc: 1e gt?
|
---|
93 | 004e:00bd: 31 42 bnt 42 [0101]
|
---|
94 | 004e:00bf: 39 0e pushi 0e ; 14, view
|
---|
95 | 004e:00c1: 76 push0
|
---|
96 | 004e:00c2: 81 00 lag 00
|
---|
97 | 004e:00c4: 4a 04 00 send 0004
|
---|
98 | 004e:00c7: 36 push
|
---|
99 | 004e:00c8: 35 15 ldi 15 ; 21
|
---|
100 | 004e:00ca: 22 lt?
|
---|
101 | 004e:00cb: 31 34 bnt 34 [0101]
|
---|
102 | 004e:00cd: 31 32 bnt 32 [0101]
|
---|
103 | 004e:00cf: 39 10 pushi 10 ; 16, cel
|
---|
104 | 004e:00d1: 76 push0
|
---|
105 | 004e:00d2: 81 00 lag 00
|
---|
106 | 004e:00d4: 4a 04 00 send 0004
|
---|
107 | 004e:00d7: a3 02 sal 02
|
---|
108 | 004e:00d9: 39 0e pushi 0e ; 14, view
|
---|
109 | 004e:00db: 78 push1
|
---|
110 | 004e:00dc: 39 13 pushi 13 ; 19, nsTop
|
---|
111 | 004e:00de: 39 0f pushi 0f ; 15, loop
|
---|
112 | 004e:00e0: 78 push1
|
---|
113 | 004e:00e1: 39 4b pushi 4b ; 75, 'K', at
|
---|
114 | 004e:00e3: 78 push1
|
---|
115 | 004e:00e4: 8b 01 lsl 01
|
---|
116 | 004e:00e6: 83 04 lal 04
|
---|
117 | 004e:00e8: 4a 06 00 send 0006
|
---|
118 | 004e:00eb: 36 push
|
---|
119 | 004e:00ec: 38 4d 01 pushi 014d ; 333, setCel
|
---|
120 | 004e:00ef: 78 push1
|
---|
121 | 004e:00f0: 76 push0
|
---|
122 | 004e:00f1: 38 ec 00 pushi 00ec ; 236, setCycle
|
---|
123 | 004e:00f4: 7a push2
|
---|
124 | 004e:00f5: 51 19 class End[19],
|
---|
125 | 004e:00f7: 36 push
|
---|
126 | 004e:00f8: 7c pushSelf
|
---|
127 | 004e:00f9: 81 00 lag 00
|
---|
128 | 004e:00fb: 4a 1a 00 send 001a ; 26
|
---|
129 | 004e:00fe: 32 b7 01 jmp 01b7 [02b8] (end the switch)
|
---|
130 |
|
---|
131 | 004e:0101: 39 0e pushi 0e ; 14, view
|
---|
132 | 004e:0103: 78 push1
|
---|
133 | 004e:0104: 39 0e pushi 0e ; 14, view
|
---|
134 | 004e:0106: 39 0f pushi 0f ; 15, loop
|
---|
135 | 004e:0108: 78 push1
|
---|
136 | 004e:0109: 39 4b pushi 4b ; 75, 'K', at
|
---|
137 | 004e:010b: 78 push1
|
---|
138 | 004e:010c: 8b 01 lsl 01
|
---|
139 | 004e:010e: 83 06 lal 06
|
---|
140 | 004e:0110: 4a 06 00 send 0006
|
---|
141 | 004e:0113: 36 push
|
---|
142 | 004e:0114: 38 4d 01 pushi 014d ; 333, setCel
|
---|
143 | 004e:0117: 78 push1
|
---|
144 | 004e:0118: 76 push0
|
---|
145 | 004e:0119: 38 ec 00 pushi 00ec ; 236, setCycle
|
---|
146 | 004e:011c: 7a push2
|
---|
147 | 004e:011d: 51 19 class End[19],
|
---|
148 | 004e:011f: 36 push
|
---|
149 | 004e:0120: 7c pushSelf
|
---|
150 | 004e:0121: 81 00 lag 00
|
---|
151 | 004e:0123: 4a 1a 00 send 001a ; 26
|
---|
152 | 004e:0126: 32 8f 01 jmp 018f [02b8] (end the switch)
|
---|
153 |
|
---|
154 |
|
---|
155 | 004e:0129: 3c dup
|
---|
156 | 004e:012a: 35 02 ldi 02 (case 2)
|
---|
157 | 004e:012c: 1a eq?
|
---|
158 | 004e:012d: 30 85 00 bnt 0085 [01b5] (next case)
|
---|
159 | 004e:0130: 78 push1
|
---|
160 | 004e:0131: 78 push1
|
---|
161 | 004e:0132: 88 b9 01 lsg 01b9 ; 441
|
---|
162 | 004e:0135: 7a push2
|
---|
163 | 004e:0136: 78 push1
|
---|
164 | 004e:0137: 88 ba 01 lsg 01ba ; 442
|
---|
165 | 004e:013a: 38 56 01 pushi 0156 ; 342, setScaler
|
---|
166 | 004e:013d: 78 push1
|
---|
167 | 004e:013e: 89 00 lsg 00
|
---|
168 | 004e:0140: 38 09 01 pushi 0109 ; 265, cycleSpeed
|
---|
169 | 004e:0143: 78 push1
|
---|
170 | 004e:0144: 76 push0
|
---|
171 | 004e:0145: 39 4a pushi 4a ; 74, 'J', setPri
|
---|
172 | 004e:0147: 78 push1
|
---|
173 | 004e:0148: 38 b4 00 pushi 00b4 ; 180, script
|
---|
174 | 004e:014b: 38 93 00 pushi 0093 ; 147, init
|
---|
175 | 004e:014e: 76 push0
|
---|
176 | 004e:014f: 38 ec 00 pushi 00ec ; 236, setCycle
|
---|
177 | 004e:0152: 78 push1
|
---|
178 | 004e:0153: 51 16 class Fwd[16],
|
---|
179 | 004e:0155: 36 push
|
---|
180 | 004e:0156: 72 40 00 lofsa triggerEffect[035f]
|
---|
181 | 004e:0159: 4a 28 00 send 0028 ; 40
|
---|
182 | 004e:015c: 63 26 pToa register[26]
|
---|
183 | 004e:015e: 31 17 bnt 17 [0177]
|
---|
184 | 004e:0160: 38 15 01 pushi 0115 ; 277, onMe
|
---|
185 | 004e:0163: 7a push2
|
---|
186 | 004e:0164: 88 b9 01 lsg 01b9 ; 441
|
---|
187 | 004e:0167: 88 ba 01 lsg 01ba ; 442
|
---|
188 | 004e:016a: 4a 08 00 send 0008
|
---|
189 | 004e:016d: 31 04 bnt 04 [0173]
|
---|
190 | 004e:016f: 63 26 pToa register[26]
|
---|
191 | 004e:0171: a3 00 sal 00
|
---|
192 |
|
---|
193 | 004e:0173: 35 00 ldi 00
|
---|
194 | 004e:0175: 65 26 aTop register[26]
|
---|
195 |
|
---|
196 | 004e:0177: 39 0e pushi 0e ; 14, view
|
---|
197 | 004e:0179: 76 push0
|
---|
198 | 004e:017a: 81 00 lag 00
|
---|
199 | 004e:017c: 4a 04 00 send 0004
|
---|
200 | 004e:017f: 36 push
|
---|
201 | 004e:0180: 35 11 ldi 11 ; 17
|
---|
202 | 004e:0182: 1e gt?
|
---|
203 | 004e:0183: 31 0e bnt 0e [0193]
|
---|
204 | 004e:0185: 39 0e pushi 0e ; 14, view
|
---|
205 | 004e:0187: 76 push0
|
---|
206 | 004e:0188: 81 00 lag 00
|
---|
207 | 004e:018a: 4a 04 00 send 0004
|
---|
208 | 004e:018d: 36 push
|
---|
209 | 004e:018e: 35 15 ldi 15 ; 21
|
---|
210 | 004e:0190: 22 lt?
|
---|
211 | 004e:0191: 31 00 bnt 00 [0193]
|
---|
212 |
|
---|
213 | 004e:0193: 18 not
|
---|
214 | 004e:0194: 31 0d bnt 0d [01a3]
|
---|
215 | 004e:0196: 38 ec 00 pushi 00ec ; 236, setCycle
|
---|
216 | 004e:0199: 7a push2
|
---|
217 | 004e:019a: 51 1a class Beg[1a],
|
---|
218 | 004e:019c: 36 push
|
---|
219 | 004e:019d: 7c pushSelf
|
---|
220 | 004e:019e: 81 00 lag 00
|
---|
221 | 004e:01a0: 4a 08 00 send 0008
|
---|
222 |
|
---|
223 | 004e:01a3: 39 34 pushi 34 ; 52, '4', number
|
---|
224 | 004e:01a5: 78 push1
|
---|
225 | 004e:01a6: 38 a6 03 pushi 03a6 ; 934, BAD SELECTOR
|
---|
226 | 004e:01a9: 39 33 pushi 33 ; 51, '3', play
|
---|
227 | 004e:01ab: 76 push0
|
---|
228 | 004e:01ac: 72 c0 00 lofsa soundFX[03df]
|
---|
229 | 004e:01af: 4a 0a 00 send 000a ; 10
|
---|
230 | 004e:01b2: 32 03 01 jmp 0103 [02b8] (end the switch)
|
---|
231 |
|
---|
232 |
|
---|
233 | 004e:01b5: 3c dup
|
---|
234 | 004e:01b6: 35 03 ldi 03 (case 3)
|
---|
235 | 004e:01b8: 1a eq?
|
---|
236 | 004e:01b9: 31 11 bnt 11 [01cc] (next case)
|
---|
237 | 004e:01bb: 38 94 00 pushi 0094 ; 148, dispose
|
---|
238 | 004e:01be: 76 push0
|
---|
239 | 004e:01bf: 72 40 00 lofsa triggerEffect[035f]
|
---|
240 | 004e:01c2: 4a 04 00 send 0004
|
---|
241 | 004e:01c5: 35 02 ldi 02
|
---|
242 | 004e:01c7: 65 1c aTop cycles[1c]
|
---|
243 | 004e:01c9: 32 ec 00 jmp 00ec [02b8] (end the switch)
|
---|
244 |
|
---|
245 |
|
---|
246 | 004e:01cc: 3c dup
|
---|
247 | 004e:01cd: 35 04 ldi 04 (case 4)
|
---|
248 | 004e:01cf: 1a eq?
|
---|
249 | 004e:01d0: 30 cf 00 bnt 00cf [02a2] (next case)
|
---|
250 | 004e:01d3: 39 0e pushi 0e ; 14, view
|
---|
251 | 004e:01d5: 76 push0
|
---|
252 | 004e:01d6: 81 00 lag 00
|
---|
253 | 004e:01d8: 4a 04 00 send 0004
|
---|
254 | 004e:01db: 36 push
|
---|
255 | 004e:01dc: 35 11 ldi 11 ; 17
|
---|
256 | 004e:01de: 1e gt?
|
---|
257 | 004e:01df: 31 49 bnt 49 [022a]
|
---|
258 | 004e:01e1: 39 0e pushi 0e ; 14, view
|
---|
259 | 004e:01e3: 76 push0
|
---|
260 | 004e:01e4: 81 00 lag 00
|
---|
261 | 004e:01e6: 4a 04 00 send 0004
|
---|
262 | 004e:01e9: 36 push
|
---|
263 | 004e:01ea: 35 15 ldi 15 ; 21
|
---|
264 | 004e:01ec: 22 lt?
|
---|
265 | 004e:01ed: 31 3b bnt 3b [022a]
|
---|
266 | 004e:01ef: 31 39 bnt 39 [022a]
|
---|
267 | 004e:01f1: 39 0e pushi 0e ; 14, view
|
---|
268 | 004e:01f3: 78 push1
|
---|
269 | 004e:01f4: 39 14 pushi 14 ; 20, nsRight
|
---|
270 | 004e:01f6: 39 0f pushi 0f ; 15, loop
|
---|
271 | 004e:01f8: 78 push1
|
---|
272 | 004e:01f9: 39 4b pushi 4b ; 75, 'K', at
|
---|
273 | 004e:01fb: 78 push1
|
---|
274 | 004e:01fc: 39 0f pushi 0f ; 15, loop
|
---|
275 | 004e:01fe: 76 push0
|
---|
276 | 004e:01ff: 81 00 lag 00
|
---|
277 | 004e:0201: 4a 04 00 send 0004
|
---|
278 | 004e:0204: 36 push
|
---|
279 | 004e:0205: 83 05 lal 05
|
---|
280 | 004e:0207: 4a 06 00 send 0006
|
---|
281 | 004e:020a: 36 push
|
---|
282 | 004e:020b: 39 10 pushi 10 ; 16, cel
|
---|
283 | 004e:020d: 78 push1
|
---|
284 | 004e:020e: 39 0f pushi 0f ; 15, loop
|
---|
285 | 004e:0210: 76 push0
|
---|
286 | 004e:0211: 81 00 lag 00
|
---|
287 | 004e:0213: 4a 04 00 send 0004
|
---|
288 | 004e:0216: 36 push
|
---|
289 | 004e:0217: 35 06 ldi 06
|
---|
290 | 004e:0219: 22 lt?
|
---|
291 | 004e:021a: 31 04 bnt 04 [0220]
|
---|
292 | 004e:021c: 35 04 ldi 04
|
---|
293 | 004e:021e: 33 02 jmp 02 [0222]
|
---|
294 |
|
---|
295 | 004e:0220: 35 05 ldi 05
|
---|
296 |
|
---|
297 | 004e:0222: 36 push
|
---|
298 | 004e:0223: 81 00 lag 00
|
---|
299 | 004e:0225: 4a 12 00 send 0012 ; 18
|
---|
300 | 004e:0228: 33 09 jmp 09 [0233]
|
---|
301 |
|
---|
302 | 004e:022a: 38 16 03 pushi 0316 ; 790, normalize
|
---|
303 | 004e:022d: 76 push0
|
---|
304 | 004e:022e: 81 00 lag 00
|
---|
305 | 004e:0230: 4a 04 00 send 0004
|
---|
306 |
|
---|
307 | 004e:0233: 39 0f pushi 0f ; 15 call args
|
---|
308 | 004e:0235: 89 0b lsg 0b ; 11
|
---|
309 | 004e:0237: 38 0e 01 pushi 010e ; 270, yLast
|
---|
310 | 004e:023a: 38 22 01 pushi 0122 ; 290, prevCue
|
---|
311 | 004e:023d: 38 54 01 pushi 0154 ; 340, detailLevel
|
---|
312 | 004e:0240: 38 b8 01 pushi 01b8 ; 440, getCursor
|
---|
313 | 004e:0243: 38 cc 01 pushi 01cc ; 460, highlightedIcon
|
---|
314 | 004e:0246: 38 08 02 pushi 0208 ; 520, writeString
|
---|
315 | 004e:0249: 38 44 02 pushi 0244 ; 580, atEnd
|
---|
316 | 004e:024c: 38 51 02 pushi 0251 ; 593, vChangeDir
|
---|
317 | 004e:024f: 38 58 02 pushi 0258 ; 600, currentRoom
|
---|
318 | 004e:0252: 38 81 02 pushi 0281 ; 641, audSequence
|
---|
319 | 004e:0255: 38 83 02 pushi 0283 ; 643, display
|
---|
320 | 004e:0258: 38 8a 02 pushi 028a ; 650, textY
|
---|
321 | 004e:025b: 38 ee 02 pushi 02ee ; 750, myTeller
|
---|
322 | 004e:025e: 38 20 03 pushi 0320 ; 800, puzzleCast
|
---|
323 | 004e:0261: 46 e7 fd 05 00 1e 00 calle fde7 ; 64999 0005 001e ; 30
|
---|
324 | 004e:0268: 18 not
|
---|
325 | 004e:0269: 31 14 bnt 14 [027f]
|
---|
326 | 004e:026b: 38 f5 00 pushi 00f5 ; 245, say
|
---|
327 | 004e:026e: 38 06 00 pushi 0006 ; maxScale
|
---|
328 | 004e:0271: 76 push0
|
---|
329 | 004e:0272: 76 push0
|
---|
330 | 004e:0273: 78 push1
|
---|
331 | 004e:0274: 76 push0
|
---|
332 | 004e:0275: 7c pushSelf
|
---|
333 | 004e:0276: 39 0b pushi 0b ; 11, inRight
|
---|
334 | 004e:0278: 81 5b lag 5b ; 91, '['
|
---|
335 | 004e:027a: 4a 10 00 send 0010 ; 16
|
---|
336 | 004e:027d: 33 39 jmp 39 [02b8] (end the switch)
|
---|
337 |
|
---|
338 | 004e:027f: 83 00 lal 00
|
---|
339 | 004e:0281: 31 0b bnt 0b [028e]
|
---|
340 | 004e:0283: 38 2f 01 pushi 012f ; 303, doVerb
|
---|
341 | 004e:0286: 78 push1
|
---|
342 | 004e:0287: 39 ae pushi ae ; 174, cycles
|
---|
343 | 004e:0289: 4a 06 00 send 0006
|
---|
344 | 004e:028c: 33 2a jmp 2a [02b8] (end the switch)
|
---|
345 |
|
---|
346 | 004e:028e: 38 f5 00 pushi 00f5 ; 245, say
|
---|
347 | 004e:0291: 38 06 00 pushi 0006 ; maxScale
|
---|
348 | 004e:0294: 76 push0
|
---|
349 | 004e:0295: 76 push0
|
---|
350 | 004e:0296: 78 push1
|
---|
351 | 004e:0297: 76 push0
|
---|
352 | 004e:0298: 7c pushSelf
|
---|
353 | 004e:0299: 39 0b pushi 0b ; 11, inRight
|
---|
354 | 004e:029b: 81 5b lag 5b ; 91, '['
|
---|
355 | 004e:029d: 4a 10 00 send 0010 ; 16
|
---|
356 | 004e:02a0: 33 16 jmp 16 [02b8] (end the switch)
|
---|
357 |
|
---|
358 |
|
---|
359 | 004e:02a2: 3c dup
|
---|
360 | 004e:02a3: 35 05 ldi 05 (case 5)
|
---|
361 | 004e:02a5: 1a eq?
|
---|
362 | 004e:02a6: 31 10 bnt 10 [02b8] (end the switch)
|
---|
363 | 004e:02a8: 38 19 02 pushi 0219 ; 537, handsOn
|
---|
364 | 004e:02ab: 76 push0
|
---|
365 | 004e:02ac: 81 01 lag 01
|
---|
366 | 004e:02ae: 4a 04 00 send 0004
|
---|
367 | 004e:02b1: 38 94 00 pushi 0094 ; 148, dispose
|
---|
368 | 004e:02b4: 76 push0
|
---|
369 | 004e:02b5: 54 04 00 self 0004
|
---|
370 |
|
---|
371 |
|
---|
372 | 004e:02b8: 3a toss
|
---|
373 | 004e:02b9: 48 ret
|
---|