![]() |
Routines |
| Prev: 6CFD | Up: Map | Next: 6D12 |
|
Used by the routine at UpdatePlayerCar.
Adds 04 to the speed, unless that would take it to the top speed of C0 or more, in which case the speed is left as it is.
|
||||
| HandlerCanAccelerate | 6D07 | LD A,($5E0D) | Fetch the speed of the car (Speed). | |
| 6D0A | ADD A,$04 | Add 04 to the speed. | ||
| 6D0C | CP $C0 | Jump to HandlerAccelerate_Gauge if the speed has reached the top speed (C0 or more). | ||
| 6D0E | JR NC,HandlerAccelerate_Gauge | |||
| 6D10 | JR HandlerAccelerate | Jump to HandlerAccelerate to write the new speed. | ||
| Prev: 6CFD | Up: Map | Next: 6D12 |