alien_special_data.s 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. **************************************************************
  2. *** FILE CONTAINING SPECIAL CASE ALIENS ***
  3. **************************************************************
  4. Fast_Appear_Wave_Pig_Object
  5. dc.w 24<<6+3
  6. dc.w BPR-6
  7. dc.w 10
  8. dc.w 1 ;update anim frame every 2 frames
  9. dc.l Appear_Graphics
  10. dc.l Appear_Graphics+(24*4)*10*NUM_PLANES
  11. dc.w 32 ;xsize
  12. dc.w 24 ;ysize
  13. dc.w (24*4)*10 ;plane size - so can get to next alien
  14. dc.w (24*4) ;frame size
  15. dc.w 3 ;alien x words
  16. dc.l Fast_Appear_Wave_Pig_Pattern
  17. dc.l 0
  18. dc.l 0
  19. dc.w 2
  20. dc.b OFF_SCREEN_SET+ALIEN_PRI_SET+ALIEN_NO_COLLISION_SET+PLAYER_NO_COLLISION_SET
  21. dc.b 0
  22. Fast_Appear_Wave_Pig_Pattern
  23. dc.w OBJECT_SOUND_EFFECT_4
  24. dc.w Sound_Appear
  25. dc.w 0,0
  26. dc.w 0,0
  27. dc.w 0,0
  28. dc.w 0,0
  29. dc.w 0,0
  30. dc.w OBJECT_SIMPLE_ADD_WAVE_TRANSFER
  31. dc.w -5,-6
  32. dc.l Appear_Wave_Pig_Alien
  33. dc.w 0,0
  34. dc.w 0,0
  35. dc.w 0,0
  36. dc.w 0,0
  37. dc.w 0,0
  38. dc.w OBJECT_KILL,0,0
  39. Appear_Wave_Pig_Alien
  40. dc.w PIG_ALIEN_HEIGHT<<6+3
  41. dc.w BPR-6
  42. dc.w 6 ;
  43. dc.w 3 ;
  44. dc.l piggraphicsd
  45. dc.l piggraphicsd+((PIG_ALIEN_HEIGHT*4)*6)*NUM_PLANES
  46. dc.w PIG_ALIEN_WIDTH ;xsize
  47. dc.w PIG_ALIEN_HEIGHT ;ysize
  48. dc.w PIG_ALIEN_HEIGHT*4*6 ;plane size
  49. dc.w PIG_ALIEN_HEIGHT*4 ;frame size
  50. dc.w 3 ;alien x words
  51. dc.l Pig_Wave_Appear_Pattern
  52. dc.l 0
  53. dc.l 0
  54. dc.w 2
  55. dc.b OFF_SCREEN_SET+PLAYER_NO_COLLISION_SET+ALIEN_NO_COLLISION_SET
  56. dc.b 0
  57. Pig_Wave_Appear_Pattern
  58. dc.w 0,0
  59. dc.w 0,0
  60. dc.w 0,0
  61. dc.w 0,0
  62. dc.w 0,0
  63. dc.w OBJECT_SIMPLE_ADD_WAVE_TRANSFER
  64. dc.w 0,0
  65. dc.l Generic_Wave_Pig_Alien
  66. dc.w OBJECT_KILL,0,0
  67. Generic_Wave_Pig_Alien
  68. dc.w PIG_ALIEN_HEIGHT<<6+3
  69. dc.w BPR-6
  70. dc.w 6 ;
  71. dc.w 3 ;
  72. dc.l Alien1_Graphics_Table
  73. dc.l Alien1_Mask_Table
  74. dc.w PIG_ALIEN_WIDTH ;xsize
  75. dc.w PIG_ALIEN_HEIGHT ;ysize
  76. dc.w PIG_ALIEN_HEIGHT*4*6 ;plane size
  77. dc.w PIG_ALIEN_HEIGHT*4 ;frame size
  78. dc.w 3 ;alien x words
  79. dc.l Added_Alien_Chase_Pattern
  80. dc.l Wave_Alien_Death
  81. dc.l Normal_pig_stop_pattern
  82. dc.w 2
  83. dc.b OFF_SCREEN_SET+DIRECTION_ALIEN_SET+HIT_PATTERN_SET+ALIEN_PRI_SET
  84. dc.b Pig_Alien_Object
  85. Wave_Alien_death
  86. dc.w OBJECT_UPDATE_SCORE
  87. dc.w 20
  88. dc.w OBJECT_SOUND_EFFECT_1 ;****
  89. dc.w Sound_Crap
  90. dc.w OBJECT_SIMPLE_ADD
  91. dc.w 0,4
  92. dc.l Pig_Explosion
  93. dc.w OBJECT_RANDOM_PIG_SQUEAL
  94. dc.w OBJECT_WAVE_TEST
  95. dc.w OBJECT_KILL,0,0
  96. Counter_Maggot_Alien
  97. dc.w 16<<6+2
  98. dc.w BPR-4
  99. dc.w 4 ;
  100. dc.w 4 ;
  101. dc.l Maggot_Graphics_Table
  102. dc.l Maggot_Mask_Table
  103. dc.w 16 ;xsize
  104. dc.w 16 ;ysize
  105. dc.w 16*2*4 ;plane size
  106. dc.w 16*2 ;frame size
  107. dc.w 2 ;alien x words
  108. dc.l Non_Explode_Maggot_Pattern
  109. dc.l Counter_Maggot_Death
  110. dc.l 0
  111. dc.w 1
  112. dc.b OFF_SCREEN_SET+DIRECTION_ALIEN_SET+ALIEN_PRI_SET
  113. dc.b Maggot
  114. Counter_Maggot_Death
  115. dc.w OBJECT_UPDATE_SCORE
  116. dc.w 10
  117. dc.w OBJECT_SIMPLE_ADD
  118. dc.w -1,-1
  119. dc.l Block_Chain_Explosion
  120. dc.w OBJECT_SOUND_EFFECT_3
  121. dc.w Sound_Splat
  122. dc.w OBJECT_DECREASE
  123. dc.l Maggot_Counter
  124. dc.w OBJECT_TEST
  125. dc.l Maggot_Counter
  126. dc.w 0
  127. dc.l Activate_Maggot_Event
  128. dc.w OBJECT_KILL
  129. dc.w 0,0
  130. Activate_Maggot_Event
  131. dc.w OBJECT_START_SCRIPT
  132. dc.l Current_Maggot_Script
  133. dc.w OBJECT_KILL,0,0
  134. Non_Explode_Maggot_Pattern
  135. dc.w OBJECT_EXECUTE_CODE
  136. dc.l Find_A_Maggot_Direction
  137. Non_Explode_Maggot_Repeat
  138. dc.w OBJECT_EXECUTE_CODE
  139. dc.l Non_Explode_Update_Maggot_Position
  140. dc.w 0,0
  141. dc.w 0,0
  142. dc.w OBJECT_EXECUTE_CODE
  143. dc.l Non_Explode_Update_Maggot_Position
  144. dc.w 0,0
  145. dc.w 0,0
  146. dc.w OBJECT_SET_PAT
  147. dc.l Non_Explode_Maggot_Repeat
  148. Maggot_Appear_Object
  149. dc.w 24<<6+3
  150. dc.w BPR-6
  151. dc.w 10
  152. dc.w 1 ;update anim frame every 2 frames
  153. dc.l Appear_Graphics
  154. dc.l Appear_Graphics+(24*4)*10*NUM_PLANES
  155. dc.w 32 ;xsize
  156. dc.w 24 ;ysize
  157. dc.w (24*4)*10 ;plane size - so can get to next alien
  158. dc.w (24*4) ;frame size
  159. dc.w 3 ;alien x words
  160. dc.l Fast_Appear_Maggot_Pattern
  161. dc.l 0
  162. dc.l 0
  163. dc.w 2
  164. dc.b OFF_SCREEN_SET+ALIEN_PRI_SET+ALIEN_NO_COLLISION_SET+PLAYER_NO_COLLISION_SET
  165. dc.b 0
  166. Normal_Maggot_Appear_Object
  167. dc.w 24<<6+3
  168. dc.w BPR-6
  169. dc.w 10
  170. dc.w 1 ;update anim frame every 2 frames
  171. dc.l Appear_Graphics
  172. dc.l Appear_Graphics+(24*4)*10*NUM_PLANES
  173. dc.w 32 ;xsize
  174. dc.w 24 ;ysize
  175. dc.w (24*4)*10 ;plane size - so can get to next alien
  176. dc.w (24*4) ;frame size
  177. dc.w 3 ;alien x words
  178. dc.l Normal_Fast_Appear_Maggot_Pattern
  179. dc.l 0
  180. dc.l 0
  181. dc.w 2
  182. dc.b OFF_SCREEN_SET+ALIEN_PRI_SET+ALIEN_NO_COLLISION_SET+PLAYER_NO_COLLISION_SET
  183. dc.b 0
  184. Normal_Fast_Appear_Maggot_Pattern
  185. dc.w 0,0
  186. dc.w 0,0
  187. dc.w 0,0
  188. dc.w 0,0
  189. dc.w 0,0
  190. dc.w OBJECT_SIMPLE_ADD
  191. dc.w 8,8
  192. dc.l Maggot_Alien
  193. dc.w 0,0
  194. dc.w 0,0
  195. dc.w 0,0
  196. dc.w 0,0
  197. dc.w 0,0
  198. dc.w OBJECT_KILL,0,0
  199. Fast_Appear_Maggot_Pattern
  200. dc.w 0,0
  201. dc.w 0,0
  202. dc.w 0,0
  203. dc.w 0,0
  204. dc.w 0,0
  205. dc.w OBJECT_SIMPLE_ADD
  206. dc.w 8,8
  207. dc.l Counter_Maggot_Alien
  208. dc.w 0,0
  209. dc.w 0,0
  210. dc.w 0,0
  211. dc.w 0,0
  212. dc.w 0,0
  213. dc.w OBJECT_KILL,0,0
  214. Fast_Appear_Wave_Pig_Object_Timed
  215. dc.w 24<<6+3
  216. dc.w BPR-6
  217. dc.w 10
  218. dc.w 1 ;update anim frame every 2 frames
  219. dc.l Appear_Graphics
  220. dc.l Appear_Graphics+(24*4)*10*NUM_PLANES
  221. dc.w 32 ;xsize
  222. dc.w 24 ;ysize
  223. dc.w (24*4)*10 ;plane size - so can get to next alien
  224. dc.w (24*4) ;frame size
  225. dc.w 3 ;alien x words
  226. dc.l Fast_Appear_Wave_Pig_Pattern_Timed
  227. dc.l 0
  228. dc.l 0
  229. dc.w 2
  230. dc.b OFF_SCREEN_SET+ALIEN_PRI_SET+ALIEN_NO_COLLISION_SET+PLAYER_NO_COLLISION_SET
  231. dc.b 0
  232. Fast_Appear_Wave_Pig_Pattern_Timed
  233. dc.w OBJECT_SOUND_EFFECT_4
  234. dc.w Sound_Appear
  235. dc.w 0,0
  236. dc.w 0,0
  237. dc.w 0,0
  238. dc.w 0,0
  239. dc.w 0,0
  240. dc.w OBJECT_SIMPLE_ADD_WAVE_TRANSFER
  241. dc.w -5,-6
  242. dc.l Appear_Wave_Pig_Alien_Timed
  243. dc.w 0,0
  244. dc.w 0,0
  245. dc.w 0,0
  246. dc.w 0,0
  247. dc.w 0,0
  248. dc.w OBJECT_KILL,0,0
  249. Appear_Wave_Pig_Alien_Timed
  250. dc.w PIG_ALIEN_HEIGHT<<6+3
  251. dc.w BPR-6
  252. dc.w 6 ;
  253. dc.w 3 ;
  254. dc.l piggraphicsd
  255. dc.l piggraphicsd+((PIG_ALIEN_HEIGHT*4)*6)*NUM_PLANES
  256. dc.w PIG_ALIEN_WIDTH ;xsize
  257. dc.w PIG_ALIEN_HEIGHT ;ysize
  258. dc.w PIG_ALIEN_HEIGHT*4*6 ;plane size
  259. dc.w PIG_ALIEN_HEIGHT*4 ;frame size
  260. dc.w 3 ;alien x words
  261. dc.l Pig_Wave_Appear_Pattern_Timed
  262. dc.l 0
  263. dc.l 0
  264. dc.w 2
  265. dc.b OFF_SCREEN_SET+PLAYER_NO_COLLISION_SET+ALIEN_NO_COLLISION_SET
  266. dc.b 0
  267. Pig_Wave_Appear_Pattern_Timed
  268. dc.w 0,0
  269. dc.w 0,0
  270. dc.w 0,0
  271. dc.w 0,0
  272. dc.w 0,0
  273. dc.w OBJECT_SIMPLE_ADD_WAVE_TRANSFER
  274. dc.w 0,0
  275. dc.l Generic_Wave_Pig_Alien_Timed
  276. dc.w OBJECT_KILL,0,0
  277. Generic_Wave_Pig_Alien_Timed
  278. dc.w PIG_ALIEN_HEIGHT<<6+3
  279. dc.w BPR-6
  280. dc.w 6 ;
  281. dc.w 3 ;
  282. dc.l Alien1_Graphics_Table
  283. dc.l Alien1_Mask_Table
  284. dc.w PIG_ALIEN_WIDTH ;xsize
  285. dc.w PIG_ALIEN_HEIGHT ;ysize
  286. dc.w PIG_ALIEN_HEIGHT*4*6 ;plane size
  287. dc.w PIG_ALIEN_HEIGHT*4 ;frame size
  288. dc.w 3 ;alien x words
  289. dc.l Normal_Alien_Chase_Pattern_Timed
  290. dc.l Wave_Alien_Death
  291. dc.l Normal_pig_stop_pattern
  292. dc.w 2
  293. dc.b OFF_SCREEN_SET+DIRECTION_ALIEN_SET+HIT_PATTERN_SET+ALIEN_PRI_SET
  294. dc.b Pig_Alien_Object
  295. Normal_Alien_Chase_Pattern_Timed
  296. dc.w 0,32-PIG_ALIEN_HEIGHT
  297. dc.w OBJECT_SET_COUNTER
  298. dc.w 25*120
  299. Normal_Repeat_Timed
  300. dc.w OBJECT_EXECUTE_CODE
  301. dc.l Basic_Alien_Chase
  302. dc.w 0,0
  303. dc.w OBJECT_EXECUTE_CODE ;repeat twice - er too cut down execution time
  304. dc.l Basic_Alien_Chase
  305. dc.w 0,0
  306. dc.w OBJECT_UNTIL
  307. dc.l Normal_Repeat_Timed
  308. dc.w OBJECT_SOUND_EFFECT_1 ;****
  309. dc.w Sound_Crap
  310. dc.w OBJECT_SIMPLE_ADD
  311. dc.w 0,4
  312. dc.l Pig_Explosion
  313. dc.w OBJECT_RANDOM_PIG_SQUEAL
  314. dc.w OBJECT_KILL,0,0
  315. Statue_Head_Counter_Object
  316. dc.w 17<<6+2
  317. dc.w BPR-4
  318. dc.w 1
  319. dc.w DONT_ANIMATE ;update anim frame every 2 frames
  320. dc.l Statue_Head_Graphics
  321. dc.l Statue_Head_Graphics+(17*2*2)*NUM_PLANES
  322. dc.w 16 ;xsize
  323. dc.w 17 ;ysize
  324. dc.w (17*2*2) ;plane size - so can get to next alien
  325. dc.w (17*2) ;frame size
  326. dc.w 2 ;alien x words
  327. dc.l statue_pattern
  328. dc.l Counter_Gun_Turret_Death
  329. dc.l 0
  330. dc.w 3
  331. dc.b PLAYER_NO_COLLISION_SET+OFF_SCREEN_SET
  332. dc.b 0
  333. Counter_Gun_Turret_death
  334. dc.w OBJECT_UPDATE_SCORE
  335. dc.w 50
  336. dc.w OBJECT_SOUND_EFFECT_4
  337. dc.w Sound_Crap
  338. dc.w OBJECT_SIMPLE_ADD_LOTS
  339. dc.w -8,0
  340. dc.l Explo_Split_Object_1
  341. dc.l Explo_Split_Object_2
  342. dc.l Explo_Split_Object_3
  343. dc.l Explo_Split_Object_4
  344. dc.l $ffffffff
  345. dc.w OBJECT_DECREASE
  346. dc.l Statue_Counter
  347. dc.w OBJECT_TEST
  348. dc.l Statue_Counter
  349. dc.w 0
  350. dc.l Activate_Statue_Event
  351. dc.w OBJECT_KILL
  352. dc.w 0,0
  353. Activate_Statue_Event
  354. dc.w OBJECT_START_SCRIPT
  355. dc.l Statue_Script_Ptr
  356. dc.w OBJECT_KILL,0,0
  357. Pig_Generator_No_Skull_Counter_Object
  358. dc.w 34<<6+3
  359. dc.w BPR-6
  360. dc.w 0
  361. dc.w DONT_ANIMATE ;update anim frame every 2 frames
  362. dc.l Pig_Generator_Graphics
  363. dc.l Pig_Generator_Graphics+(34*4)*NUM_PLANES
  364. dc.w 34 ;xsize
  365. dc.w 34 ;ysize
  366. dc.w (34*4) ;plane size - so can get to next alien
  367. dc.w (34*4) ;frame size
  368. dc.w 3 ;alien x words
  369. dc.l Give_Birth_To_No_Skull_Pigs
  370. dc.l Explode_Counter_Generator
  371. dc.l 0
  372. dc.w 15
  373. dc.b PLAYER_NO_COLLISION_SET+OFF_SCREEN_SET
  374. dc.b Pig_GeneratorNoSkull
  375. Explode_Counter_Generator
  376. dc.w OBJECT_SOUND_EFFECT_4
  377. dc.w Sound_Crap
  378. dc.w OBJECT_SIMPLE_ADD_LOTS
  379. dc.w 0,0
  380. dc.l Explo_Split_Object_5
  381. dc.l Explo_Split_Object_3
  382. dc.l Explo_Split_Object_4
  383. dc.l $ffffffff
  384. dc.w OBJECT_DECREASE
  385. dc.l Statue_Counter
  386. dc.w OBJECT_TEST
  387. dc.l Statue_Counter
  388. dc.w 0
  389. dc.l Activate_Gen_Event
  390. dc.w OBJECT_KILL
  391. dc.w 0,0
  392. Activate_Gen_Event
  393. dc.w OBJECT_START_SCRIPT
  394. dc.l Statue_Script_Ptr
  395. dc.w OBJECT_KILL,0,0
  396. *special variable values
  397. Maggot_Counter dc.w 0
  398. Pig_Counter dc.w 0
  399. Current_Maggot_Script dc.l 0 ;must be setup
  400. Current_Pig_Script dc.l 0
  401. Statue_Counter dc.w 0
  402. Statue_Script_Ptr dc.l 0