level_data.s 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. POST_UP EQU 167
  2. POST_UP_SHAD EQU 187
  3. POST_DOWN EQU 166
  4. POST_DOWN_SHAD EQU 186
  5. POST_HOLE EQU 166
  6. POST_SHAD_HOLE EQU 186
  7. rsreset
  8. level_palette_ptr rs.l 1
  9. level_sprite_palette_ptr rs.l 1
  10. level_map_x_start rs.w 1 ;MUST BE FACTOR OF 16 ;LEFT HAND CORNER
  11. level_map_y_start rs.w 1 ;MUST BE FACTOR OF 16
  12. level_generator_pattern rs.l 1 ;generator attack pattern
  13. level_switch_table rs.l 1
  14. level_activator_table rs.l 1
  15. level_strength_table rs.l 1
  16. level_switch_list rs.l 1
  17. Level_1
  18. dc.l Level_1_Colour_List
  19. dc.l Level_1_Sprite_Colours
  20. dc.w 18*16 ;must be factor of 16
  21. dc.w 100*16 ;must be factor of 16
  22. dc.l Level1_Generator
  23. dc.l Intro_Level_Switch_Table
  24. dc.l Intro_Level_Activate_Table
  25. dc.l Level1_Alien_Strengths
  26. dc.l 0
  27. EVEN
  28. Level_2
  29. dc.l Level_1_Colour_List
  30. dc.l Level_1_Sprite_Colours
  31. dc.w 47*16 ;must be factor of 16
  32. dc.w 59*16 ;must be factor of 16
  33. dc.l Level2_Generator
  34. dc.l Level2_Switch_Table
  35. dc.l Level2_Activate_Table
  36. dc.l 0
  37. dc.l 0
  38. EVEN
  39. Level_3
  40. dc.l Level_1_Colour_List
  41. dc.l Level_1_Sprite_Colours
  42. dc.w 60*16 ;must be factor of 16
  43. dc.w 182*16 ;must be factor of 16
  44. dc.l Level3_Generator
  45. dc.l Level3_Switch_Table
  46. dc.l Level3_Activate_Table
  47. dc.l Level3_Alien_Strengths
  48. dc.l 0
  49. EVEN
  50. Level_4
  51. dc.l Level_1_Colour_List
  52. dc.l Level_1_Sprite_Colours
  53. dc.w 64*16 ;must be factor of 16
  54. dc.w 101*16 ;must be factor of 16
  55. dc.l Level4_Generator
  56. dc.l Level4_Switch_Table
  57. dc.l Level4_Activate_Table
  58. dc.l 0
  59. dc.l 0
  60. EVEN
  61. Level_5
  62. dc.l Level_1_Snow_Colour_List
  63. dc.l Level_1_Sprite_Colours
  64. dc.w 27*16 ;must be factor of 16
  65. dc.w 182*16 ;must be factor of 16
  66. dc.l Level5_Generator
  67. dc.l Level5_Switch_Table
  68. dc.l Level5_Activate_Table
  69. dc.l 0
  70. dc.l 0
  71. EVEN
  72. Level_6
  73. dc.l Level_1_Colour_List
  74. dc.l Level_1_Sprite_Colours
  75. dc.w 29*16 ;must be factor of 16
  76. dc.w 41*16 ;must be factor of 16
  77. dc.l Level6_Generator
  78. dc.l Level6_Switch_Table
  79. dc.l Level6_Activate_Table
  80. dc.l Level6_Alien_Strengths
  81. dc.l 0
  82. EVEN
  83. Level_7
  84. dc.l Level_1_Colour_List
  85. dc.l Level_1_Sprite_Colours
  86. dc.w 82*16 ;must be factor of 16
  87. dc.w 91*16 ;must be factor of 16
  88. dc.l Level7_Generator
  89. dc.l Level7_Switch_Table
  90. dc.l Level7_Activate_Table
  91. dc.l 0
  92. dc.l 0
  93. EVEN
  94. Level_8
  95. dc.l Level_1_Colour_List
  96. dc.l Level_1_Sprite_Colours
  97. dc.w 67*16 ;must be factor of 16
  98. dc.w 148*16 ;must be factor of 16
  99. dc.l Level8_Generator
  100. dc.l Level8_Switch_Table
  101. dc.l Level8_Activate_Table
  102. dc.l 0
  103. dc.l 0
  104. EVEN
  105. Level_list
  106. dc.l Level_1
  107. dc.l Level_2
  108. dc.l Level_3
  109. dc.l Level_4
  110. dc.l Level_5
  111. dc.l Level_6
  112. dc.l Level_7
  113. dc.l Level_8
  114. dc.l $ffffffff
  115. current_level_list_ptr
  116. dc.l Level_List
  117. Level_Toggle
  118. dc.w 0 ;General toggle for use in scripts
  119. level_number dc.b 0 ;Do not need to set here
  120. even
  121. ************************* LEVEL INCLUDES *************************
  122. include "level_data/special_switch_scripts.s"
  123. include "level_data/level_alien_strengths.s"
  124. include "level_data/level1data.s"
  125. include "level_data/level2data.s"
  126. include "level_data/level3data.s"
  127. include "level_data/level4data.s"
  128. include "level_data/level5data.s"
  129. include "level_data/level6data.s"
  130. include "level_data/level7data.s"
  131. include "level_data/level8data.s"