Routines |
Prev: 50765 | Up: Map | Next: 50815 |
Used by the routine at Duel_Prep.
|
||||
Duel_Draw_Bandit_Prep | 50785 | CALL Character_Address_Alias | Fetch the address of the character from the given index in A. | |
50788 | EX DE,HL | |||
50789 | LD A,(IX+3) | Retrieve the character position. | ||
50792 | LD HL,18436 | If this character is in position "1" then point to the screen buffer at 18436 and jump to Duel_Draw_Bandit. | ||
50795 | DEC A | |||
50796 | JR Z,Duel_Draw_Bandit | |||
50798 | LD HL,18444 | If this character is in position "2" then point to the screen buffer at 18444 and jump to Duel_Draw_Bandit. | ||
50801 | DEC A | |||
50802 | JR Z,Duel_Draw_Bandit | |||
50804 | LD HL,18452 | Else this character is in position "3" so point to the screen buffer at 18452. | ||
Duel_Draw_Bandit | 50807 | LD B,88 | Call the draw routine with the image dimensions. | |
50809 | LD C,6 | |||
50811 | CALL Draw_Character | |||
50814 | RET | Return. |
Prev: 50765 | Up: Map | Next: 50815 |