Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=============================================================================
- ; Variable explination
- ; Charweapondat %76543210
- ; 0000000D
- ; D Direction of bullet travel
- ;
- ; LUT
- ; Byte one bits 6 and 7 containe a 2 bit multiplied offset to be applied to the angle in byte 2
- ; IF these are 0 the offset is not applied
- ; bits 5-0 contain a count that is the ttl of the table entry
- ; byte 2 bit one contains whether the multiplied offset increments or decrements the angle
- ; the remaining bits are a angle with the value of 0-127. this will be multiplies by 2 before
- ; being applied
- ;
- ; USER = angle data THIS can go over 172 so dont touch it
- ; Flag = first 5 bits are the counter
- bit 1 is the focus bit
- Bit 0 is the multiplier bit
- 1 = x4
- 0 = x2
- This is set in the bullet create routine.
- ; This routine will read from the lut on every pass to get the offset information. slow but easier
Advertisement
Add Comment
Please, Sign In to add comment