Advertisement
Pr0nogo

Untitled

Jul 20th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. # ----------------------------------------------------------------------------- #
  2. # This header is used by images.dat entries:
  3. # 239 Marine (terran\marine.grp)
  4. .headerstart
  5. IsId 78
  6. Type 12
  7. Init MarineInit
  8. Death MarineDeath
  9. GndAttkInit MarineGndAttkInit
  10. AirAttkInit MarineGndAttkInit
  11. Unused1 [NONE]
  12. GndAttkRpt MarineGndAttkRpt
  13. AirAttkRpt MarineGndAttkRpt
  14. CastSpell [NONE]
  15. GndAttkToIdle MarineGndAttkToIdle
  16. AirAttkToIdle MarineGndAttkToIdle
  17. Unused2 [NONE]
  18. Walking MarineWalking
  19. WalkingToIdle MarineWalkingToIdle
  20. SpecialState1 [NONE]
  21. .headerend
  22. # ----------------------------------------------------------------------------- #
  23.  
  24. MarineInit:
  25. imgul 240 0 0 # Marine Shadow (terran\tmaShad.grp)
  26. MarineWalkingToIdle:
  27. playfram 0x00 # Frame set 0
  28. MarineLocal00:
  29. waitrand 63 75
  30. randcondjmp 25 MarineLocal01
  31. randcondjmp 128 MarineLocal02
  32. goto MarineLocal00
  33.  
  34. MarineLocal01:
  35. playfram 0x66 # Frame set 6
  36. wait 1
  37. playfram 0x77 # Frame set 7
  38. wait 1
  39. playfram 0x88 # Frame set 8
  40. randcondjmp 192 MarineLocal03
  41. turnccwise 2
  42. wait 3
  43. turnccwise 2
  44. wait 3
  45. turnccwise 2
  46. wait 3
  47. turnccwise 2
  48. wait 3
  49. turnccwise 2
  50. wait 3
  51. wait 6
  52. turncwise 2
  53. wait 3
  54. turncwise 2
  55. wait 3
  56. turncwise 2
  57. wait 3
  58. turncwise 2
  59. wait 3
  60. turncwise 2
  61. wait 3
  62. wait 6
  63. turnccwise 2
  64. wait 3
  65. turnccwise 2
  66. wait 3
  67. turnccwise 2
  68. wait 3
  69. goto MarineLocal04
  70.  
  71. MarineLocal04:
  72. playfram 0x77 # Frame set 7
  73. wait 1
  74. playfram 0x66 # Frame set 6
  75. wait 1
  76. goto MarineWalkingToIdle
  77.  
  78. MarineLocal03:
  79. wait 13
  80. playfram 0x11 # Frame set 1
  81. wait 1
  82. playfram 0x00 # Frame set 0
  83. wait 1
  84. goto MarineWalkingToIdle
  85.  
  86. MarineLocal02:
  87. playfram 0x55 # Frame set 5
  88. wait 1
  89. playfram 0x66 # Frame set 6
  90. wait 1
  91. turnrand 3
  92. wait 1
  93. playfram 0x55 # Frame set 5
  94. wait 1
  95. goto MarineWalkingToIdle
  96.  
  97. MarineDeath:
  98. playsndbtwn 276 277 # Terran\MARINE\TMaDth00.WAV | Terran\MARINE\TMaDth01.WAV
  99. setfldirect 0
  100. playfram 0xdd # Frame set 13
  101. wait 2
  102. playfram 222 # Frame set 13, direction 1
  103. wait 2
  104. playfram 223 # Frame set 13, direction 2
  105. wait 2
  106. playfram 224 # Frame set 13, direction 3
  107. wait 2
  108. playfram 225 # Frame set 13, direction 4
  109. wait 2
  110. playfram 226 # Frame set 13, direction 5
  111. wait 2
  112. playfram 227 # Frame set 13, direction 6
  113. wait 2
  114. playfram 228 # Frame set 13, direction 7
  115. wait 2
  116. lowsprul 236 0 0 # Marine Remnants (terran\tmaDeath.grp)
  117. wait 1
  118. end
  119.  
  120. MarineGndAttkInit:
  121. playfram 0x66 # Frame set 6
  122. wait 1
  123. playfram 0x77 # Frame set 7
  124. wait 1
  125. playfram 0x88 # Frame set 8
  126. MarineGndAttkRpt:
  127. wait 1
  128. nobrkcodestart
  129. playsnd 69 # Bullet\TMaFir00.wav
  130. attackwith 1
  131. playfram 0x99 # Frame set 9
  132. wait 1
  133. playfram 0x88 # Frame set 8
  134. wait 1
  135. playfram 0x99 # Frame set 9
  136. wait 1
  137. playfram 0x88 # Frame set 8
  138. wait 1
  139. playfram 0x99 # Frame set 9
  140. wait 1
  141. playfram 0x88 # Frame set 8
  142. wait 1
  143. nobrkcodeend
  144. gotorepeatattk
  145. ignorerest
  146. MarineGndAttkToIdle:
  147. playfram 0x77 # Frame set 7
  148. wait 1
  149. playfram 0x66 # Frame set 6
  150. wait 1
  151. playfram 0x00 # Frame set 0
  152. wait 1
  153. goto MarineWalkingToIdle
  154.  
  155. MarineWalking:
  156. move 4
  157. wait 1
  158. playfram 0x11 # Frame set 1
  159. move 4
  160. wait 1
  161. playfram 0x22 # Frame set 2
  162. move 4
  163. wait 1
  164. playfram 0x33 # Frame set 3
  165. move 4
  166. wait 1
  167. playfram 0x44 # Frame set 4
  168. move 4
  169. wait 1
  170. playfram 0x55 # Frame set 5
  171. move 4
  172. wait 1
  173. playfram 0x00 # Frame set 0
  174. goto MarineWalking
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement