![]() |
Routines |
| Prev: 46006 | Up: Map | Next: 46042 |
|
Used by the routine at InitialiseGame.
Called every frame. In the town stage it updates the prices and makes new objects if there are free slots: bystanders, the outlaw, the pointer, money bags, cacti, the horse and the tumbleweed.
|
||||
|
Return unless this is the town stage.
|
||||
| CreateTownObjects | 46013 | LD A,(41575) | Return if this is a stage outside the town, which is the duel or the bonus stage. | |
| 46016 | AND A | |||
| 46017 | RET Z | |||
|
Update the prices and make any missing town objects.
|
||||
| 46018 | CALL UpdatePrices | Update the prices. | ||
| 46021 | CALL CreateBystander | Make a bystander if there is a free slot. | ||
| 46024 | CALL CreateOutlaw | Make the outlaw if there is a free slot. | ||
| 46027 | CALL CreateDirectionPointer | Make the pointer if there is a free slot. | ||
| 46030 | CALL CreateMoneyBag | Make a money bag if there is a free slot. | ||
| 46033 | CALL CreateCactus | Make a cactus if there is a free slot. | ||
| 46036 | CALL CreateHorse | Make the horse if there is a free slot. | ||
| 46039 | JP CreateTumbleweed | Jump to CreateTumbleweed. | ||
| Prev: 46006 | Up: Map | Next: 46042 |