Prev: 70D6 Up: Map Next: 70ED
70DF: Limit Frame Rate
LimitFrameRate 70DF LD A,($5E20) Return if FrameUpdated is not marked as being updated.
70E2 AND A
70E3 RET NZ
70E4 LD HL,$00C0 Introduce a counter for a slight pause.
LimitFrameRate_Loop 70E7 DEC HL Decrease counter by one.
70E8 LD A,L Keep looping back to LimitFrameRate_Loop until the counter is zero.
70E9 OR H
70EA JR NZ,LimitFrameRate_Loop
70EC RET Return.
View the equivalent code in;
Prev: 70D6 Up: Map Next: 70ED