![]() |
Routines |
| Prev: 702A | Up: Map | Next: 704B |
|
Used by the routine at PlaceObject.
The car has hit an object. Changes the object to a tombstone (sprite 0F), removes the two cars and makes the player's car explode.
|
||||
| HitObject | 7038 | LD HL,($5E3A) | Fetch the pointer to the map point after the object (ObjectMapPointer). | |
| 703B | DEC HL | Move back to the sprite ID. | ||
| 703C | LD (HL),$0F | Write 0F (a tombstone) to the map point. | ||
|
This entry point is used by the routine at HandlerCar.
|
||||
| HitObject_DestroyPlayer | 703E | XOR A | Write 00 to | |
| 703F | LD ($5E8C),A | |||
| 7042 | LD ($5E98),A | |||
| 7045 | LD A,$03 | Write 03 to Entity_Player (the player's car is exploding). | ||
| 7047 | LD ($5E80),A | |||
| 704A | RET | Return. | ||
| Prev: 702A | Up: Map | Next: 704B |