Routines |
Prev: C7B6 | Up: Map | Next: C869 |
Used by the routine at Handler_Moscow.
|
||||
See You Are Not Deported From Moscow.
|
||||
Handler_Moscow2 | C824 | CP $40 | Jump to Handler_Moscow2_0 if A is not equal to 40. | |
C826 | JR NZ,Handler_Moscow2_0 | |||
C828 | LD HL,$EFFA | HL=GameState_1. | ||
C82B | SET 2,(HL) | Set bit 2 of *HL. | ||
C82D | LD SP,($99AE) | SP=*99AE. | ||
C831 | RET | Return. | ||
Handler_Moscow2_0 | C832 | CALL $97D7 | Call 97D7. | |
C835 | LD A,(IX+$06) | A=*IX+06. | ||
C838 | CP C | Compare A with C. | ||
C839 | LD A,C | A=C. | ||
C83A | JR NZ,Handler_Moscow2_1 | Jump to Handler_Moscow2_1 if A is not zero. | ||
C83C | LD A,B | Write B to *IX+06. | ||
Handler_Moscow2_1 | C83D | LD (IX+$06),A | ||
C840 | CALL Handler_Moscow2_2 | Call Handler_Moscow2_2. | ||
C843 | JP $9926 | Jump to 9926. | ||
This entry point is used by the routine at Handler_Moscow.
|
||||
Handler_Moscow2_2 | C846 | CALL $9619 | Call 9619. | |
C849 | AND %00000011 | Keep only bits 0-1. | ||
C84B | INC A | Increment A by one. | ||
C84C | LD IX,($99E3) | IX=*99E3. | ||
C850 | LD (IX+$07),A | Write A to *IX+07. | ||
C853 | RET | Return. | ||
This entry point is used by the routine at Handler_Moscow.
|
||||
Handler_Moscow2_3 | C854 | LD A,$00 | Write 00 to *99AA. | |
C856 | LD ($99AA),A | |||
C859 | CALL $980E | Call 980E. | ||
C85C | CALL $98AB | Call 98AB. | ||
C85F | LD B,$78 | B=78. | ||
C861 | LD A,C | A=C. | ||
C862 | OR %11000000 | Set bits 6-7. | ||
C864 | LD C,A | C=A. | ||
C865 | CALL $98F2 | Call 98F2. | ||
C868 | RET | Return. |
Prev: C7B6 | Up: Map | Next: C869 |