Guest User

Untitled

a guest
Jan 10th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. # ----------------------------------------------------------------------------- #
  2. # This header is used by images.dat entries:
  3. # 005 Broodling (zerg\brood.grp)
  4. .headerstart
  5. IsId 4
  6. Type 26
  7. Init BroodlingInit
  8. Death BroodlingDeath
  9. GndAttkInit BroodlingGndAttkInit
  10. AirAttkInit [NONE]
  11. Unused1 [NONE]
  12. GndAttkRpt BroodlingGndAttkInit
  13. AirAttkRpt [NONE]
  14. CastSpell [NONE]
  15. GndAttkToIdle BroodlingGndAttkToIdle
  16. AirAttkToIdle [NONE]
  17. Unused2 [NONE]
  18. Walking BroodlingWalking
  19. WalkingToIdle BroodlingGndAttkToIdle
  20. SpecialState1 [NONE]
  21. SpecialState2 BroodlingSpecialState2
  22. AlmostBuilt [NONE]
  23. Built [NONE]
  24. Landing [NONE]
  25. LiftOff [NONE]
  26. IsWorking [NONE]
  27. WorkingToIdle [NONE]
  28. WarpIn [NONE]
  29. Unused3 [NONE]
  30. StarEditInit [NONE]
  31. Disable [NONE]
  32. Burrow BroodlingBurrow
  33. UnBurrow BroodlingUnBurrow
  34. Enable [NONE]
  35. .headerend
  36. # ----------------------------------------------------------------------------- #
  37.  
  38. BroodlingInit:
  39. imgul 6 0 0 # Broodling Shadow (zerg\zbrShad.grp)
  40. BroodlingGndAttkToIdle:
  41. playfram 0x11 # Frame set 1
  42. waitrand 25 30
  43. playfram 0x22 # Frame set 2
  44. waitrand 25 30
  45. goto BroodlingGndAttkToIdle
  46.  
  47. BroodlingDeath:
  48. playsnd 785 # Zerg\BROODLING\ZBrDth00.WAV
  49. lowsprul 134 0 0 # Broodling Remnants (zerg\zbrDeath.grp)
  50. wait 1
  51. end
  52.  
  53. BroodlingGndAttkInit:
  54. playfram 0x77 # Frame set 7
  55. wait 1
  56. nobrkcodestart
  57. playfram 0x88 # Frame set 8
  58. wait 1
  59. playfram 0x99 # Frame set 9
  60. attackmelee 1 786 # Zerg\BROODLING\ZBrAtt00.WAV
  61. wait 1
  62. playfram 0xaa # Frame set 10
  63. wait 1
  64. playfram 0xbb # Frame set 11
  65. wait 1
  66. nobrkcodeend
  67. gotorepeatattk
  68. goto BroodlingGndAttkToIdle
  69.  
  70. BroodlingWalking:
  71. call BroodlingLocal00
  72. call BroodlingLocal00
  73. waitrand 3 6
  74. call BroodlingLocal00
  75. waitrand 3 6
  76. call BroodlingLocal00
  77. call BroodlingLocal00
  78. call BroodlingLocal00
  79. waitrand 3 6
  80. goto BroodlingWalking
  81.  
  82. BroodlingLocal00:
  83. move 8
  84. wait 1
  85. playfram 0x11 # Frame set 1
  86. move 8
  87. wait 1
  88. playfram 0x22 # Frame set 2
  89. move 8
  90. wait 1
  91. playfram 0x33 # Frame set 3
  92. move 8
  93. wait 1
  94. playfram 0x44 # Frame set 4
  95. move 8
  96. wait 1
  97. playfram 0x55 # Frame set 5
  98. move 8
  99. wait 1
  100. playfram 0x66 # Frame set 6
  101. move 8
  102. wait 1
  103. playfram 0x00 # Frame set 0
  104. return
  105.  
  106. BroodlingSpecialState2:
  107. playfram 0x154 # Frame set 20
  108. goto BroodlingLocal01
  109.  
  110. BroodlingLocal01:
  111. wait 125
  112. goto BroodlingLocal01
  113.  
  114. BroodlingBurrow:
  115. imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  116. playfram 0xcc # Frame set 12
  117. wait 1
  118. playfram 0xdd # Frame set 13
  119. wait 1
  120. playfram 0xee # Frame set 14
  121. wait 1
  122. playfram 0xff # Frame set 15
  123. wait 1
  124. playfram 0x110 # Frame set 16
  125. wait 1
  126. playfram 0x121 # Frame set 17
  127. wait 1
  128. playfram 0x132 # Frame set 18
  129. wait 1
  130. playfram 0x143 # Frame set 19
  131. wait 1
  132. sigorder 4
  133. goto BroodlingLocal01
  134.  
  135. BroodlingUnBurrow:
  136. waitrand 1 5
  137. imgul 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  138. playfram 0x143 # Frame set 19
  139. wait 1
  140. playfram 0x132 # Frame set 18
  141. wait 1
  142. playfram 0x121 # Frame set 17
  143. wait 1
  144. playfram 0x110 # Frame set 16
  145. wait 1
  146. playfram 0xff # Frame set 15
  147. wait 1
  148. playfram 0xee # Frame set 14
  149. wait 1
  150. playfram 0xdd # Frame set 13
  151. wait 1
  152. playfram 0xcc # Frame set 12
  153. wait 1
  154. goto BroodlingGndAttkToIdle
Advertisement
Add Comment
Please, Sign In to add comment