Prev: 60390 Up: Map Next: 60415
60403: Frame Synchronisation
Used by the routine at Handler_Fuel.
WaitForNextFrame 60403 LD A,(30810) A=*FrameCount.
This entry point is used by the routine at GameInitialisation.
WaitForFrameChange 60406 LD HL,23672 HL=FRAMES.
Wait loop, hold further execution until the frame counter changes to the stored value.
FrameSyncLoop 60409 CP (HL) Keep jumping back to FrameSyncLoop until FRAMES matches *FrameCount.
60410 JR NZ,FrameSyncLoop
60412 JP Game_Loop Jump to Game_Loop.
Prev: 60390 Up: Map Next: 60415