Prev: B456 Up: Map Next: B4EA
B4D3: Configure scanner bullet projectile and Rex spray weapon projectile
Used by the routines at B456 and C03A.
Input
HL Address pointer to the configuration data for projectiles
B4D3 LD E,(HL) Set into projectile configuration the offset for the address pointer of the room graphic data
B4D4 INC HL
B4D5 LD D,(HL)
B4D6 LD (IY+$07),E
B4D9 LD (IY+$08),D
B4DC INC HL Set into projectile configuration the x-delta
B4DD LD A,(HL)
B4DE LD (IY+$04),A
B4E1 INC HL Set into A the y-delta
B4E2 LD A,(HL)
B4E3 INC HL Increment HL
B4E4 PUSH HL Save HL
B4E5 CALL $B4EA Computes offset into room graphic data based on projectile y-delta
B4E8 POP HL Restore HL
B4E9 RET
Prev: B456 Up: Map Next: B4EA