Prev: 41765 Up: Map Next: 41884
41848: Release Carried Item
Clear the carried-item bits, store the throw speed and play SoundsDropItem.
Input
IX Actor slot
Clear the carried-item bits and store the throw speed.
ReleaseCarriedItem 41848 RES 0,(IX+8) Reset bit 0 of *IX+8.
41852 SET 1,(IX+8) Set bit 1 of *IX+8.
41856 LD HL,24704 HL=Jetman_Flags.
41859 RES 0,(HL) Reset bit 0 of *HL.
Set the throw speed from Jetman's speed, then play the drop sound.
41861 LD A,(24701) Fetch Jetman_Speed.
41864 SRA A Divide A by 16.
41866 SRA A
41868 SRA A
41870 SRA A
41872 LD (IX+5),A Write A to *IX+5.
41875 LD (IX+6),1 Write 1 to *IX+6.
41879 CALL SoundsDropItem Call SoundsDropItem.
41882 JR Handler_WorldObject_Loop Jump to Handler_WorldObject_Loop.
Prev: 41765 Up: Map Next: 41884