Routines |
Prev: 771A | Up: Map | Next: 7796 |
Used by the routine at 726A.
|
||||
MaskSprite | 773A | LD A,C | ||
773B | AND A | |||
773C | JR Z,MaskSprite_6 | |||
773E | DEC C | |||
773F | PUSH BC | |||
7740 | PUSH HL | |||
MaskSprite_0 | 7741 | LD A,(DE) | ||
7742 | CPL | |||
7743 | AND (HL) | |||
7744 | LD (HL),A | |||
7745 | INC DE | |||
7746 | INC L | |||
7747 | LD A,L | |||
7748 | AND $1F | |||
774A | JR NZ,MaskSprite_1 | |||
774C | LD A,L | |||
774D | SUB $20 | |||
774F | LD L,A | |||
MaskSprite_1 | 7750 | DJNZ MaskSprite_0 | ||
7752 | POP HL | |||
7753 | CALL $72EE | |||
7756 | POP BC | |||
7757 | EXX | |||
7758 | LD A,C | |||
7759 | AND A | |||
775A | JR Z,MaskSprite_5 | |||
MaskSprite_2 | 775C | DEC C | ||
775D | PUSH BC | |||
775E | PUSH HL | |||
MaskSprite_3 | 775F | LD A,(DE) | ||
7760 | OR (HL) | |||
7761 | LD (HL),A | |||
7762 | INC DE | |||
7763 | INC L | |||
7764 | LD A,L | |||
7765 | AND $1F | |||
7767 | JR NZ,MaskSprite_4 | |||
7769 | LD A,L | |||
776A | SUB $20 | |||
776C | LD L,A | |||
MaskSprite_4 | 776D | DJNZ MaskSprite_3 | ||
776F | POP HL | |||
7770 | CALL $72EE | |||
7773 | POP BC | |||
MaskSprite_5 | 7774 | EXX | ||
7775 | JR MaskSprite | |||
MaskSprite_6 | 7777 | EXX | ||
7778 | LD A,C | |||
7779 | AND A | |||
777A | JR NZ,MaskSprite_2 | |||
This entry point is used by the routine at 726A.
|
||||
ActorUpdateSizeFlipReg | 777C | EXX | ||
This entry point is used by the routine at 726A.
|
||||
ActorUpdateSize | 777D | LD A,($5DC5) | ||
7780 | LD C,A | |||
7781 | LD A,($5DC6) | |||
7784 | OR C | |||
7785 | RET Z | |||
7786 | XOR A | |||
7787 | LD ($5DC5),A | |||
778A | EXX | |||
778B | LD A,($5DC6) | |||
778E | LD C,A | |||
778F | XOR A | |||
This entry point is used by the routine at 726A.
|
||||
ActorUpdateHeightAndMask | 7790 | LD ($5DC6),A | ||
7793 | EXX | |||
7794 | JR MaskSprite |
Prev: 771A | Up: Map | Next: 7796 |