Marsport | Routines |
Prev: A786 | Up: Map | Next: A80E |
Player_IsCarryingSpecial | A7F2 | PUSH HL | ||
A7F3 | PUSH BC | |||
A7F4 | LD B,$04 | |||
A7F6 | LD HL,Hero_Pocket1 | |||
Player_IsCarryingSpecial_0 | A7F9 | LD A,(HL) | ||
A7FA | CP $1E | |||
A7FC | JR C,Player_IsCarryingSpecial_1 | |||
A7FE | CP $21 | |||
A800 | JR C,Player_IsCarryingSpecial_3 | |||
Player_IsCarryingSpecial_1 | A802 | INC HL | ||
A803 | DJNZ Player_IsCarryingSpecial_0 | |||
A805 | OR $01 | Return bit 0 set if not found. | ||
A807 | POP BC | |||
A808 | POP HL | |||
This entry point is used by the routine at 5CB2.
|
||||
Player_IsCarryingSpecial_2 | A809 | RET | } | |
Player_IsCarryingSpecial_3 | A80A | XOR A | Return bit 0 clr if found. | |
A80B | POP BC | |||
A80C | POP HL | |||
A80D | RET |
Prev: A786 | Up: Map | Next: A80E |