![]() |
Routines |
| Prev: 46522 | Up: Map | Next: 46786 |
|
Used by the routine at Handler_Match.
|
||||
| SemiFinals | 46656 | LD HL,(39715) | Copy BC 0016 bytes of data from *SemiFinals_OpponentData to *Messaging_OpponentName_Wins. | |
| 46659 | LD DE,45433 | |||
| 46662 | LD BC,16 | |||
| 46665 | LDIR | |||
| 46667 | LD HL,(39715) | Copy BC 0016 bytes of data from *SemiFinals_OpponentData to *SemiFinals_OpponentName. | ||
| 46670 | LD DE,46727 | |||
| 46673 | LD BC,16 | |||
| 46676 | LDIR | |||
| 46678 | CALL Print_MatchCard | Call Print_MatchCard. | ||
| 46681 | CALL PrintString_Loop | Call PrintString_Loop. | ||
| 46684 | DEFB 16,7 | INK: WHITE. | ||
| 46686 | DEFB 17,4 | PAPER: GREEN. | ||
| 46688 | DEFB 18,1 | FLASH: ON. | ||
| 46690 | DEFB 22,5,14 | PRINT AT: 5, 14. | ||
| 46693 | DEFM "SEMI FINALS" | "SEMI FINALS". | ||
| 46704 | DEFB 22,8,13 | PRINT AT: 8, 13. | ||
| 46707 | DEFB 16,0 | INK: BLACK. | ||
| 46709 | DEFM "YOUR OPPONENT" | "YOUR OPPONENT". | ||
| 46722 | DEFB 22,18,12 | PRINT AT: 18, 12. | ||
| 46725 | DEFB 16,7 | INK: WHITE. | ||
| SemiFinals_OpponentName | 46727 | DEFM "0000000000000000" | "0000000000000000". | |
| 46743 | DEFB 255 | Terminator. | ||
| 46744 | LD HL,(39715) | HL=*SemiFinals_OpponentData. | ||
| 46747 | LD DE,17 | Move the pointer by 0017 bytes... | ||
| 46750 | ADD HL,DE | |||
| 46751 | LD C,(HL) | Load the opponents portrait graphic pointer into BC. | ||
| 46752 | INC HL | |||
| 46753 | LD B,(HL) | |||
| 46754 | LD (39595),BC | Write BC to *CurrentOpponent_Portrait. | ||
| 46758 | INC HL | Load the opponents pub scene graphic pointer into BC. | ||
| 46759 | LD C,(HL) | |||
| 46760 | INC HL | |||
| 46761 | LD B,(HL) | |||
| 46762 | LD (39598),BC | Write BC to *CurrentOpponent_PubScene. | ||
|
Draw the opponent portrait to the screen.
|
||||
| 46766 | LD BC,(39595) | BC=*CurrentOpponent_Portrait. | ||
| 46770 | LD DE,2576 | Set the destination co-ordinates to: 10/ 16. | ||
| 46773 | CALL Draw_OpponentPortrait | Call Draw_OpponentPortrait. | ||
| 46776 | LD A,2 | Write 2 to *39604. | ||
| 46778 | LD (39604),A | |||
| 46781 | DEC A | Decrease A by one. | ||
| 46782 | CALL 51947 | Call 51947. | ||
| 46785 | RET | Return. | ||
| Prev: 46522 | Up: Map | Next: 46786 |