Prev: 52693 Up: Map Next: 52749
52700: Dispatch Phase
Used by the routines at Run_Other_Phase and Update_Frame.
Clears work pointers, then runs the phase-zero updates or jumps to Dispatch_Phase_One.
Dispatch_Phase 52700 XOR A Write 0 to *Draw_Flag_A, *Draw_Flag_B and *Target_Count.
52701 LD (60954),A
52704 LD (60955),A
52707 LD (61144),A
52710 LD HL,58880 Point *Buffer_Pointer_A at Draw_Buffer_A.
52713 LD (60956),HL
52716 LD HL,59648 Point *Buffer_Pointer_B at 59648.
52719 LD (60958),HL
52722 LD HL,56832 Point *Buffer_Pointer_C at Target_Slots.
52725 LD (61142),HL
52728 LD A,(61268) Jump to Dispatch_Phase_One if *Phase is not zero.
52731 AND A
52732 JR NZ,Dispatch_Phase_One
*Phase is 0.
52734 CALL Move_Slot_Table Call Move_Slot_Table.
52737 CALL Update_Sprite_Slots Call Update_Sprite_Slots.
52740 CALL Draw_Phase_Slots Call Draw_Phase_Slots.
52743 CALL Scan_Object_Slots Call Scan_Object_Slots.
52746 JP Finish_Frame Jump to Finish_Frame.
Prev: 52693 Up: Map Next: 52749