![]() |
Routines |
| Prev: 46502 | Up: Map | Next: 46656 |
|
Used by the routine at 43530.
|
||||
| QuarterFinals | 46522 | LD HL,(39713) | Copy BC 0016 bytes of data from *QuarterFinals_OpponentData to *Messaging_OpponentName_Wins. | |
| 46525 | LD DE,45433 | |||
| 46528 | LD BC,16 | |||
| 46531 | LDIR | |||
| 46533 | LD HL,(39713) | Copy BC 0016 bytes of data from *QuarterFinals_OpponentData to *QuarterFinals_OpponentName. | ||
| 46536 | LD DE,46597 | |||
| 46539 | LD BC,16 | |||
| 46542 | LDIR | |||
| 46544 | CALL Print_MatchCard | Call Print_MatchCard. | ||
| 46547 | CALL PrintString_Loop | Call PrintString_Loop. | ||
| 46550 | DEFB 16,7 | INK: WHITE. | ||
| 46552 | DEFB 17,4 | PAPER: GREEN. | ||
| 46554 | DEFB 18,1 | FLASH: ON. | ||
| 46556 | DEFB 22,5,12 | PRINT AT: 5, 12. | ||
| 46559 | DEFM "QUARTER FINALS" | ![]() |
||
| 46574 | DEFB 22,8,13 | PRINT AT: 8, 13. | ||
| 46577 | DEFB 16,0 | INK: BLACK. | ||
| 46579 | DEFM "YOUR OPPONENT" | ![]() |
||
| 46592 | DEFB 22,18,12 | PRINT AT: 18, 12. | ||
| 46595 | DEFB 16,7 | INK: WHITE. | ||
| QuarterFinals_OpponentName | 46597 | DEFM "0000000000000000" | "0000000000000000". | |
| 46613 | DEFB 255 | Terminator. | ||
| 46614 | LD HL,(39713) | HL=*QuarterFinals_OpponentData. | ||
| 46617 | LD DE,17 | Move the pointer by 0017 bytes... | ||
| 46620 | ADD HL,DE | |||
| 46621 | LD C,(HL) | Load the opponents portrait graphic pointer into BC. | ||
| 46622 | INC HL | |||
| 46623 | LD B,(HL) | |||
| 46624 | LD (39595),BC | Write BC to *CurrentOpponent_Portrait. | ||
| 46628 | INC HL | Load the opponents pub scene graphic pointer into BC. | ||
| 46629 | LD C,(HL) | |||
| 46630 | INC HL | |||
| 46631 | LD B,(HL) | |||
| 46632 | LD (39598),BC | Write BC to *CurrentOpponent_PubScene. | ||
|
Draw the opponent portrait to the screen.
|
||||
| 46636 | LD BC,(39595) | BC=*CurrentOpponent_Portrait. | ||
| 46640 | LD DE,2576 | Set the destination co-ordinates to: 10/ 16. | ||
| 46643 | CALL Draw_OpponentPortrait | Call Draw_OpponentPortrait. | ||
| 46646 | LD A,4 | Write 4 to *39604. | ||
| 46648 | LD (39604),A | |||
| 46651 | XOR A | A=0. | ||
| 46652 | CALL 51947 | Call 51947. | ||
| 46655 | RET | Return. | ||
| Prev: 46502 | Up: Map | Next: 46656 |