jetpac | Routines |
Prev: 68d8 | Up: Map | Next: 68f2 |
Called at the beginning of each game loop. Setting a higher pause value will slow down aliens, and the speed at which fuel/collectibles fall.
|
||||
68e4 | ld a,($5dd5) | A=frame ticked? | ||
68e7 | and a | |||
68e8 | ret nz | We have a new frame, so no pause | ||
Execute an end-of-frame pause for the correct game speed
|
||||
68e9 | ld hl,$00c0 | HL=pause counter (192) | ||
68ec | dec hl | |||
68ed | ld a,l | |||
68ee | or h | |||
68ef | jr nz,$68ec | |||
68f1 | ret |
Prev: 68d8 | Up: Map | Next: 68f2 |