Routines |
Prev: 41856 | Up: Map | Next: 41923 |
Handles drawing the opponent image on the game screen.
|
|||||
DrawCurrentOpponent | 41892 | LD A,(39607) | Jump to Messaging_PrintPlayerCurrentTotal if *39607 is not zero. | ||
41895 | AND A | ||||
41896 | JR NZ,Messaging_PrintPlayerCurrentTotal | ||||
41898 | CALL FlashCurrentTotal | Call FlashCurrentTotal. | |||
Set up the opponent image area block positioning and attributes.
|
|||||
41901 | LD HL,257 | Set the X/ Y co-ordinates in HL (1/ 1). | |||
41904 | LD BC,774 | Set the height and width in BC (3/ 6). | |||
41907 | LD A,70 | The colour: INK: YELLOW, PAPER: BLACK (BRIGHT) . | |||
41909 | CALL FillAttributeBlock | Call FillAttributeBlock. | |||
Display the opponents image.
|
|||||
41912 | LD BC,(39595) | Load *CurrentOpponent_Portrait into BC. | |||
41916 | LD DE,3841 | Set the X/ Y co-ordinates in DE (15/ 1). | |||
41919 | CALL Draw_OpponentPortrait | Call Draw_OpponentPortrait. | |||
41922 | RET | Return. |
Prev: 41856 | Up: Map | Next: 41923 |