Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ----------------------------------------------------------------------------- #
- # This header is used by images.dat entries:
- # 239 Marine (terran\marine.grp)
- .headerstart
- IsId 78
- Type 12
- Init MarineInit
- Death MarineDeath
- GndAttkInit MarineGndAttkInit
- AirAttkInit MarineGndAttkInit
- Unused1 [NONE]
- GndAttkRpt MarineGndAttkRpt
- AirAttkRpt MarineGndAttkRpt
- CastSpell [NONE]
- GndAttkToIdle MarineGndAttkToIdle
- AirAttkToIdle MarineGndAttkToIdle
- Unused2 [NONE]
- Walking MarineWalking
- WalkingToIdle MarineWalkingToIdle
- SpecialState1 [NONE]
- .headerend
- # ----------------------------------------------------------------------------- #
- MarineInit:
- imgul 240 0 0 # Marine Shadow (terran\tmaShad.grp)
- MarineWalkingToIdle:
- playfram 0x00 # Frame set 0
- MarineLocal00:
- waitrand 63 75
- randcondjmp 25 MarineLocal01
- randcondjmp 128 MarineLocal02
- goto MarineLocal00
- MarineLocal01:
- playfram 0x66 # Frame set 6
- wait 1
- playfram 0x77 # Frame set 7
- wait 1
- playfram 0x88 # Frame set 8
- randcondjmp 192 MarineLocal03
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- wait 6
- turncwise 2
- wait 3
- turncwise 2
- wait 3
- turncwise 2
- wait 3
- turncwise 2
- wait 3
- turncwise 2
- wait 3
- wait 6
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- turnccwise 2
- wait 3
- goto MarineLocal04
- MarineLocal04:
- playfram 0x77 # Frame set 7
- wait 1
- playfram 0x66 # Frame set 6
- wait 1
- goto MarineWalkingToIdle
- MarineLocal03:
- wait 13
- playfram 0x11 # Frame set 1
- wait 1
- playfram 0x00 # Frame set 0
- wait 1
- goto MarineWalkingToIdle
- MarineLocal02:
- playfram 0x55 # Frame set 5
- wait 1
- playfram 0x66 # Frame set 6
- wait 1
- turnrand 3
- wait 1
- playfram 0x55 # Frame set 5
- wait 1
- goto MarineWalkingToIdle
- MarineDeath:
- playsndbtwn 276 277 # Terran\MARINE\TMaDth00.WAV | Terran\MARINE\TMaDth01.WAV
- setfldirect 0
- playfram 0xdd # Frame set 13
- wait 2
- playfram 222 # Frame set 13, direction 1
- wait 2
- playfram 223 # Frame set 13, direction 2
- wait 2
- playfram 224 # Frame set 13, direction 3
- wait 2
- playfram 225 # Frame set 13, direction 4
- wait 2
- playfram 226 # Frame set 13, direction 5
- wait 2
- playfram 227 # Frame set 13, direction 6
- wait 2
- playfram 228 # Frame set 13, direction 7
- wait 2
- lowsprul 236 0 0 # Marine Remnants (terran\tmaDeath.grp)
- wait 1
- end
- MarineGndAttkInit:
- playfram 0x66 # Frame set 6
- wait 1
- playfram 0x77 # Frame set 7
- wait 1
- playfram 0x88 # Frame set 8
- MarineGndAttkRpt:
- wait 1
- nobrkcodestart
- playsnd 69 # Bullet\TMaFir00.wav
- attackwith 1
- playfram 0x99 # Frame set 9
- wait 1
- playfram 0x88 # Frame set 8
- wait 1
- playfram 0x99 # Frame set 9
- wait 1
- playfram 0x88 # Frame set 8
- wait 1
- playfram 0x99 # Frame set 9
- wait 1
- playfram 0x88 # Frame set 8
- wait 1
- nobrkcodeend
- gotorepeatattk
- ignorerest
- MarineGndAttkToIdle:
- playfram 0x77 # Frame set 7
- wait 1
- playfram 0x66 # Frame set 6
- wait 1
- playfram 0x00 # Frame set 0
- wait 1
- goto MarineWalkingToIdle
- MarineWalking:
- move 4
- wait 1
- playfram 0x11 # Frame set 1
- move 4
- wait 1
- playfram 0x22 # Frame set 2
- move 4
- wait 1
- playfram 0x33 # Frame set 3
- move 4
- wait 1
- playfram 0x44 # Frame set 4
- move 4
- wait 1
- playfram 0x55 # Frame set 5
- move 4
- wait 1
- playfram 0x00 # Frame set 0
- goto MarineWalking
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement