![]()  | 
Routines | 
| Prev: A78E | Up: Map | Next: A7AC | 
| 
 | 
||||
| A793 | LD A,($A036) | A=*CurrentCharacter_ID. | ||
| A796 | EX AF,AF' | Exchange the shadow AF register with the AF register. | ||
| A797 | XOR A | A=00. | ||
| 
 
This entry point is used by the routine at A7AC.
 
 | 
||||
| A798 | LD ($A028),A | Write A to *A028. | ||
| A79B | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||
| A79C | PUSH AF | Stash AF on the stack. | ||
| A79D | CALL $A82F | Call A82F. | ||
| A7A0 | POP AF | Restore AF from the stack. | ||
| A7A1 | AND A | Set flags. | ||
| A7A2 | LD DE,$0485 | DE=0485. | ||
| A7A5 | RET NZ | Return if ?? is not equal to A. | ||
| A7A6 | LD DE,$007A | DE=007A. | ||
| A7A9 | OR %00000001 | Set bit 0. | ||
| A7AB | RET | Return. | ||
| Prev: A78E | Up: Map | Next: A7AC |