![]() |
Routines |
| Prev: 47474 | Up: Map | Next: 47504 |
|
Used by the routine at HandleOutlawGun.
Ends the duel when the outlaw has fired all his shots without being hit. The flag at StageRunningFlag is cleared, so the player loses a life when the objects have gone, and there are no more stages to play, so the town comes next. EndDuel_EndStage is also used to end a stage.
|
||||
| EndDuel | 47493 | XOR A | Write 0 to StageRunningFlag so that the loss of the sheriff counts. | |
| 47494 | LD (41536),A | |||
|
This entry point is used by the routine at GiveReward.
|
||||
| EndDuel_EndStage | 47497 | XOR A | Write 0 to TargetsLeft, the number of stages left to play. | |
| 47498 | LD (41572),A | |||
| 47501 | JP RemoveAllObjects | Jump to RemoveAllObjects. | ||
| Prev: 47474 | Up: Map | Next: 47504 |