Prev: 59831 Up: Map Next: 59891
59845: Set Phase One
Used by the routine at Update_Frame.
Writes 1 to *Phase, clears the object tables, and sets *Countdown to 250.
Set_Phase_One 59845 LD A,1 Write 1 to *Phase and *Angle_Byte.
59847 LD (61268),A
59850 LD (61333),A
59853 XOR A Write 0 to *Angle_Delta.
59854 LD (61332),A
59857 CALL Clear_Object_Slots Call Clear_Object_Slots.
59860 CALL Update_Heading_65 Call Update_Heading_65.
59863 CALL Clear_Slot_Table Call Clear_Slot_Table.
59866 LD A,2 Write 2 to *First_Slot_Field.
59868 LD (60166),A
59871 LD A,14 Write 14 to *Slot_Limit.
59873 LD (61315),A
59876 LD DE,65472 Write 65472 to *Heading.
59879 LD (61042),DE
59883 LD BC,250 Write 250 to *Countdown.
59886 LD (61323),BC
59890 RET Return.
Prev: 59831 Up: Map Next: 59891