Advertisement
Outhere

TutenKham

Sep 12th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 184.07 KB | None | 0 0
  1.  
  2. ' *********************************************
  3. '
  4. '**********************************************
  5. ' Very Basic DOFLinx added by Outhere
  6.  
  7. Option Explicit ' Force explicit variable declaration
  8.  
  9.  
  10. ' Define any Constants
  11. Const constMaxPlayers = 2 ' Maximum number of players per game (between 1 and 4)
  12. ' Set this to 0 if you don't want this feature
  13. Const constMaxMultiplier = 6 ' Defines the maximum bonus multiplier level
  14.  
  15. ' Define Global Variables
  16. '
  17. Dim PlayersPlayingGame ' number of players playing the current game
  18. Dim CurrentPlayer ' current player (1-4) playing the game
  19. Dim BonusPoints(4) ' Bonus Points for the current player
  20. Dim BonusMultiplier(4) ' Bonus Multiplier for the current player
  21. Dim BallsRemaining
  22. Dim bEnteringAHighScore ' player is entering their name into the high score table >>> JPR
  23. Dim theMultiplier
  24.  
  25.  
  26. Dim x
  27. for x= 1 to 36
  28. Execute "Dim tVal" &x
  29. Execute "Dim tAnimIn" &x
  30. Execute "Dim tAnimOut" &x
  31. Execute "Dim tAnimLoop" &x
  32. Execute "Dim tTxIn" &x
  33. Execute "Dim tTxOut" &x
  34. Execute "Dim IsCritterTile" &x
  35. Execute "tVal" &x&"=0"
  36. Execute "IsCritterTile"&x&"=false"
  37. next
  38.  
  39.  
  40.  
  41.  
  42. Kicker2.CreateCaptiveBall
  43. Sub Kicker1_hit()
  44. Kicker1. solenoidPulse
  45. end sub
  46.  
  47. Dim enableCollect,TimetoCollect
  48.  
  49. Sub TriggerOpto1_hit()
  50. enableCollect=false
  51. block.collidable=false
  52. blockTimer.Set true ,1000
  53. AddScore(10*theMultiplier)
  54. end sub
  55.  
  56. Sub collectIsOk_hit()
  57. enableCollect=true
  58. AddScore(10*theMultiplier)
  59. end sub
  60.  
  61. Sub TriggerCollect_hit()
  62. AddScore(50*theMultiplier)
  63. PlaySound "fx_wire", 0.3
  64. if enableCollect=true and TimetoCollect=true then
  65. ShowMessages(3)
  66. CollectProgressive()
  67. TimetoCollect=false
  68. end if
  69. end sub
  70.  
  71. Sub blockTimer_expired()
  72. blockTimer.Set false
  73. block.collidable=true
  74. End sub
  75.  
  76.  
  77. Sub ToggleCollect_expired()
  78. if TimetoCollect=false then
  79. TimetoCollect=true
  80. CollectProgLight.State=bulbBlink
  81. else
  82. TimetoCollect=false
  83. CollectProgLight.State=bulbOff
  84. end if
  85. ToggleCollect.Set true ,30000
  86. end sub
  87.  
  88.  
  89.  
  90.  
  91.  
  92. Sub CollectProgressive()
  93.  
  94. AddScore(nvR1)
  95. nvR1=0
  96. TimetoCollect=false
  97. CollectProgLight.State=bulbOff
  98. IncProgJackPot.Set true, 5000
  99. ToggleCollect.Set true ,60000
  100. stingerSFX()
  101. BigWipeLightEvent()
  102. end sub
  103.  
  104. Sub IncProgJackPot_expired()
  105. nvR1=nvR1+250
  106. IncProgJackPot.Set true, 1000
  107.  
  108. end sub
  109.  
  110. '****************************************
  111. ' CHAMBER PF
  112. '****************************************
  113.  
  114. Dim theLoot,EnoughChestKey
  115.  
  116. Sub chest1target_hit()
  117. PlaySound "fx_ballhitplung"
  118. winSFX()
  119. AddScore(10*theMultiplier)
  120. ChestLight1.FlashForMs 200, 100, BulbOff
  121. if EnoughChestKey>0 then
  122. BigWipeLightEvent()
  123. EnoughChestKey=EnoughChestKey-1
  124. ProcessKeyLight()
  125. chest1.Popdown
  126. PlaySound"chestOpen"
  127. ChestTimer.Set true ,2000
  128. AddScore(theLoot*xSpecial)
  129. else
  130. 'NotEnoughKey
  131. AddScore(50*theMultiplier)
  132. end if
  133. end sub
  134.  
  135. Sub chest2target_hit()
  136. winSFX()
  137. PlaySound "fx_ballhitplung"
  138. AddScore(10*theMultiplier)
  139. ChestLight2.FlashForMs 200, 100, BulbOff
  140. if EnoughChestKey>0 then
  141. BigWipeLightEvent()
  142. EnoughChestKey=EnoughChestKey-1
  143. ProcessKeyLight()
  144. chest2.Popdown
  145. PlaySound"chestOpen"
  146. ChestTimer.Set true ,2000
  147. AddScore(theLoot*xSpecial)
  148. else
  149. 'NotEnoughKey
  150. AddScore(50*theMultiplier)
  151. end if
  152. end sub
  153.  
  154. Sub chest3target_hit()
  155. winSFX()
  156. PlaySound "fx_ballhitplung"
  157. AddScore(10*theMultiplier)
  158. ChestLight3.FlashForMs 200, 100, BulbOff
  159. if EnoughChestKey>0 then
  160. BigWipeLightEvent()
  161. EnoughChestKey=EnoughChestKey-1
  162. ProcessKeyLight()
  163. chest3.Popdown
  164. PlaySound"chestOpen"
  165. ChestTimer.Set true ,2000
  166. AddScore(theLoot*xSpecial)
  167. else
  168. 'NotEnoughKey
  169. AddScore(50*theMultiplier)
  170. end if
  171. end sub
  172.  
  173. Sub chest4target_hit()
  174. winSFX()
  175. PlaySound "fx_ballhitplung"
  176. AddScore(10*theMultiplier)
  177. ChestLight4.FlashForMs 200, 100, BulbOff
  178. if EnoughChestKey>0 then
  179. BigWipeLightEvent()
  180. EnoughChestKey=EnoughChestKey-1
  181. ProcessKeyLight()
  182. chest4.Popdown
  183. PlaySound"chestOpen"
  184. ChestTimer.Set true ,2000
  185. AddScore(theLoot*xSpecial)
  186. else
  187. 'NotEnoughKey
  188. AddScore(50*theMultiplier)
  189. end if
  190. end sub
  191.  
  192. Sub ChestTimer_expired()
  193. ChestTimer.Set false
  194. chest1.SolenoidPulse
  195. chest2.SolenoidPulse
  196. chest3.SolenoidPulse
  197. chest4.SolenoidPulse
  198. PlaySound"chestClose"
  199. End sub
  200.  
  201. Sub giveAKey_hit()
  202. PlaySound "fx_wire", 0.4
  203. PlaySound "findkey"
  204. winSFX()
  205. if EnoughChestKey<9 then
  206. ShowMessages(15)
  207. BigWipeLightEvent()
  208. EnoughChestKey=EnoughChestKey+1
  209. EventLight(1000)
  210. ProcessKeyLight()
  211. AddScore(250*theMultiplier)
  212. end if
  213. end sub
  214.  
  215. Sub ProcessKeyLight()
  216. select case EnoughChestKey
  217. case 0 : keylit1.State=bulbOff : keylit2.State=bulbOff : keylit3.State=bulbOff : keylit4.State=bulbOff : keylit5.State=bulbOff : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  218. case 1 : keylit1.State=bulbOn : keylit2.State=bulbOff : keylit3.State=bulbOff : keylit4.State=bulbOff : keylit5.State=bulbOff : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  219. case 2 : keylit1.State=bulbOn : keylit2.State=bulbOn : keylit3.State=bulbOff : keylit4.State=bulbOff : keylit5.State=bulbOff : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  220. case 3 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOff : keylit5.State=bulbOff : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  221. case 4 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOn : keylit5.State=bulbOff : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  222. case 5 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOn : keylit5.State=bulbOn : keylit6.State=bulbOff : keylit7.State=bulbOff : keylit8.State=bulbOff
  223. case 6 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOn : keylit5.State=bulbOn : keylit6.State=bulbOn : keylit7.State=bulbOff : keylit8.State=bulbOff
  224. case 7 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOn : keylit5.State=bulbOn : keylit6.State=bulbOn : keylit7.State=bulbOn : keylit8.State=bulbOff
  225. case 8 : keylit1.State=bulbOn : keylit2.State=bulbOn: keylit3.State=bulbOn : keylit4.State=bulbOn : keylit5.State=bulbOn : keylit6.State=bulbOn : keylit7.State=bulbOn : keylit8.State=bulbOn
  226. end select
  227. end sub
  228.  
  229.  
  230.  
  231.  
  232.  
  233. '****************************************
  234.  
  235. '****************************************
  236. Dim SobekTarVal,HorusTarVal,AnubisTarVal,KhnumTarVal
  237.  
  238. Sub KillAllGods()
  239. SobekTimer.Set false
  240. KhnumTimer.Set false
  241. AnubisTimer.Set false
  242. HorusTimer.Set false
  243. ResetAllGodsLights()
  244. InitHorusDead()
  245. InitSobekDead()
  246. InitAnubisDead()
  247. InitKhnumDead()
  248. end sub
  249.  
  250. Sub SobekTarget1_hit()
  251. PlaySound "DropTarget"
  252. PlaySound "blood-hitting-window"
  253. SobekToplight.FlashForMs 200, 100, BulbOff
  254. SobekLight1.FlashForMs 200, 100, BulbOff
  255. SobekTarVal=SobekTarVal+1
  256. SobekIsHit()
  257. AddScore(200*theMultiplier)
  258. CheckSobek()
  259.  
  260. end sub
  261.  
  262. Sub CheckSobek()
  263. winSFX()
  264. OrbPosition(1)
  265. ElectrocuteSFX()
  266. if SobekTarVal=1 then
  267. ShowMessages(22)
  268. end if
  269. if SobekTarVal=2 then
  270. PlaySound "Blinky"
  271. EventLight(1000)
  272. SobekLight1.State=BulbBlink
  273. SobekLight2.State=BulbBlink
  274. SobekTarVal=0
  275. SobekTarTimer.Set true,1000
  276. if whichTile<8 then
  277. FlipATile()
  278. else
  279.  
  280. end if
  281. end if
  282. end sub
  283.  
  284. Dim CritterScore
  285. Sub CheckAnubis()
  286. winSFX()
  287. ShowMessages(24)
  288. AnubisFlasher.State=bulbOff
  289. CrittersLight.State=bulbOff
  290. AnubisTopLight.State=bulbOff
  291. OrbPosition(3)
  292. ElectrocuteSFX()
  293. AnubisLight1.FlashForMs 1000, 100, BulbOff
  294. AnubisLight2.FlashForMs 1000, 100, BulbOff
  295. if IsCritterTile1=true then
  296. t1.frame 163,182 : IsCritterTile1=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  297. end if
  298. if IsCritterTile2=true then
  299. t2.frame 163,182 : IsCritterTile2=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  300. end if
  301. if IsCritterTile3=true then
  302. t3.frame 163,182 : IsCritterTile3=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  303. end if
  304. if IsCritterTile4=true then
  305. t4.frame 163,182 : IsCritterTile4=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  306. end if
  307. if IsCritterTile5=true then
  308. t5.frame 163,182 : IsCritterTile5=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  309. end if
  310. if IsCritterTile6=true then
  311. t6.frame 163,182 : IsCritterTile6=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  312. end if
  313. if IsCritterTile7=true then
  314. t7.frame 163,182 : IsCritterTile7=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  315. end if
  316. if IsCritterTile8=true then
  317. t8.frame 163,182 : IsCritterTile8=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  318. end if
  319. if IsCritterTile9=true then
  320. t9.frame 163,182 : IsCritterTile9=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  321. end if
  322. if IsCritterTile10=true then
  323. t10.frame 163,182 : IsCritterTile10=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  324. end if
  325. if IsCritterTile11=true then
  326. t11.frame 163,182 : IsCritterTile11=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  327. end if
  328. if IsCritterTile12=true then
  329. t12.frame 163,182 : IsCritterTile12=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  330. end if
  331. if IsCritterTile13=true then
  332. t13.frame 163,182 : IsCritterTile13=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  333. end if
  334. if IsCritterTile14=true then
  335. t14.frame 163,182 : IsCritterTile14=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  336. end if
  337. if IsCritterTile15=true then
  338. t15.frame 163,182 : IsCritterTile15=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  339. end if
  340. if IsCritterTile16=true then
  341. t16.frame 163,182 : IsCritterTile16=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  342. end if
  343. if IsCritterTile17=true then
  344. t17.frame 163,182 : IsCritterTile17=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  345. end if
  346. if IsCritterTile18=true then
  347. t18.frame 163,182 : IsCritterTile18=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  348. end if
  349. if IsCritterTile19=true then
  350. t19.frame 163,182 : IsCritterTile19=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  351. end if
  352. if IsCritterTile20=true then
  353. t20.frame 163,182 : IsCritterTile20=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  354. end if
  355. if IsCritterTile21=true then
  356. t21.frame 163,182 : IsCritterTile21=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  357. end if
  358. if IsCritterTile22=true then
  359. t22.frame 163,182 : IsCritterTile22=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  360. end if
  361. if IsCritterTile23=true then
  362. t23.frame 163,182 : IsCritterTile23=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  363. end if
  364. if IsCritterTile24=true then
  365. t24.frame 163,182 : IsCritterTile24=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  366. end if
  367. if IsCritterTile25=true then
  368. t25.frame 163,182 : IsCritterTile25=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  369. end if
  370. if IsCritterTile26=true then
  371. t26.frame 163,182 : IsCritterTile26=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  372. end if
  373. if IsCritterTile27=true then
  374. t27.frame 163,182 : IsCritterTile27=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  375. end if
  376. if IsCritterTile28=true then
  377. t28.frame 163,182 : IsCritterTile28=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  378. end if
  379. if IsCritterTile29=true then
  380. t29.frame 163,182 : IsCritterTile29=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  381. end if
  382. if IsCritterTile30=true then
  383. t30.frame 163,182 : IsCritterTile30=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  384. end if
  385. if IsCritterTile31=true then
  386. t31.frame 163,182 : IsCritterTile31=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  387. end if
  388. if IsCritterTile32=true then
  389. t32.frame 163,182 : IsCritterTile32=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  390. end if
  391. if IsCritterTile33=true then
  392. t33.frame 163,182 : IsCritterTile33=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  393. end if
  394. if IsCritterTile34=true then
  395. t34.frame 163,182 : IsCritterTile34=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  396. end if
  397. if IsCritterTile35=true then
  398. t35.frame 163,182 : IsCritterTile35=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  399. end if
  400. if IsCritterTile36=true then
  401. t36.frame 163,182 : IsCritterTile36=false : CritterScore=CritterScore+2500 : checkHowManyTileLeft()
  402. end if
  403. if CritterScore>1 then
  404. BigWipeLightEvent()
  405. CritterScore=CritterScore*theMultiplier
  406. AddScore(CritterScore)
  407. ShowMessages(5)
  408. CritterScore=0
  409. end if
  410. end sub
  411.  
  412. Sub CheckHorus()
  413. winSFX()
  414. ElectrocuteSFX()
  415. OrbPosition(4)
  416. if HorusTarVal=1 then
  417. ShowMessages(25)
  418. end if
  419. if HorusTarVal=2 then
  420. PlaySound "Blinky"
  421. EventLight(1000)
  422. HorusTarVal=0
  423. HorusTarTimer.Set true,1000
  424. HorusLight1.State=BulbBlink
  425. HorusLight2.State=BulbBlink
  426. if whichTile<8 then
  427. FlipATile()
  428. else
  429.  
  430. end if
  431. end if
  432. end sub
  433.  
  434. Sub CheckKhnum()
  435. winSFX()
  436. ElectrocuteSFX()
  437. OrbPosition(2)
  438. if KhnumTarVal=1 then
  439. ShowMessages(23)
  440. end if
  441. if KhnumTarVal=2 then
  442. PlaySound "Blinky"
  443. EventLight(1000)
  444. KhnumTarVal=0
  445. KhnumTarTimer.Set true,1000
  446. KhnumLight1.State=BulbBlink
  447. KhnumLight2.State=BulbBlink
  448. if whichTile<8 then
  449. FlipATile()
  450. else
  451.  
  452. end if
  453. end if
  454. end sub
  455.  
  456.  
  457. Sub SobekTarget2_hit()
  458. PlaySound "DropTarget"
  459. PlaySound "blood-hitting-window"
  460. SobekToplight.FlashForMs 200, 100, BulbOff
  461. SobekLight2.FlashForMs 200, 100, BulbOff
  462. SobekTarVal=SobekTarVal+1
  463. SobekIsHit()
  464. AddScore(200*theMultiplier)
  465. CheckSobek()
  466. end sub
  467.  
  468.  
  469.  
  470. sub SobekTarTimer_expired()
  471. SobekTarget1.SolenoidPulse
  472. SobekTarget2.SolenoidPulse
  473. FF_Sound DV_ML,-1, "chestClose"
  474. SobekTarTimer.Set false
  475. SobekLight1.State=BulbOff
  476. SobekLight2.State=BulbOff
  477. end sub
  478.  
  479. Sub HorusTarget1_hit()
  480. PlaySound "DropTarget"
  481. PlaySound "blood-hitting-window"
  482. HorusTopLight.FlashForMs 200, 100, BulbOff
  483. HorusLight1.FlashForMs 200, 100, BulbOff
  484. HorusTarVal=HorusTarVal+1
  485. HorusIsHit()
  486. AddScore(200*theMultiplier)
  487. CheckHorus()
  488. end sub
  489.  
  490. Sub HorusTarget2_hit()
  491. PlaySound "DropTarget"
  492. PlaySound "blood-hitting-window"
  493. HorusTopLight.FlashForMs 200, 100, BulbOff
  494. HorusLight2.FlashForMs 200, 100, BulbOff
  495. HorusTarVal=HorusTarVal+1
  496. HorusIsHit()
  497. AddScore(200*theMultiplier)
  498. CheckHorus()
  499. end sub
  500.  
  501. sub HorusTarTimer_expired()
  502. HorusTarget1.SolenoidPulse
  503. HorusTarget2.SolenoidPulse
  504. FF_Sound DV_MR,-1, "chestClose"
  505. HorusTarTimer.Set false
  506. HorusLight1.State=BulbOff
  507. HorusLight2.State=BulbOff
  508. end sub
  509.  
  510. '****************************************
  511. Sub KhnumTarget1_hit()
  512. PlaySound "DropTarget"
  513. PlaySound "blood-hitting-window"
  514. KhnumToplight.FlashForMs 200, 100, BulbOff
  515. KhnumLight1.FlashForMs 200, 100, BulbOff
  516. KhnumTarVal=KhnumTarVal+1
  517. KhnumIsHit()
  518. AddScore(200*theMultiplier)
  519. CheckKhnum()
  520. end sub
  521.  
  522. Sub KhnumTarget2_hit()
  523. PlaySound "DropTarget"
  524. PlaySound "blood-hitting-window"
  525. KhnumToplight.FlashForMs 200, 100, BulbOff
  526. KhnumLight2.FlashForMs 200, 100, BulbOff
  527. KhnumTarVal=KhnumTarVal+1
  528. KhnumIsHit()
  529. AddScore(200*theMultiplier)
  530. CheckKhnum()
  531. end sub
  532.  
  533. sub KhnumTarTimer_expired()
  534. KhnumTarget1.SolenoidPulse
  535. KhnumTarget2.SolenoidPulse
  536. FF_Sound DV_ML,-1, "chestClose"
  537. KhnumTarTimer.Set false
  538. KhnumLight1.State=BulbOff
  539. KhnumLight2.State=BulbOff
  540. end sub
  541.  
  542. Sub AnubisTarget_hit()
  543. PlaySound "DropTarget"
  544. PlaySound "blood-hitting-window"
  545. AnubisTopLight.FlashForMs 200, 100, BulbOff
  546. AnubisLight1.FlashForMs 200, 100, BulbOff
  547. AnubisIsHit()
  548. AddScore(200*theMultiplier)
  549. CheckAnubis()
  550. end sub
  551.  
  552.  
  553. Sub rampSound_hit()
  554. PlaySound "ball drop double left"
  555. end sub
  556.  
  557.  
  558.  
  559. Sub DisengageScarabTargets()
  560. anubisblock.collidable=true
  561. SobekTarget1.PopDown
  562. SobekTarget2.PopDown
  563. HorusTarget1.PopDown
  564. HorusTarget2.PopDown
  565. KhnumTarget1.PopDown
  566. KhnumTarget2.PopDown
  567. SobekTarTimer.Set false
  568. HorusTarTimer.Set false
  569. KhnumTarTimer.Set false
  570. end sub
  571.  
  572. Sub EngageScarabTargets()
  573. anubisblock.collidable=false
  574. SobekTarget1.SolenoidPulse
  575. SobekTarget2.SolenoidPulse
  576. HorusTarget1.SolenoidPulse
  577. HorusTarget2.SolenoidPulse
  578. KhnumTarget1.SolenoidPulse
  579. KhnumTarget2.SolenoidPulse
  580. end sub
  581.  
  582. Sub SobekTrig1_hit()
  583. SobekToplight.FlashForMs 200, 100, BulbOff
  584. SobekKicker1.Solenoidpulse
  585. AddScore(10*theMultiplier)
  586. TrigSFX()
  587. end sub
  588.  
  589. Sub SobekTrig2_hit()
  590. SobekToplight.FlashForMs 200, 100, BulbOff
  591. SobekKicker2.Solenoidpulse
  592. AddScore(10*theMultiplier)
  593. TrigSFX()
  594. end sub
  595.  
  596. Sub HorusTrig1_hit()
  597. HorusTopLight.FlashForMs 200, 100, BulbOff
  598. HorusKicker1.Solenoidpulse
  599. AddScore(10*theMultiplier)
  600. TrigSFX()
  601. end sub
  602.  
  603. Sub HorusTrig2_hit()
  604. HorusTopLight.FlashForMs 200, 100, BulbOff
  605. HorusKicker2.Solenoidpulse
  606. AddScore(10*theMultiplier)
  607. TrigSFX()
  608. end sub
  609.  
  610. Sub KhnumTrig1_hit()
  611. KhnumToplight.FlashForMs 200, 100, BulbOff
  612. KhnumKicker1.Solenoidpulse
  613. AddScore(10*theMultiplier)
  614. TrigSFX()
  615. end sub
  616.  
  617. Sub KhnumTrig2_hit()
  618. KhnumKicker2.Solenoidpulse
  619. AddScore(10*theMultiplier)
  620. TrigSFX()
  621. end sub
  622.  
  623.  
  624. '-------------------------------------------------------------------------
  625. 'Basic Script For PowerBumpers
  626. '-------------------------------------------------------------------------
  627.  
  628. Sub PowerBump_Skirt1_hit()
  629. FF_Sound DV_BL,-1, "fx_Bumper"
  630. PowerBump_Kicker1.SolenoidPulse
  631. PowerBump_Kicker2.SolenoidPulse
  632. PowerBump_Kicker3.SolenoidPulse
  633. bumperSFX()
  634. bumper1TopLight.FlashForMs 200, 100, BulbOff
  635. PowerBump_Cap1.FlashForMs 200, 100, BulbOff
  636. nvR1=nvR1+500
  637. ShowMessages(17)
  638. end sub
  639.  
  640. Sub PowerBump_Skirt2_hit()
  641. FF_Sound DV_BR,-1, "fx_Bumper"
  642. PowerBump_Kicker5.SolenoidPulse
  643. PowerBump_Kicker6.SolenoidPulse
  644. PowerBump_Kicker7.SolenoidPulse
  645. PowerBump_Kicker8.SolenoidPulse
  646. bumperSFX()
  647. bumper2TopLight.FlashForMs 200, 100, BulbOff
  648. PowerBump_Cap2.FlashForMs 200, 100, BulbOff
  649. nvR1=nvR1+500
  650. ShowMessages(17)
  651. end sub
  652.  
  653. Sub PowerBump_Skirt3_hit()
  654. FF_Sound DV_BC,-1, "fx_Bumper"
  655. PowerBump_Kicker9.SolenoidPulse
  656. PowerBump_Kicker10.SolenoidPulse
  657. PowerBump_Kicker11.SolenoidPulse
  658. bumperSFX()
  659. KhnumToplight.FlashForMs 200, 100, BulbOff
  660. PowerBump_Cap3.FlashForMs 200, 100, BulbOff
  661. nvR1=nvR1+500
  662. ShowMessages(17)
  663. end sub
  664.  
  665. Sub Rubber12_hit()
  666. miniSlingTop.FlashForMs 200, 100, BulbOff
  667. nvR1=nvR1+150
  668. ShowMessages(17)
  669. bumperSFX()
  670. end sub
  671.  
  672. Sub Rubber14_hit()
  673. FF_Sound DV_BC,-1, "chestClose"
  674. snakeHissSFX()
  675. AddScore(100*theMultiplier)
  676. winSFX()
  677. end sub
  678.  
  679. Sub Rubber11_hit()
  680. FF_Sound DV_BR,-1, "chestClose"
  681. snakeHissSFX()
  682. AddScore(100*theMultiplier)
  683. winSFX()
  684. end sub
  685.  
  686. Sub Rubber20_hit()
  687. FF_Sound DV_BL,-1, "chestClose"
  688. snakeHissSFX()
  689. AddScore(100*theMultiplier)
  690. winSFX()
  691. end sub
  692. '-------------------------------------------------------------------------
  693. '-------------------------------------------------------------------------
  694.  
  695.  
  696. ' **************************************************
  697. ' **
  698. ' ** Future Pinball Defined Script Events
  699. ' **
  700. ' **************************************************
  701.  
  702.  
  703. Sub FuturePinball_BeginPlay()
  704. FF_Init
  705. FF_DOFLinx=1 ' Set this to 0 to manually disable the link to DOFLinx.
  706. ' DOFLinx must be active and set to link for this to make a difference
  707. ' seed the randomiser (rnd(1) function
  708.  
  709.  
  710. Dim x ' >>> JPR
  711. bEnteringAHighScore = False ' >>> JPR
  712. If nvR1 = 0 Then ' >>> JPR - on initialise au premier lancement les meilleurs scores
  713. nvR1 = 1 ' >>> JPR
  714. For x = 1 To 10: nvHighScore(x) = 0: nvHighScoreName(x) = "...": Next ' >>> JPR
  715. nvHighScore(1) = 125000: nvHighScore(2) = 110000 ' >>> JPR
  716. nvHighScoreName(1) = "XXX": nvHighScoreName(2) = "YYY" ' >>> JPR
  717. nvSpecialHighScore = 3: nvSpecialHighScoreName = "ZZZ" ' >>> JPR
  718. End If
  719. Randomize
  720. EndOfGame()
  721. End Sub
  722.  
  723.  
  724. Sub FuturePinball_EndPlay()
  725. End Sub
  726. Dim GameOn
  727.  
  728.  
  729. Sub FuturePinball_KeyPressed(ByVal KeyCode)
  730. If (KeyCode = GetKeyCode(InsertCoinKey)) and nvCredits<9 Then
  731. PlaySound "CoinIn"
  732. nvCredits = nvCredits + 1
  733. ShowMessages(12)
  734. End If
  735. If (KeyCode = GetKeyCode(PlungerKey)) Then
  736.  
  737. End If
  738. If (KeyCode = GetKeyCode(LeftFlipperKey)) and GameOn=true Then
  739. LeftFlipper.SolenoidOn
  740. LeftFlipper2.SolenoidOn
  741. FF_Sound DV_LF,1000,"Flipper" ' Turn on the left flipper for upto 10 seconds (realistically until thge key is lifted
  742. PlaySound "theFlipperUp" : 'testme
  743. leftFlipperOn=true
  744. LaneSafeLeft.State=BulbOn
  745. End If
  746. If (KeyCode = GetKeyCode(RightFlipperKey)) and GameOn=true Then
  747. RightFlipper.SolenoidOn
  748. RightFlipper2.SolenoidOn
  749. FF_Sound DV_RF,1000,"Flipper" ' Turn on the left flipper for upto 10 seconds (realistically until thge key is lifted
  750. PlaySound "theFlipperUp"
  751. rightFlipperOn=true
  752. LaneSafeRight.State=BulbOn
  753. End If
  754. If (KeyCode = GetKeyCode(StartGameKey)) and GameOn=false Then
  755. nvCredits = nvCredits - 1
  756. ResetForNewGame()
  757. GameOn=true
  758. End If
  759. End Sub
  760.  
  761. Sub FuturePinball_KeyReleased(ByVal KeyCode)
  762. If (KeyCode = GetKeyCode(PlungerKey)) and GameOn=true Then
  763. AutoPlunger.SolenoidPulse
  764. FF_Sound DV_RS,-1,"fx_SlingL"
  765. AutoPlungerT.Set false
  766. End If
  767. If (KeyCode = GetKeyCode(LeftFlipperKey)) Then
  768. LeftFlipper.SolenoidOff
  769. LeftFlipper2.SolenoidOff
  770. FF_Dev DV_LF,0 ' Turn the flipper solenoids off
  771. leftFlipperOn=false
  772. LaneSafeLeft.State=BulbOff
  773.  
  774. End If
  775. If (KeyCode = GetKeyCode(RightFlipperKey)) Then
  776. RightFlipper.SolenoidOff
  777. RightFlipper2.SolenoidOff
  778. FF_Dev DV_RF,0 ' Turn the flipper solenoids off
  779. rightFlipperOn=false
  780. LaneSafeRight.State=BulbOff
  781.  
  782. End If
  783. End Sub
  784.  
  785.  
  786. Sub FuturePinball_Paused()
  787. End Sub
  788. Sub FuturePinball_UnPaused()
  789. End Sub
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. Sub FuturePinball_MusicFinished(ByVal Channel)
  797. End Sub
  798.  
  799.  
  800. Sub FuturePinball_NameEntryComplete(ByVal Position, ByVal Special)
  801. If (Position <> 0) Then
  802. End If
  803. If (Special <> 0) Then
  804. End If
  805. bEnteringAHighScore = FALSE
  806. EndOfBallComplete()
  807. End Sub
  808.  
  809. Sub TriggerOpto2_hit()
  810. UpperPFTexture.Render=false
  811. RaiseTheBridge.Set true, 2000
  812. rampblocker.Collidable=false
  813. xSpecial=1
  814. BigWipeLightEvent()
  815. playsound"melody2"
  816. FlasherUPF.State=bulbOff
  817. FlasherUPF2.State=bulbOff
  818. MainMusic()
  819. BallOnLowerFloor=true
  820. ShowMessages(0)
  821. end sub
  822.  
  823. Sub Trigger1_hit()
  824. BallOnLowerFloor=true
  825. ShowMessages(0)
  826. UpperPFTexture.Render=false
  827. rampblocker.Collidable=false
  828. xSpecial=1
  829. FlasherUPF.State=bulbOff
  830. FlasherUPF2.State=bulbOff
  831. MainMusic()
  832. end sub
  833.  
  834. Sub Gate2_hit()
  835. BallOnLowerFloor=false
  836. ShowMessages(33)
  837. StressMusic()
  838. stingerSFX()
  839. UpperPFTexture.Render=true
  840. RaiseTheBridge.Set true, 2000
  841. AddScore(100*xSpecial)
  842. winSFX()
  843. PlaySound "fx_wire", 0.3
  844. BigWipeLightEvent()
  845. FlasherUPF.State=bulbBlink
  846. FlasherUPF2.State=bulbBlink
  847. end sub
  848.  
  849. Sub RaiseTheBridge_expired()
  850. PlaySound"bridgeUp"
  851. bridgeDownSoundPlayed=false
  852. IsGhostTrigOnLeft=false
  853. IsGhostTrigOnRight=false
  854. GhostRamp.Collidable=false
  855. RBExtension.PopDown
  856. RaiseTheBridge.Set false
  857. UpperLight1.State=BulbOff
  858. UpperLight2.State=BulbOff
  859. rampblocker.Collidable=true
  860. end sub
  861.  
  862. Dim IsGhostTrigOnLeft,IsGhostTrigOnRight,xSpecial,bridgeDownSoundPlayed
  863. bridgeDownSoundPlayed=false
  864.  
  865. Sub UpperTarget1_hit()
  866. PlaySound "TargetLeft"
  867. UpperLight1.State=BulbBlink
  868. IsGhostTrigOnLeft=true
  869. AddScore(1250*theMultiplier)
  870. winSFX()
  871. if IsGhostTrigOnLeft=true and IsGhostTrigOnRight=true then
  872. ShowMessages(35)
  873. GhostRamp.Collidable=true
  874. RBExtension.SolenoidPulse
  875. EnoughChestKey=8
  876. BigWipeLightEvent()
  877. ProcessKeyLight()
  878. if bridgeDownSoundPlayed=false then
  879. PlaySound"bridgeDown"
  880. bridgeDownSoundPlayed=true
  881. stingerSFX()
  882. end if
  883. rampblocker.Collidable=false
  884. xSpecial=100
  885. end if
  886. end sub
  887.  
  888. Sub UpperTarget2_hit()
  889. PlaySound "TargetRight"
  890. UpperLight2.State=BulbBlink
  891. IsGhostTrigOnRight=true
  892. AddScore(1250*theMultiplier)
  893. winSFX()
  894. if IsGhostTrigOnLeft=true and IsGhostTrigOnRight=true then
  895. ShowMessages(35)
  896. GhostRamp.Collidable=true
  897. RBExtension.SolenoidPulse
  898. EnoughChestKey=8
  899. BigWipeLightEvent()
  900. ProcessKeyLight()
  901. if bridgeDownSoundPlayed=false then
  902. PlaySound"bridgeDown"
  903. stingerSFX()
  904. bridgeDownSoundPlayed=true
  905. end if
  906. xSpecial=100
  907. end if
  908. end sub
  909.  
  910. Sub Bumper1_hit()
  911. FF_Sound DV_BR,-1, "fx_Bumper"
  912. LightBumperUPF.FlashForMs 240, 80, BulbOff
  913. if xSpecial=1 then
  914. AddScore(100*theMultiplier)
  915. else
  916. AddScore(100*xSpecial)
  917. end if
  918. BumperSFX()
  919. winSFX()
  920. end sub
  921.  
  922.  
  923. ' *********************************************************************
  924. ' ** **
  925. ' ** User Defined Script Events **
  926. ' ** **
  927. ' *********************************************************************
  928.  
  929. Sub ResetForNewGame()
  930. xSpecial=1
  931. voTimer.Set true,3000
  932. PlayfieldFlashing(2000)
  933. DelayDestroyTile=30000
  934. resetAllGodsOverlay()
  935. CritterScore=0
  936. resetAllCritters()
  937. IncProgJackPot.Set true, 1000
  938. TimetoCollect=false
  939. ToggleCollect.Set true,60000
  940. BFDAvail=5
  941. ProcessLightBackFromDead()
  942. ResetGODS()
  943. processGODS.Set false
  944. UpperPFTexture.Render=false
  945. RaiseTheBridge.Set true, 2000
  946. EnoughChestKey=0
  947. ProcessKeyLight()
  948. theLevel=1
  949. backDrop.Frame 1
  950. theLoot=1000*theLevel
  951. MainMusic()
  952. ResetAllTile()
  953. EngageScarabTargets()
  954. InitTiles()
  955. InitSobekLiving()
  956. InitHorusLiving()
  957. InitAnubisLiving()
  958. InitKhnumLiving()
  959. BumperSection.Collidable=false
  960. BumperSection.Render=false
  961. nvscore1=0
  962. theMultiplier=1
  963. LightX1.State=BulbOn
  964. AttractModeLight.StopPlay
  965. BigWipeLightEvent()
  966. BeginGame()
  967. BallsRemaining = 3
  968. CreateNewBall()
  969. ShowMessages(0)
  970. ShootAgainLight.FlashForMs 3000, 200, BulbOff
  971. UndeadTimer.Set true, 10000
  972. PlaySound"welcome"
  973. End Sub
  974.  
  975.  
  976. Sub EndOfGame()
  977. BallOnLowerFloor=true
  978. voTimer.Set false
  979. AlternatePlayfieldA.Render=true
  980. UndeadTimer.Set false
  981. Key.ty= -50
  982. ChasetheKey.Set false
  983. KeyTrigger1.Collidable=false
  984. resetAllGodsOverlay()
  985. ChaseKeyInc=0
  986. StopAllGodsOverlay()
  987. IncProgJackPot.Set false
  988. CollectProgLight.State=bulbOff
  989. ToggleCollect.Set false
  990. UpperPFTexture.Render=false
  991. orb.Ty=-200
  992. Runestone=0
  993. Key.ty=-30
  994. RestartNewLevel.Set false
  995. ChasetheKey.Set false
  996. ShakeTheKey.Set false
  997. KeyTrigger1.Collidable=false
  998. KeyTrigger2.Collidable=false
  999. KeyTrigger3.Collidable=false
  1000. KeyTrigger4.Collidable=false
  1001. DisengageScarabTargets()
  1002. BumperSection.Collidable=false
  1003. BumperSection.Render=false
  1004. KillAllGods()
  1005. initMusic()
  1006. AttractMusic()
  1007. EffectMusic 4, PlayAndFadeIn, 0.5, 1000 : 'Ambient
  1008. ResetAllTile()
  1009. BumperSection.Collidable=false
  1010. BallsRemaining = 0
  1011. GameOn=false
  1012. theMultiplier=1
  1013. LightX1.State=BulbOn
  1014. AttractModeLight.Play SeqRandom, 10, , 999900
  1015. EndGame()
  1016. LeftFlipper.SolenoidOff
  1017. LeftFlipper2.SolenoidOff
  1018. RightFlipper.SolenoidOff
  1019. RightFlipper2.SolenoidOff
  1020. FF_Dev DV_LF,0 ' Turn the flipper solenoids off
  1021. FF_Dev DV_RF,0 ' Turn the flipper solenoids off
  1022. LaneSafeRight.State=BulbOff
  1023. LaneSafeLeft.State=BulbOff
  1024. PlaySound"gameOver"
  1025. ShowMessages(26)
  1026. introplayer.Set true,80
  1027. End Sub
  1028.  
  1029.  
  1030. ' *********************************************************************
  1031. ' ** **
  1032. ' ** Drain / Plunger Functions **
  1033. ' ** **
  1034. ' *********************************************************************
  1035.  
  1036.  
  1037. Sub myDrain_Hit()
  1038. AddScore(25*theMultiplier)
  1039. if BFDAvail>0 and leftFlipperOn=true and rightFlipperOn=true then
  1040. BFDAvail=BFDAvail-1
  1041. ProcessLightBackFromDead()
  1042. myDrain.SolenoidPulse
  1043. BigWipeLightSeq.Play SeqUpOn, 10
  1044. KickerSFX()
  1045. PlaySound "propulsion"
  1046. ShowMessages(11)
  1047. else
  1048. ShowMessages(2)
  1049. PlaySound"hitwallplasticright"
  1050. ShortLightEvent()
  1051. myDrain.DestroyBall
  1052. EventLight(2000)
  1053. if BallsRemaining>0 then
  1054. myDrainT.Set true ,3000
  1055. else
  1056. LeftFlipper.SolenoidOff
  1057. LeftFlipper2.SolenoidOff
  1058. RightFlipper.SolenoidOff
  1059. RightFlipper2.SolenoidOff
  1060. FF_Dev DV_LF,0 ' Turn the flipper solenoids off
  1061. FF_Dev DV_RF,0 ' Turn the flipper solenoids off
  1062. LaneSafeRight.State=BulbOff
  1063. LaneSafeLeft.State=BulbOff
  1064. nvSpecialScore1 = theMultiplier ' >>> JPR
  1065. nvScore1 = nvScore1 ' >>> JPR
  1066. bEnteringAHighScore = True ' >>> JPR
  1067. EnterHighScore(1) ' >>> JPR
  1068. EndOfGame
  1069. end if
  1070. end if
  1071. End Sub
  1072.  
  1073. ' >>> JPR - routine en plus
  1074. Sub FuturePinball_NameEntryComplete(ByVal Position, ByVal Special) ' High Score entry has been completed by the player
  1075. bEnteringAHighScore = False
  1076. End Sub
  1077.  
  1078. Sub Trigger2_hit()
  1079. PlaySound "plungerrelease2"
  1080. BigWipeLightEvent()
  1081. ShowMessages(4)
  1082. end sub
  1083.  
  1084. Sub AutoPlungerT_expired()
  1085. AutoPlungerT.Set false
  1086. AutoPlunger.SolenoidPulse
  1087. FF_Sound DV_RS,-1,"fx_SlingL"
  1088. end sub
  1089.  
  1090. Sub CreateNewBall()
  1091. BallsRemaining = BallsRemaining - 1
  1092. PlungerKicker.CreateBall
  1093. ShowMessages(26+RandomNumber(6))
  1094. PlungerKicker.SolenoidPulse
  1095. FF_Sound DV_RF,-1,"fx_SlingL" '
  1096. AutoPlungerT.Set true ,5000
  1097. PlaySound"ballrelease",0.1
  1098. end sub
  1099.  
  1100.  
  1101. Sub myDrainT_expired()
  1102. CreateNewBall()
  1103. myDrainT.Set false
  1104. ShortLightEvent()
  1105. end sub
  1106.  
  1107.  
  1108.  
  1109. ' *********************************************************************
  1110. ' ** **
  1111. ' ** Supporting Score Functions **
  1112. ' ** **
  1113. ' *********************************************************************
  1114. Dim ChaseInc
  1115.  
  1116. Sub xTrigger_hit()
  1117. ShowMessages(14)
  1118. XTopLight.FlashForMs 400, 100, BulbOff
  1119. RhaLight.state=bulbBlink
  1120. ChaseAMultiplier.Set true,50
  1121. BigWipeLightEvent()
  1122. end sub
  1123.  
  1124. Sub ChaseAMultiplier_expired
  1125. resetXLight()
  1126. Execute "LightX" &RandomNumber(6)& ".state=BulbOn"
  1127. if ChaseInc<25 then
  1128. PlaySound "tic"
  1129. ChaseInc=ChaseInc+1
  1130. ChaseAMultiplier.Set true,100
  1131. else
  1132. ChaseInc=0
  1133. ChaseAMultiplier.Set false
  1134. PickAMultiplier()
  1135. end if
  1136. end sub
  1137.  
  1138. Dim whichMultiplier
  1139. whichMultiplier=Array(1,2,3,4,5,6,8,10,12,15,18,20,24,30)
  1140.  
  1141. Sub PickAMultiplier()
  1142. resetXLight()
  1143. BigWipeLightEvent()
  1144. theMultiplier=whichMultiplier(RandomNumber(14)-1)
  1145. PlaySound "xplier"
  1146. RhaLight.state=bulbOff
  1147. Select case theMultiplier
  1148. case 1 : LightX1.State=BulbOn : '1
  1149. case 2 : LightX1.State=BulbOn : LightX2.State=BulbOn : '2
  1150. case 3 : LightX1.State=BulbOn : LightX3.State=BulbOn: '3
  1151. case 4 : LightX1.State=BulbOn : LightX4.State=BulbOn: '4
  1152. case 5 : LightX1.State=BulbOn : LightX5.State=BulbOn: '5
  1153. case 6 : LightX1.State=BulbOn : LightX6.State=BulbOn: '6
  1154. case 8 : LightX2.State=BulbOn : LightX4.State=BulbOn: '8
  1155. case 10 : LightX2.State=BulbOn : LightX5.State=BulbOn: '10
  1156. case 12 : LightX2.State=BulbOn : LightX6.State=BulbOn: '12
  1157. case 15 : LightX3.State=BulbOn : LightX5.State=BulbOn: '15
  1158. case 18 : LightX3.State=BulbOn : LightX6.State=BulbOn: '18
  1159. case 20 : LightX4.State=BulbOn : LightX5.State=BulbOn: '20
  1160. case 24 : LightX4.State=BulbOn : LightX6.State=BulbOn: '24
  1161. case 30 : LightX5.State=BulbOn : LightX6.State=BulbOn: '30
  1162. end select
  1163. if BallOnLowerFloor=true then
  1164. ShowMessages(0)
  1165. else
  1166. ShowMessages(33)
  1167. end if
  1168. End sub
  1169.  
  1170.  
  1171. sub resetXLight()
  1172. Dim x
  1173. for x= 1 to 6
  1174. Execute "LightX" &x& ".state=BulbOff"
  1175. next
  1176. end sub
  1177.  
  1178.  
  1179. Dim MsngrBusy
  1180. '********************************************
  1181. 'FORMAT THE SCORE
  1182. '********************************************
  1183. Function FormatScore(num)
  1184. Dim n, f, s
  1185. n = CStr(num)
  1186. f = ""
  1187.  
  1188. do while len(n)>3
  1189. if len(f)>0 then
  1190. f = Right(n, 3) & "," & f
  1191. else
  1192. f = Right(n, 3)
  1193. end if
  1194. n = Left(n, Len(n)-3)
  1195. loop
  1196. if len(n)>0 then
  1197. if len(f) > 0 then
  1198. f = n & "," & f
  1199. else
  1200. f = n
  1201. end if
  1202. end if
  1203. FormatScore = f
  1204. End Function
  1205.  
  1206. '*********************************************
  1207. '*********************************************
  1208. ' **
  1209. ' ** Future Pinball DMD
  1210. ' **
  1211. ' ********************************************
  1212. '*********************************************
  1213.  
  1214. ExecuteGlobal LoadExternalScript("DOFLinx.vbs")
  1215.  
  1216. myDMD.AddFont 1, "score12x20"
  1217. myDMD.AddFont 2, "dmd06x07p"
  1218. myDMD.AddFont 3, "dmd05x05p"
  1219. myDMD.AddFont 4, "dmdreverse08x11p"
  1220. myDMD.AddFont 5, "verySmallfont"
  1221. myDMD.AddFont 6, "IntroDMD"
  1222. myDMD.AddFont 7, "DiversDMDElements"
  1223. myDMD.AddFont 8, "DiversA"
  1224. myDMD.AddFont 10, "DiversB"
  1225. myDMD.AddFont 11, "DiversC"
  1226. myDMD.AddFont 9, "dmd08x09p"
  1227. myDMD.AddFont 12, "dmd09x11po"
  1228.  
  1229. Dim AnimStartPoint,AnimEndPoint,AnimLoopPoint,AnimBGFont,AnimData
  1230.  
  1231. Sub introplayer_expired()
  1232. if AnimStartPoint<AnimEndPoint then
  1233. AnimStartPoint=AnimStartPoint+1
  1234. if AnimStartPoint=91 then
  1235. AnimStartPoint=92
  1236. end if
  1237. myDMD.text= AnimBGFont&"[edge4][x0][y0]"&Chr(AnimStartPoint)&AnimData&"[edge4]"
  1238. else
  1239. AnimStartPoint=AnimLoopPoint
  1240. end if
  1241. introplayer.Set true, 80
  1242. AddDebugText AnimStartPoint
  1243. end sub
  1244.  
  1245. Sub AddScore(points)
  1246. nvScore1 = nvScore1 + points
  1247. if MsngrBusy=false then
  1248. if BallOnLowerFloor=true then
  1249. ShowMessages(0)
  1250. else
  1251. ShowMessages(33)
  1252. end if
  1253. end if
  1254. End Sub
  1255.  
  1256. Dim whichMessage,BallOnLowerFloor
  1257.  
  1258. Sub MsngrTimer_expired()
  1259. MsngrBusy=false
  1260. MsngrTimer.Set false
  1261. if GameOn=false then
  1262. ShowMessages(1)
  1263. else
  1264. if BallOnLowerFloor=true then
  1265. ShowMessages(0)
  1266. else
  1267. ShowMessages(33)
  1268. end if
  1269. end if
  1270. end sub
  1271.  
  1272.  
  1273.  
  1274. Sub ShowMessages(whichMessage)
  1275. Select Case whichMessage : 'steve
  1276. case 0
  1277. AnimBGFont="[f6]"
  1278. AnimStartPoint=32
  1279. AnimEndPoint=32
  1280. AnimLoopPoint=32
  1281. AnimData="[f5][x2][y26][edge4]PROG JACKPOT[f3][x50][y26]"&FormatScore(nvr1)&"[f1][xc][y2]"&FormatScore(nvScore1)&"[f9][x100][y10] x"&theMultiplier&" "&"[f5][x96][y26] BALLS [f3][x121][y26]"&BallsRemaining
  1282. case 1 :
  1283. MsngrBusy=false
  1284. MsngrTimer.Set false
  1285. AnimStartPoint=31
  1286. AnimEndPoint=125
  1287. AnimLoopPoint=31
  1288. AnimBGFont="[f6]"
  1289. AnimData="[f1][xc][yc][edge4]" : 'INTRO
  1290. case 2
  1291. MsngrBusy=false
  1292. MsngrTimer.Set false
  1293. AnimBGFont="[f6]"
  1294. AnimStartPoint=32
  1295. AnimEndPoint=32
  1296. AnimLoopPoint=32
  1297. AnimData="[f4][xc][y1][edge4].....DOWN THE DRAIN....."
  1298. case 3
  1299. MsngrBusy=true
  1300. MsngrTimer.Set true,3000
  1301. AnimBGFont="[f10]"
  1302. AnimStartPoint=72
  1303. AnimEndPoint=124
  1304. AnimLoopPoint=72
  1305. AnimData="[f3][xc][y2][edge4]JACKPOT COLLECTED[f1][xc][y10][b]"&FormatScore(nvr1)
  1306. case 4
  1307. MsngrBusy=true
  1308. MsngrTimer.Set true,3000
  1309. AnimBGFont="[f6]"
  1310. AnimStartPoint=32
  1311. AnimEndPoint=32
  1312. AnimLoopPoint=32
  1313. AnimData="[f4][xc][y1][edge4]..PROGRESSIVE JACKPOT..[f1][xc][y11]"&FormatScore(nvr1)
  1314. case 5
  1315. MsngrBusy=true
  1316. MsngrTimer.Set true,3000
  1317. AnimBGFont="[f6]"
  1318. AnimStartPoint=32
  1319. AnimEndPoint=32
  1320. AnimLoopPoint=32
  1321. AnimData="[f4][xc][y1][edge4].....DEFEATED CRITTERS.....[f1][xc][y11]"&FormatScore(CritterScore)
  1322. case 6
  1323. MsngrBusy=true
  1324. MsngrTimer.Set true,2000
  1325. AnimBGFont="[f8]"
  1326. AnimStartPoint=32
  1327. AnimEndPoint=34
  1328. AnimLoopPoint=32
  1329. AnimData="[edge4]" : 'collect G
  1330. case 7
  1331. MsngrBusy=true
  1332. MsngrTimer.Set true,2000
  1333. AnimBGFont="[f8]"
  1334. AnimStartPoint=34
  1335. AnimEndPoint=36
  1336. AnimLoopPoint=34
  1337. AnimData="[edge4]" : 'collect O
  1338. case 8
  1339. MsngrBusy=true
  1340. MsngrTimer.Set true,2000
  1341. AnimBGFont="[f8]"
  1342. AnimStartPoint=36
  1343. AnimEndPoint=38
  1344. AnimLoopPoint=36
  1345. AnimData="[edge4]" : 'collect D
  1346. case 9
  1347. MsngrBusy=true
  1348. MsngrTimer.Set true,2000
  1349. AnimBGFont="[f8]"
  1350. AnimStartPoint=37
  1351. AnimEndPoint=39
  1352. AnimLoopPoint=37
  1353. AnimData="[edge4]" : 'collect S
  1354. case 10
  1355. MsngrBusy=true
  1356. MsngrTimer.Set true,3000
  1357. AnimBGFont="[f8]"
  1358. AnimStartPoint=39
  1359. AnimEndPoint=41
  1360. AnimLoopPoint=39
  1361. AnimData="[edge4]" : 'collect GODS
  1362. case 11
  1363. MsngrBusy=true
  1364. MsngrTimer.Set true,1000
  1365. AnimBGFont="[f8]"
  1366. AnimStartPoint=42
  1367. AnimEndPoint=51
  1368. AnimLoopPoint=42
  1369. AnimData="[edge4]" : ' BACK FROM THE DEAD
  1370. case 12
  1371. MsngrBusy=true
  1372. MsngrTimer.Set true,3000
  1373. AnimBGFont="[f6]"
  1374. AnimStartPoint=32
  1375. AnimEndPoint=32
  1376. AnimLoopPoint=32
  1377. AnimData="[f1][xc][yc][edge4]CREDITS " & nvCredits
  1378. case 14
  1379. MsngrBusy=true
  1380. MsngrTimer.Set true,2500
  1381. AnimBGFont="[f8]"
  1382. AnimStartPoint=52
  1383. AnimEndPoint=61
  1384. AnimLoopPoint=52
  1385. AnimData="[edge4]" : ' Multiplier shuffle
  1386. case 15
  1387. MsngrBusy=true
  1388. MsngrTimer.Set true,2000
  1389. AnimBGFont="[f8]"
  1390. AnimStartPoint=62
  1391. AnimEndPoint=71
  1392. AnimLoopPoint=62
  1393. AnimData="[edge4]" : ' KEY COLLECTED
  1394. case 16
  1395. MsngrBusy=true
  1396. MsngrTimer.Set true,2000
  1397. AnimBGFont="[f8]"
  1398. AnimStartPoint=72
  1399. AnimEndPoint=81
  1400. AnimLoopPoint=72
  1401. AnimData="[edge4][f1][xc][yc]"&whichTile+1&" ARTIFACTS" : ' COLLECT ARTIFACT
  1402. case 17
  1403. MsngrBusy=true
  1404. MsngrTimer.Set true,1000
  1405. AnimBGFont="[f8]"
  1406. AnimStartPoint=82
  1407. AnimEndPoint=106
  1408. AnimLoopPoint=82
  1409. AnimData="[edge4][f9][xc][y16]"&FormatScore(nvr1)&"[f3][xc][y8]PROG. JACKPOT": ' ELECTRIFY
  1410. case 18
  1411. MsngrBusy=true
  1412. MsngrTimer.Set true,3000
  1413. AnimBGFont="[f8]"
  1414. AnimStartPoint=107
  1415. AnimEndPoint=125
  1416. AnimLoopPoint=107
  1417. AnimData="[edge4][f1][xc][y11]"&FormatScore(ValueToShow)&"[edge4][f3][xc][y3][b]ARTIFACT COLLECTED" : ' FLAME
  1418. case 19
  1419. MsngrBusy=true
  1420. MsngrTimer.Set true,5000
  1421. AnimBGFont="[f10]"
  1422. AnimStartPoint=72
  1423. AnimEndPoint=124
  1424. AnimLoopPoint=72
  1425. AnimData="[edge4][f1][xc][y11]"&FormatScore(10000*theMultiplier)&"[edge4][f3][xc][y3]ADVANCE LEVEL BONUS" : ' FLAME
  1426. case 20
  1427. MsngrBusy=true
  1428. MsngrTimer.Set true,3000
  1429. AnimBGFont="[f8]"
  1430. AnimStartPoint=107
  1431. AnimEndPoint=125
  1432. AnimLoopPoint=107
  1433. AnimData="[edge4][f1][xc][y11]"&FormatScore(250*theMultiplier)&"[edge4][f3][xc][y3]BONUS BACK FROM DEAD" : ' FLAME
  1434. case 21
  1435. MsngrBusy=true
  1436. MsngrTimer.Set true,1000
  1437. AnimBGFont="[f8]"
  1438. AnimStartPoint=82
  1439. AnimEndPoint=106
  1440. AnimLoopPoint=82
  1441. AnimData="[edge4][f9][xc][y16]"&FormatScore(2000*theMultiplier)&"[edge4][f3][xc][y8]MUMMY HIT" : ' ELECTRIFY
  1442. case 22
  1443. MsngrBusy=true
  1444. MsngrTimer.Set true,3000
  1445. AnimBGFont="[f8]"
  1446. AnimStartPoint=82
  1447. AnimEndPoint=106
  1448. AnimLoopPoint=82
  1449. AnimData="[edge4][f9][xc][y16]"&FormatScore(200*theMultiplier)&"[edge4][f3][xc][y8]SOBEK IS HIT" : ' ELECTRIFY
  1450. case 23
  1451. MsngrBusy=true
  1452. MsngrTimer.Set true,3000
  1453. AnimBGFont="[f8]"
  1454. AnimStartPoint=82
  1455. AnimEndPoint=106
  1456. AnimLoopPoint=82
  1457. AnimData="[edge4][f9][xc][y16]"&FormatScore(200*theMultiplier)&"[edge4][f3][xc][y8]KHNUM IS HIT" : ' ELECTRIFY
  1458. case 24
  1459. MsngrBusy=true
  1460. MsngrTimer.Set true,3000
  1461. AnimBGFont="[f8]"
  1462. AnimStartPoint=82
  1463. AnimEndPoint=106
  1464. AnimLoopPoint=82
  1465. AnimData="[edge4][f9][xc][y16]"&FormatScore(200*theMultiplier)&"[edge4][f3][xc][y8]ANUBIS IS HIT" : ' ELECTRIFY
  1466. case 25
  1467. MsngrBusy=true
  1468. MsngrTimer.Set true,3000
  1469. AnimBGFont="[f8]"
  1470. AnimStartPoint=82
  1471. AnimEndPoint=106
  1472. AnimLoopPoint=82
  1473. AnimData="[edge4][f9][xc][y16]"&FormatScore(200*theMultiplier)&"[edge4][f3][xc][y8]HORUS IS HIT" : ' ELECTRIFY
  1474. case 26
  1475. MsngrBusy=true
  1476. MsngrTimer.Set true,3100
  1477. AnimBGFont="[f11]"
  1478. AnimStartPoint=32
  1479. AnimEndPoint=71
  1480. AnimLoopPoint=32
  1481. AnimData="[f1][xc][yc][edge4]" : ' GAMEOVER
  1482. case 28
  1483. MsngrBusy=false
  1484. MsngrTimer.Set false
  1485. AnimBGFont="[f11]"
  1486. AnimStartPoint=92
  1487. AnimEndPoint=125
  1488. AnimLoopPoint=92
  1489. AnimData="[f3][x41][y16][edge4]Leave no"&"[f3][x41][y22]stone unturned" : ' TUTENTIPS 1
  1490. case 29
  1491. MsngrBusy=false
  1492. MsngrTimer.Set false
  1493. AnimBGFont="[f11]"
  1494. AnimStartPoint=92
  1495. AnimEndPoint=125
  1496. AnimLoopPoint=92
  1497. AnimData="[f3][x41][y16][edge4]Lower bridge for"&"[f3][x41][y22]Super Multiplier" : ' TUTENTIPS 2
  1498. case 30
  1499. MsngrBusy=false
  1500. MsngrTimer.Set false
  1501. AnimBGFont="[f11]"
  1502. AnimStartPoint=92
  1503. AnimEndPoint=125
  1504. AnimLoopPoint=92
  1505. AnimData="[f3][x41][y16][edge4]HIT ANUBIS TO"&"[f3][x41][y22]DESTROY CRITTERS" : ' TUTENTIPS 3
  1506. case 31
  1507. MsngrBusy=false
  1508. MsngrTimer.Set false
  1509. AnimBGFont="[f11]"
  1510. AnimStartPoint=92
  1511. AnimEndPoint=125
  1512. AnimLoopPoint=92
  1513. AnimData="[f3][x41][y16][edge4]COLLECT KEYS TO"&"[f3][x41][y22]OPEN CHESTS" : ' TUTENTIPS 4
  1514. case 32
  1515. MsngrBusy=false
  1516. MsngrTimer.Set false
  1517. AnimBGFont="[f11]"
  1518. AnimStartPoint=92
  1519. AnimEndPoint=125
  1520. AnimLoopPoint=92
  1521. AnimData="[f3][x41][y16][edge4]hold flippers"&"[f3][x41][y22]when losing ball" : ' TUTENTIPS 5
  1522. case 27
  1523. MsngrBusy=false
  1524. MsngrTimer.Set false
  1525. AnimBGFont="[f11]"
  1526. AnimStartPoint=92
  1527. AnimEndPoint=125
  1528. AnimLoopPoint=92
  1529. AnimData="[f3][x41][y16][edge4]fight snakes to"&"[f3][x41][y22]replenish lives" : ' TUTENTIPS 6
  1530. case 33
  1531. MsngrBusy=false
  1532. MsngrTimer.Set false
  1533. AnimBGFont="[f10]"
  1534. AnimStartPoint=32
  1535. AnimEndPoint=61
  1536. AnimLoopPoint=32
  1537. AnimData="[f9][x71][y11][edge4]"&FormatScore(nvScore1)
  1538. case 34
  1539. MsngrBusy=true
  1540. MsngrTimer.Set true,2500
  1541. AnimBGFont="[f10]"
  1542. AnimStartPoint=62
  1543. AnimEndPoint=71
  1544. AnimLoopPoint=62
  1545. AnimData="[f9][x71][y11][edge4]"
  1546. case 35
  1547. MsngrBusy=true
  1548. MsngrTimer.Set true,3000
  1549. AnimBGFont="[f10]"
  1550. AnimStartPoint=73
  1551. AnimEndPoint=123
  1552. AnimLoopPoint=73
  1553. AnimData="[f12][xc][y4][edge4]Follow the Path[xc][y17]to the Riches"
  1554. end select
  1555. myDMD.text= AnimBGFont&"[edge4][x0][y0]"&Chr(AnimStartPoint)&AnimData&"[edge4]"
  1556. end sub
  1557.  
  1558.  
  1559.  
  1560. '*********************************************
  1561. '*********************************************
  1562.  
  1563. Sub LeftSlingshotRubber_Hit()
  1564. BumperSFX()
  1565. ShortLightEvent()
  1566. AddScore(50*theMultiplier)
  1567. FF_Sound DV_LS,-1,"fx_SlingL" 'DOFLinx Left Slingshot
  1568. SlingLitLeft.FlashForMs 200, 100, BulbOff
  1569. LeftSlingshotBulb1.FlashForMs 100, 50, BulbOff
  1570. LeftSlingshotBulb2.FlashForMs 100, 50, BulbOff
  1571. End Sub
  1572.  
  1573.  
  1574. Sub RightSlingshotRubber_Hit()
  1575. ShortLightEvent()
  1576. BumperSFX()
  1577. AddScore(50*theMultiplier)
  1578. FF_Sound DV_RS,-1,"fx_SlingR" 'DOFLinx Right Slingshot
  1579. SlingLitRight.FlashForMs 200, 100, BulbOff
  1580. RightSlingshotBulb1.FlashForMs 100, 50, BulbOff
  1581. RightSlingshotBulb2.FlashForMs 100, 50, BulbOff
  1582. End Sub
  1583.  
  1584.  
  1585.  
  1586. '------------------------------------------------------------------------
  1587. '
  1588. '------------------------------------------------------------------------
  1589.  
  1590. function RandomNumber(ByVal max)
  1591. RandomNumber = Int(max * Rnd + 1)
  1592. end function
  1593.  
  1594. '--------------------------------------------------------------------------------------------
  1595. ' PROCESSSFX
  1596. '--------------------------------------------------------------------------------------------
  1597.  
  1598. Sub ChimesSFX()
  1599. Select Case RandomNumber(12)
  1600. Case 1 : PlaySound "chimes1"
  1601. Case 2 : PlaySound "chimes2"
  1602. Case 3 : PlaySound "chimes3"
  1603. Case 4 : PlaySound "chimes4"
  1604. Case 5 : PlaySound "swoosh1"
  1605. Case 6 : PlaySound "swoosh2"
  1606. Case 7 : PlaySound "swoosh3"
  1607. Case 8 : PlaySound "swoosh4"
  1608. Case 9 : PlaySound "swoosh5"
  1609. Case 10 : PlaySound "swoosh6"
  1610. Case 11 : PlaySound "swoosh7"
  1611. Case 12 : PlaySound "swoosh8"
  1612. end Select
  1613. end Sub
  1614.  
  1615. Sub stingerSFX()
  1616. Select Case RandomNumber(16)
  1617. Case 1 : PlaySound "stinger1"
  1618. Case 2 : PlaySound "stinger2"
  1619. Case 3 : PlaySound "stinger3"
  1620. Case 4 : PlaySound "stinger4"
  1621. Case 5 : PlaySound "stinger5"
  1622. Case 6 : PlaySound "stinger6"
  1623. Case 7 : PlaySound "stinger7"
  1624. Case 8 : PlaySound "stinger8"
  1625. Case 9 : PlaySound "stinger9"
  1626. Case 10 : PlaySound "stinger10"
  1627. Case 11 : PlaySound "stinger11"
  1628. Case 12 : PlaySound "stinger12"
  1629. Case 13 : PlaySound "stinger13"
  1630. Case 14 : PlaySound "stinger14"
  1631. Case 15 : PlaySound "stinger15"
  1632. Case 16 : PlaySound "stinger16"
  1633. end Select
  1634. end Sub
  1635.  
  1636.  
  1637. Sub SummoningSFX()
  1638. Select Case RandomNumber(5)
  1639. Case 1 : PlaySound "VOGOD1"
  1640. Case 2 : PlaySound "VOGOD2"
  1641. Case 3 : PlaySound "VOGOD3"
  1642. Case 4 : PlaySound "VOGOD4"
  1643. Case 5 : PlaySound "VOGOD5"
  1644. end Select
  1645. Select Case RandomNumber(4)
  1646. Case 1 : PlaySound "mummy1"
  1647. Case 2 : PlaySound "mummy2"
  1648. Case 3 : PlaySound "mummy3"
  1649. Case 4 : PlaySound "mummy4"
  1650. end Select
  1651. end Sub
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659. Sub UndeadSFX()
  1660. Select Case RandomNumber(8)
  1661. Case 1 : PlaySound "undead1"
  1662. Case 2 : PlaySound "undead2"
  1663. Case 3 : PlaySound "undead3"
  1664. Case 4 : PlaySound "undead4"
  1665. Case 5 : PlaySound "undead5"
  1666. Case 6 : PlaySound "undead6"
  1667. Case 7 : PlaySound "undead7"
  1668. Case 8 : PlaySound "undead8"
  1669. end Select
  1670. Select Case RandomNumber(4)
  1671. Case 1 : PlaySound "hitUndead1"
  1672. Case 2 : PlaySound "hitUndead2"
  1673. Case 3 : PlaySound "hitUndead3"
  1674. Case 4 : PlaySound "hitUndead4"
  1675. end Select
  1676. end Sub
  1677.  
  1678.  
  1679. Sub bumperSFX()
  1680. Select Case RandomNumber(4)
  1681. Case 1 : PlaySound "bumper1"
  1682. Case 2 : PlaySound "bumper2"
  1683. Case 3 : PlaySound "bumper3"
  1684. Case 4 : PlaySound "bumper4"
  1685. end Select
  1686. end Sub
  1687.  
  1688. Sub winSFX()
  1689. Select Case RandomNumber(12)
  1690. Case 1 : PlaySound "cash"
  1691. Case 2 : PlaySound "cash1"
  1692. Case 3 : PlaySound "cash2"
  1693. Case 4 : PlaySound "cash3"
  1694. Case 5 : PlaySound "cash4"
  1695. Case 6 : PlaySound "cash5"
  1696. Case 7 : PlaySound "cash6"
  1697. Case 8 : PlaySound "cash7"
  1698. Case 9 : PlaySound "cash8"
  1699. Case 10 : PlaySound "cash9"
  1700. Case 11 : PlaySound "cash10"
  1701. Case 12 : PlaySound "cash11"
  1702. end Select
  1703. end Sub
  1704.  
  1705.  
  1706. Sub KickerSFX()
  1707. Select Case RandomNumber(4)
  1708. Case 1 : PlaySound "plungerrelease3"
  1709. Case 2 : PlaySound "plungerrelease4"
  1710. Case 3 : PlaySound "plungerrelease5"
  1711. Case 4 : PlaySound "plungerrelease6"
  1712. end Select
  1713. winSFX()
  1714. end Sub
  1715.  
  1716. Sub ElectrocuteSFX()
  1717. Select Case RandomNumber(6)
  1718. Case 1 : PlaySound "electrocute1"
  1719. Case 2 : PlaySound "electrocute2"
  1720. Case 3 : PlaySound "electrocute3"
  1721. Case 4 : PlaySound "electrocute4"
  1722. Case 5 : PlaySound "electrocute5"
  1723. Case 6 : PlaySound "electrocute6"
  1724. end Select
  1725. end Sub
  1726.  
  1727. Sub snakeHitSFX()
  1728. Select Case RandomNumber(8)
  1729. Case 1 : PlaySound "snakeHit1"
  1730. Case 2 : PlaySound "snakeHit2"
  1731. Case 3 : PlaySound "snakeHit3"
  1732. Case 4 : PlaySound "snakeHit4"
  1733. Case 5 : PlaySound "snakeHit5"
  1734. Case 6 : PlaySound "snakeHit6"
  1735. Case 7 : PlaySound "snakeHit7"
  1736. Case 8 : PlaySound "snakeHit8"
  1737. end Select
  1738. winSFX()
  1739. end Sub
  1740.  
  1741.  
  1742. Sub snakeHissSFX()
  1743. Select Case RandomNumber(8)
  1744. Case 1 : PlaySound "snakeHiss1"
  1745. Case 2 : PlaySound "snakeHiss2"
  1746. Case 3 : PlaySound "snakeHiss3"
  1747. Case 4 : PlaySound "snakeHiss4"
  1748. Case 5 : PlaySound "snakeHiss5"
  1749. Case 6 : PlaySound "snakeHiss6"
  1750. Case 7 : PlaySound "snakeHiss7"
  1751. Case 8 : PlaySound "snakeHiss8"
  1752. end Select
  1753. end Sub
  1754.  
  1755.  
  1756.  
  1757.  
  1758. Sub TrigSFX()
  1759. Select Case RandomNumber(2)
  1760. Case 1 : PlaySound "flapclosed"
  1761. Case 2 : PlaySound "flapopen"
  1762. end Select
  1763. winSFX()
  1764. end Sub
  1765.  
  1766. Sub voTimer_expired()
  1767. voSFX()
  1768. voTimer.Set true, (5000+RandomNumber(5000))
  1769. end sub
  1770.  
  1771. Sub voSFX()
  1772. Select Case RandomNumber(76)
  1773. Case 1 : PlaySound "me_vo1"
  1774. Case 2 : PlaySound "me_vo2"
  1775. Case 3 : PlaySound "me_vo3"
  1776. Case 4 : PlaySound "me_vo4"
  1777. Case 5 : PlaySound "me_vo5"
  1778. Case 6 : PlaySound "me_vo6"
  1779. Case 7 : PlaySound "me_vo7"
  1780. Case 8 : PlaySound "me_vo8"
  1781. Case 9 : PlaySound "me_vo9"
  1782. Case 10 : PlaySound "me_vo10"
  1783. Case 11 : PlaySound "me_vo11"
  1784. Case 12 : PlaySound "me_vo12"
  1785. Case 13 : PlaySound "me_vo13"
  1786. Case 14 : PlaySound "me_vo14"
  1787. Case 15 : PlaySound "me_vo15"
  1788. Case 16 : PlaySound "me_vo16"
  1789. Case 17 : PlaySound "me_vo17"
  1790. Case 18 : PlaySound "me_vo18"
  1791. Case 19 : PlaySound "me_vo19"
  1792. Case 20 : PlaySound "me_vo20"
  1793. Case 21 : PlaySound "me_vo21"
  1794. Case 22 : PlaySound "me_vo22"
  1795. Case 23 : PlaySound "me_vo23"
  1796. Case 24 : PlaySound "me_vo24"
  1797. Case 25 : PlaySound "me_vo25"
  1798. Case 26 : PlaySound "me_vo26"
  1799. Case 27 : PlaySound "me_vo27"
  1800. Case 28 : PlaySound "me_vo28"
  1801. Case 29 : PlaySound "me_vo29"
  1802. Case 30 : PlaySound "me_vo30"
  1803. Case 31 : PlaySound "me_vo31"
  1804. Case 32 : PlaySound "me_vo32"
  1805. Case 33 : PlaySound "me_vo33"
  1806. Case 34 : PlaySound "me_vo34"
  1807. Case 35 : PlaySound "me_vo35"
  1808. Case 36 : PlaySound "me_vo36"
  1809. Case 37 : PlaySound "me_vo37"
  1810. Case 38 : PlaySound "me_vo38"
  1811. Case 39 : PlaySound "me_vo39"
  1812. Case 40 : PlaySound "me_vo30"
  1813. Case 41 : PlaySound "me_vo31"
  1814. Case 42 : PlaySound "me_vo32"
  1815. Case 43 : PlaySound "me_vo33"
  1816. Case 44 : PlaySound "me_vo34"
  1817. Case 45 : PlaySound "me_vo35"
  1818. Case 46 : PlaySound "me_vo36"
  1819. Case 47 : PlaySound "me_vo37"
  1820. Case 48 : PlaySound "me_vo38"
  1821. Case 49 : PlaySound "me_vo39"
  1822. Case 40 : PlaySound "me_vo40"
  1823. Case 41 : PlaySound "me_vo41"
  1824. Case 42 : PlaySound "me_vo42"
  1825. Case 43 : PlaySound "me_vo43"
  1826. Case 44 : PlaySound "me_vo44"
  1827. Case 45 : PlaySound "me_vo45"
  1828. Case 46 : PlaySound "me_vo46"
  1829. Case 47 : PlaySound "me_vo47"
  1830. Case 48 : PlaySound "me_vo48"
  1831. Case 49 : PlaySound "me_vo49"
  1832. Case 50 : PlaySound "me_vo50"
  1833. Case 51 : PlaySound "me_vo51"
  1834. Case 52 : PlaySound "me_vo52"
  1835. Case 53 : PlaySound "me_vo53"
  1836. Case 54 : PlaySound "me_vo54"
  1837. Case 55 : PlaySound "me_vo55"
  1838. Case 56 : PlaySound "me_vo56"
  1839. Case 57 : PlaySound "me_vo57"
  1840. Case 58 : PlaySound "me_vo58"
  1841. Case 59 : PlaySound "me_vo59"
  1842. Case 60 : PlaySound "me_vo60"
  1843. Case 61 : PlaySound "me_vo61"
  1844. Case 62 : PlaySound "me_vo62"
  1845. Case 63 : PlaySound "me_vo63"
  1846. Case 64 : PlaySound "me_vo64"
  1847. Case 65 : PlaySound "me_vo65"
  1848. Case 66 : PlaySound "me_vo66"
  1849. Case 67 : PlaySound "me_vo67"
  1850. Case 68 : PlaySound "me_vo68"
  1851. Case 69 : PlaySound "me_vo69"
  1852. Case 70 : PlaySound "me_vo70"
  1853. Case 71 : PlaySound "me_vo71"
  1854. Case 72 : PlaySound "me_vo72"
  1855. Case 73 : PlaySound "me_vo73"
  1856. Case 74 : PlaySound "me_vo74"
  1857. Case 75 : PlaySound "me_vo75"
  1858. Case 76 : PlaySound "me_vo76"
  1859. end Select
  1860. end Sub
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869. '-------------------------------------------------------------------------
  1870. '-------------------------------------------------------------------------
  1871.  
  1872.  
  1873.  
  1874. Sub initMusic()
  1875. PlayMusic 1, "AttractMode", True, 0
  1876. PlayMusic 2, "Main", True, 0
  1877. PlayMusic 3, "KingChamber", True, 0
  1878. PlayMusic 4, "Ambient", True, 0
  1879. End Sub
  1880.  
  1881.  
  1882. Sub AttractMusic()
  1883. EffectMusic 1, PlayAndFadeIn, 1, 1000 : 'Attract
  1884. EffectMusic 2, FadeOutAndPause, 0, 1000 : 'main
  1885. EffectMusic 3, FadeOutAndPause, 0, 1000 : 'KingChamber
  1886. End Sub
  1887.  
  1888.  
  1889. Sub StressMusic()
  1890. EffectMusic 1, FadeOutAndPause, 0, 1000 : 'Attract
  1891. EffectMusic 2, FadeOutAndPause, 0, 1000 : 'main
  1892. EffectMusic 3, PlayAndFadeIn, 1, 1000 : 'KingChamber
  1893. End Sub
  1894.  
  1895. Sub MainMusic()
  1896. EffectMusic 1, FadeOutAndPause, 0, 1000 : 'Attract
  1897. EffectMusic 2, PlayAndFadeIn, 1, 1000 : 'main
  1898. EffectMusic 3, FadeOutAndPause, 0, 1000 : 'KingChamber
  1899. End Sub
  1900.  
  1901. '-------------------------------------------------------------------------
  1902. '-------------------------------------------------------------------------
  1903.  
  1904.  
  1905. Sub ShortLightEvent()
  1906. PlaySound"rumble"
  1907. ShortLightSeq.UpdateInterval = 15
  1908. Select case RandomNumber(9)
  1909. case 1 : ShortLightSeq.Play SeqStripe1HorizOn, 25
  1910. case 2 : ShortLightSeq.Play SeqStripe2HorizOn, 25
  1911. case 3 : ShortLightSeq.Play SeqStripe1VertOn, 25
  1912. case 4 : ShortLightSeq.Play SeqStripe2VertOn, 25
  1913. case 5 : ShortLightSeq.Play SeqHatch1HorizOn, 25
  1914. case 6 : ShortLightSeq.Play SeqHatch2HorizOn, 25
  1915. case 7 : ShortLightSeq.Play SeqHatch1VertOn, 25
  1916. end Select
  1917. end Sub
  1918.  
  1919. Dim theLenght
  1920.  
  1921. Sub EventLight(theLenght)
  1922. EventModeLight.Play SeqRandom, 10, ,theLenght
  1923. end sub
  1924.  
  1925.  
  1926. Sub BigWipeLightEvent()
  1927. BigWipeLightSeq.UpdateInterval = 10
  1928. ChimesSFX()
  1929. Select case RandomNumber(27)
  1930. case 1 : BigWipeLightSeq.Play SeqUpOn, 10
  1931. case 2 : BigWipeLightSeq.Play SeqDownOn, 10
  1932. case 3 : BigWipeLightSeq.Play SeqRightOn, 10
  1933. case 4 : BigWipeLightSeq.Play SeqLeftOn, 10
  1934. case 5 : BigWipeLightSeq.Play SeqMiddleOutHorizOn, 10
  1935. case 6 : BigWipeLightSeq.Play SeqMiddleInHorizOn, 10
  1936. case 7 : BigWipeLightSeq.Play SeqMiddleOutVertOn, 10
  1937. case 8 : BigWipeLightSeq.Play SeqMiddleInVertOn, 10
  1938. case 9 : BigWipeLightSeq.Play SeqClockRightOn, 10
  1939. case 10 : BigWipeLightSeq.Play SeqClockLeftOn, 10
  1940. case 11 : BigWipeLightSeq.Play SeqRadarRightOn, 10
  1941. case 12 : BigWipeLightSeq.Play SeqRadarLeftOn, 10
  1942. case 13 : BigWipeLightSeq.Play SeqStripe2VertOn, 10
  1943. case 14 : BigWipeLightSeq.Play SeqWiperRightOn, 10
  1944. case 15 : BigWipeLightSeq.Play SeqWiperLeftOn, 10
  1945. case 16 : BigWipeLightSeq.Play SeqFanLeftUpOn, 10
  1946. case 17 : BigWipeLightSeq.Play SeqFanLeftDownOn, 10
  1947. case 18 : BigWipeLightSeq.Play SeqFanRightUpOn, 10
  1948. case 19 : BigWipeLightSeq.Play SeqFanRightDownOn, 10
  1949. case 20 : BigWipeLightSeq.Play SeqArcBottomLeftUpOn, 10
  1950. case 21 : BigWipeLightSeq.Play SeqArcBottomLeftDownOn, 10
  1951. case 22 : BigWipeLightSeq.Play SeqArcBottomRightUpOn , 10
  1952. case 23 : BigWipeLightSeq.Play SeqArcBottomRightDownOn, 10
  1953. case 24 : BigWipeLightSeq.Play SeqArcTopLeftUpOn, 10
  1954. case 25 : BigWipeLightSeq.Play SeqArcTopLeftDownOn, 10
  1955. case 26 : BigWipeLightSeq.Play SeqScrewRightOn, 10
  1956. case 27 : BigWipeLightSeq.Play SeqScrewLeftOn, 10
  1957. end Select
  1958. end Sub
  1959.  
  1960. Sub FlasherHitResponse()
  1961. Select case RandomNumber(4)
  1962. case 1: Flasher1.FlashForMs 200, 100, BulbOff : Flasher2.FlashForMs 200, 100, BulbOff
  1963. case 2: Flasher3.FlashForMs 200, 100, BulbOff : Flasher4.FlashForMs 200, 100, BulbOff
  1964. case 3: Flasher3.FlashForMs 200, 100, BulbOff : Flasher2.FlashForMs 200, 100, BulbOff
  1965. case 4: Flasher4.FlashForMs 200, 100, BulbOff : Flasher1.FlashForMs 200, 100, BulbOff
  1966. end select
  1967. end sub
  1968.  
  1969. '-------------------------------------------------------------------------
  1970. ' FLASH THE PLAYFIELD
  1971. '-------------------------------------------------------------------------
  1972. Dim FlashDuration
  1973.  
  1974. sub PlayfieldFlashing(FlashDuration)
  1975. PlayfieldFlashingTimer.Set true ,33
  1976. PlayfieldStoppingTimer.Set true ,FlashDuration
  1977. end sub
  1978.  
  1979. Sub PlayfieldFlashingTimer_expired()
  1980. Select Case RandomNumber(2)
  1981. case 1 : AlternatePlayfieldA.Render=true
  1982. case 2 : AlternatePlayfieldA.Render=false
  1983. end select
  1984. PlayfieldFlashingTimer.Set true ,33
  1985. end sub
  1986.  
  1987. Sub PlayfieldStoppingTimer_expired()
  1988. AlternatePlayfieldA.Render=false
  1989. ' AlternatePlayfieldB.Render=false
  1990. ' AlternatePlayfieldC.Render=false
  1991. ' AlternatePlayfieldD.Render=false
  1992. PlayfieldStoppingTimer.Set false
  1993. PlayfieldFlashingTimer.Set false
  1994. end sub
  1995.  
  1996.  
  1997.  
  1998. '-------------------------------------------------------------------------
  1999. ' SOBEK
  2000. '-------------------------------------------------------------------------
  2001.  
  2002. Dim theSpeed : theSpeed=50
  2003. Dim SobekInc,sobekInFrame,sobekOutFrame
  2004. Dim sobekheadxpos,sobekheadypos,sobekheadzpos,sobekheadxrot,sobekheadyrot,sobekheadzrot
  2005. Dim sobekbodyxpos,sobekbodyypos,sobekbodyzpos,sobekbodyxrot,sobekbodyyrot,sobekbodyzrot
  2006.  
  2007. SobekInc=0
  2008.  
  2009. sobekheadxpos=array(-231,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.46,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.45,-231.44,-231.44,-231.44,-231.44,-231.44,-231.44,-231.44,-231.44,-231.43,-231.43,-231.43,-231.43,-231.43,-231.43,-231.43,-231.43,-231.42,-231.42,-231.42,-231.42,-231.42,-231.42,-231.41,-231.41,-231.41,-231.41,-231.41,-231.41,-231.4,-231.4,-231.4,-231.4,-231.4,-231.39,-231.39,-231.39,-231.39,-231.39,-231.38,-231.38,-231.38,-231.38,-231.38,-231.37,-231.37,-231.37,-231.37,-231.37,-231.36,-231.36,-231.36,-231.36,-231.36,-231.35,-231.35,-231.35,-231.35,-231.34,-231.34,-231.34,-231.34,-231.33,-231.33,-231.33,-231.33,-231.33,-231.32,-231.32,-231.32,-231.32,-231.31,-231.31,-231.31,-231.31,-231.3,-231.3,-231.3,-231.3,-231.29,-231.29,-231.29,-231.29,-231.28,-231.28,-231.28,-231.28,-231.27,-231.27,-231.27,-231.27,-231.26,-231.26,-231.26,-231.26,-231.25,-231.25,-231.25,-231.25,-231.24,-231.24,-231.24,-231.24,-231.23,-231.23,-231.23,-231.22,-231.22,-231.22,-231.22,-231.21,-231.21,-231.21,-231.21,-231.2,-231.2,-231.2,-231.2,-231.19,-231.19,-231.19,-231.19,-231.18,-231.18,-231.18,-231.18,-231.17,-231.17,-231.17,-231.17,-231.16,-231.16,-231.16,-231.16,-231.15,-231.15,-231.15,-231.15,-231.14,-231.14,-231.14,-231.14,-231.13,-231.13,-231.13,-231.13,-231.13,-231.12,-231.12,-231.12,-231.12,-231.11,-231.11,-231.11,-231.11,-231.1,-231.1,-231.1,-231.1,-231.1,-231.09,-231.09,-231.09,-231.09,-231.09,-231.08,-231.08,-231.08,-231.08,-231.08,-231.07,-231.07,-231.07,-231.07,-231.07,-231.06,-231.06,-231.06,-231.06,-231.06,-231.06,-231.05,-231.05,-231.05,-231.05,-231.05,-231.05,-231.04,-231.04,-231.04,-231.04,-231.04,-231.04,-231.03,-231.03,-231.03,-231.03,-231.03,-231.03,-231.03,-231.03,-231.02,-231.02,-231.02,-231.02,-231.02,-231.02,-231.02,-231.02,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231.01,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231,-231.06,-231.46,-232.86,-234.73,-235.67,-235.21,-234.55,-234.16,-233.82,-233.48,-233.12,-232.72,-232.46,-232.11,-231,-228.26,-224.2,-219.93,-216.56,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.19,-215.18,-215.18,-215.17,-215.16,-215.15,-215.14,-215.12,-215.1,-215.08,-215.06,-215.03,-214.85,-214.48,-214.12,-213.96,-216.62,-222.48,-228.34,-231)
  2010. sobekheadypos=array(84.5,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.43,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.44,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.45,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.46,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.47,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.48,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.49,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.5,84.49,84.43,83.84,82.84,82.31,82.66,83.01,82.96,82.86,82.73,82.62,82.57,83.07,84,84.5,83.97,82.69,81.17,79.9,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.36,79.34,79.32,79.28,79.24,79.18,79.12,79.05,78.97,78.88,78.78,78.67,78.56,78.44,78.31,78.17,78.03,77.67,77.07,76.5,76.25,77.54,80.38,83.21,84.5)
  2011. sobekheadzpos=array(31,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.06,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.05,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.04,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.03,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.02,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31.01,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31.03,31.06,30.91,30.64,30.49,31.06,31.8,32.12,32.41,32.65,32.8,32.86,32.38,31.48,31,31.3,32,32.84,33.55,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.85,33.83,33.79,33.73,33.64,33.54,33.43,33.31,33.19,33.06,32.93,32.81,32.7,32.6,32.52,32.46,32.42,32.4,32.43,32.49,32.56,32.59,32.34,31.79,31.25,31)
  2012. sobekheadxrot=array(0,0,-0.02,-0.04,-0.08,-0.12,-0.17,-0.23,-0.29,-0.36,-0.44,-0.53,-0.62,-0.72,-0.83,-0.93,-1.05,-1.17,-1.29,-1.42,-1.55,-1.68,-1.82,-1.96,-2.1,-2.24,-2.39,-2.53,-2.68,-2.83,-2.98,-3.12,-3.27,-3.42,-3.56,-3.7,-3.85,-3.99,-4.12,-4.26,-4.39,-4.51,-4.64,-4.76,-4.87,-4.98,-5.08,-5.18,-5.27,-5.36,-5.44,-5.51,-5.58,-5.64,-5.69,-5.73,-5.76,-5.78,-5.8,-5.8,-5.8,-5.78,-5.76,-5.72,-5.68,-5.62,-5.56,-5.48,-5.4,-5.31,-5.22,-5.11,-5,-4.88,-4.76,-4.63,-4.49,-4.35,-4.2,-4.05,-3.89,-3.73,-3.56,-3.4,-3.22,-3.05,-2.87,-2.69,-2.5,-2.32,-2.13,-1.94,-1.76,-1.57,-1.38,-1.19,-1,-0.81,-0.62,-0.43,-0.25,-0.07,0.12,0.29,0.47,0.64,0.81,0.98,1.14,1.3,1.45,1.6,1.74,1.87,2.01,2.13,2.25,2.36,2.46,2.56,2.65,2.73,2.8,2.87,2.92,2.97,3,3.03,3.05,3.05,3.05,3.05,3.04,3.04,3.03,3.03,3.02,3.01,2.99,2.98,2.97,2.95,2.94,2.92,2.9,2.88,2.86,2.84,2.82,2.8,2.78,2.75,2.73,2.7,2.68,2.65,2.63,2.6,2.57,2.54,2.51,2.48,2.46,2.43,2.4,2.37,2.34,2.31,2.27,2.24,2.21,2.18,2.15,2.12,2.09,2.06,2.03,2,1.97,1.94,1.92,1.89,1.86,1.83,1.8,1.78,1.75,1.73,1.7,1.68,1.65,1.63,1.61,1.58,1.56,1.53,1.51,1.48,1.46,1.43,1.41,1.38,1.36,1.33,1.31,1.28,1.26,1.23,1.21,1.18,1.16,1.13,1.11,1.08,1.05,1.03,1,0.98,0.95,0.93,0.9,0.88,0.85,0.83,0.8,0.78,0.75,0.73,0.7,0.68,0.65,0.63,0.6,0.58,0.56,0.53,0.51,0.48,0.46,0.44,0.42,0.39,0.37,0.35,0.33,0.3,0.28,0.26,0.24,0.22,0.21,0.19,0.18,0.18,0.17,0.17,0.16,0.16,0.16,0.15,0.15,0.14,0.14,0.13,0.11,0.1,0.08,0.06,0.03,0,-0.81,-6.37,-21.85,-40.56,-49.66,-36.63,-17.3,-6.74,0.77,7.46,13.04,15.38,11.39,3.99,0,0.64,2.15,3.96,5.48,6.12,6.09,6.01,5.88,5.7,5.48,5.22,4.91,4.56,4.17,3.75,3.3,2.82,1.8,0.22,-1.24,-1.88,-1.8,-1.58,-1.22,-0.76,-0.21,0.41,1.09,1.81,2.54,3.28,3.99,4.67,5.3,5.85,6.31,6.66,6.88,6.96,2.54,-1.88,-1.59,-0.94,-0.29,0)
  2013. sobekheadyrot=array(71.91,71.89,71.83,71.73,71.59,71.42,71.22,70.98,70.7,70.4,70.07,69.71,69.33,68.92,68.49,68.03,67.56,67.06,66.55,66.03,65.48,64.93,64.36,63.78,63.2,62.6,62,61.4,60.79,60.17,59.56,58.95,58.34,57.73,57.13,56.54,55.95,55.37,54.81,54.25,53.71,53.18,52.67,52.18,51.7,51.25,50.82,50.41,50.02,49.67,49.34,49.03,48.76,48.52,48.31,48.14,48.01,47.91,47.85,47.82,47.83,47.83,47.85,47.86,47.88,47.91,47.94,47.97,48.01,48.05,48.1,48.15,48.2,48.26,48.32,48.38,48.45,48.52,48.59,48.67,48.75,48.83,48.92,49,49.09,49.18,49.28,49.38,49.47,49.57,49.68,49.78,49.89,50,50.1,50.21,50.33,50.44,50.55,50.67,50.78,50.9,51.02,51.14,51.25,51.37,51.49,51.61,51.73,51.85,51.97,52.09,52.2,52.32,52.44,52.56,52.67,52.79,52.9,53.02,53.13,53.24,53.35,53.46,53.56,53.67,53.77,53.87,53.97,54.07,54.17,54.26,54.35,54.44,54.53,54.62,54.71,54.8,54.89,54.97,55.06,55.14,55.22,55.31,55.39,55.48,55.56,55.64,55.73,55.81,55.89,55.98,56.06,56.15,56.23,56.32,56.41,56.49,56.58,56.67,56.77,56.86,56.95,57.05,57.15,57.25,57.35,57.45,57.55,57.66,57.77,57.88,57.99,58.11,58.22,58.34,58.47,58.59,58.72,58.85,58.99,59.13,59.27,59.41,59.56,59.71,59.86,60.02,60.18,60.35,60.52,60.71,60.9,61.11,61.33,61.56,61.79,62.04,62.29,62.55,62.82,63.09,63.37,63.66,63.95,64.24,64.54,64.85,65.15,65.46,65.77,66.08,66.4,66.71,67.02,67.34,67.65,67.96,68.27,68.57,68.87,69.17,69.47,69.76,70.04,70.32,70.59,70.86,71.12,71.37,71.61,71.85,72.08,72.29,72.5,72.69,72.88,73.05,73.21,73.35,73.49,73.61,73.71,73.8,73.88,73.94,73.98,74.01,74.02,74.02,74.01,74.01,74,73.99,73.97,73.94,73.9,73.85,73.79,73.71,73.62,73.52,73.39,73.25,73.08,72.9,72.69,72.46,72.2,71.91,57.75,43.73,52.97,70.12,79.36,60.91,42.46,43.88,47.01,50.82,55.14,59.46,64.53,69.61,71.91,70.41,66.82,62.53,58.94,57.43,57.51,57.72,58.04,58.46,58.94,59.47,60.01,60.56,61.09,61.57,61.99,62.31,62.52,62.6,55.1,47.6,47.73,48.11,48.71,49.49,50.42,51.48,52.64,53.85,55.1,56.34,57.55,58.71,59.77,60.7,61.48,62.08,62.46,62.6,55.1,47.6,51.39,59.75,68.11,71.91)
  2014. sobekheadzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.01,-0.01,-0.01,-0.01,-0.01,-0.02,-0.02,-0.02,-0.03,-0.03,-0.03,-0.04,-0.04,-0.05,-0.05,-0.05,-0.06,-0.06,-0.07,-0.07,-0.08,-0.08,-0.09,-0.09,-0.1,-0.1,-0.11,-0.11,-0.12,-0.12,-0.13,-0.13,-0.14,-0.14,-0.14,-0.15,-0.15,-0.16,-0.16,-0.16,-0.17,-0.17,-0.17,-0.18,-0.18,-0.18,-0.19,-0.19,-0.19,-0.19,-0.19,-0.19,-0.19,-0.2,-0.2,-0.19,-0.19,-0.19,-0.19,-0.19,-0.19,-0.19,-0.18,-0.18,-0.18,-0.18,-0.17,-0.17,-0.17,-0.16,-0.16,-0.15,-0.15,-0.14,-0.14,-0.14,-0.13,-0.13,-0.12,-0.12,-0.11,-0.11,-0.1,-0.09,-0.09,-0.08,-0.08,-0.07,-0.07,-0.06,-0.06,-0.05,-0.05,-0.04,-0.04,-0.03,-0.03,-0.03,-0.02,-0.02,-0.01,-0.01,-0.01,0,0,0,0,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0,0,0,0,0,0,0,0,0,0,2.13,4.27,-2.9,-16.2,-23.37,-8.64,7.23,8.57,8.76,7.95,6.16,4.38,2.85,1.33,0,-1.26,-2.59,-3.78,-4.64,-4.97,-4.97,-4.97,-4.96,-4.95,-4.93,-4.91,-4.87,-4.82,-4.75,-4.67,-4.57,-4.45,-4.22,-3.82,-3.31,-2.78,-2.3,-1.95,-1.7,-1.54,-1.46,-1.46,-1.52,-1.64,-1.79,-1.97,-2.17,-2.38,-2.58,-2.78,-2.94,-3.08,-3.17,-3.2,-3.12,-2.78,-2.04,-1.12,-0.33,0)
  2015.  
  2016. sobekbodyxpos=array(-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28,-227.28)
  2017. sobekbodyypos=array(50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50)
  2018. sobekbodyzpos=array(30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8,30.8)
  2019. sobekbodyxrot=array(-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.08,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.07,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.06,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.05,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.04,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.03,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.02,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17.01,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-17,-18.47,-21.72,-24.96,-26.43,-24.61,-21.21,-19.38,-20.54,-22.7,-23.86,-23.81,-23.42,-22.38,-20.35,-17,-10.36,-0.48,9.93,18.16,21.5,21.39,21.08,20.6,19.98,19.25,18.45,17.59,16.73,15.88,15.07,14.34,13.72,13.24,12.93,12.82,12.86,12.97,13.14,13.36,13.64,13.95,14.28,14.64,15.02,15.39,15.76,16.12,16.46,16.77,17.04,17.27,17.44,17.55,17.59,17.39,15.98,9.47,-1.72,-12.3,-17)
  2020. sobekbodyyrot=array(83,83,82.99,82.98,82.97,82.95,82.92,82.9,82.87,82.83,82.8,82.76,82.71,82.67,82.62,82.57,82.51,82.45,82.39,82.33,82.27,82.2,82.13,82.06,81.99,81.91,81.84,81.76,81.68,81.6,81.52,81.43,81.35,81.27,81.18,81.09,81.01,80.92,80.83,80.75,80.66,80.57,80.49,80.4,80.31,80.23,80.14,80.06,79.97,79.89,79.81,79.73,79.65,79.57,79.5,79.42,79.35,79.28,79.21,79.14,79.08,79.01,78.95,78.9,78.84,78.79,78.74,78.69,78.65,78.61,78.57,78.54,78.51,78.48,78.46,78.44,78.43,78.42,78.41,78.41,78.41,78.42,78.42,78.44,78.45,78.47,78.5,78.52,78.55,78.58,78.62,78.65,78.69,78.74,78.78,78.83,78.88,78.93,78.98,79.04,79.1,79.16,79.22,79.28,79.35,79.41,79.48,79.55,79.62,79.69,79.76,79.83,79.91,79.98,80.06,80.13,80.21,80.28,80.36,80.44,80.51,80.59,80.67,80.74,80.82,80.89,80.97,81.04,81.12,81.19,81.26,81.33,81.4,81.47,81.54,81.61,81.67,81.73,81.79,81.85,81.91,81.97,82.02,82.07,82.12,82.17,82.22,82.26,82.3,82.34,82.37,82.4,82.43,82.46,82.48,82.5,82.52,82.53,82.54,82.54,82.54,82.54,82.53,82.52,82.51,82.48,82.46,82.43,82.4,82.36,82.32,82.27,82.23,82.17,82.12,82.06,82,81.94,81.87,81.81,81.74,81.66,81.59,81.51,81.43,81.36,81.27,81.19,81.11,81.03,80.94,80.86,80.77,80.68,80.6,80.51,80.42,80.34,80.25,80.17,80.08,80,79.92,79.83,79.75,79.67,79.6,79.52,79.45,79.37,79.3,79.24,79.17,79.11,79.05,78.99,78.93,78.88,78.84,78.79,78.75,78.71,78.68,78.65,78.62,78.6,78.59,78.57,78.57,78.56,78.57,78.6,78.64,78.69,78.75,78.83,78.92,79.03,79.14,79.26,79.39,79.52,79.67,79.81,79.97,80.13,80.29,80.45,80.62,80.78,80.95,81.11,81.28,81.44,81.6,81.75,81.9,82.04,82.18,82.31,82.43,82.54,82.64,82.73,82.81,82.88,82.93,82.97,82.99,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,82.94,82.78,82.52,82.19,81.8,81.38,80.92,80.46,80.01,79.58,79.19,78.87,78.61,78.44,78.39,78.4,78.44,78.5,78.58,78.68,78.81,78.95,79.1,79.27,79.45,79.64,79.84,80.05,80.27,80.48,80.71,80.93,81.15,81.37,82.24,83,83,83,83,83)
  2021. sobekbodyzrot=array(5,5,4.99,4.98,4.96,4.94,4.92,4.89,4.86,4.82,4.78,4.74,4.69,4.64,4.58,4.53,4.47,4.41,4.34,4.27,4.2,4.13,4.05,3.98,3.9,3.81,3.73,3.65,3.56,3.47,3.38,3.29,3.2,3.11,3.02,2.93,2.83,2.74,2.64,2.55,2.45,2.36,2.26,2.17,2.07,1.98,1.89,1.8,1.71,1.62,1.53,1.44,1.35,1.27,1.19,1.1,1.02,0.95,0.87,0.8,0.73,0.66,0.59,0.53,0.47,0.42,0.36,0.31,0.26,0.22,0.18,0.14,0.11,0.08,0.06,0.04,0.02,0.01,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.01,0.02,0.03,0.04,0.06,0.08,0.1,0.12,0.14,0.17,0.2,0.23,0.26,0.29,0.33,0.36,0.4,0.44,0.49,0.53,0.57,0.62,0.67,0.72,0.77,0.82,0.87,0.93,0.98,1.04,1.1,1.16,1.22,1.28,1.34,1.4,1.46,1.53,1.59,1.65,1.72,1.79,1.85,1.92,1.99,2.05,2.12,2.19,2.26,2.33,2.4,2.47,2.53,2.6,2.67,2.74,2.81,2.88,2.95,3.01,3.08,3.15,3.21,3.28,3.35,3.41,3.47,3.54,3.6,3.66,3.72,3.78,3.84,3.9,3.96,4.02,4.07,4.13,4.18,4.23,4.28,4.33,4.38,4.43,4.47,4.51,4.56,4.6,4.64,4.67,4.71,4.74,4.77,4.8,4.83,4.86,4.88,4.9,4.92,4.94,4.96,4.97,4.98,4.99,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4.89,4.57,4.09,3.46,2.72,1.91,1.04,0.17,-0.7,-1.51,-2.25,-2.88,-3.36,-3.68,-3.79,-3.78,-3.73,-3.66,-3.55,-3.43,-3.27,-3.09,-2.88,-2.65,-2.4,-2.13,-1.84,-1.52,-1.19,-0.84,-0.48,-0.09,0.3,0.72,2.96,5,5,5,5,5)
  2022.  
  2023. Sub ResetAllGodsLights()
  2024. SobekLightRing.State=BulbOff
  2025. HorusLightRing.State=BulbOff
  2026. AnubisLightRing.State=BulbOff
  2027. KhnumLightRing.State=BulbOff
  2028. end sub
  2029.  
  2030. Sub InitSobekDead()
  2031. ResetAllGodsLights()
  2032. sobeklegsDead.Tx=-227.7
  2033. sobeklegsDead.Ty=26
  2034. sobeklegsDead.Tz=43.12
  2035. sobeklegsDead.AngleYZ=0
  2036. sobeklegsDead.AngleXZ=-80
  2037. sobeklegsDead.AngleXY=0
  2038. sobekheadDead.Tx=sobekheadxpos(0)
  2039. sobekheadDead.Ty=sobekheadypos(0)
  2040. sobekheadDead.Tz=sobekheadzpos(0)+12
  2041. sobekheadDead.AngleYZ=-sobekheadxrot(0)
  2042. sobekheadDead.AngleXZ=-sobekheadyrot(0)
  2043. sobekheadDead.AngleXY=-sobekheadzrot(0)
  2044. sobekbodyDead.Tx=sobekbodyxpos(0)
  2045. sobekbodyDead.Ty=sobekbodyypos(0)
  2046. sobekbodyDead.Tz=sobekbodyzpos(0)+12
  2047. sobekbodyDead.AngleYZ=-sobekbodyxrot(0)
  2048. sobekbodyDead.AngleXZ=-sobekbodyyrot(0)
  2049. sobekbodyDead.AngleXY=-sobekbodyzrot(0)
  2050. sobeklegs.Ty=-200
  2051. sobekhead.Ty=-200
  2052. sobekbody.Ty=-200
  2053. SobekTimer.Set false
  2054. end sub
  2055.  
  2056.  
  2057. Sub InitSobekLiving()
  2058.  
  2059. sobeklegs.Tx=-227.7
  2060. sobeklegs.Ty=26
  2061. sobeklegs.Tz=43.12
  2062. sobeklegs.AngleYZ=0
  2063. sobeklegs.AngleXZ=-80
  2064. sobeklegs.AngleXY=0
  2065. sobekhead.Tx=sobekheadxpos(SobekInc)
  2066. sobekhead.Ty=sobekheadypos(SobekInc)
  2067. sobekhead.Tz=sobekheadzpos(SobekInc)+12
  2068. sobekhead.AngleYZ=-sobekheadxrot(SobekInc)
  2069. sobekhead.AngleXZ=-sobekheadyrot(SobekInc)
  2070. sobekhead.AngleXY=-sobekheadzrot(SobekInc)
  2071. sobekbody.Tx=sobekbodyxpos(SobekInc)
  2072. sobekbody.Ty=sobekbodyypos(SobekInc)
  2073. sobekbody.Tz=sobekbodyzpos(SobekInc)+12
  2074. sobekbody.AngleYZ=-sobekbodyxrot(SobekInc)
  2075. sobekbody.AngleXZ=-sobekbodyyrot(SobekInc)
  2076. sobekbody.AngleXY=-sobekbodyzrot(SobekInc)
  2077. sobeklegsDead.Ty=-200
  2078. sobekheadDead.Ty=-200
  2079. sobekbodyDead.Ty=-200
  2080. SobekIdle()
  2081. End sub
  2082.  
  2083. Sub SobekAttack()
  2084. sobekInFrame=284
  2085. sobekOutFrame=329
  2086. SobekInc=sobekInFrame
  2087. SobekTimer.Set true ,theSpeed
  2088. end sub
  2089.  
  2090. Sub SobekIdle()
  2091. sobekInFrame=0
  2092. sobekOutFrame=269
  2093. SobekInc=sobekInFrame
  2094. SobekTimer.Set true ,theSpeed
  2095. end sub
  2096.  
  2097. Sub SobekIsHit()
  2098. sobekInFrame=269
  2099. sobekOutFrame=284
  2100. SobekInc=sobekInFrame
  2101. SobekTimer.Set true ,theSpeed
  2102. end sub
  2103.  
  2104. Sub SobekTimer_expired()
  2105. if SobekInc<sobekOutFrame then
  2106. SobekInc=SobekInc+1
  2107. else
  2108. SobekIdle()
  2109. end if
  2110. sobekhead.Tx=sobekheadxpos(SobekInc)
  2111. sobekhead.Ty=sobekheadypos(SobekInc)
  2112. sobekhead.Tz=sobekheadzpos(SobekInc)+12
  2113. sobekhead.AngleYZ=-sobekheadxrot(SobekInc)
  2114. sobekhead.AngleXZ=-sobekheadyrot(SobekInc)
  2115. sobekhead.AngleXY=-sobekheadzrot(SobekInc)
  2116. sobekbody.Tx=sobekbodyxpos(SobekInc)
  2117. sobekbody.Ty=sobekbodyypos(SobekInc)
  2118. sobekbody.Tz=sobekbodyzpos(SobekInc)+12
  2119. sobekbody.AngleYZ=-sobekbodyxrot(SobekInc)
  2120. sobekbody.AngleXZ=-sobekbodyyrot(SobekInc)
  2121. sobekbody.AngleXY=-sobekbodyzrot(SobekInc)
  2122. SobekTimer.Set true ,theSpeed
  2123. end sub
  2124.  
  2125.  
  2126. '-------------------------------------------------------------------------
  2127. ' HORUS
  2128. '-------------------------------------------------------------------------
  2129. Dim HorusInc,HorusInFrame,HorusOutFrame
  2130. Dim Horusheadxpos,Horusheadypos,Horusheadzpos,Horusheadxrot,Horusheadyrot,Horusheadzrot
  2131. Dim Horusbodyxpos,Horusbodyypos,Horusbodyzpos,Horusbodyxrot,Horusbodyyrot,Horusbodyzrot
  2132.  
  2133. HorusInc=0
  2134.  
  2135.  
  2136. Horusheadxpos=array(160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,160.99,162.06,164.43,166.85,168.07,168.2,168.25,168.26,168.09,167.59,166.81,165.81,164.67,163.44,162.19,160.99,159.5,157.82,156.04,154.22,152.46,150.84,149.43,148.33,147.6,147.34,147.39,147.51,147.63,147.71,147.78,147.89,148.08,148.45,148.96,149.4,149.59,149.59,149.58,149.56,149.43,149.22,149.11,149.13,149.23,149.53,150.61,152.78,155.66,158.87,162.02,164.74,166.65,167.37,167.02,166.11,164.86,163.5,162.25,161.34,160.99)
  2137. Horusheadypos=array(81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.46,81.72,82.34,83.08,83.72,84.27,84.77,84.99,84.72,84.14,83.58,83.15,82.72,82.3,81.88,81.46,80.21,78.78,77.27,75.73,74.24,72.87,71.68,70.74,70.13,69.91,70.77,72.49,73.79,74.25,74.41,74.49,74.69,75.12,75.66,76.14,76.43,76.49,76.49,76.55,76.91,77.49,77.95,78.11,78.15,78.28,78.54,78.82,79.13,79.45,79.76,80.05,80.33,80.56,80.77,80.96,81.12,81.26,81.37,81.44,81.46)
  2138. Horusheadzpos=array(97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,97.22,96.49,94.84,93.04,91.89,91.49,91.34,91.32,91.83,92.91,93.9,94.61,95.28,95.93,96.57,97.22,98.03,98.95,99.92,100.91,101.88,102.76,103.53,104.13,104.53,104.67,104.65,104.59,104.51,104.43,104.33,104.21,104.07,103.83,103.53,103.27,103.16,103.24,103.37,103.44,103.4,103.32,103.28,103.37,103.53,103.62,103.16,101.95,100.23,98.27,96.31,94.6,93.39,92.93,93.16,93.78,94.62,95.53,96.37,96.98,97.22)
  2139. Horusheadxrot=array(0,0,0.02,0.03,0.06,0.09,0.13,0.18,0.23,0.29,0.36,0.43,0.51,0.59,0.67,0.77,0.86,0.97,1.07,1.18,1.3,1.42,1.54,1.66,1.79,1.93,2.06,2.2,2.34,2.48,2.62,2.77,2.92,3.07,3.22,3.37,3.52,3.68,3.83,3.98,4.14,4.29,4.45,4.6,4.75,4.9,5.06,5.2,5.35,5.5,5.64,5.79,5.93,6.06,6.2,6.33,6.46,6.58,6.71,6.83,6.94,7.05,7.16,7.26,7.36,7.45,7.54,7.62,7.7,7.77,7.83,7.89,7.94,7.99,8.03,8.06,8.09,8.11,8.12,8.12,8.1,8.04,7.94,7.8,7.62,7.42,7.18,6.91,6.62,6.3,5.97,5.61,5.23,4.84,4.44,4.02,3.6,3.17,2.74,2.3,1.86,1.43,1,0.58,0.16,-0.24,-0.63,-1.01,-1.37,-1.7,-2.02,-2.31,-2.58,-2.82,-3.02,-3.2,-3.34,-3.44,-3.5,-3.52,-3.52,-3.52,-3.51,-3.5,-3.49,-3.47,-3.46,-3.43,-3.41,-3.38,-3.34,-3.31,-3.26,-3.22,-3.17,-3.11,-3.05,-2.99,-2.91,-2.84,-2.76,-2.67,-2.58,-2.48,-2.38,-2.27,-2.15,-2.03,-1.9,-1.76,-1.62,-1.47,-1.31,-1.15,-0.98,-0.8,-0.61,-0.41,-0.21,0,0.26,0.61,1.03,1.52,2.05,2.64,3.25,3.89,4.54,5.19,5.82,6.44,7.03,7.58,8.07,8.51,8.87,9.14,9.32,9.4,9.42,9.44,9.46,9.47,9.48,9.5,9.51,9.51,9.52,9.53,9.53,9.54,9.54,9.54,9.54,9.54,9.54,9.54,9.54,9.54,9.29,8.57,7.51,6.2,4.73,3.22,1.75,0.44,-0.62,-1.33,-1.59,-1.56,-1.47,-1.31,-1.11,-0.86,-0.56,-0.22,0.15,0.55,0.98,1.42,1.88,2.36,2.84,3.32,3.8,4.28,4.74,5.19,5.61,6.01,6.38,6.72,7.02,7.27,7.48,7.63,7.72,7.76,7.76,7.75,7.75,7.74,7.72,7.69,7.66,7.61,7.55,7.47,7.37,7.26,7.12,6.97,6.79,6.58,6.34,6.08,5.79,5.46,5.1,4.7,4.26,3.78,3.27,2.71,2.1,1.45,0.75,0,-5.9,-17.86,-29.63,-34.95,-20.71,5.73,19.97,12.63,-1,-8.34,-7.73,-6.18,-4.09,-1.89,0,1.74,3.69,5.75,7.84,9.86,11.72,13.33,14.59,15.42,15.71,13.19,8.51,5.99,9.11,15.98,22.84,25.97,23.79,19,14.2,12.03,13.77,17.01,18.76,16.94,13.58,11.76,15.84,23.41,27.48,25.36,19.74,11.81,2.72,-6.38,-14.31,-19.92,-22.05,-20.83,-17.68,-13.37,-8.68,-4.37,-1.22,0)
  2140. Horusheadyrot=array(-71.11,-71.11,-71.13,-71.17,-71.22,-71.28,-71.35,-71.44,-71.53,-71.64,-71.76,-71.89,-72.03,-72.18,-72.34,-72.51,-72.69,-72.88,-73.07,-73.27,-73.48,-73.7,-73.92,-74.15,-74.39,-74.63,-74.88,-75.13,-75.39,-75.65,-75.91,-76.18,-76.45,-76.73,-77,-77.28,-77.56,-77.84,-78.12,-78.4,-78.69,-78.97,-79.25,-79.53,-79.81,-80.09,-80.36,-80.64,-80.91,-81.18,-81.44,-81.7,-81.96,-82.21,-82.46,-82.7,-82.94,-83.17,-83.39,-83.61,-83.82,-84.02,-84.21,-84.4,-84.58,-84.75,-84.91,-85.06,-85.2,-85.33,-85.45,-85.56,-85.66,-85.74,-85.81,-85.87,-85.92,-85.96,-85.98,-85.98,-85.97,-85.92,-85.83,-85.72,-85.57,-85.4,-85.2,-84.98,-84.73,-84.45,-84.16,-83.84,-83.5,-83.15,-82.78,-82.4,-82,-81.58,-81.16,-80.73,-80.29,-79.84,-79.38,-78.92,-78.46,-77.99,-77.52,-77.06,-76.59,-76.13,-75.67,-75.22,-74.77,-74.34,-73.91,-73.49,-73.09,-72.7,-72.33,-71.97,-71.61,-71.23,-70.84,-70.44,-70.02,-69.6,-69.16,-68.71,-68.26,-67.8,-67.34,-66.88,-66.41,-65.94,-65.48,-65.01,-64.55,-64.1,-63.65,-63.2,-62.77,-62.35,-61.94,-61.54,-61.15,-60.78,-60.43,-60.09,-59.78,-59.48,-59.21,-58.96,-58.73,-58.53,-58.36,-58.21,-58.1,-58.02,-57.97,-57.95,-57.96,-58.01,-58.09,-58.19,-58.32,-58.47,-58.65,-58.84,-59.05,-59.28,-59.52,-59.77,-60.04,-60.31,-60.59,-60.87,-61.15,-61.44,-61.72,-62,-62.29,-62.59,-62.91,-63.24,-63.58,-63.94,-64.3,-64.67,-65.04,-65.42,-65.8,-66.18,-66.56,-66.94,-67.32,-67.69,-68.05,-68.41,-68.76,-69.1,-69.45,-69.83,-70.22,-70.61,-70.99,-71.35,-71.67,-71.94,-72.14,-72.28,-72.33,-72.33,-72.32,-72.31,-72.31,-72.29,-72.28,-72.27,-72.25,-72.23,-72.21,-72.19,-72.17,-72.14,-72.12,-72.09,-72.07,-72.04,-72.01,-71.98,-71.96,-71.93,-71.9,-71.88,-71.85,-71.82,-71.8,-71.78,-71.75,-71.73,-71.71,-71.69,-71.66,-71.64,-71.61,-71.59,-71.56,-71.53,-71.51,-71.48,-71.45,-71.42,-71.39,-71.37,-71.34,-71.32,-71.29,-71.27,-71.24,-71.22,-71.2,-71.18,-71.17,-71.15,-71.14,-71.13,-71.12,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11,-71.11)
  2141. Horusheadzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
  2142.  
  2143. Horusbodyxpos=array(169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27,169.27)
  2144. Horusbodyypos=array(50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50)
  2145. Horusbodyzpos=array(93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19,93.19)
  2146. Horusbodyxrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-2.2,-7.44,-13.69,-18.93,-21.13,-20.75,-19.71,-18.1,-16.04,-13.62,-10.96,-8.16,-5.33,-2.57,0,2.76,6.02,9.6,13.3,16.95,20.36,23.33,25.68,27.23,27.79,26.04,22.74,20.76,20.57,20.54,20.51,20.31,19.49,18.32,17.73,17.75,17.78,17.79,17.39,16.65,16.25,17.47,19.75,20.98,20.89,20.29,18.66,15.49,9.4,0.84,-8,-14.92,-17.72,-16.74,-14.21,-10.74,-6.97,-3.51,-0.98,0)
  2147. Horusbodyyrot=array(-61.27,-61.26,-61.25,-61.23,-61.19,-61.15,-61.1,-61.04,-60.98,-60.9,-60.82,-60.73,-60.64,-60.53,-60.42,-60.31,-60.19,-60.06,-59.93,-59.79,-59.64,-59.5,-59.34,-59.19,-59.02,-58.86,-58.69,-58.52,-58.34,-58.17,-57.98,-57.8,-57.62,-57.43,-57.24,-57.05,-56.86,-56.67,-56.48,-56.28,-56.09,-55.9,-55.7,-55.51,-55.32,-55.13,-54.94,-54.76,-54.57,-54.39,-54.21,-54.03,-53.85,-53.68,-53.51,-53.35,-53.19,-53.03,-52.88,-52.73,-52.58,-52.45,-52.31,-52.19,-52.06,-51.95,-51.84,-51.74,-51.64,-51.55,-51.47,-51.39,-51.33,-51.27,-51.22,-51.18,-51.15,-51.12,-51.11,-51.1,-51.12,-51.16,-51.22,-51.31,-51.42,-51.56,-51.72,-51.9,-52.1,-52.32,-52.57,-52.83,-53.11,-53.41,-53.72,-54.06,-54.41,-54.77,-55.15,-55.54,-55.95,-56.37,-56.8,-57.24,-57.69,-58.15,-58.63,-59.11,-59.59,-60.09,-60.59,-61.1,-61.61,-62.13,-62.66,-63.18,-63.71,-64.24,-64.77,-65.3,-65.84,-66.37,-66.9,-67.43,-67.95,-68.48,-68.99,-69.51,-70.02,-70.52,-71.02,-71.5,-71.98,-72.46,-72.92,-73.37,-73.81,-74.24,-74.66,-75.07,-75.46,-75.84,-76.2,-76.55,-76.89,-77.2,-77.5,-77.78,-78.04,-78.29,-78.51,-78.71,-78.89,-79.05,-79.19,-79.3,-79.39,-79.45,-79.49,-79.51,-79.49,-79.46,-79.4,-79.31,-79.21,-79.08,-78.93,-78.76,-78.57,-78.37,-78.15,-77.91,-77.65,-77.38,-77.1,-76.8,-76.49,-76.17,-75.83,-75.49,-75.14,-74.77,-74.4,-74.03,-73.64,-73.25,-72.86,-72.46,-72.06,-71.66,-71.26,-70.85,-70.45,-70.04,-69.64,-69.24,-68.84,-68.45,-68.06,-67.68,-67.31,-66.94,-66.58,-66.23,-65.88,-65.55,-65.23,-64.93,-64.63,-64.35,-64.08,-63.83,-63.59,-63.37,-63.17,-62.99,-62.83,-62.68,-62.56,-62.46,-62.38,-62.31,-62.25,-62.19,-62.13,-62.07,-62.02,-61.97,-61.92,-61.87,-61.83,-61.79,-61.75,-61.71,-61.67,-61.64,-61.61,-61.58,-61.55,-61.52,-61.5,-61.48,-61.45,-61.43,-61.42,-61.4,-61.38,-61.37,-61.36,-61.34,-61.33,-61.32,-61.32,-61.31,-61.3,-61.29,-61.29,-61.29,-61.28,-61.28,-61.28,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.27,-61.07,-60.62,-60.18,-59.98,-59.98,-60,-60.02,-60.06,-60.11,-60.17,-60.22,-60.28,-60.33,-60.39,-60.45,-60.5,-60.56,-60.62,-60.68,-60.73,-60.79,-60.85,-60.91,-60.97,-61.02,-61.06,-61.11,-61.16,-61.2,-61.24,-61.26,-61.27)
  2148. Horusbodyzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.02,0.07,0.11,0.14,0.13,0.13,0.13,0.13,0.12,0.12,0.11,0.1,0.1,0.09,0.09,0.08,0.07,0.07,0.06,0.06,0.05,0.04,0.04,0.03,0.03,0.02,0.02,0.01,0.01,0,0,0)
  2149.  
  2150.  
  2151.  
  2152.  
  2153. Sub InitHorusDead()
  2154. ResetAllGodsLights()
  2155. HoruslegsDead.Tx=169.47
  2156. HoruslegsDead.Ty=26
  2157. HoruslegsDead.Tz=103.16
  2158. HoruslegsDead.AngleYZ=0
  2159. HoruslegsDead.AngleXZ=61.26
  2160. HoruslegsDead.AngleXY=0
  2161. HorusheadDead.Tx=Horusheadxpos(0)
  2162. HorusheadDead.Ty=Horusheadypos(0)
  2163. HorusheadDead.Tz=Horusheadzpos(0)+10
  2164. HorusheadDead.AngleYZ=-Horusheadxrot(0)
  2165. HorusheadDead.AngleXZ=-Horusheadyrot(0)
  2166. HorusheadDead.AngleXY=-Horusheadzrot(0)
  2167. HorusbodyDead.Tx=Horusbodyxpos(0)
  2168. HorusbodyDead.Ty=Horusbodyypos(0)
  2169. HorusbodyDead.Tz=Horusbodyzpos(0)+10
  2170. HorusbodyDead.AngleYZ=-Horusbodyxrot(0)
  2171. HorusbodyDead.AngleXZ=-Horusbodyyrot(0)
  2172. HorusbodyDead.AngleXY=-Horusbodyzrot(0)
  2173. Horuslegs.Ty=-200
  2174. Horushead.Ty=-200
  2175. Horusbody.Ty=-200
  2176. HorusTimer.Set false
  2177. end sub
  2178.  
  2179.  
  2180. Sub InitHorusLiving()
  2181.  
  2182. Horuslegs.Tx=169.47
  2183. Horuslegs.Ty=26
  2184. Horuslegs.Tz=103.16
  2185. Horuslegs.AngleYZ=0
  2186. Horuslegs.AngleXZ=61.26
  2187. Horuslegs.AngleXY=0
  2188. Horushead.Tx=Horusheadxpos(HorusInc)
  2189. Horushead.Ty=Horusheadypos(HorusInc)
  2190. Horushead.Tz=Horusheadzpos(HorusInc)+10
  2191. Horushead.AngleYZ=-Horusheadxrot(HorusInc)
  2192. Horushead.AngleXZ=-Horusheadyrot(HorusInc)
  2193. Horushead.AngleXY=-Horusheadzrot(HorusInc)
  2194. Horusbody.Tx=Horusbodyxpos(HorusInc)
  2195. Horusbody.Ty=Horusbodyypos(HorusInc)
  2196. Horusbody.Tz=Horusbodyzpos(HorusInc)+10
  2197. Horusbody.AngleYZ=-Horusbodyxrot(HorusInc)
  2198. Horusbody.AngleXZ=-Horusbodyyrot(HorusInc)
  2199. Horusbody.AngleXY=-Horusbodyzrot(HorusInc)
  2200. HoruslegsDead.Ty=-200
  2201. HorusheadDead.Ty=-200
  2202. HorusbodyDead.Ty=-200
  2203. HorusIdle()
  2204. End sub
  2205.  
  2206. Sub HorusAttack()
  2207. HorusInFrame=284
  2208. HorusOutFrame=329
  2209. HorusInc=HorusInFrame
  2210. HorusTimer.Set true ,50
  2211. end sub
  2212.  
  2213. Sub HorusIdle()
  2214. HorusInFrame=0
  2215. HorusOutFrame=269
  2216. HorusInc=HorusInFrame
  2217. HorusTimer.Set true ,50
  2218. end sub
  2219.  
  2220. Sub HorusIsHit()
  2221. HorusInFrame=269
  2222. HorusOutFrame=284
  2223. HorusInc=HorusInFrame
  2224. HorusTimer.Set true ,33
  2225. end sub
  2226.  
  2227. Sub HorusTimer_expired()
  2228. if HorusInc<HorusOutFrame then
  2229. HorusInc=HorusInc+1
  2230. else
  2231. HorusIdle()
  2232. end if
  2233. Horushead.Tx=Horusheadxpos(HorusInc)
  2234. Horushead.Ty=Horusheadypos(HorusInc)
  2235. Horushead.Tz=Horusheadzpos(HorusInc)+10
  2236. Horushead.AngleYZ=-Horusheadxrot(HorusInc)
  2237. Horushead.AngleXZ=-Horusheadyrot(HorusInc)
  2238. Horushead.AngleXY=-Horusheadzrot(HorusInc)
  2239. Horusbody.Tx=Horusbodyxpos(HorusInc)
  2240. Horusbody.Ty=Horusbodyypos(HorusInc)
  2241. Horusbody.Tz=Horusbodyzpos(HorusInc)+10
  2242. Horusbody.AngleYZ=-Horusbodyxrot(HorusInc)
  2243. Horusbody.AngleXZ=-Horusbodyyrot(HorusInc)
  2244. Horusbody.AngleXY=-Horusbodyzrot(HorusInc)
  2245. HorusTimer.Set true ,33
  2246. end sub
  2247.  
  2248.  
  2249. '-------------------------------------------------------------------------
  2250. ' ANUBIS
  2251. '-------------------------------------------------------------------------
  2252.  
  2253.  
  2254. Dim AnubisInc,AnubisInFrame,AnubisOutFrame
  2255. Dim Anubisheadxpos,Anubisheadypos,Anubisheadzpos,Anubisheadxrot,Anubisheadyrot,Anubisheadzrot
  2256. Dim Anubisbodyxpos,Anubisbodyypos,Anubisbodyzpos,Anubisbodyxrot,Anubisbodyyrot,Anubisbodyzrot
  2257.  
  2258. AnubisInc=0
  2259.  
  2260. Anubisheadxpos=array(37.18,37.18,37.18,37.18,37.18,37.18,37.19,37.19,37.19,37.2,37.2,37.21,37.21,37.22,37.23,37.23,37.24,37.25,37.25,37.26,37.27,37.27,37.28,37.29,37.3,37.3,37.31,37.32,37.33,37.33,37.34,37.35,37.36,37.36,37.37,37.38,37.38,37.39,37.39,37.4,37.4,37.41,37.41,37.41,37.42,37.42,37.42,37.42,37.42,37.42,37.42,37.42,37.41,37.4,37.39,37.37,37.36,37.34,37.32,37.29,37.27,37.24,37.21,37.18,37.15,37.12,37.09,37.06,37.02,36.99,36.96,36.92,36.89,36.85,36.82,36.78,36.75,36.72,36.68,36.65,36.62,36.59,36.56,36.54,36.51,36.49,36.47,36.45,36.43,36.42,36.41,36.4,36.39,36.38,36.38,36.39,36.4,36.42,36.44,36.47,36.51,36.55,36.6,36.66,36.71,36.78,36.84,36.91,36.99,37.06,37.14,37.22,37.31,37.39,37.48,37.56,37.65,37.74,37.83,37.91,38,38.08,38.17,38.25,38.33,38.4,38.48,38.55,38.61,38.68,38.73,38.79,38.84,38.88,38.92,38.95,38.97,38.99,39,39.01,39.01,39.01,39,39,39,38.99,38.99,38.98,38.97,38.97,38.96,38.95,38.94,38.93,38.92,38.91,38.9,38.89,38.87,38.86,38.85,38.83,38.82,38.81,38.79,38.78,38.76,38.75,38.73,38.71,38.7,38.68,38.67,38.65,38.63,38.62,38.6,38.58,38.57,38.55,38.54,38.52,38.5,38.49,38.47,38.46,38.44,38.43,38.41,38.4,38.38,38.37,38.35,38.34,38.32,38.31,38.29,38.27,38.26,38.24,38.22,38.2,38.18,38.16,38.15,38.13,38.11,38.09,38.07,38.05,38.03,38.01,37.99,37.97,37.95,37.93,37.91,37.89,37.87,37.85,37.83,37.81,37.79,37.77,37.75,37.73,37.71,37.69,37.67,37.65,37.63,37.61,37.59,37.57,37.55,37.53,37.52,37.5,37.48,37.46,37.45,37.43,37.41,37.4,37.38,37.37,37.35,37.34,37.33,37.31,37.3,37.29,37.28,37.27,37.26,37.25,37.24,37.23,37.22,37.21,37.21,37.2,37.19,37.19,37.19,37.18,37.18,37.18,37.18,37.18,37.88,39.42,40.97,41.67,41.62,41.47,41.23,40.93,40.58,40.19,39.79,39.38,38.62,37.66,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.18,37.19,37.22,37.24,37.28,37.32,37.37,37.42,37.47,37.53,37.59,37.65,37.71,37.77,37.82,37.88,37.93,37.98,38.03,38.07,38.11,38.14,38.16,38.17,38.18,38.15,38.07,37.96,37.82,37.68,37.53,37.39,37.28,37.2,37.18)
  2261. Anubisheadypos=array(97.52,97.52,97.52,97.52,97.52,97.52,97.52,97.52,97.52,97.51,97.51,97.51,97.51,97.5,97.5,97.5,97.5,97.49,97.49,97.48,97.48,97.48,97.47,97.47,97.46,97.46,97.45,97.45,97.44,97.44,97.43,97.43,97.42,97.42,97.41,97.41,97.4,97.4,97.39,97.39,97.38,97.38,97.37,97.37,97.36,97.36,97.35,97.35,97.34,97.34,97.33,97.33,97.32,97.32,97.31,97.31,97.3,97.3,97.29,97.28,97.28,97.27,97.27,97.26,97.25,97.25,97.24,97.24,97.23,97.22,97.22,97.21,97.2,97.2,97.19,97.18,97.18,97.17,97.17,97.16,97.15,97.15,97.14,97.13,97.13,97.12,97.12,97.11,97.11,97.1,97.1,97.09,97.09,97.08,97.08,97.07,97.07,97.06,97.06,97.05,97.05,97.04,97.04,97.04,97.03,97.03,97.02,97.02,97.01,97.01,97,97,97,96.99,96.99,96.98,96.98,96.98,96.97,96.97,96.97,96.96,96.96,96.96,96.95,96.95,96.95,96.95,96.94,96.94,96.94,96.94,96.94,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.93,96.94,96.94,96.94,96.94,96.94,96.94,96.94,96.94,96.95,96.95,96.95,96.95,96.95,96.95,96.96,96.96,96.96,96.96,96.96,96.97,96.97,96.97,96.98,96.98,96.98,96.98,96.99,96.99,96.99,97,97,97.01,97.01,97.01,97.02,97.02,97.03,97.03,97.04,97.04,97.05,97.05,97.05,97.06,97.06,97.07,97.07,97.08,97.08,97.09,97.09,97.1,97.1,97.11,97.11,97.12,97.12,97.13,97.13,97.14,97.14,97.15,97.15,97.16,97.16,97.17,97.17,97.18,97.18,97.19,97.19,97.2,97.21,97.21,97.22,97.22,97.23,97.23,97.24,97.25,97.25,97.26,97.26,97.27,97.28,97.28,97.29,97.3,97.3,97.31,97.32,97.32,97.33,97.34,97.34,97.35,97.36,97.37,97.37,97.38,97.39,97.4,97.4,97.41,97.42,97.43,97.44,97.45,97.45,97.46,97.47,97.48,97.49,97.5,97.51,97.52,97.52,97.58,97.67,97.77,97.81,97.81,97.79,97.76,97.72,97.68,97.64,97.61,97.58,97.56,97.56,97.52,97.37,97.03,96.57,96.01,95.42,94.83,94.29,93.85,93.56,93.45,93.46,93.49,93.54,93.61,93.69,93.79,93.91,94.03,94.17,94.32,94.47,94.63,94.8,94.97,95.15,95.32,95.5,95.67,95.84,96,96.16,96.32,96.46,96.59,96.72,96.83,96.95,97.06,97.17,97.27,97.35,97.42,97.48,97.51,97.52)
  2262. Anubisheadzpos=array(-245.58,-245.58,-245.57,-245.56,-245.55,-245.53,-245.51,-245.48,-245.46,-245.43,-245.39,-245.36,-245.32,-245.28,-245.24,-245.19,-245.15,-245.1,-245.05,-245,-244.95,-244.9,-244.85,-244.79,-244.74,-244.69,-244.63,-244.58,-244.53,-244.48,-244.43,-244.38,-244.33,-244.28,-244.23,-244.19,-244.15,-244.11,-244.07,-244.03,-244,-243.97,-243.94,-243.92,-243.9,-243.88,-243.86,-243.85,-243.85,-243.85,-243.85,-243.86,-243.87,-243.89,-243.92,-243.95,-243.98,-244.02,-244.06,-244.11,-244.16,-244.22,-244.27,-244.33,-244.39,-244.46,-244.53,-244.59,-244.66,-244.73,-244.81,-244.88,-244.95,-245.02,-245.1,-245.17,-245.24,-245.31,-245.38,-245.45,-245.52,-245.58,-245.64,-245.7,-245.76,-245.81,-245.86,-245.91,-245.95,-245.99,-246.03,-246.06,-246.08,-246.1,-246.12,-246.13,-246.14,-246.15,-246.16,-246.17,-246.18,-246.18,-246.19,-246.2,-246.21,-246.21,-246.22,-246.23,-246.23,-246.24,-246.24,-246.25,-246.25,-246.26,-246.26,-246.26,-246.27,-246.27,-246.27,-246.27,-246.28,-246.28,-246.28,-246.28,-246.28,-246.28,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.29,-246.27,-246.25,-246.21,-246.17,-246.13,-246.07,-246.01,-245.94,-245.86,-245.78,-245.69,-245.59,-245.5,-245.39,-245.29,-245.18,-245.06,-244.95,-244.83,-244.71,-244.59,-244.46,-244.34,-244.22,-244.09,-243.97,-243.84,-243.72,-243.6,-243.48,-243.37,-243.25,-243.14,-243.04,-242.93,-242.84,-242.74,-242.65,-242.57,-242.5,-242.43,-242.36,-242.31,-242.26,-242.22,-242.18,-242.16,-242.15,-242.14,-242.14,-242.14,-242.14,-242.15,-242.15,-242.15,-242.16,-242.16,-242.17,-242.17,-242.18,-242.19,-242.19,-242.2,-242.21,-242.22,-242.24,-242.25,-242.26,-242.28,-242.29,-242.31,-242.32,-242.34,-242.36,-242.38,-242.4,-242.43,-242.45,-242.47,-242.5,-242.53,-242.55,-242.58,-242.61,-242.65,-242.68,-242.71,-242.75,-242.79,-242.82,-242.86,-242.91,-242.95,-242.99,-243.04,-243.08,-243.13,-243.18,-243.23,-243.29,-243.34,-243.4,-243.45,-243.51,-243.57,-243.64,-243.7,-243.77,-243.83,-243.9,-243.98,-244.05,-244.12,-244.2,-244.28,-244.36,-244.44,-244.52,-244.61,-244.7,-244.79,-244.88,-244.97,-245.07,-245.17,-245.27,-245.37,-245.47,-245.58,-246.51,-248.43,-250.31,-251.17,-250.9,-250.21,-249.23,-248.11,-246.98,-246,-245.31,-245.04,-245.18,-245.44,-245.58,-245.22,-244.25,-242.81,-241.07,-239.17,-237.27,-235.53,-234.09,-233.12,-232.76,-232.77,-232.78,-232.8,-232.84,-232.88,-232.94,-233,-233.08,-233.17,-233.28,-233.4,-233.53,-233.67,-233.83,-234.01,-234.2,-234.41,-234.64,-234.88,-235.14,-235.42,-235.72,-236.03,-236.37,-236.72,-237.27,-238.11,-239.18,-240.37,-241.61,-242.82,-243.9,-244.78,-245.37,-245.58)
  2263. Anubisheadxrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.01,-0.01,-0.01,-0.02,-0.03,-0.04,-0.05,-0.06,-0.08,-0.09,-0.11,-0.13,-0.15,-0.18,-0.2,-0.23,-0.26,-0.29,-0.32,-0.36,-0.4,-0.44,-0.48,-0.52,-0.57,-0.62,-0.67,-0.73,-0.79,-0.85,-0.91,-0.97,-1.04,-1.11,-1.19,-1.27,-1.35,-1.43,-1.52,-1.61,-1.7,-1.8,-1.9,-2,-2.12,-2.25,-2.39,-2.54,-2.7,-2.87,-3.05,-3.23,-3.42,-3.62,-3.82,-4.02,-4.23,-4.44,-4.66,-4.88,-5.09,-5.31,-5.53,-5.75,-5.97,-6.18,-6.4,-6.61,-6.81,-7.01,-7.21,-7.4,-7.58,-7.76,-7.93,-8.09,-8.24,-8.38,-8.51,-8.63,-8.74,-8.84,-8.92,-8.99,-9.05,-9.09,-9.11,-9.12,-9.11,-9.1,-9.09,-9.06,-9.03,-9,-8.95,-8.91,-8.85,-8.79,-8.73,-8.66,-8.59,-8.51,-8.43,-8.35,-8.26,-8.17,-8.08,-7.98,-7.88,-7.78,-7.67,-7.57,-7.46,-7.35,-7.24,-7.13,-7.02,-6.9,-6.79,-6.68,-6.57,-6.46,-6.34,-6.23,-6.12,-6.02,-5.91,-5.81,-5.71,-5.61,-5.51,-5.41,-5.32,-5.24,-5.15,-5.07,-4.99,-4.92,-4.85,-4.78,-4.71,-4.63,-4.56,-4.48,-4.41,-4.33,-4.25,-4.17,-4.09,-4.01,-3.93,-3.85,-3.77,-3.69,-3.61,-3.53,-3.45,-3.36,-3.28,-3.2,-3.12,-3.03,-2.95,-2.87,-2.79,-2.71,-2.62,-2.54,-2.46,-2.38,-2.3,-2.22,-2.14,-2.07,-1.99,-1.91,-1.83,-1.76,-1.69,-1.61,-1.54,-1.47,-1.4,-1.33,-1.26,-1.19,-1.13,-1.06,-1,-0.94,-0.88,-0.82,-0.76,-0.71,-0.66,-0.6,-0.55,-0.51,-0.46,-0.42,-0.37,-0.33,-0.29,-0.26,-0.22,-0.19,-0.16,-0.13,-0.11,-0.09,-0.07,-0.05,-0.03,-0.02,-0.01,-0.01,0,0,-4.19,-13.42,-22.65,-26.85,-26.37,-24.79,-21.89,-17.46,-5.02,4.77,-0.3,-5.37,-3.98,-1.39,0,0,0,0,0,0,0,0,0,0,0,0.59,2,3.69,5.1,5.69,5.6,5.52,6.13,6.74,5.43,3.64,2.99,2.83,4.75,6.67,6.47,5.49,2.62,0.51,2.05,4.91,6.45,4.78,1.67,0,2.41,6.89,9.3,8.78,7.45,5.64,3.66,1.84,0.51,0)
  2264. Anubisheadyrot=array(-6.06,-6.05,-6.01,-5.95,-5.87,-5.76,-5.63,-5.49,-5.32,-5.14,-4.94,-4.73,-4.5,-4.26,-4,-3.74,-3.46,-3.18,-2.88,-2.59,-2.28,-1.97,-1.66,-1.34,-1.02,-0.7,-0.39,-0.07,0.24,0.55,0.86,1.16,1.45,1.73,2.01,2.28,2.53,2.77,3,3.21,3.41,3.6,3.76,3.91,4.03,4.14,4.23,4.29,4.32,4.34,4.32,4.25,4.15,4.01,3.83,3.62,3.38,3.1,2.8,2.47,2.12,1.75,1.35,0.94,0.51,0.06,-0.4,-0.87,-1.34,-1.83,-2.31,-2.81,-3.3,-3.79,-4.28,-4.76,-5.24,-5.71,-6.17,-6.61,-7.04,-7.46,-7.85,-8.23,-8.58,-8.91,-9.21,-9.48,-9.73,-9.94,-10.11,-10.26,-10.36,-10.42,-10.44,-10.44,-10.41,-10.37,-10.32,-10.25,-10.17,-10.07,-9.96,-9.84,-9.71,-9.57,-9.41,-9.25,-9.08,-8.9,-8.71,-8.51,-8.3,-8.09,-7.88,-7.65,-7.42,-7.19,-6.95,-6.71,-6.47,-6.23,-5.98,-5.73,-5.48,-5.23,-4.98,-4.74,-4.49,-4.25,-4,-3.77,-3.53,-3.3,-3.07,-2.85,-2.64,-2.43,-2.23,-2.04,-1.84,-1.64,-1.43,-1.22,-1,-0.77,-0.54,-0.3,-0.06,0.18,0.43,0.68,0.93,1.19,1.44,1.7,1.95,2.21,2.47,2.72,2.98,3.23,3.48,3.72,3.97,4.21,4.44,4.67,4.9,5.12,5.33,5.54,5.74,5.93,6.12,6.29,6.46,6.62,6.76,6.9,7.03,7.14,7.24,7.34,7.41,7.48,7.53,7.57,7.59,7.6,7.6,7.59,7.58,7.57,7.56,7.54,7.52,7.49,7.46,7.43,7.39,7.35,7.31,7.26,7.21,7.15,7.09,7.03,6.96,6.89,6.81,6.73,6.65,6.56,6.47,6.37,6.27,6.17,6.06,5.95,5.83,5.71,5.58,5.45,5.31,5.17,5.03,4.88,4.73,4.57,4.4,4.24,4.06,3.88,3.7,3.51,3.32,3.12,2.92,2.71,2.5,2.28,2.06,1.83,1.6,1.36,1.11,0.86,0.61,0.35,0.08,-0.19,-0.47,-0.75,-1.04,-1.33,-1.63,-1.94,-2.25,-2.57,-2.89,-3.22,-3.55,-3.89,-4.24,-4.59,-4.95,-5.32,-5.69,-6.06,-9.13,-15.39,-21.54,-24.33,-17.53,-2.57,12.39,19.19,11.14,-2.18,-15.2,-22.95,-18.58,-10.44,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.06,-6.16,-6.37,-6.63,-6.85,-6.94,-6.06,-4.64,-3.63,-2.66,-1.5,-0.75,-0.71,-0.66,-0.29,0.42,1.46,2.55,3.17,4.1,6.21,8.66,10.28,10.85,11.07,11.1,10.49,9.04,7.29,5.29,2.89,0.35,-2.07,-4.12,-5.53,-6.06)
  2265. Anubisheadzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.01,0.02,0.03,0.05,0.07,0.09,0.12,0.15,0.18,0.21,0.25,0.29,0.33,0.37,0.41,0.45,0.5,0.54,0.59,0.64,0.68,0.73,0.78,0.83,0.87,0.92,0.96,1.01,1.05,1.09,1.13,1.17,1.2,1.24,1.27,1.3,1.32,1.35,1.37,1.39,1.4,1.41,1.41,1.42,1.41,1.41,1.4,1.39,1.37,1.35,1.33,1.31,1.28,1.25,1.22,1.18,1.15,1.11,1.07,1.03,0.99,0.95,0.9,0.86,0.82,0.77,0.73,0.68,0.64,0.59,0.55,0.51,0.47,0.42,0.38,0.35,0.31,0.28,0.24,0.21,0.18,0.16,0.14,0.11,0.1,0.08,0.07,0.07,0.06,0.06,0.06,0.06,0.06,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.02,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.45,1.45,2.44,2.89,2.82,2.63,2.36,2.03,1.35,0.77,0.71,0.65,0.42,0.14,0,0,0,0,0,0,0,0,0,0,0,-0.04,-0.15,-0.28,-0.38,-0.42,-0.42,-0.41,-0.43,-0.45,-0.43,-0.39,-0.37,-0.33,-0.27,-0.24,-0.89,-1.58,-1.62,-1.63,-1.12,-0.18,0.33,0.24,0.08,0,0.31,0.88,1.19,1.12,0.95,0.72,0.47,0.24,0.07,0)
  2266.  
  2267. Anubisbodyxpos=array(34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97,34.97)
  2268. Anubisbodyypos=array(64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.57,64.66,64.91,65.28,65.72,66.2,66.69,67.13,67.5,67.74,67.83,67.83,67.83,67.83,67.83,67.83,67.82,67.82,67.81,67.8,67.78,67.77,67.75,67.72,67.7,67.66,67.63,67.59,67.54,67.49,67.43,67.37,67.3,67.23,67.14,67.05,66.91,66.68,66.38,66.05,65.7,65.36,65.05,64.8,64.63,64.57)
  2269. Anubisbodyzpos=array(-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18,-254.18)
  2270. Anubisbodyxrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.01,-0.02,-0.04,-0.06,-0.08,-0.11,-0.14,-0.18,-0.22,-0.26,-0.31,-0.36,-0.41,-0.46,-0.52,-0.58,-0.64,-0.71,-0.78,-0.84,-0.91,-0.99,-1.06,-1.13,-1.21,-1.28,-1.36,-1.44,-1.52,-1.6,-1.67,-1.75,-1.83,-1.91,-1.99,-2.06,-2.14,-2.22,-2.29,-2.36,-2.44,-2.51,-2.58,-2.64,-2.71,-2.78,-2.86,-2.94,-3.02,-3.1,-3.19,-3.28,-3.37,-3.46,-3.55,-3.65,-3.75,-3.84,-3.94,-4.04,-4.14,-4.23,-4.33,-4.43,-4.53,-4.62,-4.71,-4.81,-4.9,-4.98,-5.07,-5.15,-5.23,-5.31,-5.39,-5.46,-5.52,-5.59,-5.65,-5.7,-5.75,-5.79,-5.83,-5.87,-5.9,-5.92,-5.94,-5.95,-5.95,-5.94,-5.91,-5.86,-5.78,-5.7,-5.59,-5.47,-5.33,-5.18,-5.01,-4.83,-4.64,-4.44,-4.22,-4,-3.77,-3.53,-3.28,-3.03,-2.77,-2.51,-2.24,-1.98,-1.71,-1.44,-1.17,-0.9,-0.63,-0.36,-0.1,0.16,0.41,0.66,0.9,1.13,1.35,1.56,1.77,1.96,2.14,2.31,2.46,2.6,2.72,2.82,2.91,2.98,3.04,3.07,3.08,3.08,3.08,3.08,3.08,3.08,3.08,3.08,3.07,3.07,3.07,3.07,3.07,3.06,3.06,3.06,3.05,3.05,3.04,3.04,3.03,3.02,3.01,3,2.99,2.98,2.97,2.96,2.95,2.93,2.92,2.9,2.88,2.86,2.84,2.82,2.8,2.77,2.75,2.72,2.69,2.66,2.63,2.6,2.57,2.53,2.49,2.45,2.41,2.37,2.33,2.28,2.23,2.18,2.13,2.08,2.02,1.96,1.9,1.84,1.78,1.71,1.64,1.57,1.5,1.43,1.35,1.27,1.19,1.1,1.02,0.93,0.83,0.74,0.64,0.54,0.44,0.33,0.23,0.11,0,-2.49,-7.81,-13.11,-15.51,-14.86,-13.14,-10.71,-7.91,-5.09,-2.62,-0.84,-0.1,-0.05,-0.05,0,0.82,2.88,5.86,9.46,13.36,17.25,20.81,23.75,25.73,26.47,26.16,25.77,25.67,25.65,25.51,24.94,24.14,23.7,23.67,23.66,23.63,23.26,22.63,22.31,22.35,22.42,22.46,21.92,21.19,21,20.94,20.63,20.06,19.24,17.96,16.18,14.06,11.75,9.36,7,4.8,2.88,1.36,0.36,0)
  2271. Anubisbodyyrot=array(27.66,27.66,27.65,27.63,27.61,27.57,27.54,27.49,27.44,27.38,27.32,27.25,27.17,27.09,27.01,26.91,26.81,26.71,26.6,26.49,26.37,26.24,26.12,25.98,25.85,25.7,25.56,25.41,25.25,25.09,24.93,24.77,24.6,24.42,24.25,24.07,23.88,23.7,23.51,23.32,23.13,22.93,22.73,22.53,22.33,22.12,21.92,21.71,21.5,21.29,21.07,20.82,20.56,20.28,19.99,19.67,19.35,19.01,18.66,18.3,17.92,17.54,17.15,16.76,16.36,15.96,15.55,15.14,14.73,14.33,13.92,13.52,13.12,12.73,12.34,11.96,11.59,11.23,10.88,10.54,10.22,9.91,9.61,9.34,9.08,8.84,8.62,8.42,8.24,8.09,7.97,7.86,7.79,7.75,7.73,7.76,7.84,7.97,8.14,8.37,8.63,8.94,9.28,9.66,10.07,10.51,10.98,11.47,11.99,12.53,13.08,13.66,14.24,14.84,15.44,16.06,16.67,17.29,17.9,18.51,19.12,19.72,20.3,20.88,21.43,21.97,22.49,22.98,23.45,23.89,24.3,24.68,25.02,25.33,25.59,25.81,25.99,26.12,26.2,26.23,26.22,26.22,26.2,26.18,26.16,26.13,26.09,26.05,26.01,25.96,25.91,25.86,25.8,25.74,25.68,25.61,25.55,25.48,25.4,25.33,25.26,25.18,25.11,25.03,24.96,24.88,24.8,24.73,24.65,24.58,24.51,24.44,24.37,24.3,24.23,24.17,24.11,24.05,24,23.95,23.9,23.86,23.82,23.79,23.76,23.73,23.71,23.7,23.69,23.68,23.69,23.69,23.7,23.71,23.73,23.75,23.77,23.8,23.82,23.86,23.89,23.93,23.97,24.01,24.05,24.1,24.15,24.2,24.25,24.31,24.36,24.42,24.48,24.54,24.61,24.67,24.74,24.81,24.87,24.94,25.01,25.09,25.16,25.23,25.3,25.38,25.45,25.52,25.6,25.67,25.75,25.82,25.9,25.97,26.04,26.12,26.19,26.26,26.33,26.4,26.47,26.54,26.61,26.68,26.74,26.8,26.87,26.93,26.98,27.04,27.1,27.15,27.2,27.25,27.3,27.34,27.38,27.42,27.46,27.49,27.52,27.55,27.58,27.6,27.62,27.63,27.65,27.66,27.66,27.66,27.65,27.55,27.3,26.8,25.79,24.21,22.27,20.19,18.19,16.49,15.32,14.87,18.19,24.35,27.66,27.63,27.54,27.4,27.21,26.96,26.67,26.34,25.98,25.57,25.14,23.59,22.27,23.02,24.42,25.18,23.87,21.44,20.13,21.25,23.33,24.46,23.29,21.11,19.94,21.5,24.39,25.94,23.2,20.45,21.72,24.14,25.69,25.96,26.03,26.12,26.28,26.47,26.67,26.88,27.08,27.26,27.42,27.55,27.63,27.66)
  2272. Anubisbodyzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.01,-0.02,-0.02,-0.04,-0.05,-0.06,-0.08,-0.09,-0.11,-0.13,-0.15,-0.17,-0.2,-0.22,-0.25,-0.27,-0.3,-0.33,-0.36,-0.39,-0.42,-0.45,-0.48,-0.51,-0.54,-0.57,-0.61,-0.64,-0.67,-0.7,-0.74,-0.77,-0.8,-0.83,-0.87,-0.9,-0.93,-0.96,-0.99,-1.02,-1.05,-1.07,-1.1,-1.13,-1.16,-1.19,-1.22,-1.25,-1.28,-1.32,-1.35,-1.39,-1.42,-1.46,-1.5,-1.53,-1.57,-1.61,-1.65,-1.69,-1.72,-1.76,-1.8,-1.84,-1.87,-1.91,-1.94,-1.98,-2.01,-2.05,-2.08,-2.11,-2.14,-2.17,-2.19,-2.22,-2.24,-2.27,-2.29,-2.31,-2.32,-2.34,-2.35,-2.36,-2.37,-2.38,-2.38,-2.38,-2.38,-2.37,-2.34,-2.32,-2.28,-2.24,-2.19,-2.13,-2.07,-2,-1.93,-1.86,-1.77,-1.69,-1.6,-1.51,-1.41,-1.31,-1.21,-1.11,-1,-0.89,-0.79,-0.68,-0.57,-0.46,-0.35,-0.24,-0.14,-0.03,0.07,0.17,0.27,0.37,0.46,0.55,0.64,0.72,0.8,0.87,0.94,1,1.05,1.1,1.14,1.18,1.21,1.23,1.24,1.25,1.25,1.25,1.25,1.25,1.25,1.25,1.25,1.24,1.24,1.24,1.24,1.24,1.24,1.24,1.24,1.24,1.23,1.23,1.23,1.23,1.22,1.22,1.22,1.21,1.21,1.2,1.2,1.19,1.19,1.18,1.17,1.17,1.16,1.15,1.14,1.13,1.12,1.11,1.1,1.09,1.08,1.07,1.05,1.04,1.02,1.01,0.99,0.98,0.96,0.94,0.92,0.9,0.88,0.86,0.84,0.82,0.8,0.77,0.75,0.72,0.69,0.67,0.64,0.61,0.58,0.55,0.51,0.48,0.45,0.41,0.38,0.34,0.3,0.26,0.22,0.18,0.14,0.09,0.05,0,-1.95,-6.18,-10.4,-12.31,-12.1,-11.52,-10.65,-9.56,-8.33,-7.04,-5.76,-4.57,-3.17,-1.5,0,1.36,2.87,4.45,6.03,7.56,8.96,10.16,11.11,11.72,11.94,11.82,11.66,11.61,11.59,11.51,11.25,10.91,10.69,10.65,10.64,10.6,10.4,10.12,9.97,9.98,10,10.01,9.79,9.51,9.43,9.4,9.26,9.01,8.66,8.09,7.29,6.34,5.29,4.22,3.15,2.16,1.3,0.61,0.16,0)
  2273.  
  2274.  
  2275.  
  2276. Sub InitAnubisDead()
  2277. ResetAllGodsLights()
  2278. AnubislegsDead.Tx=34.5
  2279. AnubislegsDead.Ty=60.5
  2280. AnubislegsDead.Tz=-253.5
  2281. AnubislegsDead.AngleYZ=0
  2282. AnubislegsDead.AngleXZ=-27.6
  2283. AnubislegsDead.AngleXY=0
  2284. AnubisheadDead.Tx=Anubisheadxpos(0)
  2285. AnubisheadDead.Ty=Anubisheadypos(0)+20
  2286. AnubisheadDead.Tz=Anubisheadzpos(0)
  2287. AnubisheadDead.AngleYZ=-Anubisheadxrot(0)
  2288. AnubisheadDead.AngleXZ=-Anubisheadyrot(0)
  2289. AnubisheadDead.AngleXY=-Anubisheadzrot(0)
  2290. AnubisbodyDead.Tx=Anubisbodyxpos(0)
  2291. AnubisbodyDead.Ty=Anubisbodyypos(0)+20
  2292. AnubisbodyDead.Tz=Anubisbodyzpos(0)
  2293. AnubisbodyDead.AngleYZ=-Anubisbodyxrot(0)
  2294. AnubisbodyDead.AngleXZ=-Anubisbodyyrot(0)
  2295. AnubisbodyDead.AngleXY=-Anubisbodyzrot(0)
  2296. Anubislegs.Ty=-200
  2297. Anubishead.Ty=-200
  2298. Anubisbody.Ty=-200
  2299. AnubisTimer.Set false
  2300. end Sub
  2301.  
  2302.  
  2303.  
  2304. Sub InitAnubisLiving()
  2305.  
  2306. AnubislegsDead.Ty=-200
  2307. AnubisheadDead.Ty=-200
  2308. AnubisbodyDead.Ty=-200
  2309. Anubislegs.Tx=34.5
  2310. Anubislegs.Ty=60.5
  2311. Anubislegs.Tz=-253.5
  2312. Anubislegs.AngleYZ=0
  2313. Anubislegs.AngleXZ=-27.6
  2314. Anubislegs.AngleXY=0
  2315. Anubishead.Tx=Anubisheadxpos(AnubisInc)
  2316. Anubishead.Ty=Anubisheadypos(AnubisInc)+20
  2317. Anubishead.Tz=Anubisheadzpos(AnubisInc)
  2318. Anubishead.AngleYZ=-Anubisheadxrot(AnubisInc)
  2319. Anubishead.AngleXZ=-Anubisheadyrot(AnubisInc)
  2320. Anubishead.AngleXY=-Anubisheadzrot(AnubisInc)
  2321. Anubisbody.Tx=Anubisbodyxpos(AnubisInc)
  2322. Anubisbody.Ty=Anubisbodyypos(AnubisInc)+20
  2323. Anubisbody.Tz=Anubisbodyzpos(AnubisInc)
  2324. Anubisbody.AngleYZ=-Anubisbodyxrot(AnubisInc)
  2325. Anubisbody.AngleXZ=-Anubisbodyyrot(AnubisInc)
  2326. Anubisbody.AngleXY=-Anubisbodyzrot(AnubisInc)
  2327. AnubisIdle()
  2328. End sub
  2329.  
  2330. Sub AnubisAttack()
  2331. AnubisInFrame=284
  2332. AnubisOutFrame=329
  2333. AnubisInc=AnubisInFrame
  2334. AnubisTimer.Set true ,theSpeed
  2335. end sub
  2336.  
  2337. Sub AnubisIdle()
  2338. AnubisInFrame=0
  2339. AnubisOutFrame=269
  2340. AnubisInc=AnubisInFrame
  2341. AnubisTimer.Set true ,theSpeed
  2342. end sub
  2343.  
  2344. Sub AnubisIsHit()
  2345. AnubisInFrame=269
  2346. AnubisOutFrame=284
  2347. AnubisInc=AnubisInFrame
  2348. AnubisTimer.Set true ,theSpeed
  2349. end sub
  2350.  
  2351. Sub AnubisTimer_expired()
  2352. if AnubisInc<AnubisOutFrame then
  2353. AnubisInc=AnubisInc+1
  2354. else
  2355. AnubisIdle()
  2356. end if
  2357. Anubishead.Tx=Anubisheadxpos(AnubisInc)
  2358. Anubishead.Ty=Anubisheadypos(AnubisInc)+20
  2359. Anubishead.Tz=Anubisheadzpos(AnubisInc)
  2360. Anubishead.AngleYZ=-Anubisheadxrot(AnubisInc)
  2361. Anubishead.AngleXZ=-Anubisheadyrot(AnubisInc)
  2362. Anubishead.AngleXY=-Anubisheadzrot(AnubisInc)
  2363. Anubisbody.Tx=Anubisbodyxpos(AnubisInc)
  2364. Anubisbody.Ty=Anubisbodyypos(AnubisInc)+20
  2365. Anubisbody.Tz=Anubisbodyzpos(AnubisInc)
  2366. Anubisbody.AngleYZ=-Anubisbodyxrot(AnubisInc)
  2367. Anubisbody.AngleXZ=-Anubisbodyyrot(AnubisInc)
  2368. Anubisbody.AngleXY=-Anubisbodyzrot(AnubisInc)
  2369. AnubisTimer.Set true ,theSpeed
  2370. end sub
  2371.  
  2372.  
  2373. '-------------------------------------------------------------------------
  2374. ' KHNUM
  2375. '-------------------------------------------------------------------------
  2376. Dim KhnumInc,KhnumInFrame,KhnumOutFrame
  2377. Dim Khnumheadxpos,Khnumheadypos,Khnumheadzpos,Khnumheadxrot,Khnumheadyrot,Khnumheadzrot
  2378. Dim Khnumbodyxpos,Khnumbodyypos,Khnumbodyzpos,Khnumbodyxrot,Khnumbodyyrot,Khnumbodyzrot
  2379.  
  2380. KhnumInc=0
  2381.  
  2382. Khnumheadxpos=array(-111.85,-111.85,-111.85,-111.84,-111.83,-111.82,-111.81,-111.8,-111.78,-111.77,-111.75,-111.73,-111.71,-111.69,-111.66,-111.64,-111.61,-111.58,-111.55,-111.52,-111.49,-111.46,-111.43,-111.4,-111.37,-111.33,-111.3,-111.27,-111.23,-111.2,-111.17,-111.13,-111.1,-111.06,-111.03,-111,-110.96,-110.93,-110.9,-110.87,-110.84,-110.81,-110.78,-110.76,-110.73,-110.7,-110.68,-110.66,-110.64,-110.62,-110.6,-110.58,-110.57,-110.55,-110.54,-110.53,-110.52,-110.52,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.51,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.52,-110.53,-110.53,-110.53,-110.53,-110.53,-110.53,-110.53,-110.53,-110.53,-110.53,-110.54,-110.54,-110.54,-110.54,-110.54,-110.54,-110.54,-110.55,-110.55,-110.55,-110.55,-110.55,-110.56,-110.56,-110.56,-110.56,-110.56,-110.57,-110.57,-110.57,-110.57,-110.57,-110.58,-110.58,-110.58,-110.58,-110.59,-110.59,-110.59,-110.6,-110.6,-110.6,-110.61,-110.61,-110.61,-110.62,-110.62,-110.62,-110.63,-110.63,-110.63,-110.64,-110.64,-110.65,-110.65,-110.65,-110.66,-110.66,-110.67,-110.67,-110.68,-110.68,-110.69,-110.69,-110.7,-110.7,-110.71,-110.71,-110.72,-110.72,-110.73,-110.73,-110.74,-110.74,-110.75,-110.76,-110.76,-110.77,-110.78,-110.78,-110.79,-110.8,-110.8,-110.81,-110.82,-110.82,-110.83,-110.84,-110.85,-110.85,-110.86,-110.87,-110.88,-110.89,-110.89,-110.9,-110.91,-110.92,-110.93,-110.94,-110.94,-110.95,-110.96,-110.97,-110.98,-110.99,-111,-111.01,-111.02,-111.03,-111.04,-111.05,-111.06,-111.07,-111.08,-111.09,-111.11,-111.12,-111.13,-111.14,-111.15,-111.16,-111.17,-111.19,-111.2,-111.21,-111.22,-111.24,-111.25,-111.26,-111.27,-111.29,-111.3,-111.31,-111.33,-111.34,-111.36,-111.37,-111.38,-111.4,-111.41,-111.43,-111.44,-111.46,-111.47,-111.49,-111.5,-111.52,-111.54,-111.55,-111.57,-111.58,-111.6,-111.62,-111.64,-111.65,-111.67,-111.69,-111.7,-111.72,-111.74,-111.76,-111.78,-111.8,-111.81,-111.83,-111.85,-112.42,-113.66,-114.89,-115.45,-114.97,-113.91,-112.01,-110.71,-110.74,-110.84,-111.05,-111.31,-111.57,-111.77,-111.85,-111.47,-110.45,-108.93,-107.09,-105.09,-103.09,-101.26,-99.74,-98.71,-98.34,-98.61,-99.18,-99.86,-100.6,-101.22,-101.65,-101.95,-102.06,-101.92,-101.77,-101.81,-101.93,-102.13,-102.52,-102.99,-103.23,-102.94,-102.36,-101.9,-101.69,-101.6,-101.58,-101.66,-101.95,-102.51,-103.38,-104.46,-105.58,-106.61,-107.65,-108.8,-109.93,-110.91,-111.59,-111.85)
  2383. Khnumheadypos=array(83.97,83.97,83.97,83.97,83.97,83.96,83.96,83.96,83.95,83.95,83.94,83.93,83.93,83.92,83.91,83.91,83.9,83.89,83.88,83.87,83.86,83.85,83.84,83.83,83.82,83.81,83.8,83.79,83.78,83.77,83.76,83.75,83.74,83.73,83.72,83.71,83.7,83.69,83.68,83.67,83.66,83.66,83.65,83.64,83.63,83.62,83.62,83.61,83.6,83.6,83.59,83.59,83.58,83.58,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.57,83.58,83.58,83.58,83.58,83.58,83.58,83.58,83.58,83.58,83.59,83.59,83.59,83.59,83.59,83.59,83.59,83.6,83.6,83.6,83.6,83.6,83.6,83.61,83.61,83.61,83.61,83.61,83.62,83.62,83.62,83.62,83.62,83.63,83.63,83.63,83.63,83.63,83.64,83.64,83.64,83.64,83.65,83.65,83.65,83.65,83.66,83.66,83.66,83.66,83.67,83.67,83.67,83.67,83.68,83.68,83.68,83.68,83.69,83.69,83.69,83.69,83.7,83.7,83.7,83.71,83.71,83.71,83.71,83.72,83.72,83.72,83.73,83.73,83.73,83.73,83.74,83.74,83.74,83.75,83.75,83.75,83.75,83.76,83.76,83.76,83.77,83.77,83.77,83.77,83.78,83.78,83.78,83.79,83.79,83.79,83.79,83.8,83.8,83.8,83.81,83.81,83.81,83.81,83.82,83.82,83.82,83.83,83.83,83.83,83.83,83.84,83.84,83.84,83.85,83.85,83.85,83.85,83.86,83.86,83.86,83.86,83.87,83.87,83.87,83.87,83.88,83.88,83.88,83.88,83.89,83.89,83.89,83.89,83.9,83.9,83.9,83.9,83.9,83.91,83.91,83.91,83.91,83.92,83.92,83.92,83.92,83.92,83.93,83.93,83.93,83.93,83.93,83.93,83.94,83.94,83.94,83.94,83.94,83.94,83.95,83.95,83.95,83.95,83.95,83.95,83.95,83.96,83.96,83.96,83.96,83.96,83.96,83.96,83.96,83.96,83.96,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.97,83.94,83.84,83.73,83.61,83.46,83.36,83.36,83.41,83.87,84.3,84.29,84.28,84.23,84.13,83.97,83.68,83.22,82.63,81.96,81.25,80.55,79.9,79.33,78.91,78.65,78.52,78.41,78.33,78.26,78.22,78.19,78.17,78.16,78.16,78.15,78.18,78.26,78.39,78.54,78.71,78.89,79.08,79.25,79.4,79.52,79.6,79.63,79.44,79.08,78.89,79.03,79.42,79.99,80.68,81.43,82.18,82.87,83.44,83.83,83.97)
  2384. Khnumheadzpos=array(-109.89,-109.89,-109.89,-109.88,-109.87,-109.86,-109.84,-109.83,-109.81,-109.79,-109.76,-109.74,-109.71,-109.68,-109.65,-109.62,-109.58,-109.55,-109.51,-109.47,-109.43,-109.39,-109.35,-109.31,-109.27,-109.23,-109.19,-109.14,-109.1,-109.05,-109.01,-108.97,-108.92,-108.88,-108.84,-108.79,-108.75,-108.71,-108.67,-108.63,-108.59,-108.56,-108.52,-108.48,-108.45,-108.42,-108.39,-108.36,-108.33,-108.3,-108.28,-108.26,-108.24,-108.22,-108.21,-108.2,-108.19,-108.18,-108.17,-108.17,-108.17,-108.17,-108.17,-108.17,-108.18,-108.18,-108.18,-108.18,-108.18,-108.18,-108.19,-108.19,-108.19,-108.19,-108.2,-108.2,-108.2,-108.21,-108.21,-108.22,-108.22,-108.23,-108.23,-108.23,-108.24,-108.25,-108.25,-108.26,-108.26,-108.27,-108.27,-108.28,-108.29,-108.29,-108.3,-108.31,-108.31,-108.32,-108.33,-108.34,-108.34,-108.35,-108.36,-108.37,-108.38,-108.38,-108.39,-108.4,-108.41,-108.42,-108.43,-108.44,-108.45,-108.46,-108.46,-108.47,-108.48,-108.49,-108.5,-108.51,-108.52,-108.53,-108.54,-108.55,-108.56,-108.58,-108.59,-108.6,-108.61,-108.62,-108.63,-108.64,-108.65,-108.66,-108.67,-108.69,-108.7,-108.71,-108.72,-108.73,-108.74,-108.75,-108.77,-108.78,-108.79,-108.8,-108.81,-108.83,-108.84,-108.85,-108.86,-108.87,-108.89,-108.9,-108.91,-108.92,-108.93,-108.95,-108.96,-108.97,-108.98,-109,-109.01,-109.02,-109.03,-109.04,-109.06,-109.07,-109.08,-109.09,-109.11,-109.12,-109.13,-109.14,-109.16,-109.17,-109.18,-109.19,-109.2,-109.22,-109.23,-109.24,-109.25,-109.26,-109.28,-109.29,-109.3,-109.31,-109.32,-109.33,-109.35,-109.36,-109.37,-109.38,-109.39,-109.4,-109.41,-109.42,-109.44,-109.45,-109.46,-109.47,-109.48,-109.49,-109.5,-109.51,-109.52,-109.53,-109.54,-109.55,-109.56,-109.57,-109.58,-109.59,-109.6,-109.61,-109.62,-109.63,-109.64,-109.65,-109.66,-109.66,-109.67,-109.68,-109.69,-109.7,-109.71,-109.71,-109.72,-109.73,-109.74,-109.74,-109.75,-109.76,-109.77,-109.77,-109.78,-109.79,-109.79,-109.8,-109.8,-109.81,-109.81,-109.82,-109.83,-109.83,-109.84,-109.84,-109.84,-109.85,-109.85,-109.86,-109.86,-109.86,-109.87,-109.87,-109.87,-109.88,-109.88,-109.88,-109.88,-109.89,-109.89,-109.89,-109.89,-109.89,-109.89,-109.89,-109.89,-109.89,-109.85,-109.76,-109.68,-109.64,-109.88,-110.41,-111.32,-111.94,-111.88,-111.67,-111.44,-111.27,-111.03,-110.61,-109.89,-108.93,-107.85,-106.7,-105.48,-104.22,-102.94,-101.66,-100.41,-99.19,-98.05,-97.18,-96.62,-96.13,-95.74,-95.58,-95.68,-95.92,-96.17,-96.4,-96.72,-97.3,-97.94,-98.33,-98.42,-98.46,-98.46,-98.39,-98.26,-98.19,-98.5,-99.19,-99.89,-100.44,-100.99,-101.64,-102.42,-103.27,-104.15,-105,-105.93,-107,-108.07,-108.99,-109.65,-109.89)
  2385. Khnumheadxrot=array(0,0,0,-0.01,-0.02,-0.03,-0.04,-0.05,-0.07,-0.09,-0.11,-0.13,-0.15,-0.18,-0.21,-0.23,-0.27,-0.3,-0.33,-0.37,-0.4,-0.44,-0.48,-0.53,-0.57,-0.61,-0.66,-0.71,-0.75,-0.8,-0.85,-0.91,-0.96,-1.01,-1.07,-1.12,-1.18,-1.24,-1.3,-1.36,-1.42,-1.48,-1.54,-1.6,-1.66,-1.73,-1.79,-1.86,-1.92,-1.99,-2.05,-2.12,-2.19,-2.25,-2.32,-2.39,-2.45,-2.52,-2.59,-2.66,-2.73,-2.79,-2.86,-2.93,-3,-3.06,-3.13,-3.2,-3.26,-3.33,-3.4,-3.46,-3.53,-3.59,-3.66,-3.72,-3.78,-3.84,-3.91,-3.97,-4.03,-4.09,-4.14,-4.2,-4.26,-4.32,-4.37,-4.42,-4.48,-4.53,-4.58,-4.63,-4.68,-4.72,-4.77,-4.81,-4.86,-4.9,-4.94,-4.98,-5.01,-5.05,-5.08,-5.12,-5.15,-5.18,-5.2,-5.23,-5.25,-5.27,-5.29,-5.31,-5.33,-5.34,-5.35,-5.36,-5.37,-5.38,-5.38,-5.38,-5.38,-5.38,-5.38,-5.38,-5.38,-5.37,-5.37,-5.37,-5.36,-5.36,-5.35,-5.35,-5.34,-5.33,-5.33,-5.32,-5.31,-5.3,-5.29,-5.28,-5.27,-5.26,-5.24,-5.23,-5.22,-5.2,-5.19,-5.17,-5.15,-5.14,-5.12,-5.1,-5.08,-5.06,-5.04,-5.01,-4.99,-4.97,-4.94,-4.91,-4.89,-4.86,-4.83,-4.8,-4.77,-4.74,-4.71,-4.67,-4.64,-4.6,-4.57,-4.53,-4.49,-4.45,-4.41,-4.37,-4.32,-4.28,-4.23,-4.18,-4.14,-4.09,-4.04,-3.99,-3.94,-3.88,-3.83,-3.78,-3.72,-3.67,-3.61,-3.55,-3.5,-3.44,-3.38,-3.32,-3.26,-3.2,-3.14,-3.08,-3.02,-2.96,-2.9,-2.84,-2.78,-2.71,-2.65,-2.59,-2.53,-2.47,-2.4,-2.34,-2.28,-2.22,-2.16,-2.1,-2.04,-1.97,-1.91,-1.85,-1.79,-1.73,-1.67,-1.62,-1.56,-1.5,-1.44,-1.39,-1.33,-1.28,-1.22,-1.17,-1.11,-1.06,-1.01,-0.96,-0.91,-0.86,-0.82,-0.77,-0.72,-0.68,-0.63,-0.59,-0.55,-0.51,-0.47,-0.43,-0.4,-0.36,-0.33,-0.3,-0.27,-0.24,-0.21,-0.18,-0.16,-0.14,-0.12,-0.1,-0.08,-0.06,-0.05,-0.04,-0.02,-0.02,-0.01,0,0,0,-4.53,-14.49,-24.46,-28.99,-26.35,-21.23,-13.94,-9.13,-10.55,-11.97,-8.74,-4.3,-2.28,-0.91,0,0.7,1.33,1.88,2.34,2.68,2.9,2.97,2.93,2.81,2.63,2.37,2.05,1.66,1.22,0.74,0.08,-0.78,-1.76,-2.77,-3.72,-4.51,-5.05,-5.25,-4.74,-3.41,-1.6,0.38,2.21,3.57,4.51,5.32,5.98,6.46,6.76,6.87,6.8,6.58,6.19,5.6,4.71,3.54,2.29,1.15,0.32,0)
  2386. Khnumheadyrot=array(26.62,26.63,26.65,26.69,26.74,26.81,26.89,26.98,27.08,27.2,27.33,27.47,27.62,27.78,27.95,28.13,28.31,28.51,28.71,28.92,29.14,29.37,29.6,29.83,30.07,30.31,30.56,30.81,31.07,31.33,31.59,31.85,32.11,32.37,32.63,32.9,33.16,33.42,33.68,33.93,34.19,34.44,34.69,34.93,35.17,35.4,35.63,35.85,36.07,36.27,36.48,36.67,36.85,37.03,37.2,37.35,37.5,37.64,37.76,37.87,37.98,38.08,38.18,38.27,38.37,38.45,38.54,38.62,38.7,38.78,38.85,38.92,38.99,39.05,39.11,39.17,39.23,39.28,39.33,39.38,39.43,39.47,39.51,39.55,39.59,39.63,39.66,39.69,39.72,39.75,39.78,39.8,39.82,39.84,39.86,39.88,39.9,39.91,39.93,39.94,39.95,39.96,39.97,39.98,39.98,39.99,40,40,40,40.01,40.01,40.01,40.01,40.02,40.02,40.02,40.02,40.02,40.02,40.02,40.02,40.01,40,39.98,39.97,39.94,39.92,39.89,39.85,39.82,39.78,39.73,39.69,39.64,39.59,39.53,39.47,39.41,39.35,39.28,39.22,39.15,39.07,39,38.92,38.85,38.77,38.69,38.6,38.52,38.43,38.35,38.26,38.17,38.08,37.99,37.9,37.81,37.72,37.63,37.54,37.44,37.35,37.26,37.17,37.08,36.98,36.89,36.8,36.71,36.63,36.54,36.46,36.38,36.31,36.24,36.17,36.1,36.04,35.98,35.92,35.87,35.81,35.76,35.71,35.66,35.62,35.57,35.53,35.49,35.45,35.41,35.37,35.34,35.3,35.26,35.23,35.2,35.16,35.13,35.09,35.06,35.03,34.99,34.96,34.93,34.89,34.85,34.82,34.78,34.74,34.7,34.66,34.62,34.58,34.53,34.49,34.44,34.39,34.34,34.28,34.22,34.16,34.1,34.04,33.97,33.9,33.83,33.75,33.68,33.59,33.51,33.42,33.33,33.23,33.13,33.03,32.92,32.81,32.69,32.57,32.44,32.31,32.18,32.04,31.89,31.74,31.59,31.43,31.26,31.09,30.91,30.73,30.54,30.34,30.14,29.93,29.72,29.5,29.27,29.04,28.8,28.55,28.3,28.04,27.77,27.49,27.21,26.92,26.62,22.93,15.2,7.54,4.08,16.84,30.73,32.03,32.22,31,29.31,28.79,28.47,27.76,27,26.62,26.57,26.54,26.51,26.5,26.49,26.49,26.49,26.5,26.52,26.55,26.58,26.61,26.64,26.66,26.67,26.63,26.51,26.33,26.09,25.82,25.52,25.21,24.9,24.6,24.33,24.1,23.92,23.8,23.75,23.93,24.38,24.97,25.58,26.08,26.33,26.41,26.47,26.52,26.56,26.58,26.6,26.61,26.62,26.62,26.62)
  2387. Khnumheadzrot=array(0,0,0,0,0,-0.01,-0.01,-0.01,-0.02,-0.02,-0.03,-0.04,-0.04,-0.05,-0.06,-0.07,-0.07,-0.08,-0.09,-0.1,-0.11,-0.12,-0.13,-0.15,-0.16,-0.17,-0.18,-0.2,-0.21,-0.22,-0.24,-0.25,-0.27,-0.28,-0.3,-0.31,-0.33,-0.34,-0.36,-0.38,-0.39,-0.41,-0.43,-0.44,-0.46,-0.48,-0.5,-0.51,-0.53,-0.55,-0.57,-0.59,-0.61,-0.62,-0.64,-0.66,-0.68,-0.7,-0.72,-0.74,-0.76,-0.77,-0.79,-0.81,-0.83,-0.85,-0.87,-0.89,-0.9,-0.92,-0.94,-0.96,-0.98,-1,-1.01,-1.03,-1.05,-1.07,-1.08,-1.1,-1.12,-1.13,-1.15,-1.17,-1.18,-1.2,-1.21,-1.23,-1.24,-1.26,-1.27,-1.28,-1.3,-1.31,-1.32,-1.33,-1.35,-1.36,-1.37,-1.38,-1.39,-1.4,-1.41,-1.42,-1.43,-1.44,-1.44,-1.45,-1.46,-1.46,-1.47,-1.47,-1.48,-1.48,-1.48,-1.49,-1.49,-1.49,-1.49,-1.49,-1.48,-1.45,-1.4,-1.33,-1.24,-1.13,-1.01,-0.87,-0.72,-0.55,-0.37,-0.17,0.03,0.25,0.47,0.7,0.94,1.19,1.45,1.7,1.97,2.24,2.51,2.78,3.05,3.32,3.59,3.86,4.13,4.39,4.65,4.91,5.15,5.4,5.63,5.85,6.07,6.27,6.46,6.65,6.81,6.97,7.11,7.23,7.34,7.43,7.5,7.55,7.58,7.59,7.59,7.58,7.57,7.55,7.54,7.51,7.48,7.45,7.42,7.38,7.33,7.29,7.24,7.19,7.13,7.07,7.01,6.94,6.87,6.8,6.73,6.65,6.57,6.49,6.4,6.32,6.23,6.14,6.05,5.95,5.85,5.76,5.66,5.55,5.45,5.35,5.24,5.14,5.03,4.92,4.81,4.7,4.59,4.47,4.36,4.25,4.14,4.02,3.91,3.8,3.68,3.57,3.45,3.34,3.23,3.12,3,2.89,2.78,2.67,2.56,2.46,2.35,2.24,2.14,2.04,1.93,1.83,1.74,1.64,1.54,1.45,1.36,1.27,1.19,1.1,1.02,0.94,0.86,0.79,0.72,0.65,0.58,0.52,0.46,0.4,0.35,0.3,0.26,0.21,0.17,0.14,0.11,0.08,0.06,0.04,0.02,0.01,0,0,0.88,2.83,4.78,5.66,-3.82,-13.3,-6.95,-0.6,-7.4,-14.2,-8.5,-1.87,-0.67,-0.29,0,0.55,1.15,1.76,2.32,2.78,3.09,3.21,2.82,1.8,0.35,-1.3,-2.95,-4.4,-5.42,-5.8,-5.74,-5.54,-5.23,-4.83,-4.35,-3.8,-3.21,-2.59,-1.95,-1.31,-0.69,-0.1,0.44,0.92,1.38,1.86,2.3,2.66,2.92,3.01,2.93,2.7,2.36,1.95,1.51,1.06,0.65,0.31,0.08,0)
  2388.  
  2389. Khnumbodyxpos=array(-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94,-115.94)
  2390. Khnumbodyypos=array(50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50.05,50.19,50.41,50.68,50.99,51.33,51.67,52.01,52.32,52.58,52.77,52.85,52.76,52.58,52.49,52.58,52.77,52.95,53.11,53.2,53.01,52.66,52.48,52.6,52.83,52.95,52.72,52.42,52.34,52.31,52.28,52.16,51.86,51.46,51.17,51,50.84,50.67,50.52,50.38,50.25,50.15,50.07,50.02,50)
  2391. Khnumbodyzpos=array(-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97,-115.97)
  2392. Khnumbodyxrot=array(-6.59,-6.59,-6.58,-6.57,-6.55,-6.52,-6.49,-6.46,-6.42,-6.37,-6.32,-6.27,-6.22,-6.16,-6.09,-6.03,-5.96,-5.89,-5.81,-5.74,-5.66,-5.58,-5.5,-5.41,-5.33,-5.24,-5.15,-5.06,-4.98,-4.89,-4.8,-4.71,-4.62,-4.53,-4.45,-4.36,-4.27,-4.19,-4.11,-4.03,-3.95,-3.87,-3.8,-3.73,-3.66,-3.59,-3.53,-3.47,-3.41,-3.36,-3.31,-3.27,-3.23,-3.19,-3.16,-3.14,-3.12,-3.1,-3.1,-3.09,-3.09,-3.1,-3.11,-3.12,-3.13,-3.14,-3.16,-3.18,-3.2,-3.23,-3.25,-3.28,-3.31,-3.34,-3.37,-3.41,-3.45,-3.48,-3.52,-3.56,-3.6,-3.64,-3.69,-3.73,-3.77,-3.82,-3.86,-3.91,-3.95,-4,-4.04,-4.09,-4.13,-4.18,-4.22,-4.26,-4.31,-4.35,-4.39,-4.43,-4.47,-4.51,-4.55,-4.58,-4.62,-4.65,-4.68,-4.71,-4.74,-4.77,-4.79,-4.81,-4.83,-4.85,-4.86,-4.88,-4.89,-4.89,-4.9,-4.9,-4.9,-4.9,-4.89,-4.88,-4.87,-4.86,-4.85,-4.84,-4.82,-4.8,-4.78,-4.76,-4.74,-4.72,-4.7,-4.67,-4.65,-4.62,-4.6,-4.57,-4.54,-4.51,-4.49,-4.46,-4.43,-4.4,-4.37,-4.35,-4.32,-4.29,-4.27,-4.24,-4.21,-4.19,-4.16,-4.14,-4.12,-4.1,-4.08,-4.06,-4.04,-4.03,-4.01,-4,-3.99,-3.98,-3.97,-3.97,-3.96,-3.96,-3.96,-3.97,-3.99,-4,-4.02,-4.05,-4.08,-4.12,-4.15,-4.2,-4.24,-4.29,-4.34,-4.4,-4.45,-4.51,-4.57,-4.63,-4.7,-4.76,-4.83,-4.9,-4.97,-5.04,-5.11,-5.18,-5.25,-5.32,-5.39,-5.46,-5.53,-5.59,-5.66,-5.72,-5.79,-5.85,-5.91,-5.96,-6.02,-6.07,-6.12,-6.17,-6.21,-6.25,-6.28,-6.32,-6.34,-6.37,-6.38,-6.4,-6.41,-6.42,-6.43,-6.44,-6.45,-6.45,-6.46,-6.47,-6.47,-6.47,-6.48,-6.48,-6.48,-6.49,-6.49,-6.49,-6.49,-6.49,-6.49,-6.49,-6.49,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.5,-6.51,-6.51,-6.51,-6.52,-6.52,-6.53,-6.53,-6.54,-6.54,-6.55,-6.56,-6.57,-6.58,-6.59,-8.03,-11.3,-14.88,-17.23,-17.89,-18.05,-18.22,-18.3,-18.32,-17.79,-16.37,-14.29,-11.81,-9.16,-6.59,-4.07,-1.41,1.35,4.18,7.04,9.91,12.77,15.56,18.27,20.87,22.53,23.74,25.56,27.46,28.92,29.53,29.69,30.11,31.65,32.79,31.97,30.25,28.72,27.69,26.73,25.84,25.01,24.21,23.46,22.78,22.17,21.66,21.42,21.33,20.91,19.53,17.09,13.87,10.15,6.22,2.37,-1.12,-3.97,-5.89,-6.59)
  2393. Khnumbodyyrot=array(42.02,42.02,42.01,42,41.99,41.97,41.95,41.93,41.9,41.87,41.84,41.8,41.76,41.72,41.68,41.63,41.59,41.54,41.49,41.43,41.38,41.32,41.27,41.21,41.15,41.09,41.03,40.97,40.91,40.85,40.78,40.72,40.66,40.6,40.54,40.48,40.42,40.36,40.31,40.25,40.2,40.15,40.09,40.04,40,39.95,39.91,39.87,39.83,39.79,39.76,39.73,39.7,39.68,39.66,39.64,39.63,39.62,39.61,39.61,39.61,39.61,39.62,39.63,39.64,39.65,39.66,39.68,39.69,39.71,39.74,39.76,39.78,39.81,39.84,39.86,39.89,39.93,39.96,39.99,40.03,40.06,40.1,40.14,40.18,40.22,40.26,40.3,40.34,40.38,40.42,40.47,40.51,40.55,40.6,40.64,40.69,40.73,40.77,40.82,40.86,40.91,40.95,40.99,41.04,41.08,41.12,41.16,41.2,41.24,41.28,41.32,41.36,41.4,41.43,41.47,41.5,41.53,41.57,41.6,41.63,41.66,41.69,41.72,41.75,41.78,41.82,41.85,41.88,41.91,41.95,41.98,42.02,42.05,42.08,42.12,42.15,42.18,42.22,42.25,42.28,42.31,42.34,42.38,42.41,42.44,42.46,42.49,42.52,42.55,42.57,42.6,42.62,42.65,42.67,42.69,42.71,42.73,42.75,42.76,42.78,42.79,42.8,42.82,42.83,42.83,42.84,42.84,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.85,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.84,42.83,42.83,42.83,42.83,42.83,42.82,42.82,42.82,42.82,42.81,42.81,42.81,42.81,42.8,42.8,42.79,42.79,42.79,42.78,42.78,42.77,42.77,42.76,42.76,42.75,42.74,42.74,42.73,42.72,42.72,42.71,42.7,42.69,42.69,42.68,42.67,42.66,42.65,42.64,42.63,42.62,42.61,42.6,42.59,42.58,42.56,42.55,42.54,42.53,42.51,42.5,42.49,42.47,42.46,42.44,42.43,42.41,42.39,42.38,42.36,42.34,42.32,42.3,42.29,42.27,42.25,42.23,42.21,42.18,42.16,42.14,42.12,42.1,42.07,42.05,42.02,41.6,40.63,39.51,38.62,38.2,38.12,38.12,38.13,38.15,38.43,39.08,39.94,40.83,41.58,42.02,42.23,42.4,42.53,42.63,42.7,42.74,42.77,42.79,42.79,42.79,42.71,42.48,42.15,41.74,41.3,40.86,40.45,40.12,39.89,39.81,39.82,39.84,39.88,39.95,40.05,40.19,40.37,40.61,41.11,41.89,42.6,42.92,42.87,42.78,42.7,42.62,42.54,42.45,42.36,42.27,42.19,42.13,42.07,42.04,42.02)
  2394. Khnumbodyzrot=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.02,0.02,0.02,0.02,0.02,0.03,0.03,0.03,0.03,0.04,0.04,0.04,0.05,0.05,0.05,0.06,0.06,0.07,0.07,0.08,0.08,0.09,0.09,0.1,0.11,0.11,0.12,0.13,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.2,0.21,0.23,0.25,0.27,0.3,0.32,0.35,0.38,0.41,0.44,0.47,0.51,0.54,0.58,0.62,0.66,0.7,0.74,0.78,0.83,0.87,0.91,0.96,1,1.05,1.09,1.14,1.18,1.23,1.27,1.32,1.36,1.4,1.44,1.49,1.53,1.57,1.61,1.65,1.68,1.72,1.75,1.79,1.82,1.85,1.88,1.9,1.93,1.95,1.97,1.99,2.01,2.02,2.03,2.04,2.05,2.05,2.05,2.05,2.04,2.03,2.02,1.99,1.97,1.94,1.91,1.87,1.83,1.79,1.74,1.69,1.64,1.59,1.53,1.48,1.42,1.36,1.3,1.23,1.17,1.11,1.04,0.98,0.91,0.85,0.79,0.72,0.66,0.6,0.54,0.48,0.42,0.37,0.31,0.26,0.22,0.17,0.13,0.09,0.05,0.02,-0.01,-0.04,-0.06,-0.07,-0.09,-0.09,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.1,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.09,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.08,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.07,-0.06,-0.06,-0.06,-0.06,-0.06,-0.06,-0.06,-0.05,-0.05,-0.05,-0.05,-0.05,-0.05,-0.04,-0.04,-0.04,-0.04,-0.04,-0.03,-0.03,-0.03,-0.03,-0.02,-0.02,-0.02,-0.02,-0.01,-0.01,-0.01,-0.01,0,0,0.22,0.71,1.2,1.42,0.24,-1.9,-4.39,-6.99,-8.19,-7.58,-6.07,-4.1,-2.12,-0.61,0,-0.06,-0.23,-0.48,-0.78,-1.11,-1.44,-1.75,-2,-2.17,-2.23,-2.03,-1.48,-0.68,0.3,1.36,2.42,3.4,4.2,4.75,4.95,4.81,4.43,3.87,3.2,2.46,1.71,1.03,0.45,0.01,-0.35,-0.68,-1.04,-1.54,-2.05,-2.29,-2.23,-2.05,-1.8,-1.48,-1.14,-0.81,-0.49,-0.24,-0.06,0)
  2395.  
  2396.  
  2397.  
  2398.  
  2399. Sub InitKhnumDead()
  2400. ResetAllGodsLights()
  2401. KhnumlegsDead.Tx=-116.8
  2402. KhnumlegsDead.Ty=26
  2403. KhnumlegsDead.Tz=-116.19
  2404. KhnumlegsDead.AngleYZ=0
  2405. KhnumlegsDead.AngleXZ=-42.2
  2406. KhnumlegsDead.AngleXY=0
  2407. KhnumheadDead.Tx=Khnumheadxpos(0)
  2408. KhnumheadDead.Ty=Khnumheadypos(0)
  2409. KhnumheadDead.Tz=Khnumheadzpos(0)
  2410. KhnumheadDead.AngleYZ=-Khnumheadxrot(0)
  2411. KhnumheadDead.AngleXZ=-Khnumheadyrot(0)
  2412. KhnumheadDead.AngleXY=-Khnumheadzrot(0)
  2413. KhnumbodyDead.Tx=Khnumbodyxpos(0)
  2414. KhnumbodyDead.Ty=Khnumbodyypos(0)
  2415. KhnumbodyDead.Tz=Khnumbodyzpos(0)
  2416. KhnumbodyDead.AngleYZ=-Khnumbodyxrot(0)
  2417. KhnumbodyDead.AngleXZ=-Khnumbodyyrot(0)
  2418. KhnumbodyDead.AngleXY=-Khnumbodyzrot(0)
  2419. Khnumlegs.Ty=-200
  2420. Khnumhead.Ty=-200
  2421. Khnumbody.Ty=-200
  2422. KhnumTimer.Set false
  2423. end sub
  2424.  
  2425.  
  2426. Sub InitKhnumLiving()
  2427.  
  2428. Khnumlegs.Tx=-116.8
  2429. Khnumlegs.Ty=26
  2430. Khnumlegs.Tz=-116.19
  2431. Khnumlegs.AngleYZ=0
  2432. Khnumlegs.AngleXZ=-42.2
  2433. Khnumlegs.AngleXY=0
  2434. Khnumhead.Tx=Khnumheadxpos(KhnumInc)
  2435. Khnumhead.Ty=Khnumheadypos(KhnumInc)
  2436. Khnumhead.Tz=Khnumheadzpos(KhnumInc)
  2437. Khnumhead.AngleYZ=-Khnumheadxrot(KhnumInc)
  2438. Khnumhead.AngleXZ=-Khnumheadyrot(KhnumInc)
  2439. Khnumhead.AngleXY=-Khnumheadzrot(KhnumInc)
  2440. Khnumbody.Tx=Khnumbodyxpos(KhnumInc)
  2441. Khnumbody.Ty=Khnumbodyypos(KhnumInc)
  2442. Khnumbody.Tz=Khnumbodyzpos(KhnumInc)
  2443. Khnumbody.AngleYZ=-Khnumbodyxrot(KhnumInc)
  2444. Khnumbody.AngleXZ=-Khnumbodyyrot(KhnumInc)
  2445. Khnumbody.AngleXY=-Khnumbodyzrot(KhnumInc)
  2446. KhnumlegsDead.Ty=-200
  2447. KhnumheadDead.Ty=-200
  2448. KhnumbodyDead.Ty=-200
  2449. KhnumIdle()
  2450. End sub
  2451.  
  2452. Sub KhnumAttack()
  2453. KhnumInFrame=284
  2454. KhnumOutFrame=329
  2455. KhnumInc=KhnumInFrame
  2456. KhnumTimer.Set true ,theSpeed
  2457. end sub
  2458.  
  2459. Sub KhnumIdle()
  2460. KhnumInFrame=0
  2461. KhnumOutFrame=269
  2462. KhnumInc=KhnumInFrame
  2463. KhnumTimer.Set true ,theSpeed
  2464. end sub
  2465.  
  2466. Sub KhnumIsHit()
  2467. KhnumInFrame=269
  2468. KhnumOutFrame=284
  2469. KhnumInc=KhnumInFrame
  2470. KhnumTimer.Set true ,theSpeed
  2471. end sub
  2472.  
  2473. Sub KhnumTimer_expired()
  2474. if KhnumInc<KhnumOutFrame then
  2475. KhnumInc=KhnumInc+1
  2476. else
  2477. KhnumIdle()
  2478. end if
  2479. Khnumhead.Tx=Khnumheadxpos(KhnumInc)
  2480. Khnumhead.Ty=Khnumheadypos(KhnumInc)
  2481. Khnumhead.Tz=Khnumheadzpos(KhnumInc)
  2482. Khnumhead.AngleYZ=-Khnumheadxrot(KhnumInc)
  2483. Khnumhead.AngleXZ=-Khnumheadyrot(KhnumInc)
  2484. Khnumhead.AngleXY=-Khnumheadzrot(KhnumInc)
  2485. Khnumbody.Tx=Khnumbodyxpos(KhnumInc)
  2486. Khnumbody.Ty=Khnumbodyypos(KhnumInc)
  2487. Khnumbody.Tz=Khnumbodyzpos(KhnumInc)
  2488. Khnumbody.AngleYZ=-Khnumbodyxrot(KhnumInc)
  2489. Khnumbody.AngleXZ=-Khnumbodyyrot(KhnumInc)
  2490. Khnumbody.AngleXY=-Khnumbodyzrot(KhnumInc)
  2491. KhnumTimer.Set true ,theSpeed
  2492. end sub
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498. '********************************************************
  2499. ' SNAKE PIT
  2500. '********************************************************
  2501. Dim DummyBallx,DummyBallz,BallInc,SnakePitAnim,whichSequence,shakeInc
  2502. DummyBallx=array(29.07,20.89,12.8,4.79,-3.11,-10.91,-18.61,-26.2,-33.67,-41.04,-48.28,-55.38,-62.31,-68.99,-75.28,-80.88,-85.43,-88.21,-87.96,-84.5,-79.24,-73.36,-67.4,-61.53,-55.8,-50.34,-45.61,-42.51,-41.07,-40.73,-41.14,-42.11,-43.62,-45.72,-48.51,-52.05,-56.13,-60.26,-64.08,-67.34,-69.8,-71.52,-72.61,-73.19,-73.28,-72.77,-71.45,-69.29,-66.75,-64.3,-62.13,-60.43,-59.39,-59.04,-59.15,-59.57,-60.23,-61.06,-61.98,-62.87,-63.62,-64.21,-64.62,-64.86,-64.94)
  2503. DummyBallz=array(-396.64,-397.14,-397.49,-397.64,-397.57,-397.31,-396.91,-396.36,-395.68,-394.9,-393.97,-392.81,-391.3,-389.29,-386.51,-382.73,-377.89,-372,-365.64,-360.42,-357.17,-355.58,-354.98,-354.96,-355.48,-356.87,-359.66,-364.03,-369.1,-374.24,-379.25,-384.07,-388.6,-392.76,-396.32,-398.9,-400.12,-400.04,-398.87,-396.79,-393.99,-390.82,-387.53,-384.26,-381.07,-378.07,-375.5,-373.82,-373.25,-373.46,-374.27,-375.61,-377.33,-379.16,-380.87,-382.37,-383.6,-384.52,-385.09,-385.32,-385.34,-385.24,-385.13,-385.04,-385.01)
  2504. DummyBall.Ty=-200
  2505.  
  2506. Sub snakeGobbler_hit()
  2507. EventLight(1500)
  2508. snakeGobbler.DestroyBall
  2509. theSnakePit(1)
  2510. end sub
  2511.  
  2512. Sub snakePitEnd_hit()
  2513. SpinningDisk.SolenoidOff
  2514. SnakeLight1.State=bulbOff : SnakeLight2.State=bulbOff : SnakeLight3.State=bulbOff
  2515. SnakeHit1=false : SnakeHit2=false : SnakeHit3=false
  2516. AddScore(25*theMultiplier)
  2517. playsound"melody1"
  2518. FlasherPit.State=bulbOff
  2519. end sub
  2520.  
  2521.  
  2522. Sub theSnakePit(whichSequence)
  2523. Select case whichSequence
  2524. case 1 : shakeInc=0 : DummyBall.Ty=45 : LeadtheBall.Set true,15 : SpintheDisk() : PlaySound "fx_wire", 0.3
  2525. case 2 : ShakeTheBall.Set true ,33 : BigWipeLightEvent() : PlaySound "levitation" : ShowMessages(34)
  2526. case 3 : SnakeHiddenKicker.CreateCaptiveBall : PlaySound "crashDown" : FlasherPit.State=bulbBlink
  2527. end select
  2528. end sub
  2529.  
  2530. Sub LeadtheBall_expired()
  2531. if BallInc<64 then
  2532. BallInc=BallInc+1
  2533. DummyBall.Tx=DummyBallx(BallInc)
  2534. DummyBall.Tz=DummyBallz(BallInc)
  2535. LeadtheBall.Set true,15
  2536. else
  2537. BallInc=0
  2538. LeadtheBall.Set false
  2539. theSnakePit(2)
  2540. end if
  2541. end sub
  2542.  
  2543.  
  2544. Sub ShakeTheBall_Expired()
  2545. if shakeInc<100 then
  2546. shakeInc=shakeInc+1
  2547. DummyBall.Tx=(-65)+((RandomNumber(2)/5))
  2548. DummyBall.Ty=DummyBall.Ty+0.1
  2549. DummyBall.Tz=(-385.34)+((RandomNumber(2)/5))
  2550. ShakeTheBall.Set true ,20
  2551. else
  2552. shakeInc=0
  2553. theSnakePit(3)
  2554. DummyBall.Ty=-200
  2555. ShakeTheBall.Set false
  2556. end if
  2557. end sub
  2558.  
  2559. Sub SpintheDisk()
  2560. SpinningDisk.AntiClockwise = TRUE
  2561. SpinningDisk.SolenoidOn
  2562. end Sub
  2563.  
  2564. Sub StopSpintheDisk()
  2565. SpinningDisk.SolenoidOff
  2566. end Sub
  2567.  
  2568. Dim SnakeHit1,SnakeHit2,SnakeHit3
  2569.  
  2570. Sub SnakeTarget1_hit()
  2571. snakeHitSFX()
  2572. AddScore(250*theMultiplier)
  2573. SnakeHit1=true
  2574. SnakeLight1.State=bulbBlink
  2575. CheckSnakeBonus()
  2576. if Snake1.dropped=true then
  2577. Snake1.SolenoidPulse
  2578. FF_Sound DV_BC,-1, "chestClose"
  2579. else
  2580. Snake1.Popdown
  2581. end if
  2582. end sub
  2583.  
  2584.  
  2585. Sub SnakeTarget2_hit()
  2586. snakeHitSFX()
  2587. AddScore(250*theMultiplier)
  2588. SnakeHit2=true
  2589. SnakeLight2.State=bulbBlink
  2590. CheckSnakeBonus()
  2591. if Snake2.dropped=true then
  2592. Snake2.SolenoidPulse
  2593. FF_Sound DV_BR,-1, "chestClose"
  2594. else
  2595. Snake2.Popdown
  2596. end if
  2597. end sub
  2598.  
  2599.  
  2600. Sub SnakeTarget3_hit()
  2601. snakeHitSFX()
  2602. AddScore(250*theMultiplier)
  2603. SnakeHit3=true
  2604. SnakeLight3.State=bulbBlink
  2605. CheckSnakeBonus()
  2606. if Snake3.dropped=true then
  2607. Snake3.SolenoidPulse
  2608. FF_Sound DV_BR,-1, "chestClose"
  2609. else
  2610. Snake3.Popdown
  2611. end if
  2612. end sub
  2613.  
  2614. Sub CheckSnakeBonus()
  2615. if SnakeHit1=true and SnakeHit2=true and SnakeHit3=true then
  2616. BigWipeLightEvent()
  2617. SnakeHit1=false : SnakeHit2=false : SnakeHit3=false
  2618. SnakeLight1.State=bulbOff : SnakeLight2.State=bulbOff : SnakeLight3.State=bulbOff
  2619. if BFDAvail<5 then
  2620. BFDAvail=BFDAvail+1
  2621. ShowMessages(20)
  2622. ProcessLightBackFromDead()
  2623. AddScore(250*theMultiplier)
  2624. end if
  2625. end if
  2626. end sub
  2627.  
  2628.  
  2629. '********************************************************
  2630. ' Progressive Jackpot
  2631. '********************************************************
  2632.  
  2633.  
  2634. Sub bumpSectionTrigIn_hit()
  2635. bumpSectionTrigIn.Collidable=false
  2636. bumpSectionTrigIn.Render=false
  2637. BumperSectionT.Set true, 3000
  2638. BumperSection.Collidable=true
  2639. BumperSection.Render=true
  2640. end sub
  2641.  
  2642. Sub bumpSectionTrigOut_hit()
  2643. bumpSectionTrigIn.Collidable=true
  2644. bumpSectionTrigIn.Render=true
  2645. end sub
  2646.  
  2647. Sub BumperSectionT_expired()
  2648. BumperSection.Collidable=false
  2649. BumperSection.Render=false
  2650. BumperSectionT.Set false
  2651. end sub
  2652.  
  2653.  
  2654. '********************************************************
  2655. ' TUTENKHAM
  2656. '********************************************************
  2657. Dim whichPos,ChaseKeyInc,keyPos
  2658.  
  2659. Sub resetAllGodsOverlay()
  2660. HorusOverlay.frame 1,30,1
  2661. SobekOverlay.frame 5,30,1
  2662. AnubisOverlay.frame 12,30,1
  2663. KhnumOverlay.frame 20,30,1
  2664. end sub
  2665.  
  2666. Sub StopAllGodsOverlay()
  2667. HorusOverlay.frame 32
  2668. SobekOverlay.frame 32
  2669. AnubisOverlay.frame 32
  2670. KhnumOverlay.frame 32
  2671. end sub
  2672.  
  2673. AddDebugText Key.tx
  2674. AddDebugText key.tz
  2675.  
  2676. Dim theKeyAngle
  2677.  
  2678. Sub UndeadTimer_expired()
  2679. ChaseKeyInc=0
  2680. ChasetheKey.Set true,100
  2681. UndeadTimer.Set false
  2682. end sub
  2683.  
  2684.  
  2685. Sub keyposition(whichPos)
  2686. Select case whichPos
  2687. case 1: theKeyAngle=110 :Key.Tx=-165.04 : Key.Tz=58.16 : SobekOverlay.frame 31 : 'Sobek :
  2688. case 2: theKeyAngle=160 :Key.Tx=-80.04 : Key.Tz=-34.83 : KhnumOverlay.frame 31 :'Khnum
  2689. case 3: theKeyAngle=180 :Key.Tx=4.3 : Key.Tz=-43.08 : AnubisOverlay.frame 31 : 'Anubis
  2690. case 4: theKeyAngle=240 : Key.Tx=114.95 : Key.Tz=114.66 : HorusOverlay.frame 31 :'Horus
  2691. end select
  2692. end sub
  2693.  
  2694.  
  2695. Sub ChasetheKey_expired()
  2696. ChaseKeyInc=ChaseKeyInc+1
  2697. Select Case ChaseKeyInc
  2698. Case 1 : SummoningSFX() : keyPos=RandomNumber(4) : keyposition(keyPos) : Key.AngleXZ= theKeyAngle : Key.MoveTo Key.Tx, 27, Key.Tz , 150 : ChaseKey3DAnim() : ChasetheKey.Set true,1000
  2699. Case 2 : BigWipeLightEvent() : Execute "KeyTrigger"&keyPos&".Collidable=true" : ChasetheKey.Set true,5000 : ShakeTheKey.Set true ,33
  2700. Case 3 : ResetAllLightRing() : ChasetheKey.Set true,100 : ShakeTheKey.Set false
  2701. Case 4 : Key.MoveTo Key.Tx, -50, Key.Tz , 150 : ChasetheKey.Set true,1000 : Execute "KeyTrigger"&keyPos&".Collidable=false"
  2702. Case 5 : resetAllGodsOverlay() : ChaseKeyInc=0 : ChasetheKey.Set false : UndeadTimer.Set true, (randomNumber(10000)+5000)
  2703. end select
  2704. end sub
  2705.  
  2706.  
  2707. Sub ShakeTheKey_expired()
  2708. Key.AngleXZ=theKeyAngle+(RandomNumber(15)/2)
  2709. Key.Ty=27+(RandomNumber(6)/2)
  2710. ShakeTheKey.Set true ,33
  2711. end sub
  2712.  
  2713.  
  2714. Sub ChaseKey3DAnim()
  2715. Select case keyPos
  2716. case 1 : SobekAttack() : SobekLightRing.State=BulbBlink : SobekToplight.State=bulbBlink : SobekLight1.State=bulbBlink: SobekLight2.State=bulbBlink
  2717. case 2 : KhnumAttack() : KhnumLightRing.State=BulbBlink: KhnumToplight.State=bulbBlink : KhnumLight1.State=bulbBlink: KhnumLight2.State=bulbBlink
  2718. case 3 : AnubisAttack() : AnubisLightRing.State=BulbBlink: AnubisToplight.State=bulbBlink : AnubisLight1.State=bulbBlink: AnubisLight2.State=bulbBlink
  2719. case 4 : HorusAttack() : HorusLightRing.State=BulbBlink: HorusToplight.State=bulbBlink : HorusLight1.State=bulbBlink: HorusLight2.State=bulbBlink
  2720. end select
  2721. end sub
  2722.  
  2723. Sub ResetAllLightRing()
  2724. SobekLightRing.State=BulbOff : SobekToplight.State=bulbOff : SobekLight1.State=bulbOff: SobekLight2.State=bulbOff
  2725. KhnumLightRing.State=BulbOff: KhnumToplight.State=bulbOff : KhnumLight1.State=bulbOff: KhnumLight2.State=bulbOff
  2726. AnubisLightRing.State=BulbOff: AnubisToplight.State=bulbOff : AnubisLight1.State=bulbOff: AnubisLight2.State=bulbOff
  2727. HorusLightRing.State=BulbOff: HorusToplight.State=bulbOff : HorusLight1.State=bulbOff: HorusLight2.State=bulbOff
  2728. end sub
  2729.  
  2730. Dim Runestone
  2731.  
  2732.  
  2733. Sub KeyTrigger1_hit
  2734. UndeadSFX()
  2735. SobekToplight.FlashForMs 200, 100, BulbOff
  2736. KeyTrigger1.Collidable=false
  2737. ChasetheKey.Set true,50
  2738. AddScore(2000*theMultiplier)
  2739. ShowMessages(21)
  2740. end sub
  2741.  
  2742. Sub KeyTrigger2_hit
  2743. UndeadSFX()
  2744. KhnumToplight.FlashForMs 200, 100, BulbOff
  2745. KeyTrigger2.Collidable=false
  2746. ChasetheKey.Set true,50
  2747. AddScore(2000*theMultiplier)
  2748. ShowMessages(21)
  2749. end sub
  2750.  
  2751. Sub KeyTrigger3_hit
  2752. UndeadSFX()
  2753. AnubisTopLight.FlashForMs 200, 100, BulbOff
  2754. KeyTrigger3.Collidable=false
  2755. ChasetheKey.Set true,50
  2756. AddScore(2000*theMultiplier)
  2757. ShowMessages(21)
  2758. end sub
  2759.  
  2760. Sub KeyTrigger4_hit
  2761. UndeadSFX()
  2762. HorusTopLight.FlashForMs 200, 100, BulbOff
  2763. KeyTrigger4.Collidable=false
  2764. ChasetheKey.Set true,50
  2765. AddScore(2000*theMultiplier)
  2766. ShowMessages(21)
  2767. end sub
  2768.  
  2769. Sub checkRunestone()
  2770. PlaySound"boomreverb"
  2771. if theLevel<9 then
  2772. stingerSFX()
  2773. theLevel=theLevel+1
  2774. PlayfieldFlashing(2000)
  2775. BigWipeLightEvent()
  2776. AddScore(10000*theMultiplier)
  2777. ShowMessages(19)
  2778. DelayDestroyTile=DelayDestroyTile-2500
  2779. if BFDAvail<6 then
  2780. BFDAvail=BFDAvail+1
  2781. ProcessLightBackFromDead()
  2782. end if
  2783. else
  2784. theLevel=1
  2785. backDrop.Frame 1
  2786. 'END OF THE GAME : LOOP
  2787. end if
  2788. ResetAllTile()
  2789. ResetAllLightRing() :
  2790. BackdropAnim()
  2791. RestartNewLevel.Set true,750
  2792. end sub
  2793.  
  2794. Sub RestartNewLevel_expired()
  2795. EngageScarabTargets()
  2796. InitTiles()
  2797. RestartNewLevel.Set false
  2798. end sub
  2799. '*******************************************************
  2800. 'SCROLLING BACKDROP
  2801. '*******************************************************
  2802. Sub BackdropAnim()
  2803. Select case theLevel
  2804. case 1 : backDrop.Frame 1
  2805. case 2: backDrop.Frame 2,15
  2806. case 3: backDrop.Frame 16,29
  2807. case 4: backDrop.Frame 30,43
  2808. case 5: backDrop.Frame 44,58
  2809. case 6: backDrop.Frame 59,72
  2810. case 7: backDrop.Frame 73,86
  2811. case 8: backDrop.Frame 87,100
  2812. end select
  2813. end sub
  2814.  
  2815.  
  2816. '*******************************************************
  2817. '*******************************************************
  2818. Dim TileSeqIn,TileSeqOut,TileSeqLoop,whichTile,theLevelRange,theLevel
  2819. Dim TileList1,TileList2,TileList3,TileList4,TileList5,TileList6,TileList7,TileList8,TileList9,TileList10,TileList11,TileList12
  2820. Dim TileAnimIn1,TileAnimIn2,TileAnimIn3,TileAnimIn4,TileAnimIn5,TileAnimIn6,TileAnimIn7,TileAnimIn8,TileAnimIn9,TileAnimIn10,TileAnimIn11,TileAnimIn12
  2821. Dim TileAnimOut1,TileAnimOut2,TileAnimOut3,TileAnimOut4,TileAnimOut5,TileAnimOut6,TileAnimOut7,TileAnimOut8,TileAnimOut9,TileAnimOut10,TileAnimOut11,TileAnimOut12
  2822. Dim TileAnimLoop1,TileAnimLoop2,TileAnimLoop3,TileAnimLoop4,TileAnimLoop5,TileAnimLoop6,TileAnimLoop7,TileAnimLoop8,TileAnimLoop9,TileAnimLoop10,TileAnimLoop11,TileAnimLoop12
  2823. Dim TileVal1,TileVal2,TileVal3,TileVal4,TileVal5,TileVal6,TileVal7,TileVal8,TileVal9,TileVal10,TileVal11,TileVal12
  2824. '*******************************************************
  2825. ' PARAM ANIMATION 1
  2826. '*******************************************************
  2827. TileList1=Array(14,17,34,1,36,26,6,11)
  2828. TileAnimIn1=Array(22,23,24,25,26,27,28,29)
  2829. TileAnimOut1=Array(22,23,24,25,26,27,28,29)
  2830. TileAnimLoop1=Array(22,23,24,25,26,27,28,29)
  2831. TileVal1=Array(100,100,100,100,100,250,250,250)
  2832. '*******************************************************
  2833. ' PARAM ANIMATION 2
  2834. '*******************************************************
  2835. TileList2=Array(17,13,27,3,30,10,31,12)
  2836. TileAnimIn2=Array(24,27,28,29,25,30,32,23)
  2837. TileAnimOut2=Array(24,27,28,29,25,30,32,23)
  2838. TileAnimLoop2=Array(24,27,28,29,25,30,32,23)
  2839. TileVal2=Array(100,250,250,250,100,250,1000,100)
  2840. '*******************************************************
  2841. ' PARAM ANIMATION 3
  2842. '*******************************************************
  2843. TileList3=Array(2,21,29,7,17,34,9,19)
  2844. TileAnimIn3=Array(24,35,27,34,33,29,32,31)
  2845. TileAnimOut3=Array(24,35,27,34,33,29,32,31)
  2846. TileAnimLoop3=Array(24,35,27,34,33,29,32,31)
  2847. TileVal3=Array(100,1000,250,1000,1000,250,1000,250)
  2848. '*******************************************************
  2849. ' PARAM ANIMATION 4
  2850. '*******************************************************
  2851. TileList4=Array(15,16,5,26,7,30,12,35)
  2852. TileAnimIn4=Array(30,32,33,37,38,34,39,35)
  2853. TileAnimOut4=Array(30,32,33,37,38,34,39,35)
  2854. TileAnimLoop4=Array(30,32,33,37,38,34,39,35)
  2855. TileVal4=Array(250,1000,1000,2500,2500,1000,2500,1000)
  2856. '*******************************************************
  2857. ' PARAM ANIMATION 5
  2858. '*******************************************************
  2859. TileList5=Array(21,2,16,25,24,23,9,20)
  2860. TileAnimIn5=Array(41,36,37,43,44,38,39,40)
  2861. TileAnimOut5=Array(41,36,37,43,44,38,39,40)
  2862. TileAnimLoop5=Array(41,36,37,43,44,38,39,40)
  2863. TileVal5=Array(2500,1000,2500,5000,5000,2500,2500,2500)
  2864. '*******************************************************
  2865. 'PARAM ANIMATION 6
  2866. '*******************************************************
  2867. TileList6=Array(25,8,26,21,36,2,11,22)
  2868. TileAnimIn6=Array(42,38,43,44,39,45,46,47)
  2869. TileAnimOut6=Array(42,38,43,44,39,45,46,47)
  2870. TileAnimLoop6=Array(42,38,43,44,39,45,46,47)
  2871. TileVal6=Array(5000,2500,5000,5000,2500,5000,5000,10000)
  2872. '*******************************************************
  2873. 'PARAM ANIMATION 7
  2874. '*******************************************************
  2875. TileList7=Array(18,20,22,5,25,10,15,30)
  2876. TileAnimIn7=Array(47,37,45,41,48,49,50,51)
  2877. TileAnimOut7=Array(47,37,45,41,48,49,50,51)
  2878. TileAnimLoop7=Array(47,37,45,41,48,49,50,51)
  2879. TileVal7=Array(10000,2500,5000,2500,10000,10000,10000,10000)
  2880. '*******************************************************
  2881. 'PARAM ANIMATION 8
  2882. '*******************************************************
  2883. TileList8=Array(14,27,20,17,28,23,26,29)
  2884. TileAnimIn8=Array(50,52,49,54,55,56,48,57)
  2885. TileAnimOut8=Array(50,52,49,54,55,56,48,57)
  2886. TileAnimLoop8=Array(50,52,49,54,55,56,48,57)
  2887. TileVal8=Array(10000,25000,10000,25000,25000,25000,10000,25000)
  2888.  
  2889. '*******************************************************
  2890.  
  2891.  
  2892.  
  2893. Dim tileHitCount
  2894.  
  2895. Sub ResetAllTile()
  2896. whichTile=0
  2897. tileHitCount=0
  2898. Dim x
  2899. for x=1 to 36
  2900. Execute "t"&x& ".frame 1"
  2901. Execute "tt"&x& ".collidable=false"
  2902. Execute "tt"&x& ".render=false"
  2903. Execute "tVal"&x& "=0"
  2904. next
  2905. end sub
  2906.  
  2907. Dim theTileList
  2908.  
  2909. Sub InitTiles
  2910. Dim x
  2911. Select Case theLevel
  2912. case 1
  2913. for x=0 to 7
  2914. Execute "t"&TileList1(x)& ".frame 2,21,2"
  2915. next
  2916. case 2
  2917. for x=0 to 7
  2918. Execute "t"&TileList2(x)& ".frame 2,21,2"
  2919. next
  2920. case 3
  2921. for x=0 to 7
  2922. Execute "t"&TileList3(x)& ".frame 2,21,2"
  2923. next
  2924. case 4
  2925. for x=0 to 7
  2926. Execute "t"&TileList4(x)& ".frame 2,21,2"
  2927. next
  2928. case 5
  2929. for x=0 to 7
  2930. Execute "t"&TileList5(x)& ".frame 2,21,2"
  2931. next
  2932. case 6
  2933. for x=0 to 7
  2934. Execute "t"&TileList6(x)& ".frame 2,21,2"
  2935. next
  2936. case 7
  2937. for x=0 to 7
  2938. Execute "t"&TileList7(x)& ".frame 2,21,2"
  2939. next
  2940. case 8
  2941. for x=0 to 7
  2942. Execute "t"&TileList8(x)& ".frame 2,21,2"
  2943. next
  2944. end select
  2945. end sub
  2946.  
  2947.  
  2948. Dim DelayDestroyTile
  2949.  
  2950.  
  2951.  
  2952.  
  2953. Sub FlipATile()
  2954. ShowMessages(16)
  2955. select case theLevel
  2956. case 1 :
  2957. Execute "t" &TileList1(whichTile)& ".frame "&TileAnimIn1(whichTile)
  2958. Execute "tt" &TileList1(whichTile)& ".collidable=true"
  2959. Execute "tVal"&TileList1(whichTile)& "="&TileVal1(whichTile)
  2960. Execute "Timer"&TileList1(whichTile)& ".Set true ,DelayDestroyTile"
  2961. case 2 :
  2962. Execute "t" &TileList2(whichTile)& ".frame "&TileAnimIn2(whichTile)
  2963. Execute "tt" &TileList2(whichTile)& ".collidable=true"
  2964. Execute "tVal"&TileList2(whichTile)& "="&TileVal2(whichTile)
  2965. Execute "Timer"&TileList2(whichTile)& ".Set true ,DelayDestroyTile"
  2966. case 3 :
  2967. Execute "t" &TileList3(whichTile)& ".frame "&TileAnimIn3(whichTile)
  2968. Execute "tt" &TileList3(whichTile)& ".collidable=true"
  2969. Execute "tVal"&TileList3(whichTile)& "="&TileVal3(whichTile)
  2970. Execute "Timer"&TileList3(whichTile)& ".Set true ,DelayDestroyTile"
  2971. case 4 :
  2972. Execute "t" &TileList4(whichTile)& ".frame "&TileAnimIn4(whichTile)
  2973. Execute "tt" &TileList4(whichTile)& ".collidable=true"
  2974. Execute "tVal"&TileList4(whichTile)& "="&TileVal4(whichTile)
  2975. Execute "Timer"&TileList4(whichTile)& ".Set true ,DelayDestroyTile"
  2976. case 5 :
  2977. Execute "t" &TileList5(whichTile)& ".frame "&TileAnimIn5(whichTile)
  2978. Execute "tt" &TileList5(whichTile)& ".collidable=true"
  2979. Execute "tVal"&TileList5(whichTile)& "="&TileVal5(whichTile)
  2980. Execute "Timer"&TileList5(whichTile)& ".Set true ,DelayDestroyTile"
  2981. case 6 :
  2982. Execute "t" &TileList6(whichTile)& ".frame "&TileAnimIn6(whichTile)
  2983. Execute "tt" &TileList6(whichTile)& ".collidable=true"
  2984. Execute "tVal"&TileList6(whichTile)& "="&TileVal6(whichTile)
  2985. Execute "Timer"&TileList6(whichTile)& ".Set true ,DelayDestroyTile"
  2986. case 7 :
  2987. Execute "t" &TileList7(whichTile)& ".frame "&TileAnimIn7(whichTile)
  2988. Execute "tt" &TileList7(whichTile)& ".collidable=true"
  2989. Execute "tVal"&TileList7(whichTile)& "="&TileVal7(whichTile)
  2990. Execute "Timer"&TileList7(whichTile)& ".Set true ,DelayDestroyTile"
  2991. case 8 :
  2992. Execute "t" &TileList8(whichTile)& ".frame "&TileAnimIn8(whichTile)
  2993. Execute "tt" &TileList8(whichTile)& ".collidable=true"
  2994. Execute "tVal"&TileList8(whichTile)& "="&TileVal8(whichTile)
  2995. Execute "Timer"&TileList8(whichTile)& ".Set true ,DelayDestroyTile"
  2996. end select
  2997. if whichTile<7 then
  2998. whichTile=whichTile+1
  2999. end if
  3000. end sub
  3001.  
  3002. '****************************************************
  3003. ' CRITTERS ATTACK
  3004. '****************************************************
  3005.  
  3006. Sub resetAllCritters()
  3007. Dim x
  3008. for x= 1 to 36
  3009. Execute "IsCritterTile"&x&"=false"
  3010. next
  3011. resetTimerCritters()
  3012. end sub
  3013.  
  3014. Sub resetTimerCritters()
  3015. Dim t
  3016. for t= 1 to 36
  3017. Execute "Timer"&t&".Set false"
  3018. next
  3019. end sub
  3020.  
  3021. Sub AnubisBlink()
  3022. AnubisFlasher.State=bulbBlink : CrittersLight.State=bulbBlink : AnubisTopLight.State=bulbBlink
  3023. end sub
  3024.  
  3025. Dim whichTimer
  3026.  
  3027. Sub ProcessCrittersTiles()
  3028. Execute "Timer" & whichTimer & ".Set false"
  3029. Execute "t" & whichTimer & ".frame 84,162,143"
  3030. Execute "tt" & whichTimer & ".collidable=false"
  3031. Execute "IsCritterTile" & whichTimer & "=true"
  3032. end sub
  3033.  
  3034.  
  3035. Sub Timer1_expired()
  3036. AnubisBlink() : whichTimer=1 : ProcessCrittersTiles
  3037. end sub
  3038.  
  3039. Sub Timer2_expired()
  3040. AnubisBlink() : whichTimer=2 : ProcessCrittersTiles
  3041. end sub
  3042.  
  3043. Sub Timer3_expired()
  3044. AnubisBlink() : whichTimer=3 : ProcessCrittersTiles
  3045. end sub
  3046.  
  3047. Sub Timer4_expired()
  3048. AnubisBlink() : whichTimer=4 : ProcessCrittersTiles
  3049. end sub
  3050.  
  3051. Sub Timer5_expired()
  3052. AnubisBlink() : whichTimer=5 : ProcessCrittersTiles
  3053. end sub
  3054.  
  3055. Sub Timer6_expired()
  3056. AnubisBlink() : whichTimer=6 : ProcessCrittersTiles
  3057. end sub
  3058.  
  3059. Sub Timer7_expired()
  3060. AnubisBlink() : whichTimer=7 : ProcessCrittersTiles
  3061. end sub
  3062.  
  3063. Sub Timer8_expired()
  3064. AnubisBlink() : whichTimer=8 : ProcessCrittersTiles
  3065. end sub
  3066.  
  3067. Sub Timer9_expired()
  3068. AnubisBlink() : whichTimer=9 : ProcessCrittersTiles
  3069. end sub
  3070.  
  3071. Sub Timer10_expired()
  3072. AnubisBlink() : whichTimer=10 : ProcessCrittersTiles
  3073. end sub
  3074.  
  3075.  
  3076. Sub Timer11_expired()
  3077. AnubisBlink() : whichTimer=11 : ProcessCrittersTiles
  3078. end sub
  3079.  
  3080. Sub Timer12_expired()
  3081. AnubisBlink() : whichTimer=12 : ProcessCrittersTiles
  3082. end sub
  3083.  
  3084. Sub Timer13_expired()
  3085. AnubisBlink() : whichTimer=13 : ProcessCrittersTiles
  3086. end sub
  3087.  
  3088. Sub Timer14_expired()
  3089. AnubisBlink() : whichTimer=14 : ProcessCrittersTiles
  3090. end sub
  3091.  
  3092. Sub Timer15_expired()
  3093. AnubisBlink() : whichTimer=15 : ProcessCrittersTiles
  3094. end sub
  3095.  
  3096. Sub Timer16_expired()
  3097. AnubisBlink() : whichTimer=16 : ProcessCrittersTiles
  3098. end sub
  3099.  
  3100. Sub Timer17_expired()
  3101. AnubisBlink() : whichTimer=17 : ProcessCrittersTiles
  3102. end sub
  3103.  
  3104. Sub Timer18_expired()
  3105. AnubisBlink() : whichTimer=18 : ProcessCrittersTiles
  3106. end sub
  3107.  
  3108. Sub Timer19_expired()
  3109. AnubisBlink() : whichTimer=19 : ProcessCrittersTiles
  3110. end sub
  3111.  
  3112. Sub Timer20_expired()
  3113. AnubisBlink() : whichTimer=20 : ProcessCrittersTiles
  3114. end sub
  3115.  
  3116. Sub Timer21_expired()
  3117. AnubisBlink() : whichTimer=21 : ProcessCrittersTiles
  3118. end sub
  3119.  
  3120. Sub Timer22_expired()
  3121. AnubisBlink() : whichTimer=22 : ProcessCrittersTiles
  3122. end sub
  3123.  
  3124. Sub Timer23_expired()
  3125. AnubisBlink() : whichTimer=23 : ProcessCrittersTiles
  3126. end sub
  3127.  
  3128. Sub Timer24_expired()
  3129. AnubisBlink() : whichTimer=24 : ProcessCrittersTiles
  3130. end sub
  3131.  
  3132. Sub Timer25_expired()
  3133. AnubisBlink() : whichTimer=25 : ProcessCrittersTiles
  3134. end sub
  3135.  
  3136. Sub Timer26_expired()
  3137. AnubisBlink() : whichTimer=26 : ProcessCrittersTiles
  3138. end sub
  3139.  
  3140. Sub Timer27_expired()
  3141. AnubisBlink() : whichTimer=27 : ProcessCrittersTiles
  3142. end sub
  3143.  
  3144. Sub Timer28_expired()
  3145. AnubisBlink() : whichTimer=28 : ProcessCrittersTiles
  3146. end sub
  3147.  
  3148. Sub Timer29_expired()
  3149. AnubisBlink() : whichTimer=29 : ProcessCrittersTiles
  3150. end sub
  3151.  
  3152. Sub Timer30_expired()
  3153. AnubisBlink() : whichTimer=30 : ProcessCrittersTiles
  3154. end sub
  3155.  
  3156. Sub Timer31_expired()
  3157. AnubisBlink() : whichTimer=31 : ProcessCrittersTiles
  3158. end sub
  3159.  
  3160. Sub Timer32_expired()
  3161. AnubisBlink() : whichTimer=32 : ProcessCrittersTiles
  3162. end sub
  3163.  
  3164. Sub Timer33_expired()
  3165. AnubisBlink() : whichTimer=33 : ProcessCrittersTiles
  3166. end sub
  3167.  
  3168. Sub Timer34_expired()
  3169. AnubisBlink() : whichTimer=34 : ProcessCrittersTiles
  3170. end sub
  3171.  
  3172. Sub Timer35_expired()
  3173. AnubisBlink() : whichTimer=35 : ProcessCrittersTiles
  3174. end sub
  3175.  
  3176. Sub Timer36_expired()
  3177. AnubisBlink() : whichTimer=36 : ProcessCrittersTiles
  3178. end sub
  3179.  
  3180. '****************************************************
  3181. '****************************************************
  3182.  
  3183. Sub checkHowManyTileLeft()
  3184. PlaySound"rockdebris", 0.6
  3185. winSFX()
  3186. tileHitCount=tileHitCount+1
  3187. resetTimerCritters()
  3188. if tileHitCount=8 then
  3189. ResetAllTile()
  3190. resetAllCritters()
  3191. DisengageScarabTargets()
  3192. checkRunestone()
  3193. end if
  3194. end sub
  3195.  
  3196. Dim whichIsHit,ValueToShow
  3197.  
  3198. Sub ProcessWhichIsHit()
  3199. EventLight(1500)
  3200. Execute "t" & whichIsHit & ".frame 58,83"
  3201. Execute "Timer" & whichIsHit & ".Set false"
  3202. Execute "tt" & whichIsHit & ".collidable=false"
  3203. Execute "tt" & whichIsHit & ".render=false"
  3204. Execute "AddScore(tVal" & whichIsHit & "*theMultiplier)"
  3205. Execute "ValueToShow=(tVal" & whichIsHit & "*theMultiplier)"
  3206. checkHowManyTileLeft()
  3207. ShowMessages(18)
  3208. end sub
  3209.  
  3210. Sub tt1_hit()
  3211. whichIsHit=1 : ProcessWhichIsHit()
  3212. end sub
  3213.  
  3214. Sub tt2_hit()
  3215. whichIsHit=2 : ProcessWhichIsHit()
  3216. end sub
  3217.  
  3218. Sub tt3_hit()
  3219. whichIsHit=3 : ProcessWhichIsHit()
  3220. end sub
  3221.  
  3222. Sub tt4_hit()
  3223. whichIsHit=4 : ProcessWhichIsHit()
  3224. end sub
  3225.  
  3226. Sub tt5_hit()
  3227. whichIsHit=5 : ProcessWhichIsHit()
  3228. end sub
  3229.  
  3230. Sub tt6_hit()
  3231. whichIsHit=6 : ProcessWhichIsHit()
  3232. end sub
  3233.  
  3234. Sub tt7_hit()
  3235. whichIsHit=7 : ProcessWhichIsHit()
  3236. end sub
  3237.  
  3238. Sub tt8_hit()
  3239. whichIsHit=8 : ProcessWhichIsHit()
  3240. end sub
  3241.  
  3242. Sub tt9_hit()
  3243. whichIsHit=9 : ProcessWhichIsHit()
  3244. end sub
  3245.  
  3246. Sub tt10_hit()
  3247. whichIsHit=10 : ProcessWhichIsHit()
  3248. end sub
  3249.  
  3250. Sub tt11_hit()
  3251. whichIsHit=11 : ProcessWhichIsHit()
  3252. end sub
  3253.  
  3254. Sub tt12_hit()
  3255. whichIsHit=12 : ProcessWhichIsHit()
  3256. end sub
  3257.  
  3258. Sub tt13_hit()
  3259. whichIsHit=13 : ProcessWhichIsHit()
  3260. end sub
  3261.  
  3262. Sub tt14_hit()
  3263. whichIsHit=14 : ProcessWhichIsHit()
  3264. end sub
  3265.  
  3266. Sub tt15_hit()
  3267. whichIsHit=15 : ProcessWhichIsHit()
  3268. end sub
  3269.  
  3270. Sub tt16_hit()
  3271. whichIsHit=16 : ProcessWhichIsHit()
  3272. end sub
  3273.  
  3274. Sub tt17_hit()
  3275. whichIsHit=17 : ProcessWhichIsHit()
  3276. end sub
  3277.  
  3278. Sub tt18_hit()
  3279. whichIsHit=18 : ProcessWhichIsHit()
  3280. end sub
  3281.  
  3282. Sub tt19_hit()
  3283. whichIsHit=19 : ProcessWhichIsHit()
  3284. end sub
  3285.  
  3286. Sub tt20_hit()
  3287. whichIsHit=20 : ProcessWhichIsHit()
  3288. end sub
  3289.  
  3290. Sub tt21_hit()
  3291. whichIsHit=21 : ProcessWhichIsHit()
  3292. end sub
  3293.  
  3294. Sub tt22_hit()
  3295. whichIsHit=22 : ProcessWhichIsHit()
  3296. end sub
  3297.  
  3298. Sub tt23_hit()
  3299. whichIsHit=23 : ProcessWhichIsHit()
  3300. end sub
  3301.  
  3302. Sub tt24_hit()
  3303. whichIsHit=24 : ProcessWhichIsHit()
  3304. end sub
  3305.  
  3306. Sub tt25_hit()
  3307. whichIsHit=25 : ProcessWhichIsHit()
  3308. end sub
  3309.  
  3310. Sub tt26_hit()
  3311. whichIsHit=26 : ProcessWhichIsHit()
  3312. end sub
  3313.  
  3314. Sub tt27_hit()
  3315. whichIsHit=27 : ProcessWhichIsHit()
  3316. end sub
  3317.  
  3318. Sub tt28_hit()
  3319. whichIsHit=28 : ProcessWhichIsHit()
  3320. end sub
  3321.  
  3322. Sub tt29_hit()
  3323. whichIsHit=29 : ProcessWhichIsHit()
  3324. end sub
  3325.  
  3326. Sub tt30_hit()
  3327. whichIsHit=30 : ProcessWhichIsHit()
  3328. end sub
  3329.  
  3330. Sub tt31_hit()
  3331. whichIsHit=31 : ProcessWhichIsHit()
  3332. end sub
  3333.  
  3334. Sub tt32_hit()
  3335. whichIsHit=32 : ProcessWhichIsHit()
  3336. end sub
  3337.  
  3338. Sub tt33_hit()
  3339. whichIsHit=33 : ProcessWhichIsHit()
  3340. end sub
  3341.  
  3342. Sub tt34_hit()
  3343. whichIsHit=34 : ProcessWhichIsHit()
  3344. end sub
  3345.  
  3346. Sub tt35_hit()
  3347. whichIsHit=35 : ProcessWhichIsHit()
  3348. end sub
  3349.  
  3350. Sub tt36_hit()
  3351. whichIsHit=36 : ProcessWhichIsHit()
  3352. end sub
  3353.  
  3354.  
  3355. '****************************************************
  3356. '****************************************************
  3357. ' IT ME WITH YOUR BEST SHOCK
  3358. '****************************************************
  3359. Dim shockMeInc
  3360.  
  3361. Sub ShockIt_expired()
  3362. if shockMeInc<25 then
  3363. shockMeInc=shockMeInc+1
  3364. orb.AngleXZ =RandomNumber(350)
  3365. orb.AngleYZ =RandomNumber(350)
  3366. orb.AngleXY =RandomNumber(350)
  3367. ShockIt.Set true,50
  3368. else
  3369. shockMeInc=0
  3370. ShockIt.Set false
  3371. orb.Ty=-200
  3372. end if
  3373. end sub
  3374.  
  3375.  
  3376. Dim orbPos
  3377.  
  3378. Sub OrbPosition(orbPos)
  3379. Select case orbPos
  3380. case 4 : orb.Tx=167.62 : orb.Ty=60 : orb.Tz=102.66 : 'horusOrb
  3381. case 1 : orb.Tx=-218.87 : orb.Ty=60 : orb.Tz=43.66 : 'sobekOrb
  3382. case 3 : orb.Tx=33.62 : orb.Ty=90 : orb.Tz=-249.83 : 'AnubisOrb
  3383. case 2 : orb.Tx=-107.87 : orb.Ty=60 : orb.Tz=-98.83 : 'KhnumOrb
  3384. end select
  3385. ShockIt.Set true,50
  3386. end sub
  3387.  
  3388. '****************************************************
  3389. ' OH MY GODS
  3390. '****************************************************
  3391. Sub ResetGODS()
  3392. GLight.State=bulbOff
  3393. OLight.State=bulbOff
  3394. DLight.State=bulbOff
  3395. SLight.State=bulbOff
  3396. end sub
  3397.  
  3398. Sub GTrig_Hit()
  3399. AddScore(250*theMultiplier)
  3400. GLight.State=bulbOn
  3401. CheckGODS()
  3402. if GLight.State=bulbOff then
  3403. ShowMessages(6)
  3404. end if
  3405. end sub
  3406.  
  3407. Sub OTrig_Hit()
  3408. if OLight.State=bulbOff then
  3409. ShowMessages(7)
  3410. end if
  3411. AddScore(250*theMultiplier)
  3412. OLight.State=bulbOn
  3413. CheckGODS()
  3414. end sub
  3415.  
  3416. Sub DTrig_Hit()
  3417. if DLight.State=bulbOff then
  3418. ShowMessages(8)
  3419. end if
  3420. AddScore(250*theMultiplier)
  3421. DLight.State=bulbOn
  3422. CheckGODS()
  3423. end sub
  3424.  
  3425. Sub STrig_Hit()
  3426. if SLight.State=bulbOff then
  3427. ShowMessages(9)
  3428. end if
  3429. AddScore(250*theMultiplier)
  3430. SLight.State=bulbOn
  3431. CheckGODS()
  3432. end sub
  3433.  
  3434. Sub CheckGODS()
  3435. PlaySound "click", 1
  3436. if GLight.State=bulbOn and OLight.State=bulbOn and DLight.State=bulbOn and SLight.State=bulbOn then
  3437. processGODS.Set true ,2000
  3438. stingerSFX()
  3439. GLight.State=bulbBlink
  3440. OLight.State=bulbBlink
  3441. DLight.State=bulbBlink
  3442. SLight.State=bulbBlink
  3443. end if
  3444. end sub
  3445.  
  3446.  
  3447. Sub processGODS_expired()
  3448. processGODS.Set false
  3449. AddScore(5000*theMultiplier)
  3450. ShowMessages(10)
  3451. ResetGODS()
  3452. end sub
  3453.  
  3454.  
  3455. '****************************************************
  3456. ' BACK FROM DEAD
  3457. '****************************************************
  3458. Dim leftFlipperOn,rightFlipperOn
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468. Dim BFDAvail
  3469.  
  3470. Sub ProcessLightBackFromDead()
  3471. AddScore(25*theMultiplier)
  3472. select case BFDAvail
  3473. case 0 : BFDLight1.State=bulbOff : BFDLight2.State=bulbOff : BFDLight3.State=bulbOff : BFDLight4.State=bulbOff : BFDLight5.State=bulbOff
  3474. case 1 : BFDLight1.State=bulbOn : BFDLight2.State=bulbOff : BFDLight3.State=bulbOff : BFDLight4.State=bulbOff : BFDLight5.State=bulbOff
  3475. case 2 : BFDLight1.State=bulbOn : BFDLight2.State=bulbOn : BFDLight3.State=bulbOff : BFDLight4.State=bulbOff : BFDLight5.State=bulbOff
  3476. case 3 : BFDLight1.State=bulbOn : BFDLight2.State=bulbOn : BFDLight3.State=bulbOn : BFDLight4.State=bulbOff : BFDLight5.State=bulbOff
  3477. case 4 : BFDLight1.State=bulbOn : BFDLight2.State=bulbOn : BFDLight3.State=bulbOn : BFDLight4.State=bulbOn : BFDLight5.State=bulbOff
  3478. case 5 : BFDLight1.State=bulbOn : BFDLight2.State=bulbOn : BFDLight3.State=bulbOn : BFDLight4.State=bulbOn : BFDLight5.State=bulbOn
  3479. end select
  3480. end sub
  3481.  
  3482.  
  3483.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement