Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 138.90 KB | None | 0 0
  1. diff --git a/1.4 b/2.0b
  2. index 09f6fc8..d866a2c 100644
  3. --- a/1.4
  4. +++ b/2.0b
  5. @@ -22,7 +22,6 @@
  6. rm5300 0
  7. chickenPetite 1
  8. chickenSound 2
  9. - chickenTimerScript 3
  10. proc5300_4 4
  11. archDuke 5
  12. townHallDoor 6
  13. @@ -32,33 +31,84 @@
  14. fauxDoor 10
  15. bull 11
  16. chinaDoor 12
  17. + glint1 13
  18. + glint2 14
  19. + glint3 15
  20. + proc5300_16 16
  21. + bigGate 17
  22. + fauxSign 18
  23. + badger 19
  24. + curtain 20
  25. + chinaBird 21
  26. + mockingBird 22
  27. + stork 23
  28. + hippo 24
  29. + moon 25
  30. + nickel 26
  31. + yBranch 27
  32. + rubChicken 28
  33. archTalker 29
  34. chickenTalker 30
  35. guardTalker 31
  36. + cageCover 32
  37. mockingBirdTalker 33
  38. snakeTalker 34
  39. chinaBirdTalker 35
  40. bullTalker 36
  41. fauxOwnerTalker 37
  42. + fauxDoorExit 38
  43. + crook 39
  44. + partySound1 40
  45. + partySound2 41
  46. + feather 45
  47. + wagonSign 46
  48. + cageDoor 47
  49. + iSign 50
  50. + sky 51
  51. + bigGate 52
  52. + littleDoor 53
  53. + littleDoorExit 54
  54. + chinaDoorExit 55
  55. + wagon 56
  56. + pool 57
  57. + birdCage 58
  58. + snakeSalesman 59
  59. + chickenRunsOff 61
  60. + archDukeTalk 62
  61. + unCoverCage 63
  62. + openCageDoor 64
  63. + getTheChinaBird 65
  64. + tryGetBird 66
  65. + getBlownOn 67
  66. + showTheComb 68
  67. + standUpDuke 69
  68. + theMoonFalls 70
  69. + bobbingMoon 71
  70. + mockingBirdFlysAway 72
  71. + cantPassDuke 73
  72. + stepBackEgo 74
  73. + walkThroughDoor 75
  74. + partyGoers 76
  75. + rosellaFirstEnter 77
  76. + snakeChickenCartoon 78
  77. + getTheMoon 79
  78. + crookFalls 80
  79. + talkToChickenAboutMoon 81
  80. )
  81.  
  82. (local
  83. local0
  84. local1
  85. local2
  86. - local3
  87. - [local4 2]
  88. + [local3 2]
  89. + local5
  90. local6
  91. - local7
  92. gKQEgoX
  93. gKQEgoY
  94. theGRoomFeatureInitCode
  95. + local10
  96. local11
  97. local12
  98. - local13
  99. - local14
  100. - local15
  101. - local16
  102. )
  103. (procedure (proc5300_4)
  104. (cond
  105. @@ -89,7 +139,7 @@
  106. )
  107. )
  108.  
  109. -(procedure (localproc_77f0 param1 &tmp temp0)
  110. +(procedure (proc5300_16 param1 &tmp temp0)
  111. (return
  112. (if
  113. (<= (= temp0 (Abs (gNewPlane_2 left:))) param1)
  114. @@ -100,163 +150,6 @@
  115. )
  116. )
  117.  
  118. -(procedure (localproc_7b59)
  119. - (if (global2 obstacles?)
  120. - ((global2 obstacles?) dispose:)
  121. - (global2 obstacles: 0)
  122. - )
  123. - (global2
  124. - addObstacle:
  125. - (if (or (<= global122 4) (proc11_0 202))
  126. - ((Polygon new:)
  127. - type: 3
  128. - init:
  129. - 16
  130. - 117
  131. - 39
  132. - 121
  133. - 102
  134. - 129
  135. - 191
  136. - 124
  137. - 232
  138. - 110
  139. - 264
  140. - 101
  141. - 299
  142. - 101
  143. - 342
  144. - 119
  145. - 449
  146. - 123
  147. - 497
  148. - 109
  149. - 536
  150. - 121
  151. - 587
  152. - 121
  153. - 562
  154. - 110
  155. - 548
  156. - 113
  157. - 507
  158. - 104
  159. - 475
  160. - 86
  161. - 475
  162. - 70
  163. - 455
  164. - 75
  165. - 432
  166. - 68
  167. - 416
  168. - 75
  169. - 358
  170. - 75
  171. - 345
  172. - 70
  173. - 307
  174. - 70
  175. - 294
  176. - 77
  177. - 251
  178. - 95
  179. - 216
  180. - 102
  181. - 142
  182. - 111
  183. - 100
  184. - 111
  185. - 45
  186. - 99
  187. - yourself:
  188. - )
  189. - else
  190. - ((Polygon new:)
  191. - type: 3
  192. - init:
  193. - 57
  194. - 105
  195. - 57
  196. - 116
  197. - 21
  198. - 116
  199. - 14
  200. - 117
  201. - 39
  202. - 121
  203. - 102
  204. - 129
  205. - 191
  206. - 124
  207. - 232
  208. - 110
  209. - 264
  210. - 101
  211. - 299
  212. - 101
  213. - 342
  214. - 119
  215. - 449
  216. - 123
  217. - 497
  218. - 109
  219. - 536
  220. - 121
  221. - 587
  222. - 121
  223. - 562
  224. - 108
  225. - 548
  226. - 113
  227. - 507
  228. - 104
  229. - 475
  230. - 86
  231. - 475
  232. - 70
  233. - 455
  234. - 75
  235. - 432
  236. - 68
  237. - 416
  238. - 75
  239. - 357
  240. - 75
  241. - 343
  242. - 68
  243. - 307
  244. - 68
  245. - 294
  246. - 77
  247. - 251
  248. - 95
  249. - 216
  250. - 102
  251. - 142
  252. - 111
  253. - 100
  254. - 111
  255. - 51
  256. - 98
  257. - 39
  258. - 105
  259. - yourself:
  260. - )
  261. - )
  262. - ((Polygon new:)
  263. - type: 2
  264. - init: 396 90 476 98 455 111 341 111 326 108 325 101
  265. - yourself:
  266. - )
  267. - ((Polygon new:)
  268. - type: 2
  269. - init: 278 94 284 85 374 85 374 90 341 94
  270. - yourself:
  271. - )
  272. - )
  273. -)
  274. -
  275. (instance rm5300 of KQRoom
  276. (properties
  277. picture 5301
  278. @@ -269,23 +162,23 @@
  279. (super init:)
  280. (= global372 -1)
  281. (= temp1 0)
  282. - (= local13 0)
  283. + (= local10 0)
  284. (= temp0 5300)
  285. (= theGRoomFeatureInitCode gRoomFeatureInitCode)
  286. (= gRoomFeatureInitCode roomFeatureInitCode)
  287. (proc11_1 55)
  288. - (= local6 ((ScriptID 19 1) nsTop?))
  289. - (= local7 ((ScriptID 19 0) nsTop?))
  290. + (= local5 ((ScriptID 19 1) nsTop?))
  291. + (= local6 ((ScriptID 19 0) nsTop?))
  292. ((ScriptID 19 1) nsTop: 60)
  293. ((ScriptID 19 0) nsTop: 60)
  294. - (localproc_7b59)
  295. + (localproc_1162)
  296. (gKQEgo
  297. init:
  298. normalize:
  299. ignoreActors: 1
  300. setScaler: Scaler 83 53 98 78
  301. )
  302. - (= local1
  303. + (= local0
  304. (if (or (gKQEgo has: 43) (proc11_0 137))
  305. else
  306. (proc11_0 121)
  307. @@ -293,17 +186,17 @@
  308. )
  309. (if (gKQEgo has: 47) (proc11_1 123))
  310. (proc11_2 138)
  311. - (genericEnterScript register: 0)
  312. + ((ScriptID 5302 8) register: 0)
  313. (switch global12
  314. (5400
  315. (self setRect: 0 0 640 136)
  316. (gKQEgo normalize: 3 heading: 0 posn: 20 112)
  317. - (self setScript: enterFromGate)
  318. + (self setScript: (ScriptID 5300 8))
  319. )
  320. (5050
  321. (self setRect: 0 0 640 136)
  322. (gKQEgo normalize: 3 heading: 0 posn: 127 118)
  323. - (genericEnterScript
  324. + ((ScriptID 5302 8)
  325. register: (chinaDoor cel: 4 yourself:)
  326. )
  327. )
  328. @@ -316,7 +209,7 @@
  329. (self setRect: -318 0 321 136)
  330. (gKQEgo normalize: 6 heading: 45 posn: 419 75)
  331. (fauxDoor cel: 5)
  332. - (genericEnterScript register: fauxDoor)
  333. + ((ScriptID 5302 8) register: fauxDoor)
  334. )
  335. (6200
  336. (self setRect: -318 0 321 136)
  337. @@ -354,8 +247,8 @@
  338. (if (and (proc11_0 110) (not (proc11_0 203)))
  339. (chinaDoorExit init:)
  340. )
  341. - (if (genericEnterScript register?)
  342. - (self setScript: genericEnterScript)
  343. + (if ((ScriptID 5302 8) register?)
  344. + (self setScript: (ScriptID 5302 8))
  345. )
  346. (switch global122
  347. (3
  348. @@ -367,7 +260,12 @@
  349. )
  350. (if (and (not (proc11_0 126)) (proc11_0 111))
  351. (pool init:)
  352. - (moon init: setScript: bobbingMoon)
  353. + (moon
  354. + view: 5312
  355. + loop: 6
  356. + init:
  357. + setScript: (ScriptID 5300 71)
  358. + )
  359. )
  360. (proc5300_4)
  361. (if (not (proc11_0 113)) (mockingBird init:))
  362. @@ -382,29 +280,29 @@
  363. (if (not (proc11_0 123))
  364. (fauxDoor loop: 5 x: 433 y: 71)
  365. (UpdateScreenItem fauxDoor)
  366. - (snakeSalesman init: setScript: keepSalesmanBusy)
  367. + (snakeSalesman init: setScript: (ScriptID 5302 0))
  368. else
  369. (if (proc11_0 122) (fauxDoorExit init:))
  370. (wagonSign init:)
  371. )
  372. (gKQEgo actions: egoActions)
  373. - (if local1
  374. - (= local2 (if (< (gKQEgo x?) 181) 181 else 239))
  375. - (= local3
  376. + (if local0
  377. + (= local1 (if (< (gKQEgo x?) 181) 181 else 239))
  378. + (= local2
  379. (proc64999_3
  380. (-
  381. 50
  382. (proc64999_2
  383. - (Abs (GetDistance (gKQEgo x?) 0 local2 0))
  384. + (Abs (GetDistance (gKQEgo x?) 0 local1 0))
  385. 50
  386. )
  387. )
  388. 20
  389. )
  390. )
  391. - (= local16 1)
  392. - (partySound1 play: local3 0)
  393. - (partySound2 play: local3 0)
  394. + (= local12 1)
  395. + (partySound1 play: local2 0)
  396. + (partySound2 play: local2 0)
  397. )
  398. (switch global12
  399. (5400 0)
  400. @@ -418,7 +316,7 @@
  401. setPri: 88
  402. setScaler: Scaler 83 53 98 78
  403. )
  404. - (global2 setScript: fromAssembly)
  405. + (global2 setScript: (ScriptID 5302 19))
  406. )
  407. )
  408. (cond
  409. @@ -436,7 +334,7 @@
  410. (not (proc11_0 407))
  411. )
  412. (proc11_1 407)
  413. - (= local13 1)
  414. + (= local10 1)
  415. (global2 setScript: (ScriptID 5301 0))
  416. )
  417. (
  418. @@ -473,17 +371,17 @@
  419. setPri: 88
  420. setScaler: Scaler 83 53 98 78
  421. )
  422. - (global2 setScript: fromAssembly)
  423. + (global2 setScript: (ScriptID 5302 19))
  424. )
  425. (if (not (proc11_1 450))
  426. (= temp1 1)
  427. (proc11_1 166)
  428. - (global2 setScript: rosellaFirstEnter)
  429. + (global2 setScript: (ScriptID 5300 77))
  430. )
  431. )
  432. (5
  433. (if (not (proc11_0 198))
  434. - (snakeSalesman init: setScript: keepSalesmanBusy)
  435. + (snakeSalesman init: setScript: (ScriptID 5302 0))
  436. else
  437. (curtain init:)
  438. )
  439. @@ -498,21 +396,21 @@
  440. (feather init:)
  441. )
  442. (if (proc11_0 203)
  443. - (= local2 (if (< (gKQEgo x?) 181) 181 else 239))
  444. - (= local3
  445. + (= local1 (if (< (gKQEgo x?) 181) 181 else 239))
  446. + (= local2
  447. (proc64999_3
  448. (-
  449. 127
  450. (proc64999_2
  451. - (Abs (GetDistance (gKQEgo x?) 0 local2 0))
  452. + (Abs (GetDistance (gKQEgo x?) 0 local1 0))
  453. 127
  454. )
  455. )
  456. 0
  457. )
  458. )
  459. - (= local16 1)
  460. - (partySound1 number: 5409 play: local3 0)
  461. + (= local12 1)
  462. + (partySound1 number: 5409 play: local2 0)
  463. )
  464. (if (gKQEgo has: 48) (sky init:))
  465. (if (not (proc11_0 203)) (fauxDoorExit init:))
  466. @@ -529,16 +427,16 @@
  467. setPri: 88
  468. setScaler: Scaler 83 53 98 78
  469. )
  470. - (global2 setScript: fromAssembly)
  471. + (global2 setScript: (ScriptID 5302 19))
  472. else
  473. - (global2 setScript: escortedOutOfTownHall)
  474. + (global2 setScript: (ScriptID 5302 14))
  475. )
  476. )
  477. )
  478. )
  479. (if
  480. (and
  481. - (= local11 (gNewCast contains: snakeSalesman))
  482. + (= global377 (gNewCast contains: snakeSalesman))
  483. (== global12 5000)
  484. )
  485. (= temp0 5325)
  486. @@ -565,7 +463,7 @@
  487. (proc11_0 138)
  488. (gKQEgo has: 42)
  489. (gNewCast contains: cageCover)
  490. - (not (localproc_77f0 (- (cageCover nsLeft?) 40)))
  491. + (not (proc5300_16 (- (cageCover nsLeft?) 40)))
  492. )
  493. (cageCover dispose:)
  494. (cageDoor cel: 0)
  495. @@ -574,49 +472,48 @@
  496. (if (not script)
  497. (if
  498. (and (not (proc11_0 110)) (>= (gKQEgo x?) 107))
  499. - (global2 setScript: cantPassDuke)
  500. + (global2 setScript: (ScriptID 5300 73))
  501. )
  502. - (if
  503. - (and (not (proc11_0 409)) (localproc_77f0 561))
  504. + (if (and (not (proc11_0 409)) (proc5300_16 561))
  505. (proc11_1 409)
  506. (if (proc11_0 97) (gKQEgo setMotion: 0))
  507. (snakeSalesman setScript: 0)
  508. - (global2 setScript: snakeChickenCartoon)
  509. + (global2 setScript: (ScriptID 5300 78))
  510. )
  511. (if
  512. (and
  513. (proc11_0 407)
  514. - (not local13)
  515. + (not local10)
  516. (not (proc11_0 408))
  517. - (localproc_77f0 193)
  518. + (proc5300_16 193)
  519. )
  520. (proc11_1 408)
  521. - (global2 setScript: partyGoers)
  522. + (global2 setScript: (ScriptID 5300 76))
  523. )
  524. (if
  525. (and
  526. (not (proc11_0 111))
  527. (gKQEgo has: 47)
  528. - (localproc_77f0 500)
  529. + (proc5300_16 500)
  530. )
  531. (proc11_1 111)
  532. - (global2 setScript: moveEgoIntoPosition)
  533. + (global2 setScript: (ScriptID 5302 9))
  534. )
  535. )
  536. - (if local16
  537. + (if local12
  538. (if
  539. (not (if (<= 181 (gKQEgo x?)) (<= (gKQEgo x?) 239)))
  540. (cond
  541. - ((localproc_77f0 239)
  542. - (= local2 (if (< (gKQEgo x?) 181) 181 else 239))
  543. + ((proc5300_16 239)
  544. + (= local1 (if (< (gKQEgo x?) 181) 181 else 239))
  545. (if
  546. (!=
  547. - (= local3
  548. + (= local2
  549. (proc64999_3
  550. (-
  551. 50
  552. (proc64999_2
  553. - (Abs (GetDistance (gKQEgo x?) 0 local2 0))
  554. + (Abs (GetDistance (gKQEgo x?) 0 local1 0))
  555. 50
  556. )
  557. )
  558. @@ -625,8 +522,8 @@
  559. )
  560. (partySound1 vol?)
  561. )
  562. - (partySound1 setVol: local3)
  563. - (partySound2 setVol: local3)
  564. + (partySound1 setVol: local2)
  565. + (partySound2 setVol: local2)
  566. )
  567. )
  568. ((partySound1 vol?) (partySound1 setVol: 20) (partySound2 setVol: 20))
  569. @@ -635,20 +532,20 @@
  570. )
  571. )
  572. (if (== global122 5)
  573. - (if local16
  574. + (if local12
  575. (if
  576. (not (if (<= 181 (gKQEgo x?)) (<= (gKQEgo x?) 239)))
  577. (cond
  578. - ((localproc_77f0 239)
  579. - (= local2 (if (< (gKQEgo x?) 181) 181 else 239))
  580. + ((proc5300_16 239)
  581. + (= local1 (if (< (gKQEgo x?) 181) 181 else 239))
  582. (if
  583. (!=
  584. - (= local3
  585. + (= local2
  586. (proc64999_3
  587. (-
  588. 127
  589. (proc64999_2
  590. - (Abs (GetDistance (gKQEgo x?) 0 local2 0))
  591. + (Abs (GetDistance (gKQEgo x?) 0 local1 0))
  592. 127
  593. )
  594. )
  595. @@ -657,7 +554,7 @@
  596. )
  597. (partySound1 vol?)
  598. )
  599. - (partySound1 setVol: local3)
  600. + (partySound1 setVol: local2)
  601. )
  602. )
  603. ((partySound1 vol?) (partySound1 setVol: 0))
  604. @@ -666,40 +563,39 @@
  605. )
  606. (if
  607. (and
  608. - local16
  609. + local12
  610. (not (proc11_0 347))
  611. (<= 181 (gKQEgo x?))
  612. (<= (gKQEgo x?) 239)
  613. + (proc11_0 203)
  614. )
  615. (proc11_1 347)
  616. (global2 setScript: (ScriptID 5301 6))
  617. )
  618. )
  619. - (if (not local12)
  620. + (if (not global378)
  621. (if
  622. (and
  623. - local11
  624. - (localproc_77f0 541)
  625. + global377
  626. + (proc5300_16 541)
  627. (== (gKqMusic1 number?) 5300)
  628. )
  629. - (= local12 1)
  630. - (gKQEgo setScript: switchMusic 0 5325)
  631. + (= global378 1)
  632. + (gKQEgo setScript: (ScriptID 5302 23) 0 5325)
  633. )
  634. (if
  635. (and
  636. (!= (gKqMusic1 number?) 5300)
  637. - (or (not (localproc_77f0 541)) (not local11))
  638. + (or (not (proc5300_16 541)) (not global377))
  639. )
  640. - (= local12 1)
  641. - (gKQEgo setScript: switchMusic 0 5300)
  642. + (= global378 1)
  643. + (gKQEgo setScript: (ScriptID 5302 23) 0 5300)
  644. )
  645. )
  646. )
  647.  
  648. (method (dispose)
  649. (gKQEgo actions: 0)
  650. - (DisposeScript 5301)
  651. - (DisposeScript -597)
  652. (super dispose:)
  653. )
  654.  
  655. @@ -710,15 +606,15 @@
  656. (proc64999_5
  657. theScript
  658. (ScriptID 5301 2)
  659. - rosellaFirstEnter
  660. - escortedOutOfTownHall
  661. + (ScriptID 5300 77)
  662. + (ScriptID 5302 14)
  663. )
  664. )
  665. (proc64999_5
  666. script
  667. - genericEnterScript
  668. - enterFromGate
  669. - fromAssembly
  670. + (ScriptID 5302 8)
  671. + (ScriptID 5300 8)
  672. + (ScriptID 5302 19)
  673. )
  674. )
  675. (script next: theScript)
  676. @@ -730,8 +626,8 @@
  677.  
  678. (method (newRoom)
  679. (= gRoomFeatureInitCode theGRoomFeatureInitCode)
  680. - ((ScriptID 19 1) nsTop: local6)
  681. - ((ScriptID 19 0) nsTop: local7)
  682. + ((ScriptID 19 1) nsTop: local5)
  683. + ((ScriptID 19 0) nsTop: local6)
  684. (super newRoom: &rest)
  685. )
  686.  
  687. @@ -741,2629 +637,307 @@
  688. )
  689. )
  690.  
  691. -(instance genericEnterScript of Script
  692. - (properties)
  693. -
  694. - (method (doit)
  695. - (super doit:)
  696. - (if
  697. - (and
  698. - (gKQEgo mover?)
  699. - ((global2 obstacles?)
  700. - firstTrue: #onMe (gKQEgo x?) (gKQEgo y?)
  701. - )
  702. - )
  703. - (gKQEgo setMotion: 0)
  704. - (= cycles 1)
  705. - )
  706. +(instance glint1 of Prop
  707. + (properties
  708. + x 365
  709. + y 92
  710. + priority 109
  711. + fixPriority 1
  712. + view 5300
  713. + loop 4
  714. + cycleSpeed 9
  715. )
  716.  
  717. - (method (changeState newState)
  718. - (switch (= state newState)
  719. - (0
  720. - (global1 handsOff:)
  721. - (Load rsCDAUDIO 802)
  722. - (gKQEgo
  723. - posn: (register approachX?) (register approachY?)
  724. - )
  725. - (= cycles 1)
  726. - )
  727. - (1
  728. - (register cel: (register lastCel:) setCycle: Beg self)
  729. - )
  730. - (2
  731. - (gKqSound1 number: 802 setLoop: 1 play:)
  732. - (gKQEgo setHeading: 180 self)
  733. - )
  734. - (3
  735. - (if
  736. - (not
  737. - ((global2 obstacles?)
  738. - firstTrue: #onMe (gKQEgo x?) (gKQEgo y?)
  739. - )
  740. - )
  741. - (gKQEgo setMotion: MoveTo (gKQEgo x?) 150)
  742. - else
  743. - (= cycles 1)
  744. - )
  745. - )
  746. - (4
  747. - (global1 handsOn:)
  748. - (self dispose:)
  749. - )
  750. - )
  751. + (method (init)
  752. + (super init: &rest)
  753. + (self setScript: (ScriptID 5301 9))
  754. )
  755. )
  756.  
  757. -(instance enterFromGate of Script
  758. - (properties)
  759. -
  760. - (method (changeState newState)
  761. - (switch (= state newState)
  762. - (0
  763. - (global1 handsOff:)
  764. - (littleDoor cel: (littleDoor lastCel:))
  765. - (= cycles 4)
  766. - )
  767. - (1
  768. - (gKQEgo normalize: 3)
  769. - (= cycles 1)
  770. - )
  771. - (2
  772. - (littleDoor setCycle: Beg self)
  773. - )
  774. - (3
  775. - (gKqSound1 number: 802 loop: 1 play:)
  776. - (gKQEgo setHeading: 90 self)
  777. - )
  778. - (4
  779. - (if (== next (ScriptID 5301 0))
  780. - (gKQEgo setMotion: MoveTo 60 (gKQEgo y?) self)
  781. - else
  782. - (gKQEgo setMotion: MoveTo 40 (gKQEgo y?) self)
  783. - )
  784. - )
  785. - (5
  786. - (if (and (not next) (== client global2))
  787. - (global1 handsOn:)
  788. - )
  789. - (self dispose:)
  790. - )
  791. - )
  792. +(instance glint2 of Prop
  793. + (properties
  794. + x 414
  795. + y 94
  796. + priority 109
  797. + fixPriority 1
  798. + view 5300
  799. + loop 5
  800. + cycleSpeed 10
  801. )
  802. )
  803.  
  804. -(instance chickenRunsOff of Script
  805. - (properties)
  806. +(instance glint3 of Prop
  807. + (properties
  808. + x 394
  809. + y 93
  810. + priority 109
  811. + fixPriority 1
  812. + view 5300
  813. + loop 6
  814. + cycleSpeed 14
  815. + )
  816. +)
  817. +
  818. +(instance chinaDoor of Prop
  819. + (properties
  820. + noun 11
  821. + approachX 116
  822. + approachY 109
  823. + x 128
  824. + y 104
  825. + priority 10
  826. + fixPriority 1
  827. + view 5302
  828. + )
  829.  
  830. (method (init)
  831. - (proc11_2 539)
  832. (super init: &rest)
  833. + (if (and (proc11_0 203) (not (proc11_0 284)))
  834. + (self setHotspot: 8 10 approachVerbs: 8)
  835. + )
  836. )
  837.  
  838. - (method (dispose)
  839. - (proc11_2 539)
  840. - (super dispose:)
  841. + (method (doVerb)
  842. + (global2 setScript: (ScriptID 5302 6))
  843. + )
  844. +)
  845. +
  846. +(instance fauxDoor of Prop
  847. + (properties
  848. + noun 12
  849. + approachX 435
  850. + approachY 69
  851. + x 439
  852. + y 69
  853. + z 3
  854. + priority 66
  855. + fixPriority 1
  856. + view 5302
  857. + loop 2
  858. )
  859.  
  860. - (method (changeState newState &tmp temp0)
  861. - (if (not (proc11_0 539))
  862. - (switch (= state newState)
  863. - (0
  864. - (global1 handsOff: 1)
  865. - (gKqMusic1 pause: 1)
  866. - (chickenSound number: 5310 loop: -1 play:)
  867. - (chickenPetite
  868. - view: 5311
  869. - setLoop: 6 1
  870. - setCel: 0
  871. - setPri: -1
  872. - setCycle: End self
  873. - )
  874. - )
  875. - (1
  876. - (if (< (chickenPetite x?) 320)
  877. - (= global372 8)
  878. - (proc11_3 gKQEgo 315 104 0)
  879. - (chickenPetite
  880. - setLoop: 7 1
  881. - setCel: 0
  882. - setCycle: Walk
  883. - setMotion: PolyPath 315 104 self
  884. - )
  885. - else
  886. - (= global372 9)
  887. - (= temp0 (- (Abs (gNewPlane_2 left:)) 15))
  888. - (proc11_3 gKQEgo temp0 (chickenPetite y?) 0)
  889. - (chickenPetite
  890. - setLoop: 0 1
  891. - setCycle: Walk
  892. - setMotion: PolyPath temp0 (chickenPetite y?) self
  893. - )
  894. - )
  895. - (gKqMessager say: 0 0 13 0 chickenPetite)
  896. + (method (init)
  897. + (super init:)
  898. + (if (not (proc11_0 276)) (self setHotspot: 8 10))
  899. + (self
  900. + approachVerbs: 8
  901. + setPolygon:
  902. + ((Polygon new:)
  903. + type: 1
  904. + init: 438 65 446 67 443 30 431 33
  905. + yourself:
  906. )
  907. - (2
  908. - (chickenSound fade:)
  909. - (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  910. - (chickenPetite setCycle: 0)
  911. - (proc5300_4)
  912. - (global1 handsOn:)
  913. - (self dispose:)
  914. + )
  915. + )
  916. +
  917. + (method (doVerb)
  918. + (cond
  919. + ((== global104 -4)
  920. + (cond
  921. + ((proc11_0 203) (global2 setScript: (ScriptID 5301 4)))
  922. + ((== global122 5) (global2 setScript: (ScriptID 5302 4)))
  923. + ((and (proc11_0 120) (proc11_0 121)) (gKqMessager say: 8 8 34 0))
  924. + ((not (proc11_0 123)) (gKqMessager say: 8 8 33 0))
  925. + ((proc11_0 122) (global2 setScript: (ScriptID 5302 4)))
  926. + (else (global2 setScript: (ScriptID 5300 75)))
  927. )
  928. )
  929. - else
  930. - (chickenSound stop:)
  931. - (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  932. - (chickenPetite setCycle: 0 setMotion: 0)
  933. - (proc5300_4)
  934. - (global1 handsOn:)
  935. - (self dispose:)
  936. + ((proc11_0 149) (global2 setScript: (ScriptID 5302 4)))
  937. + (else (global2 setScript: (ScriptID 5300 75)))
  938. + )
  939. + )
  940. +
  941. + (method (onMe param1 &tmp temp0)
  942. + (if
  943. + (and
  944. + (= temp0 (super onMe: param1))
  945. + (param1 type?)
  946. + (== loop 5)
  947. + )
  948. + (= approachX (- x 3))
  949. + (= approachY y)
  950. )
  951. + (return temp0)
  952. )
  953. )
  954.  
  955. -(instance archDukeTalk of Script
  956. - (properties)
  957. -
  958. - (method (doit)
  959. - (super doit:)
  960. - (if (and (== state 1) register) (self cue:))
  961. - )
  962. -
  963. - (method (changeState newState)
  964. - (switch (= state newState)
  965. - (0
  966. - (archDuke
  967. - view: 5303
  968. - setLoop: 0
  969. - setCel: 0
  970. - posn: 147 115
  971. - setCycle: End self
  972. - )
  973. - )
  974. - (1
  975. - (if (not register)
  976. - (archDuke setLoop: 1 setCel: 0 setCycle: Fwd)
  977. - else
  978. - (self cue:)
  979. - )
  980. - )
  981. - (2
  982. - (archDuke setLoop: 2 setCel: 0 setCycle: CT 16 1 self)
  983. - )
  984. - (3
  985. - (gKQEgo setScript: getBlownOn)
  986. - (archDuke setLoop: 2 setCel: 17 setCycle: CT 20 1 self)
  987. - )
  988. - (4
  989. - (gKqSound1 number: 5305 loop: 1 play:)
  990. - (archDuke setCycle: CT 24 1 self)
  991. - )
  992. - (5
  993. - (gKqSound1 stop:)
  994. - (archDuke setCycle: End self)
  995. - )
  996. - (6 (self dispose:))
  997. - )
  998. - )
  999. -)
  1000. -
  1001. -(instance getBlownOn of Script
  1002. - (properties)
  1003. -
  1004. - (method (changeState newState)
  1005. - (switch (= state newState)
  1006. - (0
  1007. - (gKQEgo
  1008. - view: 5303
  1009. - setLoop: 8
  1010. - cel: 0
  1011. - setScale: 0
  1012. - posn: (+ (gKQEgo x?) 25) (gKQEgo y?)
  1013. - setCycle: End self
  1014. - )
  1015. - )
  1016. - (1
  1017. - (gKQEgo
  1018. - normalize: 0
  1019. - x: (- (gKQEgo x?) 25)
  1020. - setScaler: Scaler 83 53 98 78
  1021. - )
  1022. - (self dispose:)
  1023. - )
  1024. - )
  1025. - )
  1026. -)
  1027. -
  1028. -(instance showTheComb of Script
  1029. - (properties)
  1030. -
  1031. - (method (init)
  1032. - (proc11_2 539)
  1033. - (super init: &rest)
  1034. - )
  1035. -
  1036. - (method (dispose)
  1037. - (proc11_2 539)
  1038. - (super dispose:)
  1039. - )
  1040. -
  1041. - (method (changeState newState)
  1042. - (if (not (proc11_0 539))
  1043. - (switch (= state newState)
  1044. - (0
  1045. - (global1 handsOff: 1)
  1046. - (Load rsVIEW 5303)
  1047. - (Load rsCDAUDIO 5305)
  1048. - (Load rsVIEW 8132)
  1049. - (Load rsVIEW 5334)
  1050. - (= register (gKQEgo cycleSpeed?))
  1051. - (gKQEgo
  1052. - view: 8241
  1053. - setLoop:
  1054. - (if
  1055. - (and
  1056. - (< 0 (gKQEgo heading?))
  1057. - (< (= register (gKQEgo cycleSpeed?)) 180)
  1058. - )
  1059. - 0
  1060. - else
  1061. - 1
  1062. - )
  1063. - setCel: 0
  1064. - cycleSpeed: 12
  1065. - setCycle: CT 20 1 self
  1066. - )
  1067. - )
  1068. - (1
  1069. - (gKqSound1 number: 1256 setLoop: -1 play:)
  1070. - (gKQEgo setCycle: End self)
  1071. - )
  1072. - (2
  1073. - (gKQEgo setCycle: CT 20 -1 self)
  1074. - )
  1075. - (3
  1076. - (gKqSound1 setLoop: 1 stop:)
  1077. - (gKQEgo setCycle: Beg self)
  1078. - )
  1079. - (4
  1080. - (gKQEgo
  1081. - normalize: 0
  1082. - setScaler: Scaler 83 53 98 78
  1083. - cycleSpeed: register
  1084. - )
  1085. - (= cycles 1)
  1086. - )
  1087. - (5
  1088. - (archTalker clientCel: -2 hide_mouth: 1 modeless: 2)
  1089. - (gKqMessager say: 1 5 6 1 self)
  1090. - )
  1091. - (6
  1092. - (self setScript: archDukeTalk self)
  1093. - (gKqMessager say: 1 5 6 2 self)
  1094. - )
  1095. - (7 (script register: 1))
  1096. - (8
  1097. - (gKqMusic1 pause: 1)
  1098. - (chickenSound number: 5310 loop: -1 play:)
  1099. - (archTalker clientCel: -1 hide_mouth: 0 modeless: 1)
  1100. - (self setScript: standUpDuke self self)
  1101. - (= register (gKQEgo cycleSpeed?))
  1102. - (chickenPetite
  1103. - posn: 308 102
  1104. - setPri: 130
  1105. - view: 5303
  1106. - setLoop: 4
  1107. - setCel: 0
  1108. - init:
  1109. - setCycle: CT 16 1 self
  1110. - )
  1111. - (chickenTalker modeless: 2)
  1112. - (= global372 7)
  1113. - (gKqMessager say: 1 5 6 3 chickenPetite)
  1114. - )
  1115. - (9
  1116. - (chickenPetite setCycle: CT 36 1 self)
  1117. - (gKQEgo
  1118. - view: 8132
  1119. - setLoop: 0
  1120. - setCel: 6
  1121. - cycleSpeed: 13
  1122. - setCycle: Beg
  1123. - )
  1124. - )
  1125. - (10
  1126. - (chickenPetite setCycle: End self)
  1127. - (gKQEgo setCycle: End)
  1128. - )
  1129. - (11
  1130. - (chickenSound fade:)
  1131. - (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  1132. - (gKQEgo
  1133. - normalize: 0
  1134. - setScaler: Scaler 83 53 98 78
  1135. - cycleSpeed: register
  1136. - )
  1137. - (proc5300_4)
  1138. - (= cycles 2)
  1139. - )
  1140. - (12
  1141. - (archTalker clientCel: 4)
  1142. - (gKqMessager say: 1 5 6 4 self)
  1143. - )
  1144. - (13
  1145. - (archTalker clientCel: -1)
  1146. - (archDuke setCycle: CT 12 1 self)
  1147. - )
  1148. - (14
  1149. - (archDuke setPri: 86 setCycle: End self)
  1150. - )
  1151. - (15
  1152. - (archDuke hide:)
  1153. - (townHallDoor setHotspot: 8 10 setCycle: Beg self)
  1154. - )
  1155. - (16
  1156. - (gKqSound1 number: 802 setLoop: 1 play:)
  1157. - (archDuke
  1158. - view: 5334
  1159. - setLoop: 3 1
  1160. - cel: 0
  1161. - posn: 218 88
  1162. - setPri: 82
  1163. - show:
  1164. - setCycle: Walk
  1165. - setScaler: Scaler 92 73 86 78
  1166. - setMotion: MoveTo 177 75 self
  1167. - )
  1168. - )
  1169. - (17
  1170. - (chickenTalker modeless: 1)
  1171. - (archDuke dispose:)
  1172. - (proc11_1 110)
  1173. - (if (gKQEgo scratch?)
  1174. - (gKQEgo addRespondVerb: 51)
  1175. - else
  1176. - (gKQEgo setHotspot: 0 51)
  1177. - )
  1178. - (chinaDoorExit init:)
  1179. - (global1 handsOn:)
  1180. - (self dispose:)
  1181. - )
  1182. - )
  1183. - else
  1184. - (switch (= state newState)
  1185. - (0
  1186. - (gKqSound1 stop:)
  1187. - (gKQEgo setScript: 0)
  1188. - (if script (script caller: 0))
  1189. - (= cycles 2)
  1190. - )
  1191. - (1
  1192. - (gKQEgo
  1193. - normalize: 0
  1194. - setScaler: Scaler 83 53 98 78
  1195. - posn: (archDuke approachX?) (archDuke approachY?)
  1196. - cycleSpeed: register
  1197. - )
  1198. - (archDuke dispose:)
  1199. - (proc11_1 110)
  1200. - (if (gKQEgo scratch?)
  1201. - (gKQEgo addRespondVerb: 51)
  1202. - else
  1203. - (gKQEgo setHotspot: 0 51)
  1204. - )
  1205. - (chickenPetite setCycle: 0 setMotion: 0)
  1206. - (proc5300_4)
  1207. - (archTalker clientCel: -1 hide_mouth: 0 modeless: 1)
  1208. - (chickenTalker modeless: 1)
  1209. - (chinaDoorExit init:)
  1210. - (chickenSound fade:)
  1211. - (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  1212. - (archTalker clientCel: -1)
  1213. - (townHallDoor setHotspot: 8 10 cel: 0)
  1214. - (UpdateScreenItem townHallDoor)
  1215. - (global1 handsOn:)
  1216. - (self dispose:)
  1217. - )
  1218. - )
  1219. - )
  1220. - )
  1221. -)
  1222. -
  1223. -(instance standUpDuke of Script
  1224. - (properties)
  1225. -
  1226. - (method (changeState newState)
  1227. - (switch (= state newState)
  1228. - (0
  1229. - (archDuke
  1230. - posn: 147 116
  1231. - setLoop: 3
  1232. - setCel: 0
  1233. - setCycle: End self
  1234. - )
  1235. - )
  1236. - (1
  1237. - (archDuke
  1238. - posn: 206 107
  1239. - setLoop: 5
  1240. - setCel: 0
  1241. - setCycle: CT 4 1 self
  1242. - )
  1243. - )
  1244. - (2 (self dispose:))
  1245. - )
  1246. - )
  1247. -)
  1248. -
  1249. -(instance theMoonFalls of Script
  1250. - (properties)
  1251. -
  1252. - (method (init)
  1253. - (proc11_2 539)
  1254. - (super init: &rest)
  1255. - )
  1256. -
  1257. - (method (dispose)
  1258. - (proc11_2 539)
  1259. - (super dispose:)
  1260. - )
  1261. -
  1262. - (method (changeState newState)
  1263. - (if (not (proc11_0 539))
  1264. - (switch (= state newState)
  1265. - (0
  1266. - (global1 handsOff: 1)
  1267. - (Load rsCDAUDIO 907)
  1268. - (Load rsCDAUDIO 854)
  1269. - (Load rsCDAUDIO 836)
  1270. - (Load rsVIEW 5314)
  1271. - (localproc_7b59)
  1272. - (= global372 9)
  1273. - (chickenPetite
  1274. - view: 5311
  1275. - setLoop: 0 1
  1276. - setCycle: Walk
  1277. - posn: 607 117
  1278. - moveSpeed: 3
  1279. - setPri: -1
  1280. - init:
  1281. - setMotion: MoveTo 500 107 self
  1282. - )
  1283. - (chickenTalker hide_mouth: 1 modeless: 2)
  1284. - (gKqMessager say: 0 0 16 1 chickenPetite)
  1285. - )
  1286. - (1
  1287. - (chickenPetite setMotion: PolyPath 468 94 self)
  1288. - )
  1289. - (2
  1290. - (chickenPetite setMotion: PolyPath 393 86 self)
  1291. - )
  1292. - (3
  1293. - (chickenPetite setMotion: PolyPath 321 102 self)
  1294. - )
  1295. - (4
  1296. - (= global372 8)
  1297. - (chickenPetite
  1298. - setLoop: (if (global84 size:) 7 else 8) 1
  1299. - )
  1300. - (chickenPetite setMotion: PolyPath 402 117 self)
  1301. - )
  1302. - (5
  1303. - (chickenPetite setMotion: PolyPath 477 98 self)
  1304. - )
  1305. - (6
  1306. - (= global372 8)
  1307. - (chickenPetite
  1308. - setLoop: (if (global84 size:) 0 else 9) 1
  1309. - )
  1310. - (chickenPetite setMotion: PolyPath 468 94 self)
  1311. - )
  1312. - (7
  1313. - (= global372 -1)
  1314. - (chickenPetite
  1315. - view: 5314
  1316. - setLoop: 5
  1317. - cel: 0
  1318. - x: 475
  1319. - y: 135
  1320. - setPri: 100
  1321. - setCycle: 0
  1322. - )
  1323. - (UnLoad 128 5311)
  1324. - (chickenTalker hide_mouth: 1 clientCel: -2)
  1325. - (moon
  1326. - view: 5314
  1327. - loop: 0
  1328. - cel: 0
  1329. - x: 382
  1330. - y: 95
  1331. - setPri: 150
  1332. - init:
  1333. - setCycle: End self
  1334. - )
  1335. - )
  1336. - (8
  1337. - (moon loop: 1 cel: 0 setCycle: End self)
  1338. - )
  1339. - (9
  1340. - (mockingBird
  1341. - view: 5314
  1342. - loop: 3
  1343. - cel: 0
  1344. - x: 349
  1345. - y: 49
  1346. - z: 0
  1347. - setPri: 150
  1348. - setCycle: CT 2 1
  1349. - )
  1350. - (moon loop: 2 cel: 0 setCycle: CT 1 1 self)
  1351. - )
  1352. - (10
  1353. - (gKqSound1 number: 907 loop: 1 play:)
  1354. - (moon loop: 2 setCycle: CT 11 1 self)
  1355. - )
  1356. - (11
  1357. - (self setScript: mockingBirdFlysAway)
  1358. - (moon setCycle: End self)
  1359. - )
  1360. - (12
  1361. - (chickenPetite setPri: -1 setCycle: CT 6 1 self)
  1362. - )
  1363. - (13
  1364. - (archDukeSound number: 854 loop: 1 play:)
  1365. - (chickenPetite setCycle: End self)
  1366. - )
  1367. - (14
  1368. - (gKqSound1 number: 836 loop: 1 play:)
  1369. - (chickenPetite
  1370. - view: 5315
  1371. - loop: 0
  1372. - cel: 0
  1373. - posn: 415 93
  1374. - setPri: 125
  1375. - setCycle: End self
  1376. - )
  1377. - )
  1378. - (15
  1379. - (moon setScript: bobbingMoon)
  1380. - (gKqSound1 number: 836 loop: 1 play:)
  1381. - (chickenPetite loop: 1 cel: 0 setCycle: End self)
  1382. - )
  1383. - (16
  1384. - (chickenPetite
  1385. - loop: 2
  1386. - cel: 0
  1387. - setHotspot: 8 10
  1388. - approachVerbs: 8
  1389. - setPri: 110
  1390. - setCycle: End self
  1391. - )
  1392. - )
  1393. - (17
  1394. - (global1 handsOn:)
  1395. - (pool init:)
  1396. - (self dispose:)
  1397. - )
  1398. - )
  1399. - else
  1400. - (self setScript: 0)
  1401. - (gKqSound1 stop:)
  1402. - (proc11_1 113)
  1403. - (mockingBird dispose:)
  1404. - (chickenPetite view: 5315 loop: 2)
  1405. - (chickenPetite
  1406. - cel: (chickenPetite lastCel:)
  1407. - posn: 415 93
  1408. - setPri: 110
  1409. - setMotion: 0
  1410. - setCycle: 0
  1411. - setHotspot: 8 10
  1412. - approachVerbs: 8
  1413. - )
  1414. - (nickel init:)
  1415. - (if (not (moon script?))
  1416. - (moon init: setScript: bobbingMoon)
  1417. - )
  1418. - (gKQEgo normalize: 5)
  1419. - (pool init:)
  1420. - (global1 handsOn:)
  1421. - (self dispose:)
  1422. - )
  1423. - )
  1424. -)
  1425. -
  1426. -(instance bobbingMoon of Script
  1427. - (properties)
  1428. -
  1429. - (method (changeState newState)
  1430. - (switch (= state newState)
  1431. - (0
  1432. - (moon
  1433. - setLoop: 6 1
  1434. - cel: 14
  1435. - cycleSpeed: 8
  1436. - posn: 409 93
  1437. - setPri: 110
  1438. - setCycle: Beg self
  1439. - )
  1440. - )
  1441. - (1
  1442. - (if register
  1443. - (moon setCycle: End self)
  1444. - else
  1445. - (-- state)
  1446. - (moon setCycle: ROsc 1 4 9 self)
  1447. - )
  1448. - )
  1449. - (2 (self dispose:))
  1450. - )
  1451. - )
  1452. -)
  1453. -
  1454. -(instance mockingBirdFlysAway of Script
  1455. - (properties)
  1456. -
  1457. - (method (changeState newState)
  1458. - (switch (= state newState)
  1459. - (0
  1460. - (gKqSound1 number: 5312 loop: 1 play:)
  1461. - (mockingBird view: 5314 loop: 3 cel: 2 setCycle: End self)
  1462. - )
  1463. - (1
  1464. - (nickel init:)
  1465. - (mockingBird
  1466. - setLoop: 4 1
  1467. - cel: 0
  1468. - setCycle: Fwd
  1469. - posn: 362 52
  1470. - setPri: 150
  1471. - moveSpeed: 1
  1472. - setMotion: MoveTo 640 1 self
  1473. - )
  1474. - )
  1475. - (2
  1476. - (proc11_1 113)
  1477. - (mockingBird dispose:)
  1478. - (self dispose:)
  1479. - )
  1480. - )
  1481. - )
  1482. -)
  1483. -
  1484. -(instance cantPassDuke of Script
  1485. - (properties)
  1486. -
  1487. - (method (changeState newState)
  1488. - (switch (= state newState)
  1489. - (0
  1490. - (global1 handsOff:)
  1491. - (gKQEgo setMotion: 0)
  1492. - (= cycles 1)
  1493. - )
  1494. - (1
  1495. - (archTalker modeless: 2)
  1496. - (gKqMessager say: 0 0 2 0 self)
  1497. - (self setScript: stepBackEgo self)
  1498. - )
  1499. - (2 0)
  1500. - (3
  1501. - (global1 handsOn:)
  1502. - (self dispose:)
  1503. - )
  1504. - )
  1505. - )
  1506. -)
  1507. -
  1508. -(instance stepBackEgo of Script
  1509. - (properties)
  1510. -
  1511. - (method (changeState newState)
  1512. - (switch (= state newState)
  1513. - (0
  1514. - (gKQEgo
  1515. - view: 8021
  1516. - setLoop: 0
  1517. - setCel: 0
  1518. - setCycle: End self
  1519. - )
  1520. - )
  1521. - (1
  1522. - (gKQEgo
  1523. - normalize: 0
  1524. - setScaler: Scaler 83 53 98 78
  1525. - posn: 90 (gKQEgo y?)
  1526. - ignoreActors: 1
  1527. - )
  1528. - (self dispose:)
  1529. - )
  1530. - )
  1531. - )
  1532. -)
  1533. -
  1534. -(instance walkThroughDoor of Script
  1535. - (properties)
  1536. -
  1537. - (method (changeState newState)
  1538. - (switch (= state newState)
  1539. - (0
  1540. - (global1 handsOff:)
  1541. - (gKqSound1 number: 801 loop: 1 play:)
  1542. - (fauxDoor setCycle: End self)
  1543. - )
  1544. - (1
  1545. - (gKQEgo setMotion: MoveTo 457 69 self)
  1546. - )
  1547. - (2
  1548. - (gKQEgo setMotion: MoveTo 466 69 self)
  1549. - )
  1550. - (3
  1551. - (gKQEgo setHeading: 180 self)
  1552. - )
  1553. - (4 (= seconds 3))
  1554. - (5
  1555. - (gKQEgo
  1556. - setMotion: MoveTo (fauxDoor approachX?) (fauxDoor approachY?) self
  1557. - )
  1558. - )
  1559. - (6
  1560. - (fauxDoor setCycle: Beg self)
  1561. - )
  1562. - (7
  1563. - (gKqSound1 number: 802 loop: 1 play:)
  1564. - (global1 handsOn:)
  1565. - (self dispose:)
  1566. - )
  1567. - )
  1568. - )
  1569. -)
  1570. -
  1571. -(instance partyGoers of Script
  1572. - (properties)
  1573. -
  1574. - (method (changeState newState)
  1575. - (if (not (proc11_0 539))
  1576. - (switch (= state newState)
  1577. - (0
  1578. - (global1 handsOff: 1)
  1579. - (gKQEgo setMotion: 0)
  1580. - (proc11_3 gKQEgo badger 0)
  1581. - (stork setCycle: CT 11 1 self)
  1582. - (hippo setCycle: CT 9 1 self)
  1583. - )
  1584. - (1 0)
  1585. - (2
  1586. - (badger setCycle: CT 12 1 self)
  1587. - )
  1588. - (3
  1589. - (guardTalker clientCel: -2 client: badger)
  1590. - (gKqMessager say: 0 0 15 0 self)
  1591. - )
  1592. - (4
  1593. - (badger setPri: 110 setCycle: End self)
  1594. - )
  1595. - (5
  1596. - (stork setCycle: End self)
  1597. - (hippo setCycle: End self)
  1598. - )
  1599. - (6 0)
  1600. - (7
  1601. - (stork dispose:)
  1602. - (hippo view: -12406 setLoop: 0 cel: 0 setCycle: End self)
  1603. - )
  1604. - (8
  1605. - (hippo dispose:)
  1606. - (badger setCycle: CT 15 -1 self)
  1607. - )
  1608. - (9
  1609. - (badger
  1610. - view: 5305
  1611. - setLoop: 3
  1612. - posn: 217 93
  1613. - cel: 0
  1614. - setPri: 82
  1615. - setCycle: End self
  1616. - )
  1617. - )
  1618. - (10
  1619. - (badger dispose:)
  1620. - (townHallDoor setCycle: Beg self)
  1621. - )
  1622. - (11
  1623. - (gKqSound1 number: 802 loop: 1 play:)
  1624. - (global1 handsOn:)
  1625. - (self dispose:)
  1626. - )
  1627. - )
  1628. - else
  1629. - (proc11_2 539)
  1630. - (gKqSound1 stop:)
  1631. - (badger dispose:)
  1632. - (hippo dispose:)
  1633. - (stork dispose:)
  1634. - (townHallDoor cel: 0)
  1635. - (UpdateScreenItem townHallDoor)
  1636. - (global1 handsOn:)
  1637. - (self dispose:)
  1638. - )
  1639. - )
  1640. -)
  1641. -
  1642. -(instance rosellaFirstEnter of Script
  1643. - (properties)
  1644. -
  1645. - (method (changeState newState)
  1646. - (switch (= state newState)
  1647. - (0
  1648. - (global1 handsOff:)
  1649. - (Load rsSOUND 5307)
  1650. - (Load rsSOUND 5308)
  1651. - (Load rsCDAUDIO 5408)
  1652. - (townHallDoor cel: 4 setPri: 80)
  1653. - (archDukeSound number: 5307 loop: -1 play:)
  1654. - (archDuke
  1655. - view: 5341
  1656. - loop: 0
  1657. - cel: 0
  1658. - x: 229
  1659. - y: 105
  1660. - cycleSpeed: 10
  1661. - init:
  1662. - setCycle: Fwd
  1663. - )
  1664. - (self setScript: enterFromGate self)
  1665. - )
  1666. - (1
  1667. - (gKQEgo setMotion: PolyPath 170 111 self)
  1668. - )
  1669. - (2
  1670. - (archDukeSound number: 5308 loop: 1 play:)
  1671. - (archDuke cel: 0 setCycle: End self)
  1672. - )
  1673. - (3
  1674. - (archDuke loop: 1 cel: 0 x: 233 y: 105 setCycle: End self)
  1675. - )
  1676. - (4
  1677. - (archDuke loop: 2 cel: 0 x: 233 y: 105 setCycle: End self)
  1678. - )
  1679. - (5
  1680. - (archDukeSound fade: 0 50 20 1)
  1681. - (archTalker clientCel: -2)
  1682. - (gKqMessager sayRange: 0 0 35 1 3 self)
  1683. - )
  1684. - (6
  1685. - (archDukeSound number: 5307 loop: -1 play:)
  1686. - (archDuke
  1687. - view: 5341
  1688. - loop: 0
  1689. - cel: 0
  1690. - x: 229
  1691. - y: 105
  1692. - setCycle: Fwd
  1693. - )
  1694. - (= seconds 3)
  1695. - )
  1696. - (7
  1697. - (archDukeSound number: 5308 loop: 1 play: fade: 0 50 20 1)
  1698. - (archDuke
  1699. - view: 5342
  1700. - loop: 0
  1701. - cel: 0
  1702. - x: 233
  1703. - y: 103
  1704. - setCycle: End self
  1705. - )
  1706. - )
  1707. - (8
  1708. - (gKqSound1 number: 5408 loop: 1 play:)
  1709. - (archDuke view: 5342 loop: 1 cel: 0 x: 233 y: 103)
  1710. - (UpdateScreenItem archDuke)
  1711. - (FrameOut)
  1712. - (= cycles 1)
  1713. - )
  1714. - (9
  1715. - (archTalker hide_mouth: 1 clientCel: -2)
  1716. - (gKqMessager say: 0 0 35 4 self)
  1717. - )
  1718. - (10
  1719. - (gKqMusic1 loop: -1 play: setVol: 0 fade: 127 25 10 0)
  1720. - (archDuke
  1721. - view: 5334
  1722. - setLoop: 3 1
  1723. - cel: 0
  1724. - x: 234
  1725. - y: 100
  1726. - setPri: 82
  1727. - setCycle: Walk
  1728. - setMotion: MoveTo 177 75 self
  1729. - )
  1730. - )
  1731. - (11
  1732. - (archDuke dispose:)
  1733. - (townHallDoor setCycle: Beg self)
  1734. - )
  1735. - (12
  1736. - (gKqSound1 number: 802 loop: 1 play:)
  1737. - (if (not (proc11_1 167))
  1738. - ((ScriptID 13 0) hide_mouth: 1)
  1739. - (gKqMessager say: 0 0 36 0 self)
  1740. - else
  1741. - (self cue:)
  1742. - )
  1743. - )
  1744. - (13
  1745. - ((ScriptID 13 0) hide_mouth: 0)
  1746. - (if (gKQEgo scratch?)
  1747. - (gKQEgo addRespondVerb: 51)
  1748. - else
  1749. - (gKQEgo setHotspot: 0 51)
  1750. - )
  1751. - (global1 handsOn:)
  1752. - (self dispose:)
  1753. - )
  1754. - )
  1755. - )
  1756. -)
  1757. -
  1758. -(instance snakeChickenCartoon of Script
  1759. - (properties)
  1760. -
  1761. - (method (init)
  1762. - (proc11_2 539)
  1763. - (super init: &rest)
  1764. - )
  1765. -
  1766. - (method (dispose)
  1767. - (proc11_2 539)
  1768. - (super dispose:)
  1769. - )
  1770. -
  1771. - (method (changeState newState)
  1772. - (if (not (proc11_0 539))
  1773. - (switch (= state newState)
  1774. - (0
  1775. - (global1 handsOff: 1)
  1776. - (Load rsVIEW 5323)
  1777. - (Load rsVIEW 5325)
  1778. - (chickenPetite
  1779. - view: 5323
  1780. - loop: 0
  1781. - cel: 0
  1782. - x: 520
  1783. - y: 108
  1784. - init:
  1785. - )
  1786. - (chickenTalker hide_mouth: 0 clientCel: -2 modeless: 2)
  1787. - (gKqMessager say: 0 0 21 1 self)
  1788. - )
  1789. - (1
  1790. - (snakeSalesman
  1791. - view: 5323
  1792. - loop: 1
  1793. - cel: 0
  1794. - posn: 529 92
  1795. - setCycle: End self
  1796. - )
  1797. - )
  1798. - (2
  1799. - (gKqMessager say: 0 0 21 2 self)
  1800. - )
  1801. - (3
  1802. - (snakeSalesman
  1803. - view: 5323
  1804. - loop: 2
  1805. - cel: 0
  1806. - posn: 534 95
  1807. - setCycle: End self
  1808. - )
  1809. - )
  1810. - (4
  1811. - (gKqMessager sayRange: 0 0 21 3 4 self)
  1812. - )
  1813. - (5
  1814. - (snakeSalesman
  1815. - view: 5323
  1816. - loop: 3
  1817. - cel: 0
  1818. - posn: 543 90
  1819. - setCycle: End self
  1820. - )
  1821. - )
  1822. - (6
  1823. - (gKqMessager say: 0 0 21 5 self)
  1824. - )
  1825. - (7
  1826. - (chickenPetite setCycle: End self)
  1827. - )
  1828. - (8
  1829. - (chickenPetite dispose:)
  1830. - (snakeSalesman
  1831. - view: 5325
  1832. - loop: 0
  1833. - cel: 4
  1834. - posn: 491 128
  1835. - setCycle: End self
  1836. - )
  1837. - )
  1838. - (9
  1839. - (snakeSalesman setScript: keepSalesmanBusy)
  1840. - (gKQEgo setHeading: 180 self)
  1841. - )
  1842. - (10
  1843. - (global1 handsOn:)
  1844. - (self dispose:)
  1845. - )
  1846. - )
  1847. - else
  1848. - (chickenPetite dispose:)
  1849. - (if (not (snakeSalesman script?))
  1850. - (snakeSalesman setScript: keepSalesmanBusy)
  1851. - )
  1852. - (gKQEgo normalize: 2)
  1853. - (global1 handsOn:)
  1854. - (self dispose:)
  1855. - )
  1856. - )
  1857. -)
  1858. -
  1859. -(instance getTheMoon of Script
  1860. - (properties)
  1861. -
  1862. - (method (changeState newState)
  1863. - (switch (= state newState)
  1864. - (0
  1865. - (global1 handsOff:)
  1866. - (Load rsVIEW 5319)
  1867. - (guardTalker client: archDuke loop: 28)
  1868. - (global2 centerScreen: -318 self 10)
  1869. - )
  1870. - (1
  1871. - (moon setScript: 0 cel: 9 setCycle: End)
  1872. - (gKQEgo
  1873. - view: 5319
  1874. - loop: 0
  1875. - cel: 0
  1876. - x: 463
  1877. - y: 101
  1878. - setPri: 109
  1879. - setScale: 0
  1880. - setCycle: CT 9 1 self
  1881. - )
  1882. - )
  1883. - (2
  1884. - (gKqSound1 number: 836 loop: -1 play:)
  1885. - (gKQEgo cel: 10 setCycle: End self)
  1886. - )
  1887. - (3
  1888. - (gKQEgo view: 5319 loop: 1 cel: 0 setCycle: End self)
  1889. - )
  1890. - (4
  1891. - (gKQEgo view: 5319 loop: 2 cel: 0 setCycle: CT 5 1 self)
  1892. - )
  1893. - (5
  1894. - (gKqSound1 stop:)
  1895. - (gKQEgo setCycle: End self)
  1896. - )
  1897. - (6
  1898. - (gKQEgo view: 5319 loop: 3 cel: 0 setCycle: CT 3 1 self)
  1899. - )
  1900. - (7
  1901. - (gKqSound1 number: 836 loop: -1 play:)
  1902. - (gKQEgo cel: 4 setCycle: End self)
  1903. - )
  1904. - (8
  1905. - (self setScript: crookFalls)
  1906. - (gKQEgo view: 5319 loop: 5 cel: 0 setCycle: CT 4 1 self)
  1907. - )
  1908. - (9
  1909. - (gKqSound1 stop:)
  1910. - (gKQEgo setCycle: CT 15 1 self)
  1911. - )
  1912. - (10
  1913. - (gKQEgo setCycle: End self)
  1914. - (= local12 1)
  1915. - (gKqMusic1 number: 5315 loop: 1 play:)
  1916. - (gateGuard
  1917. - view: 5328
  1918. - setLoop: 2 1
  1919. - cel: 0
  1920. - init:
  1921. - posn: 290 113
  1922. - setCycle: Walk
  1923. - setSpeed: 4
  1924. - setMotion: MoveTo 420 118 gateGuard
  1925. - )
  1926. - (archDuke
  1927. - view: 5319
  1928. - loop: 6
  1929. - cel: 0
  1930. - x: 469
  1931. - y: 136
  1932. - setPri: 90
  1933. - cycleSpeed: 6
  1934. - init:
  1935. - setScale: 0
  1936. - setCycle: CT 29 1 self
  1937. - )
  1938. - )
  1939. - (11
  1940. - (archDuke setPri: 100 setCycle: End self)
  1941. - )
  1942. - (12
  1943. - (gKQEgo hide:)
  1944. - (archDuke view: 5319 loop: 7 cel: 0 setCycle: End self)
  1945. - )
  1946. - (13
  1947. - (if (gateGuard mover?) (-- state))
  1948. - (= cycles 3)
  1949. - )
  1950. - (14
  1951. - (gKqMessager sayRange: 0 0 18 1 2 self)
  1952. - )
  1953. - (15
  1954. - (guardTalker client: gateGuard loop: -1)
  1955. - (gKqMessager sayRange: 0 0 18 3 4 self)
  1956. - )
  1957. - (16
  1958. - (= local12 1)
  1959. - (gKqMusic1 number: 5316 loop: 1 play: self)
  1960. - )
  1961. - (17
  1962. - (gKQEgo get: 48)
  1963. - (proc11_1 126)
  1964. - (global2 newRoom: 35)
  1965. - )
  1966. - )
  1967. - )
  1968. -)
  1969. -
  1970. -(instance crookFalls of Script
  1971. - (properties)
  1972. -
  1973. - (method (changeState newState)
  1974. - (switch (= state newState)
  1975. - (0
  1976. - (crook
  1977. - view: 5319
  1978. - loop: 4
  1979. - cel: 0
  1980. - x: 425
  1981. - y: 93
  1982. - setPri: 140
  1983. - init:
  1984. - setCycle: End self
  1985. - )
  1986. - )
  1987. - (1
  1988. - (gKQEgo put: 39)
  1989. - (crook dispose:)
  1990. - (self dispose:)
  1991. - )
  1992. - )
  1993. - )
  1994. -)
  1995. -
  1996. -(instance talkToChicken of Script
  1997. - (properties)
  1998. -
  1999. - (method (init)
  2000. - (proc11_2 539)
  2001. - (super init: &rest)
  2002. - )
  2003. -
  2004. - (method (dispose)
  2005. - (proc11_2 539)
  2006. - (super dispose:)
  2007. - )
  2008. -
  2009. - (method (changeState newState)
  2010. - (if (not (proc11_0 539))
  2011. - (switch (= state newState)
  2012. - (0
  2013. - (global1 handsOff: 1)
  2014. - (proc11_3 gKQEgo chickenPetite self)
  2015. - )
  2016. - (1
  2017. - (chickenTalker hide_mouth: 0)
  2018. - (gKqMessager say: 4 8 14 0 self)
  2019. - )
  2020. - (2
  2021. - (chickenPetite
  2022. - setLoop: 6 1
  2023. - setCel: 0
  2024. - setCycle: Fwd
  2025. - ignoreActors: 1
  2026. - setMotion: PolyPath 400 (chickenPetite y?) self
  2027. - )
  2028. - )
  2029. - (3
  2030. - (gKQEgo setHeading: 180 self)
  2031. - )
  2032. - (4
  2033. - (proc5300_4)
  2034. - (global1 handsOn:)
  2035. - (self dispose:)
  2036. - )
  2037. - )
  2038. - else
  2039. - (gKQEgo normalize: 2)
  2040. - (chickenPetite setCycle: 0 setMotion: 0)
  2041. - (proc5300_4)
  2042. - (global1 handsOn:)
  2043. - (self dispose:)
  2044. - )
  2045. - )
  2046. -)
  2047. -
  2048. -(instance talkToChickenAboutMoon of Script
  2049. - (properties)
  2050. -
  2051. - (method (changeState newState &tmp temp0)
  2052. - (switch (= state newState)
  2053. - (0
  2054. - (global1 handsOff:)
  2055. - (gKqMessager say: 4 8 17 1 self)
  2056. - )
  2057. - (1
  2058. - (chickenPetite view: 5311 setLoop: 6 cel: 0 posn: 424 82)
  2059. - (UpdateScreenItem chickenPetite)
  2060. - (FrameOut)
  2061. - (chickenTalker hide_mouth: 0 modeless: 2)
  2062. - (= cycles 1)
  2063. - )
  2064. - (2
  2065. - (gKqMessager say: 4 8 17 2 self)
  2066. - )
  2067. - (3
  2068. - (chickenTalker hide_mouth: 1 modeless: 2 loop: -1)
  2069. - (chickenPetite setCycle: CT 3 1 self)
  2070. - )
  2071. - (4
  2072. - (chickenPetite setLoop: 2 1 cel: 4 setCycle: Beg self)
  2073. - )
  2074. - (5
  2075. - (gKqMessager say: 4 8 17 3 self)
  2076. - )
  2077. - (6
  2078. - (gKqSound1 number: 5311 loop: 1 play:)
  2079. - (chickenPetite
  2080. - setCycle: ROsc -1 0 2
  2081. - moveSpeed: 8
  2082. - setMotion: MoveTo 452 64 self
  2083. - )
  2084. - )
  2085. - (7
  2086. - (chickenPetite setCycle: End self)
  2087. - )
  2088. - (8
  2089. - (gKQEgo hide:)
  2090. - (chickenPetite
  2091. - setLoop: 3
  2092. - cel: 0
  2093. - setPri: -1
  2094. - posn: 459 100
  2095. - setCycle: Fwd
  2096. - )
  2097. - (gKqMessager say: 4 8 17 4 self)
  2098. - )
  2099. - (9
  2100. - (chickenPetite setCycle: End self)
  2101. - )
  2102. - (10
  2103. - (chickenPetite
  2104. - setLoop: 4
  2105. - cel: 0
  2106. - posn: 451 93
  2107. - setCycle: End self
  2108. - )
  2109. - )
  2110. - (11
  2111. - (gKQEgo show:)
  2112. - (= temp0 (- (Abs (gNewPlane_2 left:)) 10))
  2113. - (chickenPetite
  2114. - setLoop: 0 1
  2115. - setCel: 0
  2116. - setCycle: Walk
  2117. - ignoreActors: 1
  2118. - setMotion: PolyPath temp0 (chickenPetite y?) self
  2119. - )
  2120. - (gKqMessager say: 4 8 17 5 self)
  2121. - )
  2122. - (12
  2123. - (gKQEgo
  2124. - normalize: 1
  2125. - posn: (chickenPetite approachX?) (chickenPetite approachY?)
  2126. - setHeading: 180 self
  2127. - )
  2128. - )
  2129. - (13 0)
  2130. - (14
  2131. - (proc5300_4)
  2132. - (global1 handsOn:)
  2133. - (self dispose:)
  2134. - )
  2135. - )
  2136. - )
  2137. -)
  2138. -
  2139. -(instance uncoverCage of Script
  2140. - (properties)
  2141. -
  2142. - (method (changeState newState)
  2143. - (switch (= state newState)
  2144. - (0
  2145. - (global1 handsOff:)
  2146. - (proc11_1 138)
  2147. - (cageCover dispose:)
  2148. - (chinaBird view: 5329 loop: 1 cel: 0 x: 571 y: 97 init:)
  2149. - (gKQEgo
  2150. - view: 5327
  2151. - loop: 0
  2152. - cel: 0
  2153. - x: 503
  2154. - y: 138
  2155. - setPri: 119
  2156. - setScale: 0
  2157. - setCycle: End self
  2158. - )
  2159. - )
  2160. - (1
  2161. - (cageCover init:)
  2162. - (gKQEgo
  2163. - normalize: 2
  2164. - posn: (birdCage approachX?) (birdCage approachY?)
  2165. - setScaler: Scaler 83 53 98 78
  2166. - setHeading: 90
  2167. - )
  2168. - (chinaBird
  2169. - view: 5327
  2170. - loop: 1
  2171. - cel: 0
  2172. - x: 502
  2173. - y: 141
  2174. - setCycle: End self
  2175. - )
  2176. - )
  2177. - (2
  2178. - (global1 handsOn:)
  2179. - (self dispose:)
  2180. - )
  2181. - )
  2182. - )
  2183. -)
  2184. -
  2185. -(instance openCageDoor of Script
  2186. - (properties)
  2187. -
  2188. - (method (changeState newState)
  2189. - (switch (= state newState)
  2190. - (0
  2191. - (global1 handsOff:)
  2192. - (= gKQEgoX (gKQEgo x?))
  2193. - (= gKQEgoY (gKQEgo y?))
  2194. - (gKQEgo setHeading: 90 self)
  2195. - )
  2196. - (1
  2197. - (gKQEgo
  2198. - view: 5327
  2199. - loop: 3
  2200. - cel: 0
  2201. - x: 535
  2202. - y: 123
  2203. - setScale: 0
  2204. - setCycle: CT 5 1 self
  2205. - )
  2206. - )
  2207. - (2
  2208. - (gKqSound1 number: 5330 loop: 1 play:)
  2209. - (cageDoor setCycle: End)
  2210. - (gKQEgo setCycle: CT 9 1 self)
  2211. - )
  2212. - (3 (gKQEgo setCycle: Beg self))
  2213. - (4
  2214. - (gKQEgo
  2215. - normalize: 0
  2216. - posn: gKQEgoX gKQEgoY
  2217. - setScaler: Scaler 83 53 98 78
  2218. - )
  2219. - (global1 handsOn:)
  2220. - (self dispose:)
  2221. - )
  2222. - )
  2223. - )
  2224. -)
  2225. -
  2226. -(instance getTheChinaBird of Script
  2227. - (properties)
  2228. -
  2229. - (method (changeState newState)
  2230. - (switch (= state newState)
  2231. - (0
  2232. - (global1 handsOff:)
  2233. - (= gKQEgoX (gKQEgo x?))
  2234. - (= gKQEgoY (gKQEgo y?))
  2235. - (gKQEgo setHeading: 90 self)
  2236. - )
  2237. - (1
  2238. - (gKqMessager say: 7 8 28 0 self)
  2239. - )
  2240. - (2
  2241. - (gKQEgo
  2242. - view: 5327
  2243. - loop: 3
  2244. - cel: 0
  2245. - x: 535
  2246. - y: 123
  2247. - setScale: 0
  2248. - setCycle: End self
  2249. - )
  2250. - )
  2251. - (3
  2252. - (gKQEgo hide:)
  2253. - (chinaBird
  2254. - view: 5327
  2255. - loop: 4
  2256. - cel: 1
  2257. - x: 557
  2258. - y: 114
  2259. - setPri: 123
  2260. - setCycle: End self
  2261. - )
  2262. - )
  2263. - (4
  2264. - (chinaBird dispose:)
  2265. - (gKQEgo get: 42)
  2266. - (birdCage dispose:)
  2267. - (gKQEgo
  2268. - show:
  2269. - posn: gKQEgoX gKQEgoY
  2270. - normalize: 4
  2271. - setScaler: Scaler 83 53 98 78
  2272. - )
  2273. - (global1 handsOn:)
  2274. - (self dispose:)
  2275. - )
  2276. - )
  2277. - )
  2278. -)
  2279. -
  2280. -(instance tryGetBird of Script
  2281. - (properties)
  2282. -
  2283. - (method (changeState newState)
  2284. - (switch (= state newState)
  2285. - (0
  2286. - (global1 handsOff:)
  2287. - (gKQEgo setPri: 119 setHeading: 90 self)
  2288. - )
  2289. - (1
  2290. - (cond
  2291. - ((not (proc11_1 118)) (self setScript: firstAttemptToGetBird self))
  2292. - ((not (proc11_1 119)) (self setScript: secondAttemptToGetBird self))
  2293. - )
  2294. - )
  2295. - (2
  2296. - (gKQEgo setHeading: 180 self)
  2297. - )
  2298. - (3
  2299. - (global1 handsOn:)
  2300. - (self dispose:)
  2301. - )
  2302. - )
  2303. - )
  2304. -)
  2305. -
  2306. -(instance firstAttemptToGetBird of Script
  2307. - (properties)
  2308. -
  2309. - (method (changeState newState)
  2310. - (switch (= state newState)
  2311. - (0
  2312. - (global1 handsOff:)
  2313. - (= gKQEgoX (gKQEgo x?))
  2314. - (= gKQEgoY (gKQEgo y?))
  2315. - (gKqMessager sayRange: 7 8 29 1 3 self)
  2316. - )
  2317. - (1
  2318. - (gKQEgo
  2319. - setScale: 0
  2320. - view: 5329
  2321. - loop: 0
  2322. - cel: 0
  2323. - x: 550
  2324. - y: 109
  2325. - setCycle: End self
  2326. - )
  2327. - )
  2328. - (2
  2329. - (chinaBird
  2330. - view: 5329
  2331. - loop: 1
  2332. - cel: 0
  2333. - x: 571
  2334. - y: 97
  2335. - setCycle: End self
  2336. - )
  2337. - )
  2338. - (3
  2339. - (chinaBirdTalker hide_mouth: 1)
  2340. - (gKqMessager say: 7 8 29 4 self)
  2341. - )
  2342. - (4
  2343. - (snakeSalesman hide:)
  2344. - (= seconds 2)
  2345. - )
  2346. - (5
  2347. - (chinaBirdTalker hide_mouth: 0)
  2348. - (snakeSalesman
  2349. - setScript: 0
  2350. - view: 5329
  2351. - loop: 2
  2352. - cel: 0
  2353. - x: 522
  2354. - y: 96
  2355. - setPri: 88
  2356. - show:
  2357. - setCycle: CT 6 1 self
  2358. - )
  2359. - )
  2360. - (6
  2361. - (snakeSalesman setPri: 121 setCycle: End self)
  2362. - )
  2363. - (7
  2364. - (gKqMessager say: 7 8 29 5 self)
  2365. - )
  2366. - (8
  2367. - (proc11_2 138)
  2368. - (snakeSalesman
  2369. - view: 5329
  2370. - loop: 3
  2371. - cel: 0
  2372. - x: 519
  2373. - y: 105
  2374. - setCycle: CT 2 1 self
  2375. - )
  2376. - )
  2377. - (9
  2378. - (cageCover dispose:)
  2379. - (snakeSalesman cel: 3 setCycle: CT 10 1 self)
  2380. - )
  2381. - (10
  2382. - (gKqSound1 number: 5331 loop: 1 play:)
  2383. - (cageDoor cel: (cageDoor lastCel:) setCycle: Beg self)
  2384. - (snakeSalesman setCycle: CT 24 1 self)
  2385. - )
  2386. - (11
  2387. - (cageCover init:)
  2388. - (snakeSalesman cel: 25 setCycle: End self)
  2389. - (chinaBird setCycle: Beg)
  2390. - )
  2391. - (12
  2392. - (snakeSalesman
  2393. - view: 5329
  2394. - setLoop: 8
  2395. - cel: 4
  2396. - posn: 554 108
  2397. - setCycle: CT 13 1 self
  2398. - )
  2399. - )
  2400. - (13
  2401. - (snakeSalesman setPri: 80 setCycle: End self)
  2402. - )
  2403. - (14
  2404. - (snakeSalesman hide:)
  2405. - (= seconds 2)
  2406. - )
  2407. - (15
  2408. - (snakeSalesman
  2409. - view: 5323
  2410. - loop: 1
  2411. - cel: 0
  2412. - posn: 531 90
  2413. - setPri: 90
  2414. - show:
  2415. - setScript: keepSalesmanBusy
  2416. - )
  2417. - (gKQEgo
  2418. - posn: gKQEgoX gKQEgoY
  2419. - normalize:
  2420. - setScaler: Scaler 83 53 98 78
  2421. - )
  2422. - (self dispose:)
  2423. - )
  2424. - )
  2425. - )
  2426. -)
  2427. -
  2428. -(instance secondAttemptToGetBird of Script
  2429. - (properties)
  2430. -
  2431. - (method (changeState newState)
  2432. - (switch (= state newState)
  2433. - (0
  2434. - (global1 handsOff:)
  2435. - (= gKQEgoX (gKQEgo x?))
  2436. - (= gKQEgoY (gKQEgo y?))
  2437. - (gKQEgo
  2438. - setScale: 0
  2439. - view: 5329
  2440. - loop: 0
  2441. - cel: 0
  2442. - x: 550
  2443. - y: 109
  2444. - setCycle: End self
  2445. - )
  2446. - )
  2447. - (1
  2448. - (chinaBird
  2449. - view: 5329
  2450. - loop: 1
  2451. - cel: 0
  2452. - x: 571
  2453. - y: 97
  2454. - setCycle: End self
  2455. - )
  2456. - )
  2457. - (2
  2458. - (chinaBirdTalker hide_mouth: 1)
  2459. - (gKqMessager say: 7 8 31 1 self)
  2460. - )
  2461. - (3
  2462. - (snakeSalesman hide:)
  2463. - (= seconds 2)
  2464. - )
  2465. - (4
  2466. - (chinaBirdTalker hide_mouth: 0)
  2467. - (snakeSalesman
  2468. - setScript: 0
  2469. - view: 5329
  2470. - loop: 2
  2471. - cel: 0
  2472. - x: 522
  2473. - y: 96
  2474. - setPri: 88
  2475. - show:
  2476. - setCycle: CT 6 1 self
  2477. - )
  2478. - )
  2479. - (5
  2480. - (snakeSalesman setPri: 121 setCycle: End self)
  2481. - )
  2482. - (6
  2483. - (gKqMessager say: 7 8 31 2 self)
  2484. - )
  2485. - (7
  2486. - (proc11_2 138)
  2487. - (snakeSalesman
  2488. - view: 5329
  2489. - loop: 3
  2490. - cel: 0
  2491. - x: 519
  2492. - y: 105
  2493. - setCycle: CT 2 1 self
  2494. - )
  2495. - )
  2496. - (8
  2497. - (cageCover dispose:)
  2498. - (snakeSalesman cel: 3 setCycle: CT 10 1 self)
  2499. - )
  2500. - (9
  2501. - (gKqSound1 number: 5331 loop: 1 play:)
  2502. - (cageDoor cel: (cageDoor lastCel:) setCycle: Beg self)
  2503. - (snakeSalesman setCycle: CT 24 1 self)
  2504. - )
  2505. - (10
  2506. - (cageCover init:)
  2507. - (snakeSalesman cel: 25 setCycle: End self)
  2508. - )
  2509. - (11
  2510. - (snakeSalesman
  2511. - view: 5329
  2512. - setLoop: 8
  2513. - cel: 4
  2514. - posn: 554 108
  2515. - setCycle: CT 13 1 self
  2516. - )
  2517. - )
  2518. - (12
  2519. - (snakeSalesman setPri: 80 setCycle: End self)
  2520. - )
  2521. - (13
  2522. - (snakeSalesman
  2523. - view: 5323
  2524. - loop: 1
  2525. - cel: 0
  2526. - posn: 531 90
  2527. - setPri: 90
  2528. - setScript: keepSalesmanBusy
  2529. - )
  2530. - (gKQEgo
  2531. - posn: gKQEgoX gKQEgoY
  2532. - normalize:
  2533. - setScaler: Scaler 83 53 98 78
  2534. - )
  2535. - (self dispose:)
  2536. - )
  2537. - )
  2538. - )
  2539. -)
  2540. -
  2541. -(instance takeBird of Script
  2542. - (properties)
  2543. -
  2544. - (method (changeState newState)
  2545. - (switch (= state newState)
  2546. - (0
  2547. - (global1 handsOff:)
  2548. - (= gKQEgoX (gKQEgo x?))
  2549. - (= gKQEgoY (gKQEgo y?))
  2550. - (gKQEgo
  2551. - setScale: 0
  2552. - view: 5329
  2553. - loop: 0
  2554. - cel: 0
  2555. - x: 550
  2556. - y: 109
  2557. - setCycle: End self
  2558. - )
  2559. - )
  2560. - (1
  2561. - (chinaBird
  2562. - view: 5329
  2563. - loop: 1
  2564. - cel: 0
  2565. - x: 571
  2566. - y: 97
  2567. - setCycle: End self
  2568. - )
  2569. - )
  2570. - (2
  2571. - (chinaBirdTalker hide_mouth: 1)
  2572. - (gKqMessager say: 7 8 32 1 self)
  2573. - )
  2574. - (3
  2575. - (chinaBirdTalker hide_mouth: 0)
  2576. - (snakeSalesman
  2577. - setScript: 0
  2578. - view: 5329
  2579. - loop: 2
  2580. - cel: 0
  2581. - x: 522
  2582. - y: 96
  2583. - setPri: 88
  2584. - setCycle: CT 6 1 self
  2585. - )
  2586. - )
  2587. - (4
  2588. - (snakeSalesman setPri: 121 setCycle: End self)
  2589. - )
  2590. - (5
  2591. - (proc11_2 138)
  2592. - (snakeSalesman
  2593. - view: 5329
  2594. - loop: 3
  2595. - cel: 0
  2596. - x: 519
  2597. - y: 105
  2598. - setCycle: CT 2 1 self
  2599. - )
  2600. - )
  2601. - (6
  2602. - (cageCover dispose:)
  2603. - (snakeSalesman cel: 3 setCycle: CT 10 1 self)
  2604. - )
  2605. - (7
  2606. - (gKqSound1 number: 5331 loop: 1 play:)
  2607. - (cageDoor cel: (cageDoor lastCel:) setCycle: Beg self)
  2608. - (snakeSalesman setCycle: CT 24 1 self)
  2609. - )
  2610. - (8
  2611. - (cageCover init:)
  2612. - (snakeSalesman cel: 25 setCycle: End self)
  2613. - )
  2614. - (9
  2615. - (snakeTalker hide_mouth: 1 clientCel: -2)
  2616. - (gKqMessager say: 7 8 32 2 self)
  2617. - )
  2618. - (10
  2619. - (gKQEgo hide:)
  2620. - (snakeSalesman
  2621. - view: 5329
  2622. - loop: 5
  2623. - cel: 0
  2624. - x: 552
  2625. - y: 112
  2626. - setCycle: CT 14 1 self
  2627. - )
  2628. - )
  2629. - (11
  2630. - (gKqSound1 number: 831 loop: 1 play:)
  2631. - (snakeSalesman setCycle: End self)
  2632. - )
  2633. - (12
  2634. - (snakeSalesman
  2635. - view: 5329
  2636. - loop: 6
  2637. - cel: 0
  2638. - x: 576
  2639. - y: 113
  2640. - setCycle: CT 11 1 self
  2641. - )
  2642. - )
  2643. - (13
  2644. - (gKqSound1 number: 825 loop: 1 play:)
  2645. - (snakeSalesman setCycle: CT 34 1 self)
  2646. - )
  2647. - (14
  2648. - (snakeTalker hide_mouth: 1)
  2649. - (gKqMessager say: 7 8 32 3 self)
  2650. - )
  2651. - (15
  2652. - (snakeTalker hide_mouth: 0)
  2653. - (snakeSalesman setCycle: End self)
  2654. - )
  2655. - (16 (proc11_5 45 self))
  2656. - (17
  2657. - (snakeSalesman
  2658. - view: 5323
  2659. - loop: 1
  2660. - cel: 0
  2661. - posn: 531 90
  2662. - setPri: 90
  2663. - setScript: keepSalesmanBusy
  2664. - )
  2665. - (gKQEgo
  2666. - show:
  2667. - normalize:
  2668. - posn: gKQEgoX gKQEgoY
  2669. - setScaler: Scaler 83 53 98 78
  2670. - )
  2671. - (gKQEgo setHeading: 180 self)
  2672. - )
  2673. - (18
  2674. - (global1 handsOn:)
  2675. - (self dispose:)
  2676. - )
  2677. - )
  2678. - )
  2679. -)
  2680. -
  2681. -(instance giveStatue of Script
  2682. - (properties)
  2683. -
  2684. - (method (changeState newState)
  2685. - (switch (= state newState)
  2686. - (0
  2687. - (global1 handsOff:)
  2688. - (gKqMessager say: 6 61 0 1 self)
  2689. - )
  2690. - (1
  2691. - (if (snakeSalesman script?)
  2692. - (keepSalesmanBusy caller: self register: 1)
  2693. - else
  2694. - (= cycles 1)
  2695. - )
  2696. - )
  2697. - (2
  2698. - (snakeSalesman hide:)
  2699. - (wagon dispose:)
  2700. - (gKQEgo
  2701. - view: 5338
  2702. - setLoop: 1 1
  2703. - cel: 0
  2704. - posn: 515 107
  2705. - setScale: 0
  2706. - setCycle: CT 9 1 self
  2707. - )
  2708. - )
  2709. - (3
  2710. - (proc11_1 204)
  2711. - (gKQEgo put: 47 setCycle: CT 11 1 self)
  2712. - )
  2713. - (4
  2714. - (gKQEgo
  2715. - normalize: 6
  2716. - posn: 494 108
  2717. - setScaler: Scaler 83 53 98 78
  2718. - )
  2719. - (snakeSalesman
  2720. - view: 5338
  2721. - setLoop: 1 1
  2722. - posn: 515 107
  2723. - cel: 12
  2724. - show:
  2725. - setPri: 110
  2726. - setCycle: End self
  2727. - )
  2728. - )
  2729. - (5
  2730. - (snakeSalesman setLoop: 2 1 cel: 0 setCycle: End self)
  2731. - )
  2732. - (6
  2733. - (snakeSalesman setLoop: 3 1 cel: 0 setCycle: CT 6 1 self)
  2734. - (gKQEgo view: 8075 setLoop: 0 1 cel: 0 setCycle: End self)
  2735. - )
  2736. - (7 0)
  2737. - (8
  2738. - (snakeSalesman setCycle: End self)
  2739. - (gKQEgo setCycle: Beg self)
  2740. - )
  2741. - (9
  2742. - (gKQEgo normalize: 6 posn: 494 108)
  2743. - ((ScriptID 13 0)
  2744. - client: gKQEgo
  2745. - view: -1
  2746. - loop: -1
  2747. - clientCel: -2
  2748. - )
  2749. - (snakeTalker view: 5338 loop: 24 clientCel: -2)
  2750. - (gKqMessager sayRange: 6 61 0 2 6 self)
  2751. - )
  2752. - (10
  2753. - (gKqSound1 number: 5333 loop: 1 play:)
  2754. - (snakeSalesman setLoop: 4 1 cel: 0 setCycle: End self)
  2755. - )
  2756. - (11
  2757. - (gKqSound1 stop:)
  2758. - (curtain init:)
  2759. - (= local11 0)
  2760. - (gKQEgo get: 65)
  2761. - (proc11_1 198)
  2762. - (= cycles 1)
  2763. - )
  2764. - (12
  2765. - (gKQEgo setHeading: 180 self)
  2766. - )
  2767. - (13
  2768. - (global1 handsOn:)
  2769. - (self dispose:)
  2770. - )
  2771. - )
  2772. - )
  2773. -)
  2774. -
  2775. -(instance knockOnTownHallDoor of Script
  2776. - (properties)
  2777. -
  2778. - (method (changeState newState)
  2779. - (switch (= state newState)
  2780. - (0
  2781. - (global1 handsOff:)
  2782. - (Load rsVIEW 5305)
  2783. - (Load rsVIEW 5306)
  2784. - (= cycles 1)
  2785. - )
  2786. - (1
  2787. - (gKQEgo
  2788. - view: 5306
  2789. - loop: 0
  2790. - cel: 0
  2791. - posn: 231 104
  2792. - setScale: 0
  2793. - setCycle: CT 2 1 self
  2794. - )
  2795. - (gKqSound1 number: 808 loop: 1 play:)
  2796. - )
  2797. - (2
  2798. - (gKqSound1 number: 808 loop: 1 play:)
  2799. - (gKQEgo setCycle: CT 4 1 self)
  2800. - )
  2801. - (3
  2802. - (gKqSound1 number: 801 setLoop: 1 play:)
  2803. - (townHallDoor setCycle: CT 4 1 self)
  2804. - )
  2805. - (4
  2806. - (if (not (proc11_0 421))
  2807. - (gKQEgo
  2808. - view: 5306
  2809. - setLoop: 3
  2810. - cel: 0
  2811. - posn: 236 100
  2812. - setCycle: End
  2813. - )
  2814. - else
  2815. - (gKQEgo normalize: 7 setScaler: Scaler 83 53 98 78)
  2816. - )
  2817. - (badger
  2818. - view: 5306
  2819. - setLoop: 2
  2820. - cel: 0
  2821. - posn: 226 97
  2822. - setPri: 86
  2823. - init:
  2824. - setCycle: End self
  2825. - )
  2826. - )
  2827. - (5
  2828. - (cond
  2829. - ((not (proc11_1 421)) (self setScript: firstDoorKnock self))
  2830. - ((not (proc11_1 420)) (gKqMessager say: 3 8 9 0 self))
  2831. - (else (gKqMessager say: 3 8 10 0 self))
  2832. - )
  2833. - )
  2834. - (6
  2835. - (badger
  2836. - view: 5305
  2837. - setLoop: 3
  2838. - posn: 217 93
  2839. - cel: 0
  2840. - setCycle: End self
  2841. - )
  2842. - )
  2843. - (7
  2844. - (badger dispose:)
  2845. - (townHallDoor setCycle: Beg self)
  2846. - )
  2847. - (8
  2848. - (gKqSound1 number: 802 setLoop: 1 play:)
  2849. - (global1 handsOn:)
  2850. - (self dispose:)
  2851. - )
  2852. - )
  2853. - )
  2854. -)
  2855. -
  2856. -(instance firstDoorKnock of Script
  2857. - (properties)
  2858. -
  2859. - (method (changeState newState)
  2860. - (switch (= state newState)
  2861. - (0
  2862. - (gKqMessager say: 3 8 8 1 self)
  2863. - )
  2864. - (1 (gKQEgo setCycle: Beg self))
  2865. - (2
  2866. - (gKQEgo
  2867. - normalize: 7
  2868. - posn: (townHallDoor approachX?) (townHallDoor approachY?)
  2869. - setScaler: Scaler 83 53 98 78
  2870. - )
  2871. - (UpdateScreenItem gKQEgo)
  2872. - (FrameOut)
  2873. - (= cycles 2)
  2874. - )
  2875. - (3
  2876. - (gKqMessager sayRange: 3 8 8 2 3 self)
  2877. - )
  2878. - (4 (self dispose:))
  2879. - )
  2880. - )
  2881. -)
  2882. -
  2883. -(instance escortedOutOfTownHall of Script
  2884. - (properties)
  2885. -
  2886. - (method (changeState newState)
  2887. - (switch (= state newState)
  2888. - (0
  2889. - (global1 handsOff:)
  2890. - (townHallDoor cel: 4 setPri: 10)
  2891. - (badger
  2892. - view: 5306
  2893. - loop: 2
  2894. - cel: 0
  2895. - x: 226
  2896. - y: 98
  2897. - priority: 83
  2898. - fixPriority: 1
  2899. - init:
  2900. - setCycle: End self
  2901. - )
  2902. - (gKQEgo
  2903. - normalize: 4
  2904. - posn: 220 97
  2905. - setMotion: MoveTo 240 103 self
  2906. - )
  2907. - )
  2908. - (1 (proc11_3 gKQEgo badger))
  2909. - (2
  2910. - (badger
  2911. - view: 5305
  2912. - setLoop: 3
  2913. - posn: 217 93
  2914. - cel: 0
  2915. - setCycle: End self
  2916. - )
  2917. - )
  2918. - (3
  2919. - (badger dispose:)
  2920. - (townHallDoor setCycle: Beg self)
  2921. - )
  2922. - (4
  2923. - (gKqSound1 number: 802 loop: 1 play:)
  2924. - (gKQEgo setHeading: 180 self)
  2925. - )
  2926. - (5
  2927. - (global1 handsOn:)
  2928. - (self dispose:)
  2929. - )
  2930. - )
  2931. - )
  2932. -)
  2933. -
  2934. -(instance enterTownHall of Script
  2935. - (properties)
  2936. -
  2937. - (method (changeState newState)
  2938. - (switch (= state newState)
  2939. - (0
  2940. - (global1 handsOff:)
  2941. - (gKQEgo
  2942. - posn: 232 100
  2943. - view: 5307
  2944. - setLoop: 0
  2945. - setCel: 0
  2946. - cycleSpeed: 6
  2947. - setScale: 0
  2948. - )
  2949. - (UpdateScreenItem gKQEgo)
  2950. - (FrameOut)
  2951. - (gKqSound1 number: 808 loop: 1 play: self)
  2952. - )
  2953. - (1
  2954. - (gKQEgo setCycle: CT 2 1 self)
  2955. - )
  2956. - (2 (gKQEgo setCycle: Beg self))
  2957. - (3
  2958. - (gKqSound1 play:)
  2959. - (gKQEgo setCycle: CT 2 1 self)
  2960. - )
  2961. - (4 (gKQEgo setCycle: Beg self))
  2962. - (5
  2963. - (gKqSound1 play:)
  2964. - (gKQEgo setCycle: CT 3 1 self)
  2965. - )
  2966. - (6
  2967. - (gKqSound1 number: 801 loop: 1 play:)
  2968. - (townHallDoor setPri: 80 setCycle: CT 4 1 self)
  2969. - )
  2970. - (7
  2971. - (badger
  2972. - view: 5306
  2973. - loop: 2
  2974. - cel: 0
  2975. - x: 226
  2976. - y: 98
  2977. - priority: 83
  2978. - fixPriority: 1
  2979. - init:
  2980. - setCycle: End self
  2981. - )
  2982. - )
  2983. - (8
  2984. - (gKQEgo
  2985. - cel: 5
  2986. - posn: 221 103
  2987. - setPri: 83
  2988. - setCycle: CT 6 1 self
  2989. - )
  2990. - )
  2991. - (9
  2992. - (badger hide:)
  2993. - (gKQEgo cel: 7 setCycle: End self)
  2994. - )
  2995. - (10
  2996. - (guardTalker client: gKQEgo)
  2997. - (gKqMessager say: 3 8 11 0 self)
  2998. - )
  2999. - (11
  3000. - (gKQEgo
  3001. - posn: 240 101
  3002. - setLoop: 1
  3003. - setCel: 0
  3004. - setCycle: End self
  3005. - )
  3006. - )
  3007. - (12
  3008. - (gKQEgo
  3009. - posn: 242 100
  3010. - setLoop: 2
  3011. - setCel: 0
  3012. - setCycle: CT 12 1 self
  3013. - )
  3014. - )
  3015. - (13
  3016. - (gKQEgo setPri: 88 setCycle: End self)
  3017. - )
  3018. - (14 (global2 newRoom: 5100))
  3019. - )
  3020. - )
  3021. -)
  3022. -
  3023. -(instance dukeStopsVal of Script
  3024. - (properties)
  3025. -
  3026. - (method (changeState newState)
  3027. - (switch (= state newState)
  3028. - (0
  3029. - (global1 handsOff:)
  3030. - (= local0 1)
  3031. - (proc11_3 gKQEgo archDuke)
  3032. - (archDuke
  3033. - posn: 160 111
  3034. - setLoop: 4
  3035. - setCel: 0
  3036. - setCycle: End self
  3037. - )
  3038. - )
  3039. - (1
  3040. - (archTalker modeless: 2)
  3041. - (gKqMessager say: 0 0 2 0 self)
  3042. - (self setScript: egoBackOff self)
  3043. - )
  3044. - (2 0)
  3045. - (3
  3046. - (archTalker modeless: 1)
  3047. - (archDuke setCycle: Beg self)
  3048. - )
  3049. - (4
  3050. - (archDuke posn: 225 112 setLoop: 2)
  3051. - (global1 handsOn:)
  3052. - (self dispose:)
  3053. - )
  3054. - )
  3055. - )
  3056. -)
  3057. -
  3058. -(instance egoBackOff of Script
  3059. - (properties)
  3060. -
  3061. - (method (changeState newState)
  3062. - (switch (= state newState)
  3063. - (0
  3064. - (gKQEgo
  3065. - view: 5301
  3066. - setLoop: 5
  3067. - setCel: 0
  3068. - setScale: 0
  3069. - setCycle: End self
  3070. - )
  3071. - )
  3072. - (1
  3073. - (gKQEgo normalize: 0 setScaler: Scaler 83 53 98 78)
  3074. - (self dispose:)
  3075. - )
  3076. - )
  3077. - )
  3078. -)
  3079. -
  3080. -(instance fromAssembly of Script
  3081. - (properties)
  3082. -
  3083. - (method (changeState newState)
  3084. - (= cycles 0)
  3085. - (switch (= state newState)
  3086. - (0
  3087. - (global1 handsOff:)
  3088. - (= cycles 4)
  3089. - )
  3090. - (1
  3091. - (gKQEgo
  3092. - setLoop: (gKQEgo loop?) 1
  3093. - setMotion: MoveTo 229 99 self
  3094. - )
  3095. - )
  3096. - (2
  3097. - (townHallDoor setCycle: Beg self)
  3098. - )
  3099. - (3
  3100. - (gKqSound1 number: 802 loop: 1 play:)
  3101. - (gKQEgo setHeading: 225 self)
  3102. - )
  3103. - (4
  3104. - (if (== global122 3)
  3105. - (self setScript: removeValsMask self)
  3106. - else
  3107. - (= cycles 1)
  3108. - )
  3109. - )
  3110. - (5
  3111. - (gKQEgo normalize: 5 setScaler: Scaler 83 53 98 78)
  3112. - (gKQEgo setHeading: 180 self)
  3113. - )
  3114. - (6
  3115. - (if (not next) (global1 handsOn:))
  3116. - (self dispose:)
  3117. - )
  3118. - )
  3119. - )
  3120. -)
  3121. -
  3122. -(instance removeValsMask of Script
  3123. - (properties)
  3124. -
  3125. - (method (changeState newState)
  3126. - (switch (= state newState)
  3127. - (0
  3128. - (gKQEgo
  3129. - view: 5309
  3130. - setLoop: 0
  3131. - setCel: 21
  3132. - setScale: 0
  3133. - cycleSpeed: 6
  3134. - setCycle: Beg self
  3135. - )
  3136. - )
  3137. - (1
  3138. - (gKQEgo setLoop: 2 cel: 27 setCycle: Beg self)
  3139. - )
  3140. - (2
  3141. - (gKQEgo get: 43)
  3142. - (proc11_2 137)
  3143. - (self dispose:)
  3144. - )
  3145. - )
  3146. - )
  3147. -)
  3148. -
  3149. -(instance putOnMask of Script
  3150. - (properties)
  3151. -
  3152. - (method (dispose)
  3153. - (if (gOldWalkHandler contains: self)
  3154. - (gOldWalkHandler delete: self)
  3155. - (global73 delete: self)
  3156. - )
  3157. - (super dispose:)
  3158. - )
  3159. -
  3160. - (method (changeState newState)
  3161. - (switch (= state newState)
  3162. - (0
  3163. - (global1 handsOff:)
  3164. - (global1 handsOff:)
  3165. - (gKQEgo setMotion: PolyPath 237 98 self)
  3166. - )
  3167. - (1
  3168. - (gKQEgo
  3169. - view: 5309
  3170. - setLoop: 2
  3171. - setCel: 0
  3172. - setScale: 0
  3173. - cycleSpeed: 6
  3174. - setCycle: End self
  3175. - )
  3176. - )
  3177. - (2
  3178. - (gKQEgo
  3179. - view: 5309
  3180. - setLoop: 0 1
  3181. - setCel: 0
  3182. - setCycle: End self
  3183. - )
  3184. - (proc11_1 137)
  3185. - (gKQEgo put: 43)
  3186. - )
  3187. - (3
  3188. - (gOldWalkHandler add: self)
  3189. - (global73 add: self)
  3190. - (global1 handsOn:)
  3191. - )
  3192. - (4
  3193. - (global1 handsOff:)
  3194. - (gOldWalkHandler delete: self)
  3195. - (global73 delete: self)
  3196. - (gKQEgo
  3197. - view: 5309
  3198. - setLoop: 0
  3199. - setCel: 21
  3200. - setScale: 0
  3201. - setCycle: Beg self
  3202. - )
  3203. - (proc11_2 137)
  3204. - (gKQEgo get: 43)
  3205. - )
  3206. - (5
  3207. - (gKQEgo setLoop: 3 cel: 0 setCycle: End self)
  3208. - )
  3209. - (6
  3210. - (global1 handsOn:)
  3211. - (gKQEgo normalize: 5 setScaler: Scaler 83 53 98 78)
  3212. - (self dispose:)
  3213. - )
  3214. - )
  3215. +(instance townHallDoor of Prop
  3216. + (properties
  3217. + heading 90
  3218. + noun 3
  3219. + sightAngle 15
  3220. + approachX 239
  3221. + approachY 100
  3222. + x 231
  3223. + y 90
  3224. + priority 85
  3225. + fixPriority 1
  3226. + view 5302
  3227. + loop 4
  3228. )
  3229.  
  3230. - (method (handleEvent pEvent &tmp temp0)
  3231. + (method (init)
  3232. + (super init:)
  3233. (if
  3234. (or
  3235. - (and
  3236. - (& (pEvent type?) evMOUSEBUTTON)
  3237. - (= temp0 1)
  3238. - (or (pEvent localize: gNewPlane_2) 1)
  3239. - (gNewPlane_2 onMe: pEvent)
  3240. - (not (townHallDoor onMe: pEvent))
  3241. - )
  3242. - (& (pEvent type?) evMOVE)
  3243. - )
  3244. - (pEvent claimed: 1)
  3245. - (self changeState: 4)
  3246. - )
  3247. - (if temp0 (pEvent globalize:))
  3248. - (pEvent claimed?)
  3249. - )
  3250. -)
  3251. -
  3252. -(instance chickenTimerScript of Script
  3253. - (properties)
  3254. -
  3255. - (method (dispose)
  3256. - (gOldWalkHandler delete: self)
  3257. - (global73 delete: self)
  3258. - (chickenPetite setHotspot: 8 10)
  3259. - (super dispose:)
  3260. - )
  3261. -
  3262. - (method (changeState newState)
  3263. - (switch (= state newState)
  3264. - (0
  3265. - (gOldWalkHandler add: self)
  3266. - (global73 add: self)
  3267. - (chickenPetite setHotspot: 8 10)
  3268. - (= seconds (+ register 1))
  3269. - )
  3270. - (1
  3271. - (chickenPetite setHotspot: 0)
  3272. - (global2 setScript: chickenRunsOff)
  3273. - (self dispose:)
  3274. + (and (== global122 3) (not local0))
  3275. + (and (== global122 5) (proc11_0 203))
  3276. )
  3277. + (= loop 3)
  3278. )
  3279. - )
  3280. -
  3281. - (method (handleEvent pEvent &tmp temp0 temp1)
  3282. - (= temp1 0)
  3283. - (if
  3284. - (and
  3285. - (& (pEvent type?) evMOUSEBUTTON)
  3286. - (= temp1 1)
  3287. - (or (pEvent localize: gNewPlane_2) 1)
  3288. - (chickenPetite onMe: pEvent)
  3289. - )
  3290. - (pEvent globalize:)
  3291. - (self dispose:)
  3292. - (return 0)
  3293. + (if (not (proc11_0 110))
  3294. + (= cel 4)
  3295. + else
  3296. + (self setHotspot: 8 10)
  3297. )
  3298. - (if temp1 (pEvent globalize:))
  3299. - (if
  3300. - (and
  3301. - (gNewPlane_2 onMe: pEvent)
  3302. - (or
  3303. - (& (pEvent type?) evMOVE)
  3304. - (& (pEvent type?) evMOUSEBUTTON)
  3305. + (self
  3306. + approachVerbs: 8
  3307. + setPolygon:
  3308. + ((Polygon new:)
  3309. + type: 0
  3310. + init: 211 98 206 67 206 52 212 45 220 44 227 47 231 55 233 70 235 91
  3311. + yourself:
  3312. )
  3313. - )
  3314. - (pEvent claimed: 1)
  3315. - (self seconds: 0 cycles: 1)
  3316. )
  3317. - (return (pEvent claimed?))
  3318. )
  3319. -)
  3320. -
  3321. -(instance enterChinaShop of Script
  3322. - (properties)
  3323.  
  3324. - (method (changeState newState)
  3325. - (switch (= state newState)
  3326. - (0
  3327. - (global1 handsOff:)
  3328. - (if (!= global104 -3)
  3329. - (gKQEgo
  3330. - view: 8123
  3331. - setLoop: 1 1
  3332. - cel: 0
  3333. - setCycle: CT 14 1 self
  3334. + (method (doVerb theVerb)
  3335. + (return
  3336. + (if
  3337. + (and (> global122 3) (== noun 3) (== theVerb 8))
  3338. + (global2
  3339. + setScript: (ScriptID 5302 32) 0 (== global122 5)
  3340. + )
  3341. + else
  3342. + (if (and (== global122 5) (== noun 2))
  3343. + (global2 setScript: (ScriptID 5302 31))
  3344. + (return 1)
  3345. + )
  3346. + (cond
  3347. + (
  3348. + (and
  3349. + (not (proc11_0 137))
  3350. + (or
  3351. + (and (== loop 3) (not (proc11_0 449)))
  3352. + (== noun 2)
  3353. + )
  3354. + )
  3355. + ((ScriptID 13 0) hide_mouth: 1)
  3356. + (gKqMessager say: 2 theVerb 7 0 self)
  3357. + (proc11_1 449)
  3358. )
  3359. - else
  3360. - (= cycles 1)
  3361. + ((== global104 -3) (global2 newRoom: 5100))
  3362. + ((!= global122 3) (global2 newRoom: 5100))
  3363. + ((proc11_0 137) (global2 setScript: (ScriptID 5302 16)))
  3364. + (else (global2 setScript: (ScriptID 5302 1)))
  3365. )
  3366. )
  3367. - (1
  3368. - (gKqSound1 number: 801 setLoop: 1 play:)
  3369. - (chinaDoor setCycle: End self)
  3370. - )
  3371. - (2 (global2 newRoom: 5050))
  3372. )
  3373. )
  3374. -)
  3375. -
  3376. -(instance getWoodenNickel of Script
  3377. - (properties)
  3378.  
  3379. - (method (changeState newState)
  3380. - (switch (= state newState)
  3381. - (0
  3382. - (global1 handsOff:)
  3383. - (gKQEgo
  3384. - view: 5317
  3385. - loop: 0
  3386. - cel: 0
  3387. - x: 371
  3388. - y: 89
  3389. - setScale: 0
  3390. - cycleSpeed: 6
  3391. - setPri: 108
  3392. - setCycle: End self
  3393. + (method (onMe param1 &tmp temp0 temp1 temp2)
  3394. + (= temp0 (super onMe: param1))
  3395. + (= temp1 (- (param1 x?) nsLeft))
  3396. + (= temp2 (- (param1 y?) nsTop))
  3397. + (if
  3398. + (and
  3399. + (== loop 3)
  3400. + (not (proc11_0 137))
  3401. + (or
  3402. + (and
  3403. + (proc64999_5 temp1 9 10)
  3404. + (<= 24 temp2)
  3405. + (<= temp2 34)
  3406. + )
  3407. + (and
  3408. + (<= 10 temp1)
  3409. + (<= temp1 18)
  3410. + (proc64999_5 temp2 23 24)
  3411. + )
  3412. + (and
  3413. + (proc64999_5 temp1 18 19)
  3414. + (<= 24 temp2)
  3415. + (<= temp2 34)
  3416. + )
  3417. + (and
  3418. + (<= 10 temp1)
  3419. + (<= temp1 18)
  3420. + (proc64999_5 temp2 34 35)
  3421. + )
  3422. )
  3423. )
  3424. - (1
  3425. - (gKQEgo
  3426. - loop: 1
  3427. - cel: 0
  3428. - posn: 372 82
  3429. - setPri: 150
  3430. - setCycle: CT 6 1 self
  3431. + (return 0)
  3432. + )
  3433. + (if (and temp0 (param1 type?))
  3434. + (if
  3435. + (and
  3436. + (== loop 3)
  3437. + (not (proc11_0 137))
  3438. + (<= 10 temp1)
  3439. + (<= temp1 18)
  3440. + (<= 24 temp2)
  3441. + (<= temp2 34)
  3442. )
  3443. - )
  3444. - (2
  3445. - (nickel dispose:)
  3446. - (gKQEgo get: 44)
  3447. - (gKQEgo setCycle: End self)
  3448. - )
  3449. - (3
  3450. - (gKQEgo setCycle: CT 7 -1 self)
  3451. - )
  3452. - (4
  3453. - (gKQEgo
  3454. - loop: 0
  3455. - cel: 15
  3456. - x: 371
  3457. - y: 89
  3458. - setPri: -1
  3459. - setCycle: Beg self
  3460. + (if (proc11_0 137) (return 0))
  3461. + (= noun 2)
  3462. + (if (not (proc11_0 137))
  3463. + (= approachX 239)
  3464. + (= approachY 100)
  3465. + else
  3466. + (= approachX (gKQEgo x?))
  3467. + (= approachY (gKQEgo y?))
  3468. )
  3469. - )
  3470. - (5
  3471. - (gKQEgo
  3472. - normalize: 5
  3473. - posn: (nickel approachX?) (nickel approachY?)
  3474. - setScaler: Scaler 83 53 98 78
  3475. - setHeading: 180 self
  3476. + else
  3477. + (= noun 3)
  3478. + (if
  3479. + (and (== global122 5) (== (global80 message?) 8))
  3480. + (= approachX 226)
  3481. + (= approachY 102)
  3482. + else
  3483. + (if (or (!= global122 3) (proc11_0 449))
  3484. + (= approachX 232)
  3485. + (= approachY 103)
  3486. + )
  3487. + (if (proc11_0 137) (= approachX 237) (= approachY 98))
  3488. )
  3489. )
  3490. - (6
  3491. - (global1 handsOn:)
  3492. - (self dispose:)
  3493. - )
  3494. )
  3495. + (return temp0)
  3496. + )
  3497. +
  3498. + (method (cue)
  3499. + ((ScriptID 13 0) hide_mouth: 0)
  3500. )
  3501. )
  3502.  
  3503. -(instance switchMusic of Script
  3504. - (properties)
  3505. +(instance fauxSign of Feature
  3506. + (properties
  3507. + noun 8
  3508. + approachX 413
  3509. + approachY 75
  3510. + x 413
  3511. + y 70
  3512. + )
  3513.  
  3514. - (method (changeState newState)
  3515. - (switch (= state newState)
  3516. - (0
  3517. - (gKqMusic1 fade: 30 25 20 1 self)
  3518. - )
  3519. - (1
  3520. - (gKqMusic1 number: register loop: -1 play: setVol: 30)
  3521. - (gKqMusic1 fade: 127 25 20 0)
  3522. - (= local12 (= register 0))
  3523. - (self dispose:)
  3524. - )
  3525. + (method (init)
  3526. + (super init:)
  3527. + (self
  3528. + setHotspot: 8 10
  3529. + approachVerbs: 8
  3530. + setPolygon:
  3531. + ((Polygon new:)
  3532. + type: 1
  3533. + init: 398 32 399 31 412 30 425 36 425 38 398 40
  3534. + yourself:
  3535. + )
  3536. )
  3537. )
  3538. -)
  3539. -
  3540. -(instance moveEgoIntoPosition of Script
  3541. - (properties)
  3542.  
  3543. - (method (changeState newState)
  3544. - (switch (= state newState)
  3545. - (0
  3546. - (global1 handsOff:)
  3547. - (gKQEgo setMotion: PolyPath 482 91 self)
  3548. - )
  3549. - (1
  3550. - (global2 centerScreen: -318 self)
  3551. - (gKQEgo setHeading: 225 self)
  3552. - )
  3553. - (2 0)
  3554. - (3
  3555. - (global2 setScript: theMoonFalls)
  3556. - )
  3557. + (method (doVerb theVerb)
  3558. + (if (== global104 -3)
  3559. + (gKqMessager say: noun theVerb 37)
  3560. + else
  3561. + (gKqMessager say: noun theVerb 0)
  3562. )
  3563. )
  3564. )
  3565. @@ -3385,43 +959,19 @@
  3566. (super init:)
  3567. (if (!= global122 4)
  3568. (self setHotspot: 9998 approachVerbs: 9998)
  3569. - )
  3570. - )
  3571. -
  3572. - (method (doVerb theVerb)
  3573. - (switch theVerb
  3574. - (8
  3575. - (global2 setScript: talkToDuke)
  3576. - )
  3577. - (5
  3578. - (global2 setScript: showTheComb)
  3579. - )
  3580. - (else
  3581. - (gKqMessager say: noun 0 5 0)
  3582. - )
  3583. - )
  3584. - )
  3585. -)
  3586. -
  3587. -(instance talkToDuke of Script
  3588. - (properties)
  3589. + )
  3590. + )
  3591.  
  3592. - (method (changeState newState)
  3593. - (switch (= state newState)
  3594. - (0
  3595. - (global1 handsOff:)
  3596. - (proc11_3 gKQEgo archDuke self)
  3597. + (method (doVerb theVerb)
  3598. + (switch theVerb
  3599. + (8
  3600. + (global2 setScript: (ScriptID 5302 24))
  3601. )
  3602. - (1
  3603. - (if (not (proc11_1 410))
  3604. - (gKqMessager say: 1 8 3 0 self)
  3605. - else
  3606. - (gKqMessager say: 1 8 4 0 self)
  3607. - )
  3608. + (5
  3609. + (global2 setScript: (ScriptID 5300 68))
  3610. )
  3611. - (2
  3612. - (global1 handsOn:)
  3613. - (self dispose:)
  3614. + (else
  3615. + (gKqMessager say: noun 0 5 0)
  3616. )
  3617. )
  3618. )
  3619. @@ -3438,9 +988,9 @@
  3620.  
  3621. (method (doVerb)
  3622. (if (proc11_0 111)
  3623. - (global2 setScript: talkToChickenAboutMoon)
  3624. + (global2 setScript: (ScriptID 5300 81))
  3625. else
  3626. - (global2 setScript: talkToChicken)
  3627. + (global2 setScript: (ScriptID 5301 8))
  3628. )
  3629. )
  3630.  
  3631. @@ -3492,7 +1042,7 @@
  3632. (properties
  3633. x 533
  3634. y 84
  3635. - priority 98
  3636. + priority 90
  3637. fixPriority 1
  3638. view 5302
  3639. loop 6
  3640. @@ -3558,369 +1108,447 @@
  3641. )
  3642. )
  3643.  
  3644. -(instance stork of Prop
  3645. +(instance stork of Prop
  3646. + (properties
  3647. + x 272
  3648. + y 106
  3649. + view 5313
  3650. + )
  3651. +
  3652. + (method (init)
  3653. + (super init: &rest)
  3654. + (if (not (proc5300_16 195)) (= cel 11))
  3655. + )
  3656. +)
  3657. +
  3658. +(instance hippo of Prop
  3659. + (properties
  3660. + x 264
  3661. + y 107
  3662. + view 5313
  3663. + loop 1
  3664. + )
  3665. +
  3666. + (method (init)
  3667. + (super init: &rest)
  3668. + (if (not (proc5300_16 195)) (= cel 9))
  3669. + )
  3670. +
  3671. + (method (cue)
  3672. + (gateGuard view: 5326 setLoop: 0 cel: 1 setCycle: 0)
  3673. + (UpdateScreenItem gateGuard)
  3674. + )
  3675. +)
  3676. +
  3677. +(instance moon of Prop
  3678. + (properties
  3679. + approachX 362
  3680. + approachY 78
  3681. + x 350
  3682. + y 75
  3683. + view 5312
  3684. + )
  3685. +
  3686. + (method (init)
  3687. + (super init:)
  3688. + (self heading: 135 setHotspot: 0 52 approachVerbs: 52)
  3689. + )
  3690. +
  3691. + (method (doVerb theVerb)
  3692. + (pool doVerb: theVerb)
  3693. + )
  3694. +)
  3695. +
  3696. +(instance nickel of View
  3697. + (properties
  3698. + approachX 371
  3699. + approachY 89
  3700. + x 351
  3701. + y 48
  3702. + priority 95
  3703. + fixPriority 1
  3704. + view 5321
  3705. + loop 1
  3706. + )
  3707. +
  3708. + (method (init)
  3709. + (super init:)
  3710. + (self setHotspot: 8 10 approachVerbs: 8)
  3711. + (= signal (& signal $efff))
  3712. + )
  3713. +
  3714. + (method (doVerb)
  3715. + (global2 setScript: (ScriptID 5302 3))
  3716. + )
  3717. +)
  3718. +
  3719. +(instance yBranch of Feature
  3720. + (properties
  3721. + approachX 279
  3722. + approachY 102
  3723. + x 288
  3724. + y 81
  3725. + )
  3726. +
  3727. + (method (init)
  3728. + (super init:)
  3729. + (self
  3730. + setHotspot: 8 10 60
  3731. + approachVerbs: 8 60
  3732. + setPolygon:
  3733. + ((Polygon new:)
  3734. + type: 0
  3735. + init: 287 57 294 47 316 53 311 89
  3736. + yourself:
  3737. + )
  3738. + )
  3739. + )
  3740. +
  3741. + (method (doVerb theVerb)
  3742. + (switch theVerb
  3743. + (8
  3744. + (global2 setScript: (ScriptID 5302 25))
  3745. + )
  3746. + (60
  3747. + (global2 setScript: (ScriptID 5302 26))
  3748. + (self dispose:)
  3749. + )
  3750. + )
  3751. + (return 1)
  3752. + )
  3753. +)
  3754. +
  3755. +(instance rubChicken of Actor
  3756. + (properties
  3757. + approachX 279
  3758. + approachY 102
  3759. + x 298
  3760. + y 61
  3761. + priority 93
  3762. + fixPriority 1
  3763. + view 5331
  3764. + loop 4
  3765. + )
  3766. +
  3767. + (method (init)
  3768. + (super init:)
  3769. + (self setHotspot: 8 10 71 approachVerbs: 8 71)
  3770. + (= signal (& signal $efff))
  3771. + )
  3772. +
  3773. + (method (doVerb theVerb)
  3774. + (return
  3775. + (switch theVerb
  3776. + (8
  3777. + (global2 setScript: (ScriptID 5302 27))
  3778. + (return 1)
  3779. + )
  3780. + (71
  3781. + (global2 setScript: (ScriptID 5302 28))
  3782. + (return 1)
  3783. + )
  3784. + )
  3785. + )
  3786. + )
  3787. +
  3788. + (method (onMe param1 &tmp temp0)
  3789. + (if (= temp0 (super onMe: param1))
  3790. + (if (== (global80 message?) 8)
  3791. + (= approachX 279)
  3792. + (= approachY 102)
  3793. + )
  3794. + (if (== (global80 message?) 71)
  3795. + (= approachX 282)
  3796. + (= approachY 100)
  3797. + )
  3798. + )
  3799. + (return temp0)
  3800. + )
  3801. +)
  3802. +
  3803. +(instance cageCover of View
  3804. + (properties
  3805. + x 572
  3806. + y 89
  3807. + view 5300
  3808. + loop 1
  3809. + )
  3810. +
  3811. + (method (init)
  3812. + (super init: &rest)
  3813. + (if (proc11_0 138)
  3814. + (self loop: 0 x: 510 y: 120 setPri: 1)
  3815. + else
  3816. + (self loop: 1 cel: 0 x: 559 y: 70 setPri: 110)
  3817. + )
  3818. + (self ignoreActors:)
  3819. + )
  3820. +
  3821. + (method (onMe)
  3822. + (return 0)
  3823. + )
  3824. +)
  3825. +
  3826. +(instance fauxDoorExit of ExitFeature
  3827. + (properties
  3828. + noun 12
  3829. + approachX 435
  3830. + approachY 69
  3831. + x 439
  3832. + y 66
  3833. + exitDir 2
  3834. + )
  3835. +
  3836. + (method (init)
  3837. + (super init:)
  3838. + (self setHotspot: 8 10 approachVerbs: 8)
  3839. + (fauxDoor setHotspot: 0)
  3840. + )
  3841. +
  3842. + (method (doVerb theVerb)
  3843. + (fauxDoor doVerb: theVerb)
  3844. + )
  3845. +
  3846. + (method (onMe param1 &tmp temp0)
  3847. + (if
  3848. + (and
  3849. + (= temp0 (fauxDoor onMe: param1))
  3850. + (param1 type?)
  3851. + (proc11_0 203)
  3852. + )
  3853. + (= approachX 424)
  3854. + (= approachY 72)
  3855. + )
  3856. + (return temp0)
  3857. + )
  3858. +)
  3859. +
  3860. +(instance crook of Prop
  3861. + (properties)
  3862. +
  3863. + (method (cue)
  3864. + (gKQEgo view: 5326 loop: 0 cel: 0)
  3865. + (UpdateScreenItem gKQEgo)
  3866. + )
  3867. +)
  3868. +
  3869. +(instance partySound1 of Sound
  3870. + (properties
  3871. + flags $0004
  3872. + number 5100
  3873. + loop -1
  3874. + )
  3875. +)
  3876. +
  3877. +(instance partySound2 of Sound
  3878. + (properties
  3879. + flags $0004
  3880. + number 5102
  3881. + loop -1
  3882. + )
  3883. +)
  3884. +
  3885. +(instance archDukeSound of Sound
  3886. + (properties
  3887. + flags $0004
  3888. + number 5301
  3889. + loop -1
  3890. + )
  3891. +)
  3892. +
  3893. +(instance chickenSound of Sound
  3894. (properties
  3895. - x 272
  3896. - y 106
  3897. - view 5313
  3898. - )
  3899. -
  3900. - (method (init)
  3901. - (super init: &rest)
  3902. - (if (not (localproc_77f0 195)) (= cel 11))
  3903. + flags $0004
  3904. + number 5310
  3905. + loop -1
  3906. )
  3907. )
  3908.  
  3909. -(instance hippo of Prop
  3910. +(instance gateGuard of Actor
  3911. (properties
  3912. - x 264
  3913. - y 107
  3914. - view 5313
  3915. - loop 1
  3916. + noun 10
  3917. + approachX 61
  3918. + approachY 113
  3919. + x 29
  3920. + y 113
  3921. + view 5328
  3922. )
  3923.  
  3924. (method (init)
  3925. (super init: &rest)
  3926. - (if (not (localproc_77f0 195)) (= cel 9))
  3927. + (self setHotspot: 8 10 approachVerbs: 8)
  3928. + )
  3929. +
  3930. + (method (doVerb)
  3931. + (guardTalker client: self)
  3932. + (cond
  3933. + ((not (proc11_1 542)) (gKqMessager say: noun 8 39 0))
  3934. + ((not (proc11_1 543)) (gKqMessager say: noun 8 38 0))
  3935. + (else (gKqMessager say: noun 8 40 0))
  3936. + )
  3937. + )
  3938. +
  3939. + (method (cue)
  3940. + (self view: 5328 setLoop: 0 cel: 0 setCycle: 0)
  3941. + (UpdateScreenItem self)
  3942. + (FrameOut)
  3943. )
  3944. )
  3945.  
  3946. -(instance moon of Prop
  3947. +(instance feather of View
  3948. (properties
  3949. - approachX 362
  3950. - approachY 78
  3951. - x 350
  3952. - y 75
  3953. - view 5314
  3954. + approachX 280
  3955. + approachY 93
  3956. + x 295
  3957. + y 62
  3958. + priority 93
  3959. + fixPriority 1
  3960. + view 5331
  3961. + loop 5
  3962. )
  3963.  
  3964. (method (init)
  3965. - (super init:)
  3966. - (self heading: 135 setHotspot: 0 52 approachVerbs: 52)
  3967. + (super init: &rest)
  3968. + (if (not (gKQEgo has: 41))
  3969. + (self setHotspot: 8 10 approachVerbs: 8)
  3970. + (= signal (& signal $efff))
  3971. + )
  3972. )
  3973.  
  3974. - (method (doVerb theVerb)
  3975. - (pool doVerb: theVerb)
  3976. + (method (doVerb)
  3977. + (global2 setScript: (ScriptID 5302 29))
  3978. )
  3979. )
  3980.  
  3981. -(instance nickel of View
  3982. +(instance wagonSign of View
  3983. (properties
  3984. - approachX 371
  3985. - approachY 89
  3986. - x 351
  3987. - y 48
  3988. + x 520
  3989. + y 53
  3990. priority 95
  3991. fixPriority 1
  3992. - view 5321
  3993. - loop 1
  3994. + view 5300
  3995. + loop 7
  3996. )
  3997.  
  3998. (method (init)
  3999. - (super init:)
  4000. - (self setHotspot: 8 10 approachVerbs: 8)
  4001. - (= signal (& signal $efff))
  4002. + (super init: &rest)
  4003. + (= local11 1)
  4004. )
  4005. -
  4006. - (method (doVerb)
  4007. - (global2 setScript: getWoodenNickel)
  4008. +)
  4009. +
  4010. +(instance cageDoor of Prop
  4011. + (properties
  4012. + x 577
  4013. + y 94
  4014. + priority 98
  4015. + fixPriority 1
  4016. + view 5300
  4017. + loop 3
  4018. )
  4019. )
  4020.  
  4021. -(instance yBranch of Feature
  4022. +(instance archTalker of KQTalker
  4023. (properties
  4024. - approachX 279
  4025. - approachY 102
  4026. - x 288
  4027. - y 81
  4028. + clientCel -1
  4029. )
  4030.  
  4031. (method (init)
  4032. - (super init:)
  4033. - (self
  4034. - setHotspot: 8 10 60
  4035. - approachVerbs: 8 60
  4036. - setPolygon:
  4037. - ((Polygon new:)
  4038. - type: 0
  4039. - init: 287 57 294 47 316 53 311 89
  4040. - yourself:
  4041. - )
  4042. - )
  4043. + (= client archDuke)
  4044. + (super init: &rest)
  4045. )
  4046. -
  4047. - (method (doVerb theVerb)
  4048. - (switch theVerb
  4049. - (8 (global2 setScript: sayHmmm))
  4050. - (60
  4051. - (global2 setScript: putChickenOnTree)
  4052. - (self dispose:)
  4053. - )
  4054. - )
  4055. - (return 1)
  4056. +)
  4057. +
  4058. +(instance bull of Prop
  4059. + (properties
  4060. + x 108
  4061. + y 78
  4062. + priority 92
  4063. + fixPriority 1
  4064. + view 5337
  4065. + loop 1
  4066. )
  4067. )
  4068.  
  4069. -(instance sayHmmm of Script
  4070. +(instance bullTalker of KQTalker
  4071. (properties)
  4072.  
  4073. - (method (changeState newState)
  4074. - (switch (= state newState)
  4075. - (0
  4076. - (global1 handsOff:)
  4077. - (gKQEgo
  4078. - view: 8295
  4079. - setLoop: 0
  4080. - setCel: 0
  4081. - setCycle: End self
  4082. - )
  4083. - ((ScriptID 13 0) hide_mouth: 1)
  4084. - )
  4085. - (1
  4086. - (gKqMessager say: 1 8 3 0 self 1250)
  4087. - )
  4088. - (2
  4089. - ((ScriptID 13 0) hide_mouth: 0)
  4090. - (gKQEgo setCycle: Beg self)
  4091. - )
  4092. - (3
  4093. - (gKQEgo normalize: 6)
  4094. - (global1 handsOn:)
  4095. - (self dispose:)
  4096. - )
  4097. - )
  4098. + (method (init)
  4099. + (= client bull)
  4100. + (super init: &rest)
  4101. )
  4102. )
  4103.  
  4104. -(instance putChickenOnTree of Script
  4105. +(instance fauxOwnerTalker of KQTalker
  4106. (properties)
  4107.  
  4108. - (method (changeState newState)
  4109. - (switch (= state newState)
  4110. - (0
  4111. - (global1 handsOff:)
  4112. - (gKQEgo
  4113. - setScale: 0
  4114. - view: 5330
  4115. - loop: 0
  4116. - cel: 0
  4117. - x: 269
  4118. - y: 103
  4119. - setCycle: End self
  4120. - )
  4121. - )
  4122. - (1
  4123. - (gKQEgo loop: 1 cel: 0 x: 269 y: 103 setCycle: End self)
  4124. - )
  4125. - (2
  4126. - (proc11_1 273)
  4127. - (gKQEgo put: 46)
  4128. - (rubChicken init:)
  4129. - (gKQEgo
  4130. - normalize: 6
  4131. - posn: 283 102
  4132. - setScaler: Scaler 83 53 98 78
  4133. - )
  4134. - (global1 handsOn:)
  4135. - (self dispose:)
  4136. - )
  4137. - )
  4138. + (method (init)
  4139. + (= client fauxDoor)
  4140. + (= mouth_y (* (client z?) -1))
  4141. + (super init: &rest)
  4142. )
  4143. )
  4144.  
  4145. -(instance rubChicken of Actor
  4146. - (properties
  4147. - approachX 279
  4148. - approachY 102
  4149. - x 298
  4150. - y 61
  4151. - priority 93
  4152. - fixPriority 1
  4153. - view 5331
  4154. - loop 4
  4155. - )
  4156. +(instance mockingBirdTalker of KQTalker
  4157. + (properties)
  4158.  
  4159. (method (init)
  4160. - (super init:)
  4161. - (self setHotspot: 8 10 71 approachVerbs: 8 71)
  4162. - (= signal (& signal $efff))
  4163. + (= client mockingBird)
  4164. + (= loop 2)
  4165. + (= mouth_y (* (client z?) -1))
  4166. + (super init: &rest)
  4167. )
  4168. -
  4169. - (method (doVerb theVerb)
  4170. - (return
  4171. - (switch theVerb
  4172. - (8
  4173. - (global2 setScript: getChickenDown)
  4174. - (return 1)
  4175. - )
  4176. - (71
  4177. - (global2 setScript: replaceTheMoon)
  4178. - (return 1)
  4179. - )
  4180. - )
  4181. - )
  4182. +)
  4183. +
  4184. +(instance guardTalker of KQTalker
  4185. + (properties
  4186. + clientCel -1
  4187. )
  4188.  
  4189. - (method (onMe param1 &tmp temp0)
  4190. - (if (= temp0 (super onMe: param1))
  4191. - (if (== (global80 message?) 8)
  4192. - (= approachX 279)
  4193. - (= approachY 102)
  4194. - )
  4195. - (if (== (global80 message?) 71)
  4196. - (= approachX 282)
  4197. - (= approachY 100)
  4198. - )
  4199. - )
  4200. - (return temp0)
  4201. + (method (init)
  4202. + (if (not client) (= client badger))
  4203. + (super init: &rest)
  4204. )
  4205. )
  4206.  
  4207. -(instance getChickenDown of Script
  4208. +(instance snakeTalker of KQTalker
  4209. (properties)
  4210.  
  4211. - (method (changeState newState)
  4212. - (switch (= state newState)
  4213. - (0
  4214. - (global1 handsOff:)
  4215. - (gKQEgo
  4216. - view: 5332
  4217. - loop: 0
  4218. - cel: 0
  4219. - x: 269
  4220. - y: 103
  4221. - setScale: 0
  4222. - setCycle: End self
  4223. - )
  4224. - (gKQEgo get: 46)
  4225. - (proc11_2 273)
  4226. - (rubChicken dispose:)
  4227. - (yBranch init:)
  4228. - )
  4229. - (1
  4230. - (gKQEgo
  4231. - normalize: 3
  4232. - posn: (rubChicken approachX?) (rubChicken approachY?)
  4233. - setScaler: Scaler 83 53 98 78
  4234. - )
  4235. - (global1 handsOn:)
  4236. - (self dispose:)
  4237. - )
  4238. - )
  4239. + (method (init)
  4240. + (if (!= client gKQEgo) (= client snakeSalesman))
  4241. + (super init: &rest)
  4242. + )
  4243. +)
  4244. +
  4245. +(instance chickenTalker of KQTalker
  4246. + (properties
  4247. + hide_mouth 1
  4248. + )
  4249. +
  4250. + (method (init)
  4251. + (= client chickenPetite)
  4252. + (super init: &rest)
  4253. )
  4254. )
  4255.  
  4256. -(instance replaceTheMoon of Script
  4257. +(instance chinaBirdTalker of KQTalker
  4258. (properties)
  4259.  
  4260. - (method (changeState newState &tmp temp0)
  4261. - (switch (= state newState)
  4262. - (0
  4263. - (global1 handsOff:)
  4264. - (Load rsCDAUDIO 5405)
  4265. - (Load rsSOUND 854)
  4266. - (Load rsCDAUDIO 5404)
  4267. - (gKQEgo
  4268. - view: 5331
  4269. - loop: 0
  4270. - cel: 0
  4271. - x: 282
  4272. - y: 99
  4273. - setScale: 0
  4274. - setCycle: End self
  4275. - )
  4276. - )
  4277. - (1
  4278. - (rubChicken hide:)
  4279. - (gKqSound1 number: 5404 loop: 1 play:)
  4280. - (gKQEgo
  4281. - view: 5331
  4282. - loop: 1
  4283. - cel: 0
  4284. - x: 281
  4285. - y: 103
  4286. - setCycle: End self
  4287. - )
  4288. - )
  4289. - (2 (= cycles 60))
  4290. - (3
  4291. - (if
  4292. - (and (not (proc11_0 136)) (not (gKQEgo has: 41)))
  4293. - (feather init:)
  4294. - )
  4295. - (gKqSound1 number: 854 loop: 1 play:)
  4296. - (gKQEgo
  4297. - view: 5331
  4298. - loop: 2
  4299. - cel: 0
  4300. - x: 280
  4301. - y: 103
  4302. - setCycle: End self
  4303. - )
  4304. - )
  4305. - (4
  4306. - (gKQEgo
  4307. - put: 48
  4308. - normalize: 6
  4309. - posn: 278 102
  4310. - setScaler: Scaler 83 53 98 78
  4311. - )
  4312. - (gKqSound1 number: 5405 loop: 1 play:)
  4313. - (rubChicken
  4314. - show:
  4315. - view: 5331
  4316. - loop: 3
  4317. - cel: 0
  4318. - x: 296
  4319. - y: 96
  4320. - setCycle: End self
  4321. - )
  4322. - )
  4323. - (5
  4324. - (= temp0 (+ (Abs ((global2 plane?) left:)) 330))
  4325. - (rubChicken
  4326. - setLoop: 6 1
  4327. - cel: 0
  4328. - posn: 327 94
  4329. - setCycle: Walk
  4330. - setPri: -1
  4331. - setMotion: PolyPath temp0 94 self
  4332. - )
  4333. - )
  4334. - (6
  4335. - (proc11_2 273)
  4336. - (rubChicken dispose:)
  4337. - (littleDoorExit init:)
  4338. - (bigGate dispose:)
  4339. - (proc11_1 202)
  4340. - (localproc_7b59)
  4341. - (archTalker clientCel: -2)
  4342. - (global2 setScript: (ScriptID 5301 1))
  4343. - )
  4344. - )
  4345. + (method (init)
  4346. + (= client chinaBird)
  4347. + (super init: &rest)
  4348. )
  4349. )
  4350.  
  4351. -(instance cageCover of View
  4352. +(instance iSign of Inset
  4353. (properties
  4354. - x 572
  4355. - y 89
  4356. - view 5300
  4357. - loop 1
  4358. + picture 5303
  4359. + priority 200
  4360. )
  4361.  
  4362. (method (init)
  4363. + (= x (Abs ((global2 plane?) left:)))
  4364. (super init: &rest)
  4365. - (if (proc11_0 138)
  4366. - (self loop: 0 x: 510 y: 120 setPri: 1)
  4367. - else
  4368. - (self loop: 1 cel: 0 x: 559 y: 70 setPri: 110)
  4369. - )
  4370. - (self ignoreActors:)
  4371. - )
  4372. -
  4373. - (method (onMe)
  4374. - (return 0)
  4375. + (proc11_6)
  4376. )
  4377. )
  4378.  
  4379. @@ -3937,47 +1565,7 @@
  4380. )
  4381.  
  4382. (method (doVerb)
  4383. - (global2 setScript: tryAndThrowMoonUp)
  4384. - )
  4385. -)
  4386. -
  4387. -(instance tryAndThrowMoonUp of Script
  4388. - (properties)
  4389. -
  4390. - (method (changeState newState)
  4391. - (switch (= state newState)
  4392. - (0
  4393. - (global1 handsOff:)
  4394. - (gKQEgo setHeading: 180 self)
  4395. - )
  4396. - (1
  4397. - (gKQEgo
  4398. - view: 5336
  4399. - setLoop: 0 1
  4400. - cel: 0
  4401. - setCycle: CT 10 1 self
  4402. - )
  4403. - )
  4404. - (2
  4405. - (gKqSound1 number: 824 loop: 1 play:)
  4406. - (gKQEgo setCycle: End self)
  4407. - )
  4408. - (3
  4409. - (gKQEgo setLoop: 1 1 cel: 0 setCycle: CT 6 1 self)
  4410. - )
  4411. - (4
  4412. - (gKqSound1 number: 856 loop: 1 play:)
  4413. - (gKQEgo setCycle: End self)
  4414. - )
  4415. - (5
  4416. - (gKQEgo setLoop: 2 1 cel: 0 setCycle: End self)
  4417. - )
  4418. - (6
  4419. - (gKQEgo normalize: 2)
  4420. - (global1 handsOn:)
  4421. - (self dispose:)
  4422. - )
  4423. - )
  4424. + (global2 setScript: (ScriptID 5302 30))
  4425. )
  4426. )
  4427.  
  4428. @@ -4091,1160 +1679,1193 @@
  4429. )
  4430.  
  4431. (method (doVerb)
  4432. - (global2 setScript: exitToGate)
  4433. + (global2 setScript: (ScriptID 5302 5))
  4434. (return 1)
  4435. )
  4436. )
  4437.  
  4438. -(instance exitToGate of Script
  4439. - (properties)
  4440. +(instance chinaDoorExit of ExitFeature
  4441. + (properties
  4442. + noun 11
  4443. + approachX 116
  4444. + approachY 109
  4445. + exitDir 1
  4446. + )
  4447.  
  4448. - (method (changeState newState)
  4449. - (switch (= state newState)
  4450. - (0
  4451. - (global1 handsOff:)
  4452. - (gKqSound1 number: 801 loop: 1 play:)
  4453. - (littleDoor setCycle: End self)
  4454. - )
  4455. - (1
  4456. - (gKQEgo setMotion: MoveTo 27 113 self)
  4457. - )
  4458. - (2
  4459. - (gKQEgo setHeading: 315 self)
  4460. - )
  4461. - (3
  4462. - (if (== global104 -4)
  4463. - (gKQEgo
  4464. - view: 8065
  4465. - loop: 1
  4466. - cel: 0
  4467. - priority: 109
  4468. - fixPriority: 1
  4469. - setCycle: CT 4 1 self
  4470. - )
  4471. - else
  4472. - (= cycles 1)
  4473. - )
  4474. - )
  4475. - (4 (global2 newRoom: 5400))
  4476. + (method (init)
  4477. + (super init:)
  4478. + (= x approachX)
  4479. + (= y (chinaDoor y?))
  4480. + (self setHotspot: 8 10 approachVerbs: 8)
  4481. + )
  4482. +
  4483. + (method (doVerb)
  4484. + (if (or (proc11_0 110) (!= global122 3))
  4485. + (global2 setScript: (ScriptID 5302 6))
  4486. + else
  4487. + (global2 setScript: (ScriptID 5302 17))
  4488. )
  4489. + (return 1)
  4490. + )
  4491. +
  4492. + (method (onMe param1)
  4493. + (chinaDoor onMe: param1)
  4494. )
  4495. )
  4496.  
  4497. -(instance chinaDoor of Prop
  4498. +(instance wagon of Feature
  4499. (properties
  4500. - noun 11
  4501. - approachX 116
  4502. - approachY 109
  4503. - x 128
  4504. - y 104
  4505. - priority 10
  4506. - fixPriority 1
  4507. - view 5302
  4508. + noun 6
  4509. + approachX 511
  4510. + approachY 115
  4511. + x 534
  4512. + y 112
  4513. )
  4514.  
  4515. (method (init)
  4516. - (super init: &rest)
  4517. - (if (and (proc11_0 203) (not (proc11_0 284)))
  4518. - (self setHotspot: 8 10 approachVerbs: 8)
  4519. + (super init:)
  4520. + (self
  4521. + setHotspot: 9998
  4522. + approachVerbs: 9998
  4523. + setPolygon:
  4524. + ((Polygon new:)
  4525. + type: 0
  4526. + init: 518 57 550 55 550 81 541 86 516 81 521 98
  4527. + yourself:
  4528. + )
  4529. )
  4530. )
  4531.  
  4532. - (method (doVerb)
  4533. - (global2 setScript: (ScriptID 5301 5))
  4534. + (method (doVerb theVerb)
  4535. + (if local11 (gKqMessager say: noun 8 46 0) (return 1))
  4536. + (return
  4537. + (if (!= global104 -3)
  4538. + (switch theVerb
  4539. + (8
  4540. + (global2 setScript: (ScriptID 5302 34))
  4541. + )
  4542. + (61
  4543. + (global2 setScript: (ScriptID 5302 13))
  4544. + )
  4545. + (5
  4546. + (global2 setScript: (ScriptID 5302 35))
  4547. + )
  4548. + (else
  4549. + (global2 setScript: (ScriptID 5302 33))
  4550. + )
  4551. + )
  4552. + else
  4553. + 0
  4554. + )
  4555. + )
  4556. + )
  4557. +
  4558. + (method (onMe param1 &tmp temp0)
  4559. + (if
  4560. + (and (proc11_0 349) (== (global80 message?) 5))
  4561. + (return 0)
  4562. + )
  4563. + (if
  4564. + (and
  4565. + local11
  4566. + (not (proc64999_5 (global80 message?) 8 10))
  4567. + )
  4568. + (return 0)
  4569. + )
  4570. + (= temp0
  4571. + (if (super onMe: param1)
  4572. + else
  4573. + (snakeSalesman onMe: param1)
  4574. + )
  4575. + )
  4576. + (if (param1 type?)
  4577. + (cond
  4578. + ((== (global80 message?) 61) (= approachX 490) (= approachY 108))
  4579. + (
  4580. + (and (not (proc11_0 116)) (not (proc11_0 461))) (= approachX 506) (= approachY 104))
  4581. + (else (= approachX 495) (= approachY 100))
  4582. + )
  4583. + )
  4584. + (return temp0)
  4585. )
  4586. )
  4587.  
  4588. -(instance chinaDoorExit of ExitFeature
  4589. +(instance pool of Feature
  4590. (properties
  4591. - noun 11
  4592. - approachX 116
  4593. - approachY 109
  4594. - exitDir 1
  4595. + sightAngle 180
  4596. + approachX 471
  4597. + approachY 103
  4598. + x 466
  4599. + y 108
  4600. )
  4601.  
  4602. (method (init)
  4603. (super init:)
  4604. - (= x approachX)
  4605. - (= y (chinaDoor y?))
  4606. - (self setHotspot: 8 10 approachVerbs: 8)
  4607. + (self
  4608. + setHotspot: 8 10 52
  4609. + approachVerbs: 8 52
  4610. + setPolygon:
  4611. + ((Polygon new:)
  4612. + type: 1
  4613. + init: 445 88 436 107 349 109 330 103 324 87 326 80 355 78 428 81
  4614. + yourself:
  4615. + )
  4616. + )
  4617. )
  4618.  
  4619. - (method (doVerb)
  4620. - (if (or (proc11_0 110) (!= global122 3))
  4621. - (global2 setScript: enterChinaShop)
  4622. - else
  4623. - (global2 setScript: dukeStopsVal)
  4624. + (method (doVerb theVerb)
  4625. + (switch theVerb
  4626. + (8
  4627. + (global2 setScript: (ScriptID 5302 7))
  4628. + )
  4629. + (52
  4630. + (global2 setScript: (ScriptID 5300 79))
  4631. + )
  4632. )
  4633. - (return 1)
  4634. )
  4635.  
  4636. - (method (onMe param1)
  4637. - (chinaDoor onMe: param1)
  4638. + (method (onMe param1 &tmp temp0)
  4639. + (if
  4640. + (and (= temp0 (super onMe: param1)) (param1 type?))
  4641. + (switch (global80 message?)
  4642. + (8
  4643. + (= approachX 442)
  4644. + (= approachY 114)
  4645. + (= x 440)
  4646. + )
  4647. + (else
  4648. + (= approachX 471)
  4649. + (= approachY 103)
  4650. + (= x 466)
  4651. + )
  4652. + )
  4653. + )
  4654. + (return temp0)
  4655. )
  4656. )
  4657.  
  4658. -(instance townHallDoor of Prop
  4659. +(instance birdCage of Feature
  4660. (properties
  4661. - heading 90
  4662. - noun 3
  4663. - sightAngle 15
  4664. - approachX 239
  4665. - approachY 100
  4666. - x 231
  4667. - y 90
  4668. - priority 85
  4669. - fixPriority 1
  4670. - view 5302
  4671. - loop 4
  4672. + noun 7
  4673. + approachX 556
  4674. + approachY 110
  4675. + x 560
  4676. + y 113
  4677. )
  4678.  
  4679. (method (init)
  4680. (super init:)
  4681. - (if
  4682. - (or
  4683. - (and (== global122 3) (not local1))
  4684. - (and (== global122 5) (proc11_0 203))
  4685. - )
  4686. - (= loop 3)
  4687. - )
  4688. - (if (not (proc11_0 110))
  4689. - (= cel 4)
  4690. - else
  4691. - (self setHotspot: 8 10)
  4692. - )
  4693. (self
  4694. + setHotspot: 8 10
  4695. approachVerbs: 8
  4696. setPolygon:
  4697. ((Polygon new:)
  4698. type: 0
  4699. - init: 211 98 206 67 206 52 212 45 220 44 227 47 231 55 233 70 235 91
  4700. + init:
  4701. + 565
  4702. + 105
  4703. + 561
  4704. + 97
  4705. + 561
  4706. + 88
  4707. + 562
  4708. + 82
  4709. + 571
  4710. + 70
  4711. + 574
  4712. + 70
  4713. + 584
  4714. + 80
  4715. + 586
  4716. + 91
  4717. + 585
  4718. + 98
  4719. + 582
  4720. + 105
  4721. + 574
  4722. + 106
  4723. yourself:
  4724. )
  4725. )
  4726. )
  4727.  
  4728. - (method (doVerb theVerb)
  4729. - (return
  4730. - (if
  4731. - (and (> global122 3) (== noun 3) (== theVerb 8))
  4732. - (global2 setScript: openTownHallDoor 0 (== global122 5))
  4733. - else
  4734. - (if (and (== global122 5) (== noun 2))
  4735. - (global2 setScript: showTownHallSign)
  4736. - (return 1)
  4737. - )
  4738. + (method (doVerb)
  4739. + (cond
  4740. + ((not (proc11_0 138)) (global2 setScript: (ScriptID 5300 63)))
  4741. + ((not (proc11_0 139)) (global2 setScript: (ScriptID 5300 64)) (proc11_1 139))
  4742. + ((not (gKQEgo has: 42))
  4743. (cond
  4744. - (
  4745. - (and
  4746. - (not (proc11_0 137))
  4747. - (or
  4748. - (and (== loop 3) (not (proc11_0 449)))
  4749. - (== noun 2)
  4750. - )
  4751. + ((and (not (proc11_0 109)) (proc11_0 117)) (global2 setScript: (ScriptID 5300 65)))
  4752. + ((not (proc11_0 109))
  4753. + (if (proc11_0 119)
  4754. + (global2 setScript: (ScriptID 5302 12))
  4755. + else
  4756. + (global2 setScript: (ScriptID 5300 66))
  4757. )
  4758. - ((ScriptID 13 0) hide_mouth: 1)
  4759. - (gKqMessager say: 2 theVerb 7 0 self)
  4760. - (proc11_1 449)
  4761. )
  4762. - ((== global104 -3) (global2 newRoom: 5100))
  4763. - ((!= global122 3) (global2 newRoom: 5100))
  4764. - ((proc11_0 137) (global2 setScript: enterTownHall))
  4765. - (else (global2 setScript: knockOnTownHallDoor))
  4766. )
  4767. + (proc11_2 139)
  4768. )
  4769. )
  4770. + (return 1)
  4771. )
  4772.  
  4773. - (method (onMe param1 &tmp temp0 temp1 temp2)
  4774. - (= temp0 (super onMe: param1))
  4775. - (= temp1 (- (param1 x?) nsLeft))
  4776. - (= temp2 (- (param1 y?) nsTop))
  4777. + (method (onMe param1 &tmp temp0)
  4778. (if
  4779. (and
  4780. - (== loop 3)
  4781. - (not (proc11_0 137))
  4782. - (or
  4783. - (and
  4784. - (proc64999_5 temp1 9 10)
  4785. - (<= 24 temp2)
  4786. - (<= temp2 34)
  4787. - )
  4788. - (and
  4789. - (<= 10 temp1)
  4790. - (<= temp1 18)
  4791. - (proc64999_5 temp2 23 24)
  4792. - )
  4793. - (and
  4794. - (proc64999_5 temp1 18 19)
  4795. - (<= 24 temp2)
  4796. - (<= temp2 34)
  4797. - )
  4798. - (and
  4799. - (<= 10 temp1)
  4800. - (<= temp1 18)
  4801. - (proc64999_5 temp2 34 35)
  4802. - )
  4803. - )
  4804. + (= temp0 (super onMe: param1))
  4805. + (proc11_0 117)
  4806. + (proc11_0 138)
  4807. )
  4808. - (return 0)
  4809. + (= approachX 556)
  4810. + (= approachY 113)
  4811. )
  4812. - (if (and temp0 (param1 type?))
  4813. - (if
  4814. - (and
  4815. - (== loop 3)
  4816. - (not (proc11_0 137))
  4817. - (<= 10 temp1)
  4818. - (<= temp1 18)
  4819. - (<= 24 temp2)
  4820. - (<= temp2 34)
  4821. - )
  4822. - (if (proc11_0 137) (return 0))
  4823. - (= noun 2)
  4824. - (if (not (proc11_0 137))
  4825. - (= approachX 239)
  4826. - (= approachY 100)
  4827. - else
  4828. - (= approachX (gKQEgo x?))
  4829. - (= approachY (gKQEgo y?))
  4830. - )
  4831. - else
  4832. - (= noun 3)
  4833. - (if
  4834. - (and (== global122 5) (== (global80 message?) 8))
  4835. - (= approachX 226)
  4836. - (= approachY 102)
  4837. + (return temp0)
  4838. + )
  4839. +)
  4840. +
  4841. +(instance snakeSalesman of Prop
  4842. + (properties
  4843. + x 531
  4844. + y 90
  4845. + priority 90
  4846. + fixPriority 1
  4847. + view 5323
  4848. + loop 1
  4849. + )
  4850. +)
  4851. +
  4852. +(instance egoActions of Actions
  4853. + (properties)
  4854. +
  4855. + (method (doVerb theVerb)
  4856. + (switch theVerb
  4857. + (57
  4858. + (if (proc5300_16 195)
  4859. + (global2 setScript: (ScriptID 5302 21))
  4860. else
  4861. - (if (or (!= global122 3) (proc11_0 449))
  4862. - (= approachX 232)
  4863. - (= approachY 103)
  4864. - )
  4865. - (if (proc11_0 137) (= approachX 237) (= approachY 98))
  4866. + (return 0)
  4867. )
  4868. )
  4869. + (else (return 0))
  4870. )
  4871. - (return temp0)
  4872. + (return 1)
  4873. )
  4874. +)
  4875. +
  4876. +(instance roomFeatureInitCode of Code
  4877. + (properties)
  4878.  
  4879. - (method (cue)
  4880. - ((ScriptID 13 0) hide_mouth: 0)
  4881. + (method (doit param1)
  4882. + (if
  4883. + (and
  4884. + (not (param1 isKindOf: KQInventory))
  4885. + (param1 respondsTo: #signal)
  4886. + )
  4887. + (param1
  4888. + sightAngle: 10
  4889. + signal: (| (param1 signal?) $7001)
  4890. + )
  4891. + )
  4892. + )
  4893. +)
  4894. +
  4895. +(instance enterFromGate of Script
  4896. + (properties)
  4897. +
  4898. + (method (changeState newState)
  4899. + (switch (= state newState)
  4900. + (0
  4901. + (global1 handsOff:)
  4902. + (littleDoor cel: (littleDoor lastCel:))
  4903. + (= cycles 4)
  4904. + )
  4905. + (1
  4906. + (gKQEgo normalize: 3)
  4907. + (= cycles 1)
  4908. + )
  4909. + (2
  4910. + (littleDoor setCycle: Beg self)
  4911. + )
  4912. + (3
  4913. + (gKqSound1 number: 802 loop: 1 play:)
  4914. + (gKQEgo setHeading: 90 self)
  4915. + )
  4916. + (4
  4917. + (if (== next (ScriptID 5301 0))
  4918. + (gKQEgo setMotion: MoveTo 60 (gKQEgo y?) self)
  4919. + else
  4920. + (gKQEgo setMotion: MoveTo 40 (gKQEgo y?) self)
  4921. + )
  4922. + )
  4923. + (5
  4924. + (if (and (not next) (== client global2))
  4925. + (global1 handsOn:)
  4926. + )
  4927. + (self dispose:)
  4928. + )
  4929. + )
  4930. )
  4931. )
  4932.  
  4933. -(instance showTownHallSign of Script
  4934. +(instance chickenRunsOff of Script
  4935. (properties)
  4936.  
  4937. - (method (changeState newState)
  4938. - (switch (= state newState)
  4939. - (0
  4940. - (global2 setInset: iSign self)
  4941. + (method (init)
  4942. + (proc11_2 539)
  4943. + (super init: &rest)
  4944. + )
  4945. +
  4946. + (method (dispose)
  4947. + (proc11_2 539)
  4948. + (super dispose:)
  4949. + )
  4950. +
  4951. + (method (changeState newState &tmp temp0)
  4952. + (if (not (proc11_0 539))
  4953. + (switch (= state newState)
  4954. + (0
  4955. + (global1 handsOff: 1)
  4956. + (gKqMusic1 pause: 1)
  4957. + (chickenSound number: 5310 loop: -1 play:)
  4958. + (chickenPetite
  4959. + view: 5311
  4960. + setLoop: 6 1
  4961. + setCel: 0
  4962. + setPri: -1
  4963. + setCycle: End self
  4964. + )
  4965. + )
  4966. + (1
  4967. + (if (< (chickenPetite x?) 320)
  4968. + (= global372 8)
  4969. + (proc11_3 gKQEgo 315 104 0)
  4970. + (chickenPetite
  4971. + setLoop: 7 1
  4972. + setCel: 0
  4973. + setCycle: Walk
  4974. + setMotion: PolyPath 315 104 self
  4975. + )
  4976. + else
  4977. + (= global372 9)
  4978. + (= temp0 (- (Abs (gNewPlane_2 left:)) 15))
  4979. + (proc11_3 gKQEgo temp0 (chickenPetite y?) 0)
  4980. + (chickenPetite
  4981. + setLoop: 0 1
  4982. + setCycle: Walk
  4983. + setMotion: PolyPath temp0 (chickenPetite y?) self
  4984. + )
  4985. + )
  4986. + (gKqMessager say: 0 0 13 0 chickenPetite)
  4987. + )
  4988. + (2
  4989. + (chickenSound fade:)
  4990. + (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  4991. + (chickenPetite setCycle: 0)
  4992. + (proc5300_4)
  4993. + (global1 handsOn:)
  4994. + (self dispose:)
  4995. + )
  4996. )
  4997. - (1 (self dispose:))
  4998. + else
  4999. + (chickenSound stop:)
  5000. + (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  5001. + (chickenPetite setCycle: 0 setMotion: 0)
  5002. + (proc5300_4)
  5003. + (global1 handsOn:)
  5004. + (self dispose:)
  5005. )
  5006. )
  5007. )
  5008.  
  5009. -(instance openTownHallDoor of Script
  5010. +(instance archDukeTalk of Script
  5011. (properties)
  5012.  
  5013. + (method (doit)
  5014. + (super doit:)
  5015. + (if (and (== state 1) register) (self cue:))
  5016. + )
  5017. +
  5018. (method (changeState newState)
  5019. (switch (= state newState)
  5020. (0
  5021. - (global1 handsOff:)
  5022. - (if (== global104 -4)
  5023. - (gKQEgo
  5024. - view: 8125
  5025. - loop: 1
  5026. - cel: 0
  5027. - posn: 228 100
  5028. - setPri: 88
  5029. - setCycle: CT 5 1 self
  5030. - )
  5031. - else
  5032. - (gKQEgo
  5033. - view: 8485
  5034. - setLoop: 1
  5035. - cel: 0
  5036. - setPri: 88
  5037. - setCycle: CT 5 1 self
  5038. - )
  5039. + (archDuke
  5040. + view: 5303
  5041. + setLoop: 0
  5042. + setCel: 0
  5043. + posn: 147 115
  5044. + setCycle: End self
  5045. )
  5046. )
  5047. (1
  5048. - (if register
  5049. - (gKqSound1 number: 803 loop: 1 play: self)
  5050. + (if (not register)
  5051. + (archDuke setLoop: 1 setCel: 0 setCycle: Fwd)
  5052. else
  5053. - (= cycles 1)
  5054. + (self cue:)
  5055. )
  5056. )
  5057. (2
  5058. - (if register
  5059. - ((ScriptID 13 0) hide_mouth: 1 clientCel: -2)
  5060. - (gKqMessager say: 0 0 47 0 self)
  5061. - else
  5062. - (gKqSound1 number: 801 loop: 1 play:)
  5063. - (townHallDoor setPri: 10 setCycle: End self)
  5064. - (gKQEgo setCycle: End self)
  5065. - )
  5066. + (archDuke setLoop: 2 setCel: 0 setCycle: CT 16 1 self)
  5067. )
  5068. (3
  5069. - ((ScriptID 13 0) hide_mouth: 0)
  5070. - (if register (gKQEgo setCycle: Beg self))
  5071. + (gKQEgo setScript: (ScriptID 5300 67))
  5072. + (archDuke setLoop: 2 setCel: 17 setCycle: CT 20 1 self)
  5073. )
  5074. (4
  5075. - (if register
  5076. - (gKQEgo
  5077. - normalize: 7
  5078. - posn: (townHallDoor approachX?) (townHallDoor approachY?)
  5079. - )
  5080. - (global1 handsOn:)
  5081. - (self dispose:)
  5082. - else
  5083. - (gKQEgo
  5084. - normalize: 3
  5085. - posn: 222 101
  5086. - setPri: 20
  5087. - setMotion: MoveTo 177 75 self
  5088. - )
  5089. - )
  5090. + (gKqSound1 number: 5305 loop: 1 play:)
  5091. + (archDuke setCycle: CT 24 1 self)
  5092. + )
  5093. + (5
  5094. + (gKqSound1 stop:)
  5095. + (archDuke setCycle: End self)
  5096. )
  5097. - (5 (global2 newRoom: 5100))
  5098. + (6 (self dispose:))
  5099. )
  5100. )
  5101. )
  5102.  
  5103. -(instance wagon of Feature
  5104. - (properties
  5105. - noun 6
  5106. - approachX 511
  5107. - approachY 115
  5108. - x 534
  5109. - y 112
  5110. - )
  5111. +(instance unCoverCage of Script
  5112. + (properties)
  5113.  
  5114. - (method (init)
  5115. - (super init:)
  5116. - (self
  5117. - setHotspot: 9998
  5118. - approachVerbs: 9998
  5119. - setPolygon:
  5120. - ((Polygon new:)
  5121. - type: 0
  5122. - init: 518 57 550 55 550 81 541 86 516 81 521 98
  5123. - yourself:
  5124. + (method (changeState newState)
  5125. + (switch (= state newState)
  5126. + (0
  5127. + (global1 handsOff:)
  5128. + (proc11_1 138)
  5129. + (cageCover dispose:)
  5130. + (chinaBird view: 5329 loop: 1 cel: 0 x: 571 y: 97 init:)
  5131. + (gKQEgo
  5132. + view: 5327
  5133. + loop: 0
  5134. + cel: 0
  5135. + x: 503
  5136. + y: 138
  5137. + setPri: 119
  5138. + setScale: 0
  5139. + setCycle: End self
  5140. )
  5141. - )
  5142. - )
  5143. -
  5144. - (method (doVerb theVerb)
  5145. - (if local15 (gKqMessager say: noun 8 46 0) (return 1))
  5146. - (return
  5147. - (if (!= global104 -3)
  5148. - (switch theVerb
  5149. - (8
  5150. - (global2 setScript: snakeDoVerbDo)
  5151. - )
  5152. - (61
  5153. - (global2 setScript: giveStatue)
  5154. - )
  5155. - (5
  5156. - (global2 setScript: snakeDoVerbComb)
  5157. - )
  5158. - (else
  5159. - (global2 setScript: snakeDoVerbElse)
  5160. - )
  5161. + )
  5162. + (1
  5163. + (cageCover init:)
  5164. + (gKQEgo
  5165. + normalize: 2
  5166. + posn: (birdCage approachX?) (birdCage approachY?)
  5167. + setScaler: Scaler 83 53 98 78
  5168. + setHeading: 90
  5169. )
  5170. - else
  5171. - 0
  5172. + (chinaBird
  5173. + view: 5327
  5174. + loop: 1
  5175. + cel: 0
  5176. + x: 502
  5177. + y: 141
  5178. + setCycle: End self
  5179. + )
  5180. + )
  5181. + (2
  5182. + (global1 handsOn:)
  5183. + (self dispose:)
  5184. )
  5185. )
  5186. )
  5187. +)
  5188. +
  5189. +(instance openCageDoor of Script
  5190. + (properties)
  5191.  
  5192. - (method (onMe param1 &tmp temp0)
  5193. - (if
  5194. - (and (proc11_0 349) (== (global80 message?) 5))
  5195. - (return 0)
  5196. - )
  5197. - (if
  5198. - (and
  5199. - local15
  5200. - (not (proc64999_5 (global80 message?) 8 10))
  5201. + (method (changeState newState)
  5202. + (switch (= state newState)
  5203. + (0
  5204. + (global1 handsOff:)
  5205. + (= gKQEgoX (gKQEgo x?))
  5206. + (= gKQEgoY (gKQEgo y?))
  5207. + (gKQEgo setHeading: 90 self)
  5208. )
  5209. - (return 0)
  5210. - )
  5211. - (= temp0
  5212. - (if (super onMe: param1)
  5213. - else
  5214. - (snakeSalesman onMe: param1)
  5215. + (1
  5216. + (gKQEgo
  5217. + view: 5327
  5218. + loop: 3
  5219. + cel: 0
  5220. + x: 535
  5221. + y: 123
  5222. + setScale: 0
  5223. + setCycle: CT 5 1 self
  5224. + )
  5225. )
  5226. - )
  5227. - (if (param1 type?)
  5228. - (cond
  5229. - ((== (global80 message?) 61) (= approachX 490) (= approachY 108))
  5230. - (
  5231. - (and (not (proc11_0 116)) (not (proc11_0 461))) (= approachX 506) (= approachY 104))
  5232. - (else (= approachX 495) (= approachY 100))
  5233. + (2
  5234. + (gKqSound1 number: 5330 loop: 1 play:)
  5235. + (cageDoor setCycle: End)
  5236. + (gKQEgo setCycle: CT 9 1 self)
  5237. + )
  5238. + (3 (gKQEgo setCycle: Beg self))
  5239. + (4
  5240. + (gKQEgo
  5241. + normalize: 0
  5242. + posn: gKQEgoX gKQEgoY
  5243. + setScaler: Scaler 83 53 98 78
  5244. + )
  5245. + (global1 handsOn:)
  5246. + (self dispose:)
  5247. )
  5248. )
  5249. - (return temp0)
  5250. )
  5251. )
  5252.  
  5253. -(instance snakeDoVerbElse of Script
  5254. +(instance getTheChinaBird of Script
  5255. (properties)
  5256.  
  5257. (method (changeState newState)
  5258. (switch (= state newState)
  5259. (0
  5260. (global1 handsOff:)
  5261. - (if (snakeSalesman script?)
  5262. - (keepSalesmanBusy caller: self register: 1)
  5263. - else
  5264. - (= cycles 1)
  5265. - )
  5266. + (= gKQEgoX (gKQEgo x?))
  5267. + (= gKQEgoY (gKQEgo y?))
  5268. + (gKQEgo setHeading: 90 self)
  5269. )
  5270. (1
  5271. - (if (or (proc11_0 116) (proc11_0 95))
  5272. - (gKqMessager say: 6 0 45 0 self)
  5273. - else
  5274. - (gKqMessager say: 6 98 5 0 self)
  5275. - )
  5276. + (gKqMessager say: 7 8 28 0 self)
  5277. )
  5278. (2
  5279. - ((ScriptID 13 0) hide_mouth: 0 modeless: 1)
  5280. + (gKQEgo
  5281. + view: 5327
  5282. + loop: 3
  5283. + cel: 0
  5284. + x: 535
  5285. + y: 123
  5286. + setScale: 0
  5287. + setCycle: End self
  5288. + )
  5289. + )
  5290. + (3
  5291. + (gKQEgo hide:)
  5292. + (chinaBird
  5293. + view: 5327
  5294. + loop: 4
  5295. + cel: 1
  5296. + x: 557
  5297. + y: 114
  5298. + setPri: 123
  5299. + setCycle: End self
  5300. + )
  5301. + )
  5302. + (4
  5303. + (chinaBird dispose:)
  5304. + (gKQEgo get: 42)
  5305. + (birdCage dispose:)
  5306. + (gKQEgo
  5307. + show:
  5308. + posn: gKQEgoX gKQEgoY
  5309. + normalize: 4
  5310. + setScaler: Scaler 83 53 98 78
  5311. + )
  5312. (global1 handsOn:)
  5313. - (snakeSalesman setScript: keepSalesmanBusy)
  5314. (self dispose:)
  5315. )
  5316. )
  5317. )
  5318. )
  5319.  
  5320. -(instance snakeDoVerbDo of Script
  5321. +(instance tryGetBird of Script
  5322. (properties)
  5323.  
  5324. (method (changeState newState)
  5325. (switch (= state newState)
  5326. (0
  5327. (global1 handsOff:)
  5328. - (if (snakeSalesman script?)
  5329. - (keepSalesmanBusy caller: self register: 1)
  5330. - else
  5331. - (= cycles 1)
  5332. - )
  5333. + (gKQEgo setPri: 119 setHeading: 90 self)
  5334. )
  5335. (1
  5336. (cond
  5337. - ((or (proc11_0 116) (proc11_0 95))
  5338. - (if (or (not (proc11_0 123)) (== global122 5))
  5339. - (cond
  5340. - (
  5341. - (and (not (proc11_0 95)) (not (proc11_1 416))) (gKqMessager say: 6 8 22 0 self))
  5342. - ((not (proc11_1 417)) (gKqMessager say: 6 8 23 0 self))
  5343. - (else (gKqMessager say: 6 8 24 0 self))
  5344. - )
  5345. - else
  5346. - (gKqMessager say: 6 8 24 0 self)
  5347. - )
  5348. - )
  5349. - ((or (not (proc11_0 123)) (== global122 5))
  5350. - (cond
  5351. - ((not (proc11_1 418)) (gKqMessager say: 6 8 25 0 self))
  5352. - ((not (proc11_1 419)) (gKqMessager say: 6 8 26 0 self))
  5353. - (else
  5354. - ((ScriptID 13 0) hide_mouth: 1)
  5355. - (gKqMessager say: 6 8 27 0 self)
  5356. - )
  5357. - )
  5358. - )
  5359. - (else
  5360. - ((ScriptID 13 0) hide_mouth: 1)
  5361. - (snakeSalesman setScript: keepSalesmanBusy)
  5362. - (gKqMessager say: 6 8 27 0 self)
  5363. - )
  5364. + ((not (proc11_1 118)) (self setScript: (ScriptID 5302 10) self))
  5365. + ((not (proc11_1 119)) (self setScript: (ScriptID 5302 11) self))
  5366. )
  5367. )
  5368. (2
  5369. - ((ScriptID 13 0) hide_mouth: 0 modeless: 1)
  5370. + (gKQEgo setHeading: 180 self)
  5371. + )
  5372. + (3
  5373. (global1 handsOn:)
  5374. - (if (not (snakeSalesman script?))
  5375. - (snakeSalesman setScript: keepSalesmanBusy)
  5376. - )
  5377. (self dispose:)
  5378. )
  5379. )
  5380. )
  5381. )
  5382.  
  5383. -(instance snakeDoVerbComb of Script
  5384. +(instance getBlownOn of Script
  5385. (properties)
  5386.  
  5387. (method (changeState newState)
  5388. (switch (= state newState)
  5389. (0
  5390. - (global1 handsOff:)
  5391. - (if (snakeSalesman script?)
  5392. - (keepSalesmanBusy caller: self register: 1)
  5393. - else
  5394. - (= cycles 1)
  5395. + (gKQEgo
  5396. + view: 5303
  5397. + setLoop: 8
  5398. + cel: 0
  5399. + setScale: 0
  5400. + posn: (+ (gKQEgo x?) 25) (gKQEgo y?)
  5401. + setCycle: End self
  5402. )
  5403. )
  5404. (1
  5405. - (cond
  5406. - ((proc11_0 116) (gKqMessager say: 6 5 22 0 self) (proc11_1 349))
  5407. - ((not (proc11_1 461)) (proc11_1 95) (self setScript: haveSalesmanPoint))
  5408. - ((not (proc11_1 417)) (gKqMessager say: 6 5 26 0 self))
  5409. - (else (proc11_1 349) (gKqMessager say: 6 5 27 0 self))
  5410. + (gKQEgo
  5411. + normalize: 0
  5412. + x: (- (gKQEgo x?) 25)
  5413. + setScaler: Scaler 83 53 98 78
  5414. )
  5415. - )
  5416. - (2
  5417. - ((ScriptID 13 0) hide_mouth: 0 modeless: 1)
  5418. - (global1 handsOn:)
  5419. - (snakeSalesman setScript: keepSalesmanBusy)
  5420. (self dispose:)
  5421. )
  5422. )
  5423. )
  5424. )
  5425.  
  5426. -(instance haveSalesmanPoint of Script
  5427. +(instance showTheComb of Script
  5428. (properties)
  5429.  
  5430. + (method (init)
  5431. + (proc11_2 539)
  5432. + (super init: &rest)
  5433. + )
  5434. +
  5435. + (method (dispose)
  5436. + (proc11_2 539)
  5437. + (super dispose:)
  5438. + )
  5439. +
  5440. (method (changeState newState)
  5441. - (switch (= state newState)
  5442. - (0
  5443. - (global1 handsOff:)
  5444. - (gKqMessager say: 6 5 25 1 self)
  5445. - )
  5446. - (1
  5447. - (if (snakeSalesman script?)
  5448. - (keepSalesmanBusy caller: self register: 1)
  5449. - else
  5450. + (if (not (proc11_0 539))
  5451. + (switch (= state newState)
  5452. + (0
  5453. + (global1 handsOff: 1)
  5454. + (Load rsVIEW 5303)
  5455. + (Load rsCDAUDIO 5305)
  5456. + (Load rsVIEW 8132)
  5457. + (Load rsVIEW 5334)
  5458. + (= register (gKQEgo cycleSpeed?))
  5459. + (gKQEgo
  5460. + view: 8241
  5461. + setLoop:
  5462. + (if
  5463. + (and
  5464. + (< 0 (gKQEgo heading?))
  5465. + (< (= register (gKQEgo cycleSpeed?)) 180)
  5466. + )
  5467. + 0
  5468. + else
  5469. + 1
  5470. + )
  5471. + setCel: 0
  5472. + cycleSpeed: 12
  5473. + setCycle: CT 20 1 self
  5474. + )
  5475. + )
  5476. + (1
  5477. + (gKqSound1 number: 1256 setLoop: -1 play:)
  5478. + (gKQEgo setCycle: End self)
  5479. + )
  5480. + (2
  5481. + (gKQEgo setCycle: CT 20 -1 self)
  5482. + )
  5483. + (3
  5484. + (gKqSound1 setLoop: 1 stop:)
  5485. + (gKQEgo setCycle: Beg self)
  5486. + )
  5487. + (4
  5488. + (gKQEgo
  5489. + normalize: 0
  5490. + setScaler: Scaler 83 53 98 78
  5491. + cycleSpeed: register
  5492. + )
  5493. (= cycles 1)
  5494. )
  5495. + (5
  5496. + (archTalker clientCel: -2 hide_mouth: 1 modeless: 2)
  5497. + (gKqMessager say: 1 5 6 1 self)
  5498. + )
  5499. + (6
  5500. + (self setScript: (ScriptID 5300 62) self)
  5501. + (gKqMessager say: 1 5 6 2 self)
  5502. + )
  5503. + (7 (script register: 1))
  5504. + (8
  5505. + (gKqMusic1 pause: 1)
  5506. + (chickenSound number: 5310 loop: -1 play:)
  5507. + (archTalker clientCel: -1 hide_mouth: 0 modeless: 1)
  5508. + (self setScript: (ScriptID 5300 69) self self)
  5509. + (= register (gKQEgo cycleSpeed?))
  5510. + (chickenPetite
  5511. + posn: 308 102
  5512. + setPri: 130
  5513. + view: 5303
  5514. + setLoop: 4
  5515. + setCel: 0
  5516. + init:
  5517. + setCycle: CT 16 1 self
  5518. + )
  5519. + (chickenTalker modeless: 2)
  5520. + (= global372 7)
  5521. + (gKqMessager say: 1 5 6 3 chickenPetite)
  5522. + )
  5523. + (9
  5524. + (chickenPetite setCycle: CT 36 1 self)
  5525. + (gKQEgo
  5526. + view: 8132
  5527. + setLoop: 0
  5528. + setCel: 6
  5529. + cycleSpeed: 13
  5530. + setCycle: Beg
  5531. + )
  5532. + )
  5533. + (10
  5534. + (chickenPetite setCycle: End self)
  5535. + (gKQEgo setCycle: End)
  5536. + )
  5537. + (11
  5538. + (chickenSound fade:)
  5539. + (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  5540. + (gKQEgo
  5541. + normalize: 0
  5542. + setScaler: Scaler 83 53 98 78
  5543. + cycleSpeed: register
  5544. + )
  5545. + (proc5300_4)
  5546. + (= cycles 2)
  5547. + )
  5548. + (12
  5549. + (archTalker clientCel: 4)
  5550. + (gKqMessager say: 1 5 6 4 self)
  5551. + )
  5552. + (13
  5553. + (archTalker clientCel: -1)
  5554. + (archDuke setCycle: CT 12 1 self)
  5555. + )
  5556. + (14
  5557. + (archDuke setPri: 86 setCycle: End self)
  5558. + )
  5559. + (15
  5560. + (archDuke hide:)
  5561. + (townHallDoor setHotspot: 8 10 setCycle: Beg self)
  5562. + )
  5563. + (16
  5564. + (gKqSound1 number: 802 setLoop: 1 play:)
  5565. + (archDuke
  5566. + view: 5334
  5567. + setLoop: 3 1
  5568. + cel: 0
  5569. + posn: 218 88
  5570. + setPri: 82
  5571. + show:
  5572. + setCycle: Walk
  5573. + setScaler: Scaler 92 73 86 78
  5574. + setMotion: MoveTo 177 75 self
  5575. + )
  5576. + )
  5577. + (17
  5578. + (chickenTalker modeless: 1)
  5579. + (archDuke dispose:)
  5580. + (proc11_1 110)
  5581. + (if (gKQEgo scratch?)
  5582. + (gKQEgo addRespondVerb: 51)
  5583. + else
  5584. + (gKQEgo setHotspot: 0 51)
  5585. + )
  5586. + (chinaDoorExit init:)
  5587. + (global1 handsOn:)
  5588. + (self dispose:)
  5589. + )
  5590. )
  5591. - (2
  5592. - (gKqMessager sayRange: 6 5 25 2 4 self)
  5593. - )
  5594. - (3
  5595. - (if (not (gKQEgo has: 47))
  5596. - (gKqMessager say: 6 5 25 5 self)
  5597. - else
  5598. + else
  5599. + (switch (= state newState)
  5600. + (0
  5601. + (gKqSound1 stop:)
  5602. + (gKQEgo setScript: 0)
  5603. + (if script (script caller: 0))
  5604. + (= cycles 2)
  5605. + )
  5606. + (1
  5607. + (gKQEgo
  5608. + normalize: 0
  5609. + setScaler: Scaler 83 53 98 78
  5610. + posn: (archDuke approachX?) (archDuke approachY?)
  5611. + cycleSpeed: register
  5612. + )
  5613. + (archDuke dispose:)
  5614. + (proc11_1 110)
  5615. + (if (gKQEgo scratch?)
  5616. + (gKQEgo addRespondVerb: 51)
  5617. + else
  5618. + (gKQEgo setHotspot: 0 51)
  5619. + )
  5620. + (chickenPetite setCycle: 0 setMotion: 0)
  5621. + (proc5300_4)
  5622. + (archTalker clientCel: -1 hide_mouth: 0 modeless: 1)
  5623. + (chickenTalker modeless: 1)
  5624. + (chinaDoorExit init:)
  5625. + (chickenSound fade:)
  5626. + (gKqMusic1 setVol: 0 pause: 0 fade: 127 25 10 0)
  5627. + (archTalker clientCel: -1)
  5628. + (townHallDoor setHotspot: 8 10 cel: 0)
  5629. + (UpdateScreenItem townHallDoor)
  5630. (global1 handsOn:)
  5631. - (snakeSalesman setScript: keepSalesmanBusy)
  5632. (self dispose:)
  5633. )
  5634. )
  5635. - (4
  5636. - (gKQEgo hide:)
  5637. - (= register (snakeSalesman priority?))
  5638. - (snakeSalesman
  5639. - view: 5325
  5640. - setLoop: 2 1
  5641. - cel: 0
  5642. - posn: 491 134
  5643. - setPri: 150
  5644. - setCycle: CT 8 1 self
  5645. - )
  5646. - )
  5647. - (5
  5648. - (snakeSalesman cel: 9)
  5649. - (UpdateScreenItem snakeSalesman)
  5650. - (FrameOut)
  5651. - (= cycles 1)
  5652. - )
  5653. - (6
  5654. - (gKqMessager say: 6 5 25 6 self)
  5655. - )
  5656. - (7
  5657. - (snakeSalesman setCycle: Beg self)
  5658. - )
  5659. - (8
  5660. - (gKQEgo show:)
  5661. - (snakeSalesman
  5662. - setLoop: 5
  5663. - cel: 7
  5664. - setPri: register
  5665. - posn: 497 129
  5666. - )
  5667. - (UpdateScreenItem snakeSalesman)
  5668. - (FrameOut)
  5669. - (= cycles 3)
  5670. - )
  5671. - (9
  5672. - (gKqMessager sayRange: 6 5 25 7 9 self)
  5673. - )
  5674. - (10
  5675. - (global1 handsOn:)
  5676. - (snakeSalesman setScript: keepSalesmanBusy)
  5677. - (self dispose:)
  5678. - )
  5679. )
  5680. )
  5681. )
  5682.  
  5683. -(instance keepSalesmanBusy of Script
  5684. +(instance standUpDuke of Script
  5685. (properties)
  5686.  
  5687. - (method (doit)
  5688. - (if (and seconds (or register next))
  5689. - (= seconds 0)
  5690. - (= cycles 1)
  5691. - )
  5692. - (super doit:)
  5693. - )
  5694. -
  5695. (method (changeState newState)
  5696. (switch (= state newState)
  5697. (0
  5698. - (= local14 (= state 1))
  5699. - (snakeSalesman
  5700. - view: 5325
  5701. - setLoop: 5
  5702. - cel: 7
  5703. - posn: 497 129
  5704. - setPri: 95
  5705. - setCycle: Beg self
  5706. - )
  5707. - )
  5708. - (1
  5709. - (= local14 0)
  5710. - (= seconds (Random 2 5))
  5711. - )
  5712. - (2
  5713. - (= local14 1)
  5714. - (if (and (not next) (not register))
  5715. - (if (Random 0 1)
  5716. - (self changeState: 8)
  5717. - else
  5718. - (self changeState: 4)
  5719. - )
  5720. - else
  5721. - (snakeSalesman
  5722. - setLoop: 5
  5723. - setPri: 95
  5724. - posn: 497 129
  5725. - setCycle: End self
  5726. - )
  5727. - )
  5728. - )
  5729. - (3
  5730. - (= register 0)
  5731. - (if next (next caller: caller) (= caller 0))
  5732. - (self dispose:)
  5733. - )
  5734. - (4
  5735. - (snakeSalesman
  5736. - setLoop: 4
  5737. - cel: 0
  5738. - setPri: 92
  5739. - posn: 529 95
  5740. - setCycle: CT 6 1 self
  5741. - )
  5742. - )
  5743. - (5
  5744. - (if (and (not register) (Random 0 1))
  5745. - (-- state)
  5746. - (snakeSalesman setCycle: ROsc 1 6 14 self)
  5747. - else
  5748. - (= cycles 1)
  5749. - )
  5750. - )
  5751. - (6
  5752. - (snakeSalesman setCycle: CT 18 1 self)
  5753. - )
  5754. - (7
  5755. - (= state 0)
  5756. - (snakeSalesman
  5757. - setLoop: 5
  5758. - cel: 3
  5759. - setPri: 95
  5760. - posn: 497 129
  5761. - setCycle: End self
  5762. - )
  5763. - )
  5764. - (8
  5765. - (snakeSalesman
  5766. + (archDuke
  5767. + posn: 147 116
  5768. setLoop: 3
  5769. - cel: 0
  5770. - setPri: 92
  5771. - posn: 496 129
  5772. + setCel: 0
  5773. setCycle: End self
  5774. )
  5775. )
  5776. - (9 (= seconds 3))
  5777. - (10
  5778. - (snakeSalesman setCycle: Beg self)
  5779. - )
  5780. - (11
  5781. - (= state 0)
  5782. - (snakeSalesman
  5783. + (1
  5784. + (archDuke
  5785. + posn: 206 107
  5786. setLoop: 5
  5787. - setPri: 95
  5788. - posn: 497 129
  5789. - cel: 3
  5790. - setCycle: End self
  5791. + setCel: 0
  5792. + setCycle: CT 4 1 self
  5793. )
  5794. )
  5795. + (2 (self dispose:))
  5796. )
  5797. )
  5798. )
  5799.  
  5800. -(instance pool of Feature
  5801. - (properties
  5802. - sightAngle 180
  5803. - approachX 471
  5804. - approachY 103
  5805. - x 466
  5806. - y 108
  5807. - )
  5808. +(instance theMoonFalls of Script
  5809. + (properties)
  5810.  
  5811. (method (init)
  5812. - (super init:)
  5813. - (self
  5814. - setHotspot: 8 10 52
  5815. - approachVerbs: 8 52
  5816. - setPolygon:
  5817. - ((Polygon new:)
  5818. - type: 1
  5819. - init: 445 88 436 107 349 109 330 103 324 87 326 80 355 78 428 81
  5820. - yourself:
  5821. - )
  5822. - )
  5823. + (proc11_2 539)
  5824. + (super init: &rest)
  5825. )
  5826.  
  5827. - (method (doVerb theVerb)
  5828. - (switch theVerb
  5829. - (8
  5830. - (global2 setScript: tryToGetMoon)
  5831. - )
  5832. - (52
  5833. - (global2 setScript: getTheMoon)
  5834. - )
  5835. - )
  5836. + (method (dispose)
  5837. + (proc11_2 539)
  5838. + (super dispose:)
  5839. )
  5840.  
  5841. - (method (onMe param1 &tmp temp0)
  5842. - (if
  5843. - (and (= temp0 (super onMe: param1)) (param1 type?))
  5844. - (switch (global80 message?)
  5845. - (8
  5846. - (= approachX 442)
  5847. - (= approachY 114)
  5848. - (= x 440)
  5849. + (method (changeState newState)
  5850. + (if (not (proc11_0 539))
  5851. + (switch (= state newState)
  5852. + (0
  5853. + (global1 handsOff: 1)
  5854. + (Load rsCDAUDIO 907)
  5855. + (Load rsCDAUDIO 854)
  5856. + (Load rsCDAUDIO 836)
  5857. + (Load rsVIEW 5314)
  5858. + (localproc_1162)
  5859. + (= global372 9)
  5860. + (chickenPetite
  5861. + view: 5311
  5862. + setLoop: 0 1
  5863. + setCycle: Walk
  5864. + posn: 607 117
  5865. + moveSpeed: 3
  5866. + setPri: -1
  5867. + init:
  5868. + setMotion: MoveTo 500 107 self
  5869. + )
  5870. + (chickenTalker hide_mouth: 1 modeless: 2)
  5871. + (gKqMessager say: 0 0 16 1 chickenPetite)
  5872. )
  5873. - (else
  5874. - (= approachX 471)
  5875. - (= approachY 103)
  5876. - (= x 466)
  5877. + (1
  5878. + (chickenPetite setMotion: PolyPath 468 94 self)
  5879. )
  5880. - )
  5881. - )
  5882. - (return temp0)
  5883. - )
  5884. -)
  5885. -
  5886. -(instance birdCage of Feature
  5887. - (properties
  5888. - noun 7
  5889. - approachX 556
  5890. - approachY 110
  5891. - x 560
  5892. - y 113
  5893. - )
  5894. -
  5895. - (method (init)
  5896. - (super init:)
  5897. - (self
  5898. - setHotspot: 8 10
  5899. - approachVerbs: 8
  5900. - setPolygon:
  5901. - ((Polygon new:)
  5902. - type: 0
  5903. - init:
  5904. - 565
  5905. - 105
  5906. - 561
  5907. - 97
  5908. - 561
  5909. - 88
  5910. - 562
  5911. - 82
  5912. - 571
  5913. - 70
  5914. - 574
  5915. - 70
  5916. - 584
  5917. - 80
  5918. - 586
  5919. - 91
  5920. - 585
  5921. - 98
  5922. - 582
  5923. - 105
  5924. - 574
  5925. - 106
  5926. - yourself:
  5927. + (2
  5928. + (chickenPetite setMotion: PolyPath 393 86 self)
  5929. + )
  5930. + (3
  5931. + (chickenPetite setMotion: PolyPath 321 102 self)
  5932. + )
  5933. + (4
  5934. + (= global372 8)
  5935. + (chickenPetite
  5936. + setLoop: (if (global84 size:) 7 else 8) 1
  5937. + )
  5938. + (chickenPetite setMotion: PolyPath 402 117 self)
  5939. + )
  5940. + (5
  5941. + (chickenPetite setMotion: PolyPath 477 98 self)
  5942. + )
  5943. + (6
  5944. + (= global372 8)
  5945. + (chickenPetite
  5946. + setLoop: (if (global84 size:) 0 else 9) 1
  5947. + )
  5948. + (chickenPetite setMotion: PolyPath 468 94 self)
  5949. + )
  5950. + (7
  5951. + (= global372 -1)
  5952. + (chickenPetite
  5953. + view: 5314
  5954. + setLoop: 5
  5955. + cel: 0
  5956. + x: 475
  5957. + y: 135
  5958. + setPri: 100
  5959. + setCycle: 0
  5960. + )
  5961. + (UnLoad 128 5311)
  5962. + (chickenTalker hide_mouth: 1 clientCel: -2)
  5963. + (moon
  5964. + view: 5312
  5965. + loop: 0
  5966. + cel: 0
  5967. + x: 382
  5968. + y: 95
  5969. + setPri: 150
  5970. + init:
  5971. + setCycle: End self
  5972. + )
  5973. + )
  5974. + (8
  5975. + (moon loop: 1 cel: 0 setCycle: End self)
  5976. )
  5977. - )
  5978. - )
  5979. -
  5980. - (method (doVerb)
  5981. - (cond
  5982. - ((not (proc11_0 138)) (global2 setScript: uncoverCage))
  5983. - ((not (proc11_0 139)) (global2 setScript: openCageDoor) (proc11_1 139))
  5984. - ((not (gKQEgo has: 42))
  5985. - (cond
  5986. - ((and (not (proc11_0 109)) (proc11_0 117)) (global2 setScript: getTheChinaBird))
  5987. - ((not (proc11_0 109))
  5988. - (if (proc11_0 119)
  5989. - (global2 setScript: takeBird)
  5990. - else
  5991. - (global2 setScript: tryGetBird)
  5992. - )
  5993. + (9
  5994. + (mockingBird
  5995. + view: 5314
  5996. + loop: 3
  5997. + cel: 0
  5998. + x: 349
  5999. + y: 49
  6000. + z: 0
  6001. + setPri: 150
  6002. + setCycle: CT 2 1
  6003. )
  6004. + (moon loop: 2 cel: 0 setCycle: CT 1 1 self)
  6005. + )
  6006. + (10
  6007. + (gKqSound1 number: 907 loop: 1 play:)
  6008. + (moon loop: 2 setCycle: CT 11 1 self)
  6009. + )
  6010. + (11
  6011. + (self setScript: (ScriptID 5300 72))
  6012. + (moon setCycle: End self)
  6013. + )
  6014. + (12
  6015. + (chickenPetite setPri: -1 setCycle: CT 6 1 self)
  6016. + )
  6017. + (13
  6018. + (archDukeSound number: 854 loop: 1 play:)
  6019. + (chickenPetite setCycle: End self)
  6020. + )
  6021. + (14
  6022. + (gKqSound1 number: 836 loop: 1 play:)
  6023. + (chickenPetite
  6024. + view: 5315
  6025. + loop: 0
  6026. + cel: 0
  6027. + posn: 415 93
  6028. + setPri: 125
  6029. + setCycle: End self
  6030. + )
  6031. + )
  6032. + (15
  6033. + (moon
  6034. + view: 5316
  6035. + loop: 6
  6036. + cel: 0
  6037. + setScript: (ScriptID 5300 71)
  6038. + )
  6039. + (gKqSound1 number: 836 loop: 1 play:)
  6040. + (chickenPetite loop: 1 cel: 0 setCycle: End self)
  6041. + )
  6042. + (16
  6043. + (chickenPetite
  6044. + loop: 2
  6045. + cel: 0
  6046. + setHotspot: 8 10
  6047. + approachVerbs: 8
  6048. + setPri: 110
  6049. + setCycle: End self
  6050. + )
  6051. + )
  6052. + (17
  6053. + (global1 handsOn:)
  6054. + (pool init:)
  6055. + (self dispose:)
  6056. )
  6057. - (proc11_2 139)
  6058. )
  6059. - )
  6060. - (return 1)
  6061. - )
  6062. -
  6063. - (method (onMe param1 &tmp temp0)
  6064. - (if
  6065. - (and
  6066. - (= temp0 (super onMe: param1))
  6067. - (proc11_0 117)
  6068. - (proc11_0 138)
  6069. + else
  6070. + (self setScript: 0)
  6071. + (gKqSound1 stop:)
  6072. + (proc11_1 113)
  6073. + (mockingBird dispose:)
  6074. + (chickenPetite view: 5315 loop: 2)
  6075. + (chickenPetite
  6076. + cel: (chickenPetite lastCel:)
  6077. + posn: 415 93
  6078. + setPri: 110
  6079. + setMotion: 0
  6080. + setCycle: 0
  6081. + setHotspot: 8 10
  6082. + approachVerbs: 8
  6083. )
  6084. - (= approachX 556)
  6085. - (= approachY 113)
  6086. - )
  6087. - (return temp0)
  6088. - )
  6089. -)
  6090. -
  6091. -(instance fauxSign of Feature
  6092. - (properties
  6093. - noun 8
  6094. - approachX 413
  6095. - approachY 75
  6096. - x 413
  6097. - y 70
  6098. - )
  6099. -
  6100. - (method (init)
  6101. - (super init:)
  6102. - (self
  6103. - setHotspot: 8 10
  6104. - approachVerbs: 8
  6105. - setPolygon:
  6106. - ((Polygon new:)
  6107. - type: 1
  6108. - init: 398 32 399 31 412 30 425 36 425 38 398 40
  6109. - yourself:
  6110. + (nickel init:)
  6111. + (if (not (moon script?))
  6112. + (moon
  6113. + view: 5316
  6114. + loop: 6
  6115. + cel: 0
  6116. + init:
  6117. + setScript: (ScriptID 5300 71)
  6118. )
  6119. - )
  6120. - )
  6121. -
  6122. - (method (doVerb theVerb)
  6123. - (if (== global104 -3)
  6124. - (gKqMessager say: noun theVerb 37)
  6125. - else
  6126. - (gKqMessager say: noun theVerb 0)
  6127. + )
  6128. + (gKQEgo normalize: 5)
  6129. + (pool init:)
  6130. + (global1 handsOn:)
  6131. + (self dispose:)
  6132. )
  6133. )
  6134. )
  6135.  
  6136. -(instance fauxDoor of Prop
  6137. - (properties
  6138. - noun 12
  6139. - approachX 435
  6140. - approachY 69
  6141. - x 439
  6142. - y 69
  6143. - z 3
  6144. - priority 66
  6145. - fixPriority 1
  6146. - view 5302
  6147. - loop 2
  6148. - )
  6149. -
  6150. - (method (init)
  6151. - (super init:)
  6152. - (if (not (proc11_0 276)) (self setHotspot: 8 10))
  6153. - (self
  6154. - approachVerbs: 8
  6155. - setPolygon:
  6156. - ((Polygon new:)
  6157. - type: 1
  6158. - init: 438 65 446 67 443 30 431 33
  6159. - yourself:
  6160. - )
  6161. - )
  6162. - )
  6163. +(instance bobbingMoon of Script
  6164. + (properties)
  6165.  
  6166. - (method (doVerb)
  6167. - (cond
  6168. - ((== global104 -4)
  6169. - (cond
  6170. - ((proc11_0 203) (global2 setScript: (ScriptID 5301 4)))
  6171. - ((== global122 5) (global2 setScript: enterFauxShop))
  6172. - ((and (proc11_0 120) (proc11_0 121)) (gKqMessager say: 8 8 34 0))
  6173. - ((not (proc11_0 123)) (gKqMessager say: 8 8 33 0))
  6174. - ((proc11_0 122) (global2 setScript: enterFauxShop))
  6175. - (else (global2 setScript: walkThroughDoor))
  6176. + (method (changeState newState)
  6177. + (switch (= state newState)
  6178. + (0
  6179. + (moon
  6180. + view: 5316
  6181. + setLoop: 6 1
  6182. + cel: 14
  6183. + cycleSpeed: 8
  6184. + posn: 409 93
  6185. + setPri: 110
  6186. + setCycle: Beg self
  6187. )
  6188. )
  6189. - ((proc11_0 149) (global2 setScript: enterFauxShop))
  6190. - (else (global2 setScript: walkThroughDoor))
  6191. - )
  6192. - )
  6193. -
  6194. - (method (onMe param1 &tmp temp0)
  6195. - (if
  6196. - (and
  6197. - (= temp0 (super onMe: param1))
  6198. - (param1 type?)
  6199. - (== loop 5)
  6200. + (1
  6201. + (if register
  6202. + (moon setCycle: End self)
  6203. + else
  6204. + (-- state)
  6205. + (moon setCycle: ROsc 1 4 9 self)
  6206. + )
  6207. )
  6208. - (= approachX (- x 3))
  6209. - (= approachY y)
  6210. + (2 (self dispose:))
  6211. )
  6212. - (return temp0)
  6213. )
  6214. )
  6215.  
  6216. -(instance readFauxDoorSign of Script
  6217. +(instance mockingBirdFlysAway of Script
  6218. (properties)
  6219.  
  6220. (method (changeState newState)
  6221. (switch (= state newState)
  6222. (0
  6223. - (global1 handsOff:)
  6224. - (gKQEgo setHeading: 90 self)
  6225. + (gKqSound1 number: 5312 loop: 1 play:)
  6226. + (mockingBird view: 5314 loop: 3 cel: 2 setCycle: End self)
  6227. )
  6228. (1
  6229. - (gKqMessager say: 8 8 register 0)
  6230. + (nickel init:)
  6231. + (mockingBird
  6232. + setLoop: 4 1
  6233. + cel: 0
  6234. + setCycle: Fwd
  6235. + posn: 362 52
  6236. + setPri: 150
  6237. + moveSpeed: 1
  6238. + setMotion: MoveTo 640 1 self
  6239. + )
  6240. )
  6241. (2
  6242. - (global1 handsOn:)
  6243. + (proc11_1 113)
  6244. + (mockingBird dispose:)
  6245. (self dispose:)
  6246. )
  6247. )
  6248. )
  6249. )
  6250.  
  6251. -(instance fauxDoorExit of ExitFeature
  6252. - (properties
  6253. - noun 12
  6254. - approachX 435
  6255. - approachY 69
  6256. - x 439
  6257. - y 66
  6258. - exitDir 2
  6259. - )
  6260. -
  6261. - (method (init)
  6262. - (super init:)
  6263. - (self setHotspot: 8 10 approachVerbs: 8)
  6264. - (fauxDoor setHotspot: 0)
  6265. - )
  6266. -
  6267. - (method (doVerb theVerb)
  6268. - (fauxDoor doVerb: theVerb)
  6269. - )
  6270. -
  6271. - (method (onMe param1 &tmp temp0)
  6272. - (if
  6273. - (and
  6274. - (= temp0 (fauxDoor onMe: param1))
  6275. - (param1 type?)
  6276. - (proc11_0 203)
  6277. - )
  6278. - (= approachX 424)
  6279. - (= approachY 72)
  6280. - )
  6281. - (return temp0)
  6282. - )
  6283. -)
  6284. -
  6285. -(instance enterFauxShop of Script
  6286. +(instance cantPassDuke of Script
  6287. (properties)
  6288.  
  6289. (method (changeState newState)
  6290. (switch (= state newState)
  6291. (0
  6292. (global1 handsOff:)
  6293. - (if (!= global104 -3)
  6294. - (gKQEgo view: 8121 loop: 0 cel: 0 setCycle: CT 2 1 self)
  6295. - else
  6296. - (= cycles 1)
  6297. - )
  6298. + (gKQEgo setMotion: 0)
  6299. + (= cycles 1)
  6300. )
  6301. (1
  6302. - (gKqSound1 number: 801 loop: 1 play:)
  6303. - (fauxDoor setCycle: End self)
  6304. - (if (!= global104 -3)
  6305. - (gKQEgo setCycle: Beg self)
  6306. - else
  6307. - (= cycles 1)
  6308. - )
  6309. + (archTalker modeless: 2)
  6310. + (gKqMessager say: 0 0 2 0 self)
  6311. + (self setScript: (ScriptID 5300 74) self)
  6312. )
  6313. (2 0)
  6314. (3
  6315. - (gKQEgo normalize: 0 setMotion: MoveTo 450 69 self)
  6316. + (global1 handsOn:)
  6317. + (self dispose:)
  6318. )
  6319. - (4 (global2 newRoom: 5000))
  6320. )
  6321. )
  6322. )
  6323.  
  6324. -(instance snakeSalesman of Prop
  6325. - (properties
  6326. - x 531
  6327. - y 90
  6328. - priority 90
  6329. - fixPriority 1
  6330. - view 5323
  6331. - loop 1
  6332. - )
  6333. -)
  6334. -
  6335. -(instance crook of Prop
  6336. - (properties)
  6337. -)
  6338. -
  6339. -(instance egoActions of Actions
  6340. +(instance stepBackEgo of Script
  6341. (properties)
  6342.  
  6343. - (method (doVerb theVerb)
  6344. - (switch theVerb
  6345. - (57
  6346. - (if (localproc_77f0 195)
  6347. - (global2 setScript: putOnMask)
  6348. - else
  6349. - (return 0)
  6350. + (method (changeState newState)
  6351. + (switch (= state newState)
  6352. + (0
  6353. + (gKQEgo
  6354. + view: 8021
  6355. + setLoop: 0
  6356. + setCel: 0
  6357. + setCycle: End self
  6358. )
  6359. )
  6360. - (else (return 0))
  6361. - )
  6362. - (return 1)
  6363. - )
  6364. -)
  6365. -
  6366. -(instance partySound1 of Sound
  6367. - (properties
  6368. - flags $0004
  6369. - number 5100
  6370. - loop -1
  6371. - )
  6372. -)
  6373. -
  6374. -(instance partySound2 of Sound
  6375. - (properties
  6376. - flags $0004
  6377. - number 5102
  6378. - loop -1
  6379. - )
  6380. -)
  6381. -
  6382. -(instance archDukeSound of Sound
  6383. - (properties
  6384. - flags $0004
  6385. - number 5301
  6386. - loop -1
  6387. - )
  6388. -)
  6389. -
  6390. -(instance chickenSound of Sound
  6391. - (properties
  6392. - flags $0004
  6393. - number 5310
  6394. - loop -1
  6395. - )
  6396. -)
  6397. -
  6398. -(instance gateGuard of Actor
  6399. - (properties
  6400. - noun 10
  6401. - approachX 61
  6402. - approachY 113
  6403. - x 29
  6404. - y 113
  6405. - view 5328
  6406. - )
  6407. -
  6408. - (method (init)
  6409. - (super init: &rest)
  6410. - (self setHotspot: 8 10 approachVerbs: 8)
  6411. - )
  6412. -
  6413. - (method (doVerb)
  6414. - (guardTalker client: self)
  6415. - (cond
  6416. - ((not (proc11_1 542)) (gKqMessager say: noun 8 39 0))
  6417. - ((not (proc11_1 543)) (gKqMessager say: noun 8 38 0))
  6418. - (else (gKqMessager say: noun 8 40 0))
  6419. - )
  6420. - )
  6421. -
  6422. - (method (cue)
  6423. - (self view: 5328 setLoop: 0 cel: 0 setCycle: 0)
  6424. - (UpdateScreenItem self)
  6425. - (FrameOut)
  6426. - )
  6427. -)
  6428. -
  6429. -(instance feather of View
  6430. - (properties
  6431. - approachX 280
  6432. - approachY 93
  6433. - x 295
  6434. - y 62
  6435. - priority 93
  6436. - fixPriority 1
  6437. - view 5331
  6438. - loop 5
  6439. - )
  6440. -
  6441. - (method (init)
  6442. - (super init: &rest)
  6443. - (if (not (gKQEgo has: 41))
  6444. - (self setHotspot: 8 10 approachVerbs: 8)
  6445. - (= signal (& signal $efff))
  6446. + (1
  6447. + (gKQEgo
  6448. + normalize: 0
  6449. + setScaler: Scaler 83 53 98 78
  6450. + posn: 90 (gKQEgo y?)
  6451. + ignoreActors: 1
  6452. + )
  6453. + (self dispose:)
  6454. + )
  6455. )
  6456. )
  6457. -
  6458. - (method (doVerb)
  6459. - (global2 setScript: getFeather)
  6460. - )
  6461. )
  6462.  
  6463. -(instance getFeather of Script
  6464. +(instance walkThroughDoor of Script
  6465. (properties)
  6466.  
  6467. (method (changeState newState)
  6468. (switch (= state newState)
  6469. (0
  6470. (global1 handsOff:)
  6471. - (= gKQEgoX (gKQEgo x?))
  6472. - (= gKQEgoY (gKQEgo y?))
  6473. - (= cycles 3)
  6474. + (gKqSound1 number: 801 loop: 1 play:)
  6475. + (fauxDoor setCycle: End self)
  6476. )
  6477. (1
  6478. - (gKQEgo view: 8075 loop: 0 cel: 0 setCycle: End self)
  6479. + (gKQEgo setMotion: MoveTo 457 69 self)
  6480. )
  6481. (2
  6482. - (feather dispose:)
  6483. - (gKQEgo get: 41 setCycle: Beg self)
  6484. + (gKQEgo setMotion: MoveTo 466 69 self)
  6485. )
  6486. (3
  6487. + (gKQEgo setHeading: 180 self)
  6488. + )
  6489. + (4 (= seconds 3))
  6490. + (5
  6491. (gKQEgo
  6492. - normalize: 6
  6493. - posn: gKQEgoX gKQEgoY
  6494. - setScaler: Scaler 83 53 98 78
  6495. + setMotion: MoveTo (fauxDoor approachX?) (fauxDoor approachY?) self
  6496. )
  6497. + )
  6498. + (6
  6499. + (fauxDoor setCycle: Beg self)
  6500. + )
  6501. + (7
  6502. + (gKqSound1 number: 802 loop: 1 play:)
  6503. (global1 handsOn:)
  6504. (self dispose:)
  6505. )
  6506. @@ -5252,250 +2873,519 @@
  6507. )
  6508. )
  6509.  
  6510. -(instance wagonSign of View
  6511. - (properties
  6512. - x 520
  6513. - y 53
  6514. - priority 95
  6515. - fixPriority 1
  6516. - view 5300
  6517. - loop 7
  6518. - )
  6519. -
  6520. - (method (init)
  6521. - (super init: &rest)
  6522. - (= local15 1)
  6523. - )
  6524. -)
  6525. -
  6526. -(instance cageDoor of Prop
  6527. - (properties
  6528. - x 577
  6529. - y 94
  6530. - priority 98
  6531. - fixPriority 1
  6532. - view 5300
  6533. - loop 3
  6534. - )
  6535. -)
  6536. -
  6537. -(instance glint1 of Prop
  6538. - (properties
  6539. - x 365
  6540. - y 92
  6541. - priority 109
  6542. - fixPriority 1
  6543. - view 5300
  6544. - loop 4
  6545. - cycleSpeed 9
  6546. - )
  6547. +(instance partyGoers of Script
  6548. + (properties)
  6549.  
  6550. - (method (init)
  6551. - (super init: &rest)
  6552. - (self setScript: glintScript)
  6553. - )
  6554. -)
  6555. -
  6556. -(instance glint2 of Prop
  6557. - (properties
  6558. - x 414
  6559. - y 94
  6560. - priority 109
  6561. - fixPriority 1
  6562. - view 5300
  6563. - loop 5
  6564. - cycleSpeed 10
  6565. - )
  6566. -)
  6567. -
  6568. -(instance glint3 of Prop
  6569. - (properties
  6570. - x 394
  6571. - y 93
  6572. - priority 109
  6573. - fixPriority 1
  6574. - view 5300
  6575. - loop 6
  6576. - cycleSpeed 14
  6577. + (method (changeState newState)
  6578. + (if (not (proc11_0 539))
  6579. + (switch (= state newState)
  6580. + (0
  6581. + (global1 handsOff: 1)
  6582. + (gKQEgo setMotion: 0)
  6583. + (proc11_3 gKQEgo badger 0)
  6584. + (stork setCycle: CT 11 1 self)
  6585. + (hippo setCycle: CT 9 1 self)
  6586. + )
  6587. + (1 0)
  6588. + (2
  6589. + (badger setCycle: CT 12 1 self)
  6590. + )
  6591. + (3
  6592. + (guardTalker clientCel: -2 client: badger)
  6593. + (gKqMessager say: 0 0 15 0 self)
  6594. + )
  6595. + (4
  6596. + (badger setPri: 110 setCycle: End self)
  6597. + )
  6598. + (5
  6599. + (stork setCycle: End self)
  6600. + (hippo setCycle: End self)
  6601. + )
  6602. + (6 0)
  6603. + (7
  6604. + (stork dispose:)
  6605. + (hippo view: -12406 setLoop: 0 cel: 0 setCycle: End self)
  6606. + )
  6607. + (8
  6608. + (hippo dispose:)
  6609. + (badger setCycle: CT 15 -1 self)
  6610. + )
  6611. + (9
  6612. + (badger
  6613. + view: 5305
  6614. + setLoop: 3
  6615. + posn: 217 93
  6616. + cel: 0
  6617. + setPri: 82
  6618. + setCycle: End self
  6619. + )
  6620. + )
  6621. + (10
  6622. + (badger dispose:)
  6623. + (townHallDoor setCycle: Beg self)
  6624. + )
  6625. + (11
  6626. + (gKqSound1 number: 802 loop: 1 play:)
  6627. + (global1 handsOn:)
  6628. + (self dispose:)
  6629. + )
  6630. + )
  6631. + else
  6632. + (proc11_2 539)
  6633. + (gKqSound1 stop:)
  6634. + (badger dispose:)
  6635. + (hippo dispose:)
  6636. + (stork dispose:)
  6637. + (townHallDoor cel: 0)
  6638. + (UpdateScreenItem townHallDoor)
  6639. + (global1 handsOn:)
  6640. + (self dispose:)
  6641. + )
  6642. )
  6643. )
  6644.  
  6645. -(instance glintScript of Script
  6646. +(instance rosellaFirstEnter of Script
  6647. (properties)
  6648.  
  6649. - (method (init)
  6650. - (glint2 init: hide:)
  6651. - (glint3 init: hide:)
  6652. - (super init: &rest)
  6653. - )
  6654. -
  6655. (method (changeState newState)
  6656. (switch (= state newState)
  6657. (0
  6658. - (glint1 show: cel: 0 setCycle: End self)
  6659. + (global1 handsOff:)
  6660. + (Load rsSOUND 5307)
  6661. + (Load rsSOUND 5308)
  6662. + (Load rsCDAUDIO 5408)
  6663. + (townHallDoor cel: 4 setPri: 80)
  6664. + (archDukeSound number: 5307 loop: -1 play:)
  6665. + (archDuke
  6666. + view: 5341
  6667. + loop: 0
  6668. + cel: 0
  6669. + x: 229
  6670. + y: 105
  6671. + cycleSpeed: 10
  6672. + init:
  6673. + setCycle: Fwd
  6674. + )
  6675. + (self setScript: (ScriptID 5300 8) self)
  6676. )
  6677. (1
  6678. - (glint1 hide:)
  6679. - (glint2 show: cel: 0 setCycle: End self)
  6680. + (gKQEgo setMotion: PolyPath 170 111 self)
  6681. )
  6682. (2
  6683. - (glint2 hide:)
  6684. - (= state -1)
  6685. - (glint3 show: cel: 0 setCycle: End self)
  6686. + (archDukeSound number: 5308 loop: 1 play:)
  6687. + (archDuke cel: 0 setCycle: End self)
  6688. + )
  6689. + (3
  6690. + (archDuke loop: 1 cel: 0 x: 233 y: 105 setCycle: End self)
  6691. + )
  6692. + (4
  6693. + (archDuke loop: 2 cel: 0 x: 233 y: 105 setCycle: End self)
  6694. + )
  6695. + (5
  6696. + (archDukeSound fade: 0 50 20 1)
  6697. + (archTalker clientCel: -2 loop: 3)
  6698. + (gKqMessager sayRange: 0 0 35 1 3 self)
  6699. + )
  6700. + (6
  6701. + (archDukeSound number: 5307 loop: -1 play:)
  6702. + (archDuke
  6703. + view: 5341
  6704. + loop: 0
  6705. + cel: 0
  6706. + x: 229
  6707. + y: 105
  6708. + setCycle: Fwd
  6709. + )
  6710. + (= seconds 3)
  6711. + )
  6712. + (7
  6713. + (archDukeSound number: 5308 loop: 1 play: fade: 0 50 20 1)
  6714. + (archDuke
  6715. + view: 5342
  6716. + loop: 0
  6717. + cel: 0
  6718. + x: 233
  6719. + y: 103
  6720. + setCycle: End self
  6721. + )
  6722. + )
  6723. + (8
  6724. + (gKqSound1 number: 5408 loop: 1 play: self)
  6725. + (archDuke view: 5342 loop: 1 cel: 0 x: 233 y: 103)
  6726. + (UpdateScreenItem archDuke)
  6727. + (FrameOut)
  6728. + )
  6729. + (9
  6730. + (archTalker hide_mouth: 1 clientCel: -2)
  6731. + (gKqMessager say: 0 0 35 4 self)
  6732. + )
  6733. + (10
  6734. + (gKqMusic1 loop: -1 play: setVol: 0 fade: 127 25 10 0)
  6735. + (archDuke
  6736. + view: 5334
  6737. + setLoop: 3 1
  6738. + cel: 0
  6739. + x: 234
  6740. + y: 100
  6741. + setPri: 82
  6742. + setCycle: Walk
  6743. + setMotion: MoveTo 177 75 self
  6744. + )
  6745. + )
  6746. + (11
  6747. + (archDuke dispose:)
  6748. + (townHallDoor setCycle: Beg self)
  6749. + )
  6750. + (12
  6751. + (gKqSound1 number: 802 loop: 1 play:)
  6752. + (if (not (proc11_1 167))
  6753. + ((ScriptID 13 0) hide_mouth: 1)
  6754. + (gKqMessager say: 0 0 36 0 self)
  6755. + else
  6756. + (self cue:)
  6757. + )
  6758. + )
  6759. + (13
  6760. + ((ScriptID 13 0) hide_mouth: 0)
  6761. + (if (gKQEgo scratch?)
  6762. + (gKQEgo addRespondVerb: 51)
  6763. + else
  6764. + (gKQEgo setHotspot: 0 51)
  6765. + )
  6766. + (global1 handsOn:)
  6767. + (self dispose:)
  6768. )
  6769. )
  6770. )
  6771. )
  6772.  
  6773. -(instance archTalker of KQTalker
  6774. - (properties
  6775. - clientCel -1
  6776. - )
  6777. -
  6778. - (method (init)
  6779. - (= client archDuke)
  6780. - (super init: &rest)
  6781. - )
  6782. -)
  6783. -
  6784. -(instance bull of Prop
  6785. - (properties
  6786. - x 108
  6787. - y 78
  6788. - priority 92
  6789. - fixPriority 1
  6790. - view 5337
  6791. - loop 1
  6792. - )
  6793. -)
  6794. -
  6795. -(instance bullTalker of KQTalker
  6796. - (properties)
  6797. -
  6798. - (method (init)
  6799. - (= client bull)
  6800. - (super init: &rest)
  6801. - )
  6802. -)
  6803. -
  6804. -(instance fauxOwnerTalker of KQTalker
  6805. - (properties)
  6806. -
  6807. - (method (init)
  6808. - (= client fauxDoor)
  6809. - (= mouth_y (* (client z?) -1))
  6810. - (super init: &rest)
  6811. - )
  6812. -)
  6813. -
  6814. -(instance mockingBirdTalker of KQTalker
  6815. +(instance snakeChickenCartoon of Script
  6816. (properties)
  6817.  
  6818. (method (init)
  6819. - (= client mockingBird)
  6820. - (= loop 2)
  6821. - (= mouth_y (* (client z?) -1))
  6822. - (super init: &rest)
  6823. - )
  6824. -)
  6825. -
  6826. -(instance guardTalker of KQTalker
  6827. - (properties
  6828. - clientCel -1
  6829. - )
  6830. -
  6831. - (method (init)
  6832. - (if (not client) (= client badger))
  6833. + (proc11_2 539)
  6834. (super init: &rest)
  6835. )
  6836. -)
  6837. -
  6838. -(instance snakeTalker of KQTalker
  6839. - (properties)
  6840.  
  6841. - (method (init)
  6842. - (if (!= client gKQEgo) (= client snakeSalesman))
  6843. - (super init: &rest)
  6844. - )
  6845. -)
  6846. -
  6847. -(instance chickenTalker of KQTalker
  6848. - (properties
  6849. - hide_mouth 1
  6850. + (method (dispose)
  6851. + (proc11_2 539)
  6852. + (super dispose:)
  6853. )
  6854.  
  6855. - (method (init)
  6856. - (= client chickenPetite)
  6857. - (super init: &rest)
  6858. + (method (changeState newState)
  6859. + (if (not (proc11_0 539))
  6860. + (switch (= state newState)
  6861. + (0
  6862. + (global1 handsOff: 1)
  6863. + (Load rsVIEW 5323)
  6864. + (Load rsVIEW 5325)
  6865. + (chickenPetite
  6866. + view: 5323
  6867. + loop: 0
  6868. + cel: 0
  6869. + x: 520
  6870. + y: 108
  6871. + init:
  6872. + )
  6873. + (chickenTalker hide_mouth: 0 clientCel: -2 modeless: 2)
  6874. + (gKqMessager say: 0 0 21 1 self)
  6875. + )
  6876. + (1
  6877. + (snakeSalesman
  6878. + view: 5323
  6879. + loop: 1
  6880. + cel: 0
  6881. + posn: 529 92
  6882. + setCycle: End self
  6883. + )
  6884. + )
  6885. + (2
  6886. + (gKqMessager say: 0 0 21 2 self)
  6887. + )
  6888. + (3
  6889. + (snakeSalesman
  6890. + view: 5323
  6891. + loop: 2
  6892. + cel: 0
  6893. + posn: 534 95
  6894. + setCycle: End self
  6895. + )
  6896. + )
  6897. + (4
  6898. + (gKqMessager sayRange: 0 0 21 3 4 self)
  6899. + )
  6900. + (5
  6901. + (snakeSalesman
  6902. + view: 5323
  6903. + loop: 3
  6904. + cel: 0
  6905. + posn: 543 90
  6906. + setCycle: End self
  6907. + )
  6908. + )
  6909. + (6
  6910. + (gKqMessager say: 0 0 21 5 self)
  6911. + )
  6912. + (7
  6913. + (chickenPetite setCycle: End self)
  6914. + )
  6915. + (8
  6916. + (chickenPetite dispose:)
  6917. + (snakeSalesman
  6918. + view: 5325
  6919. + loop: 0
  6920. + cel: 4
  6921. + posn: 491 128
  6922. + setCycle: End self
  6923. + )
  6924. + )
  6925. + (9
  6926. + (snakeSalesman setScript: (ScriptID 5302 0))
  6927. + (gKQEgo setHeading: 180 self)
  6928. + )
  6929. + (10
  6930. + (global1 handsOn:)
  6931. + (self dispose:)
  6932. + )
  6933. + )
  6934. + else
  6935. + (chickenPetite dispose:)
  6936. + (if (not (snakeSalesman script?))
  6937. + (snakeSalesman setScript: (ScriptID 5302 0))
  6938. + )
  6939. + (gKQEgo normalize: 2)
  6940. + (global1 handsOn:)
  6941. + (self dispose:)
  6942. + )
  6943. )
  6944. )
  6945.  
  6946. -(instance chinaBirdTalker of KQTalker
  6947. +(instance getTheMoon of Script
  6948. (properties)
  6949.  
  6950. - (method (init)
  6951. - (= client chinaBird)
  6952. - (super init: &rest)
  6953. + (method (changeState newState)
  6954. + (switch (= state newState)
  6955. + (0
  6956. + (global1 handsOff:)
  6957. + (Load rsVIEW 5319)
  6958. + (guardTalker client: archDuke view: 5319 loop: 28)
  6959. + (global2 centerScreen: -318 self 10)
  6960. + )
  6961. + (1
  6962. + (moon setScript: 0 cel: 9 setCycle: End)
  6963. + (gKQEgo
  6964. + view: 5322
  6965. + loop: 0
  6966. + cel: 0
  6967. + x: 463
  6968. + y: 101
  6969. + setPri: 109
  6970. + setScale: 0
  6971. + setCycle: CT 9 1 self
  6972. + )
  6973. + )
  6974. + (2
  6975. + (gKqSound1 number: 836 loop: -1 play:)
  6976. + (gKQEgo cel: 10 setCycle: End self)
  6977. + )
  6978. + (3
  6979. + (gKQEgo view: 5322 loop: 1 cel: 0 setCycle: End self)
  6980. + )
  6981. + (4
  6982. + (gKQEgo view: 5322 loop: 2 cel: 0 setCycle: CT 5 1 self)
  6983. + )
  6984. + (5
  6985. + (gKqSound1 stop:)
  6986. + (gKQEgo setCycle: End self)
  6987. + )
  6988. + (6
  6989. + (gKQEgo view: 5318 loop: 3 cel: 0 setCycle: CT 3 1 self)
  6990. + )
  6991. + (7
  6992. + (gKqSound1 number: 836 loop: -1 play:)
  6993. + (gKQEgo cel: 4 setCycle: End self)
  6994. + )
  6995. + (8
  6996. + (self setScript: (ScriptID 5300 80))
  6997. + (gKQEgo view: 5324 loop: 0 cel: 0 setCycle: CT 4 1 self)
  6998. + )
  6999. + (9
  7000. + (gKqSound1 stop:)
  7001. + (gKQEgo setCycle: CT 15 1 self)
  7002. + )
  7003. + (10
  7004. + (gKQEgo setCycle: End crook)
  7005. + (= global378 1)
  7006. + (gKqMusic1 number: 5315 loop: 1 play:)
  7007. + (gateGuard
  7008. + view: 5328
  7009. + setLoop: 2 1
  7010. + cel: 0
  7011. + init:
  7012. + posn: 290 113
  7013. + setCycle: Walk
  7014. + setSpeed: 4
  7015. + setMotion: MoveTo 420 118 hippo
  7016. + )
  7017. + (archDuke
  7018. + view: 5320
  7019. + loop: 0
  7020. + cel: 0
  7021. + x: 469
  7022. + y: 136
  7023. + setPri: 90
  7024. + cycleSpeed: 6
  7025. + init:
  7026. + setScale: 0
  7027. + setCycle: CT 29 1 self
  7028. + )
  7029. + )
  7030. + (11
  7031. + (archDuke setPri: 100 setCycle: End self)
  7032. + )
  7033. + (12
  7034. + (gKQEgo dispose:)
  7035. + (archDuke view: 5319 loop: 7 cel: 0 setCycle: End self)
  7036. + )
  7037. + (13
  7038. + (if (gateGuard mover?) (-- state))
  7039. + (= cycles 3)
  7040. + )
  7041. + (14
  7042. + (gKqMessager sayRange: 0 0 18 1 2 self)
  7043. + )
  7044. + (15
  7045. + (guardTalker
  7046. + client: gateGuard
  7047. + view: -1
  7048. + loop: 1
  7049. + hide_mouth: 0
  7050. + )
  7051. + (gKqMessager sayRange: 0 0 18 3 4 self)
  7052. + )
  7053. + (16
  7054. + (= global378 1)
  7055. + (gKqMusic1 number: 5316 loop: 1 play: self)
  7056. + )
  7057. + (17
  7058. + (gKQEgo get: 48)
  7059. + (proc11_1 126)
  7060. + (global2 newRoom: 35)
  7061. + )
  7062. + )
  7063. )
  7064. )
  7065.  
  7066. -(instance roomFeatureInitCode of Code
  7067. +(instance crookFalls of Script
  7068. (properties)
  7069.  
  7070. - (method (doit param1)
  7071. - (if
  7072. - (and
  7073. - (not (param1 isKindOf: KQInventory))
  7074. - (param1 respondsTo: #signal)
  7075. + (method (changeState newState)
  7076. + (switch (= state newState)
  7077. + (0
  7078. + (crook
  7079. + view: 5318
  7080. + loop: 4
  7081. + cel: 0
  7082. + x: 425
  7083. + y: 93
  7084. + setPri: 140
  7085. + init:
  7086. + setCycle: End self
  7087. + )
  7088. )
  7089. - (param1
  7090. - sightAngle: 10
  7091. - signal: (| (param1 signal?) $7001)
  7092. + (1
  7093. + (gKQEgo put: 39)
  7094. + (crook dispose:)
  7095. + (self dispose:)
  7096. )
  7097. )
  7098. )
  7099. )
  7100.  
  7101. -(instance iSign of Inset
  7102. - (properties
  7103. - picture 5303
  7104. - priority 200
  7105. - )
  7106. -
  7107. - (method (init)
  7108. - (= x (Abs ((global2 plane?) left:)))
  7109. - (super init: &rest)
  7110. - (proc11_6)
  7111. - )
  7112. -)
  7113. -
  7114. -(instance tryToGetMoon of Script
  7115. +(instance talkToChickenAboutMoon of Script
  7116. (properties)
  7117.  
  7118. - (method (changeState newState)
  7119. + (method (changeState newState &tmp temp0)
  7120. (switch (= state newState)
  7121. (0
  7122. (global1 handsOff:)
  7123. - (gKQEgo view: 8075 setLoop: 1 1 cel: 0 setCycle: End self)
  7124. + (gKqMessager say: 4 8 17 1 self)
  7125. )
  7126. (1
  7127. - ((ScriptID 13 0) hide_mouth: 1)
  7128. - (gKqMessager say: 12 8 18 2 self 1100)
  7129. + (chickenPetite view: 5311 setLoop: 6 cel: 0 posn: 424 82)
  7130. + (UpdateScreenItem chickenPetite)
  7131. + (FrameOut)
  7132. + (chickenTalker hide_mouth: 0 modeless: 2)
  7133. + (= cycles 1)
  7134. + )
  7135. + (2
  7136. + (gKqMessager say: 4 8 17 2 self)
  7137. )
  7138. - (2 (gKQEgo setCycle: Beg self))
  7139. (3
  7140. - (gKQEgo view: 8295 setLoop: 1 1 cel: 0 setCycle: End self)
  7141. + (chickenTalker hide_mouth: 1 modeless: 2 loop: -1)
  7142. + (chickenPetite setCycle: CT 3 1 self)
  7143. )
  7144. (4
  7145. - ((ScriptID 13 0) hide_mouth: 1)
  7146. - (gKqMessager say: 1 8 3 0 self 1250)
  7147. + (chickenPetite setLoop: 2 1 cel: 4 setCycle: Beg self)
  7148. )
  7149. (5
  7150. - ((ScriptID 13 0) hide_mouth: 0)
  7151. - (gKQEgo setCycle: Beg self)
  7152. + (gKqMessager say: 4 8 17 3 self)
  7153. )
  7154. (6
  7155. - (gKQEgo normalize: 7)
  7156. + (gKqSound1 number: 5311 loop: 1 play:)
  7157. + (chickenPetite
  7158. + setCycle: ROsc -1 0 2
  7159. + moveSpeed: 8
  7160. + setMotion: MoveTo 452 64 self
  7161. + )
  7162. + )
  7163. + (7
  7164. + (chickenPetite setCycle: End self)
  7165. + )
  7166. + (8
  7167. + (gKQEgo hide:)
  7168. + (chickenPetite
  7169. + setLoop: 3
  7170. + cel: 0
  7171. + setPri: -1
  7172. + posn: 459 100
  7173. + setCycle: Fwd
  7174. + )
  7175. + (gKqMessager say: 4 8 17 4 self)
  7176. + )
  7177. + (9
  7178. + (chickenPetite setCycle: End self)
  7179. + )
  7180. + (10
  7181. + (chickenPetite
  7182. + setLoop: 4
  7183. + cel: 0
  7184. + posn: 451 93
  7185. + setCycle: End self
  7186. + )
  7187. + )
  7188. + (11
  7189. + (gKQEgo show:)
  7190. + (= temp0 (- (Abs (gNewPlane_2 left:)) 10))
  7191. + (chickenPetite
  7192. + setLoop: 0 1
  7193. + setCel: 0
  7194. + setCycle: Walk
  7195. + ignoreActors: 1
  7196. + setMotion: PolyPath temp0 (chickenPetite y?) self
  7197. + )
  7198. + (gKqMessager say: 4 8 17 5 self)
  7199. + )
  7200. + (12
  7201. + (gKQEgo
  7202. + normalize: 1
  7203. + posn: (chickenPetite approachX?) (chickenPetite approachY?)
  7204. + setHeading: 180 self
  7205. + )
  7206. + )
  7207. + (13 0)
  7208. + (14
  7209. + (proc5300_4)
  7210. (global1 handsOn:)
  7211. (self dispose:)
  7212. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement