Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=============================================================================
- ; Variable explination
- ; Charweapondat %76543210
- ; 0000000D
- ; D Direction of bullet travel
- ; Since nanami can have a max of 2 bullets on teh screan at once.
- ;
- ; LUT
- ;
- ; Byte one %MMcccccc
- MM = containe a 2 bit multiplied offset to be applied to the angle in byte 2
- ; IF these are 0 the offset is not applied
- ; c = contain a count that is the ttl of the table entry
- ; byte 2 %Saaaaaaa
- ; S = contains whether the multiplied offset increments or decrements the angle
- ; 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 = %CCCCCFM
- C = Counter
- F = focus bit
- M = 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
- ; There are 2 16bit pointers in ram. these point to the start of the LUT and will be incremented in the routine.
- ;this is to make access faster and less of a headache
- ;pTemp1 and pTemp3 respectively.
Advertisement
Add Comment
Please, Sign In to add comment