Prev: 54525 Up: Map Next: 54625
54602: Draw Bounty Symbol
Used by the routine at DrawBounty.
Draws the symbol which goes before the bounty, as a block of two by two tiles.
bounty-symbol
Set the attribute and the tiles.
DrawBountySymbol 54602 LD A,71 Set the attribute to INK:WHITE, PAPER:BLACK (BRIGHT).
54604 EX AF,AF'
54605 LD DE,54625 Point DE at BountySymbolTiles.
Choose the screen address.
54608 LD A,(41575) Fetch TownOffset.
54611 AND A
54612 LD HL,20672 Point HL at 20672 (in the screen buffer).
54615 JR NZ,DrawBountySymbol_Draw Jump to DrawBountySymbol_Draw if this is the town.
54617 LD HL,20592 Point HL at 20592 (in the screen buffer).
Draw the block.
DrawBountySymbol_Draw 54620 LD BC,514 Set the size of the block to two by two.
54623 JR DrawTileBlock Jump to DrawTileBlock.
Prev: 54525 Up: Map Next: 54625