Routines |
Prev: B5BA | Up: Map | Next: B6C2 |
Used by the routine at Handler_Match.
|
||||
SemiFinals | B640 | LD HL,($9B23) | Copy BC 0010 bytes of data from *SemiFinals_OpponentData to *Messaging_OpponentName_Wins. | |
B643 | LD DE,$B179 | |||
B646 | LD BC,$0010 | |||
B649 | LDIR | |||
B64B | LD HL,($9B23) | Copy BC 0010 bytes of data from *SemiFinals_OpponentData to *SemiFinals_OpponentName. | ||
B64E | LD DE,$B687 | |||
B651 | LD BC,$0010 | |||
B654 | LDIR | |||
B656 | CALL Print_MatchCard | Call Print_MatchCard. | ||
B659 | CALL PrintString_Loop | Call PrintString_Loop. | ||
B65C | DEFB $10,$07 | INK: WHITE. | ||
B65E | DEFB $11,$04 | PAPER: GREEN. | ||
B660 | DEFB $12,$01 | FLASH: ON. | ||
B662 | DEFB $16,$05,$0E | PRINT AT: 05, 0E. | ||
B665 | DEFM "SEMI FINALS" | "SEMI FINALS". | ||
B670 | DEFB $16,$08,$0D | PRINT AT: 08, 0D. | ||
B673 | DEFB $10,$00 | INK: BLACK. | ||
B675 | DEFM "YOUR OPPONENT" | "YOUR OPPONENT". | ||
B682 | DEFB $16,$12,$0C | PRINT AT: 12, 0C. | ||
B685 | DEFB $10,$07 | INK: WHITE. | ||
SemiFinals_OpponentName | B687 | DEFM "0000000000000000" | "0000000000000000". | |
B697 | DEFB $FF | Terminator. | ||
B698 | LD HL,($9B23) | HL=*SemiFinals_OpponentData. | ||
B69B | LD DE,$0011 | Move the pointer by 0011 bytes... | ||
B69E | ADD HL,DE | |||
B69F | LD C,(HL) | Load the opponents portrait graphic pointer into BC. | ||
B6A0 | INC HL | |||
B6A1 | LD B,(HL) | |||
B6A2 | LD ($9AAB),BC | Write BC to *CurrentOpponent_Portrait. | ||
B6A6 | INC HL | Load the opponents pub scene graphic pointer into BC. | ||
B6A7 | LD C,(HL) | |||
B6A8 | INC HL | |||
B6A9 | LD B,(HL) | |||
B6AA | LD ($9AAE),BC | Write BC to *CurrentOpponent_PubScene. | ||
Draw the opponent portrait to the screen.
|
||||
B6AE | LD BC,($9AAB) | BC=*CurrentOpponent_Portrait. | ||
B6B2 | LD DE,$0A10 | Set the destination co-ordinates to: 0A/ 10. | ||
B6B5 | CALL Draw_OpponentPortrait | Call Draw_OpponentPortrait. | ||
B6B8 | LD A,$02 | Write 02 to *9AB4. | ||
B6BA | LD ($9AB4),A | |||
B6BD | DEC A | Decrease A by one. | ||
B6BE | CALL $CAEB | Call CAEB. | ||
B6C1 | RET | Return. |
Prev: B5BA | Up: Map | Next: B6C2 |