Prev: 69BC Up: Map Next: 6A15
6A09: Initialise Entities
Used by the routine at NewGame.
Sets up the player's car and the two opponent cars (the three entities at Entity_Player) from the template at EntityTemplate.
InitialiseEntities 6A09 LD HL,$6A15 Point HL at the entity template (EntityTemplate).
6A0C LD DE,$5E80 Point DE at the entities (Entity_Player).
6A0F LD BC,$0024 BC=0024 (03 entities of 0C bytes each).
6A12 LDIR Copy the template to the entities.
6A14 RET Return.
View the equivalent code in;
Prev: 69BC Up: Map Next: 6A15