Routines |
Prev: 9D42 | Up: Map | Next: A380 |
Used by the routine at 9D42.
|
||||
Messaging_YouWin | A15C | CALL $A7F8 | ||
A15F | CALL $CBC8 | |||
A162 | CALL Messaging_DartNumber | |||
This entry point is used by the routine at 9D42.
|
||||
Messaging_YouWin_0 | A165 | XOR A | ||
A166 | LD ($9B0F),A | |||
A169 | LD A,($9B06) | |||
A16C | AND A | |||
A16D | JP Z,Messaging_YouWin_4 | |||
A170 | CALL $A7F8 | |||
A173 | LD HL,$0F01 | |||
A176 | LD BC,$0806 | |||
A179 | LD A,$00 | |||
A17B | CALL FillAttributeBlock | |||
A17E | CALL PrintString_Loop | |||
A181 | DEFB $16,$10,$01 | PRINT AT: 10, 01. | ||
A184 | DEFM "GREAT " | |||
A18A | DEFB $16,$11,$01 | PRINT AT: 11, 01. | ||
A18D | DEFM "SHOT[ " | |||
A193 | DEFB $16,$12,$01 | PRINT AT: 12, 01. | ||
A196 | DEFM " " | " ". | ||
A19C | DEFB $16,$13,$01 | PRINT AT: 13, 01. | ||
A19F | DEFM " YOU " | |||
A1A5 | DEFB $16,$14,$01 | PRINT AT: 14, 01. | ||
A1A8 | DEFM " WIN[ " | |||
A1AE | DEFB $FF | Terminator. | ||
A1AF | LD A,$01 | |||
A1B1 | CALL $CB1E | |||
A1B4 | LD A,($9AB7) | |||
A1B7 | AND A | |||
A1B8 | JR Z,Messaging_YouWin_3 | |||
A1BA | CALL PrintString_Loop | |||
A1BD | DEFB $16,$14,$05 | PRINT AT: 14, 05. | ||
A1C0 | DEFM " " | " ". | ||
A1C1 | DEFB $16,$15,$01 | PRINT AT: 15, 01. | ||
A1C4 | DEFM "PLAYER" | |||
A1CA | DEFB $FF | Terminator. | ||
A1CB | LD A,($9AB8) | |||
A1CE | AND A | |||
A1CF | JR Z,Messaging_YouWin_1 | |||
A1D1 | CALL PrintString_Loop | |||
A1D4 | DEFB $16,$16,$02 | PRINT AT: 16, 02. | ||
A1D7 | DEFM "TWO[" | |||
A1DB | DEFB $FF | Terminator. | ||
A1DC | JR Messaging_YouWin_2 | |||
Messaging_YouWin_1 | A1DE | CALL PrintString_Loop | ||
A1E1 | DEFB $16,$16,$02 | PRINT AT: 16, 02. | ||
A1E4 | DEFM "ONE[" | |||
A1E8 | DEFB $FF | Terminator. | ||
Messaging_YouWin_2 | A1E9 | CALL LongPause | ||
A1EC | CALL LongPause | |||
A1EF | CALL LongPause | |||
A1F2 | JP MainMenu | |||
Messaging_YouWin_3 | A1F5 | CALL LongPause | ||
A1F8 | LD A,($9AB4) | |||
A1FB | CP $04 | |||
A1FD | JP Z,NextLeg | |||
A200 | CP $02 | |||
A202 | JP Z,$AA7B | |||
A205 | CALL PrintString_Loop | |||
A208 | DEFB $11,$00 | PAPER: BLACK. | ||
A20A | DEFB $10,$07 | INK: WHITE. | ||
A20C | DEFB $12,$01 | FLASH: ON. | ||
A20E | DEFB $00 | |||
A20F | DEFB $16,$08,$05 | PRINT AT: 08, 05. | ||
A212 | DEFM "YOU BEAT JAMMY JIM" | |||
A224 | DEFB $16,$09,$05 | PRINT AT: 09, 05. | ||
A227 | DEFM "IN THE FINAL[[" | |||
A235 | DEFB $16,$0B,$05 | PRINT AT: 0B, 05. | ||
A238 | DEFM "YOU SHOULD TAKE THE" | |||
A24B | DEFB $16,$0C,$05 | PRINT AT: 0C, 05. | ||
A24E | DEFM "GAME UP PROFESIONALLY[[" | |||
A265 | DEFB $FF | Terminator. | ||
A266 | CALL LongPause | |||
A269 | CALL LongPause | |||
A26C | CALL LongPause | |||
A26F | JP MainMenu | |||
Messaging_YouWin_4 | A272 | LD A,($B412) | ||
A275 | AND A | |||
A276 | JP NZ,MainMenu | |||
A279 | CALL Print_PlayArea | |||
A27C | CALL DrawCurrentOpponent | |||
A27F | LD HL,$0201 | |||
A282 | LD ($AF5D),HL | |||
A285 | LD A,($9AB7) | |||
A288 | AND A | |||
A289 | JR Z,Messaging_YouWin_6 | |||
A28B | LD A,($9AB8) | |||
A28E | AND A | |||
A28F | JR Z,Messaging_YouWin_5 | |||
A291 | LD HL,($9AB0) | |||
A294 | JR Messaging_YouWin_7 | |||
Messaging_YouWin_5 | A296 | LD HL,($9AB2) | ||
A299 | JR Messaging_YouWin_7 | |||
Messaging_YouWin_6 | A29B | LD HL,($9B1F) | ||
Messaging_YouWin_7 | A29E | LD ($AF49),HL | ||
A2A1 | LD ($9B33),HL | |||
A2A4 | CALL $AE17 | |||
A2A7 | LD HL,$0501 | |||
A2AA | LD ($AF5D),HL | |||
This entry point is used by the routine at 9D42.
|
||||
Messaging_YouWin_8 | A2AD | LD HL,$9AB6 | ||
A2B0 | LD A,($F821) | |||
A2B3 | BIT 1,A | |||
A2B5 | JR Z,Messaging_YouWin_9 | |||
A2B7 | LD (HL),$01 | |||
Messaging_YouWin_9 | A2B9 | BIT 0,A | ||
A2BB | JR Z,Messaging_YouWin_10 | |||
A2BD | LD (HL),$00 | |||
Messaging_YouWin_10 | A2BF | BIT 3,A | ||
A2C1 | JR Z,Messaging_YouWin_11 | |||
A2C3 | LD (HL),$03 | |||
Messaging_YouWin_11 | A2C5 | BIT 2,A | ||
A2C7 | JR Z,Messaging_YouWin_12 | |||
A2C9 | LD (HL),$02 | |||
Messaging_YouWin_12 | A2CB | LD A,($9AB6) | ||
A2CE | CP $01 | |||
A2D0 | JR Z,Messaging_YouWin_13 | |||
A2D2 | CP $03 | |||
A2D4 | JR Z,Messaging_YouWin_13 | |||
A2D6 | JR Messaging_YouWin_15 | |||
Messaging_YouWin_13 | A2D8 | LD A,($9AC3) | ||
A2DB | CP $08 | |||
A2DD | JR Z,Messaging_YouWin_15 | |||
A2DF | LD A,($9B26) | |||
A2E2 | LD ($A2E9),A | |||
A2E5 | LD A,($9B10) | |||
A2E8 | SUB $01 | |||
A2EA | CP $08 | |||
A2EC | JR C,Messaging_YouWin_14 | |||
A2EE | LD HL,$9AC3 | |||
A2F1 | DEC (HL) | |||
A2F2 | ADD A,$08 | |||
Messaging_YouWin_14 | A2F4 | LD ($9B10),A | ||
Messaging_YouWin_15 | A2F7 | LD A,($9AB6) | ||
A2FA | CP $00 | |||
A2FC | JR Z,Messaging_YouWin_16 | |||
A2FE | CP $02 | |||
A300 | JR Z,Messaging_YouWin_16 | |||
A302 | JR Messaging_YouWin_18 | |||
Messaging_YouWin_16 | A304 | LD A,($9AC3) | ||
A307 | CP $1D | |||
A309 | JR Z,Messaging_YouWin_18 | |||
A30B | LD A,($9B26) | |||
A30E | LD ($A315),A | |||
A311 | LD A,($9B10) | |||
A314 | ADD A,$01 | |||
A316 | CP $08 | |||
A318 | JR C,Messaging_YouWin_17 | |||
A31A | SUB $08 | |||
A31C | LD HL,$9AC3 | |||
A31F | INC (HL) | |||
Messaging_YouWin_17 | A320 | LD ($9B10),A | ||
Messaging_YouWin_18 | A323 | LD A,($9AB6) | ||
A326 | CP $00 | |||
A328 | JR Z,Messaging_YouWin_19 | |||
A32A | CP $03 | |||
A32C | JR Z,Messaging_YouWin_19 | |||
A32E | JR Messaging_YouWin_21 | |||
Messaging_YouWin_19 | A330 | LD A,($9AC4) | ||
A333 | AND A | |||
A334 | JR Z,Messaging_YouWin_21 | |||
A336 | LD A,($9B27) | |||
A339 | LD ($A340),A | |||
A33C | LD A,($9B11) | |||
A33F | SUB $01 | |||
A341 | CP $08 | |||
A343 | JR C,Messaging_YouWin_20 | |||
A345 | LD HL,$9AC4 | |||
A348 | DEC (HL) | |||
A349 | ADD A,$08 | |||
Messaging_YouWin_20 | A34B | LD ($9B11),A | ||
Messaging_YouWin_21 | A34E | LD A,($9AB6) | ||
A351 | CP $01 | |||
A353 | JR Z,Messaging_YouWin_22 | |||
A355 | CP $02 | |||
A357 | JR Z,Messaging_YouWin_22 | |||
A359 | JR Messaging_YouWin_24 | |||
Messaging_YouWin_22 | A35B | LD A,($9AC4) | ||
A35E | CP $17 | |||
A360 | JR Z,Messaging_YouWin_24 | |||
A362 | LD A,($9B27) | |||
A365 | LD ($A36C),A | |||
A368 | LD A,($9B11) | |||
A36B | ADD A,$01 | |||
A36D | CP $08 | |||
A36F | JR C,Messaging_YouWin_23 | |||
A371 | SUB $08 | |||
A373 | LD HL,$9AC4 | |||
A376 | INC (HL) | |||
Messaging_YouWin_23 | A377 | LD ($9B11),A | ||
This entry point is used by the routine at 9D42.
|
||||
Messaging_YouWin_24 | A37A | CALL $A461 | ||
A37D | JP $9D53 |
Prev: 9D42 | Up: Map | Next: A380 |