![]() |
Routines |
| Prev: D36B | Up: Map | Next: D390 |
|
Used by the routine at DrawGameScreen.
Draws Bounty. In the town it also prints BountyText. It draws the symbol which goes next to the number.
|
|||||
|
Print the text in the town.
|
|||||
| DrawBounty | D37E | LD A,($A267) | Fetch TownOffset. | ||
| D381 | AND A | ||||
| D382 | JR Z,DrawBounty_SkipText | Jump to DrawBounty_SkipText if this is not the town. | |||
| D384 | LD HL,$50A0 | Point HL at 50A0 (in the screen buffer). | |||
| D387 | LD DE,$D31F | Point DE at BountyText. | |||
|
Print the text.
|
|||||
| D38A | CALL PrintText | Call PrintText. | |||
|
Draw the symbol.
|
|||||
| DrawBounty_SkipText | D38D | CALL DrawBountySymbol | Call DrawBountySymbol. | ||
|
Continue on to DrawBountyDigits.
|
|||||
| Prev: D36B | Up: Map | Next: D390 |