Prev: B49C Up: Map Next: B530
B519: Configure Rex spray weapon projectile
Used by the routine at B49C.
Input
HL Address pointer to the configuration data for projectiles
B519 LD E,(HL) Set into projectile configuration the offset for the address pointer of the room graphic data
B51A INC HL
B51B LD D,(HL)
B51C LD (IY+$07),E
B51F LD (IY+$08),D
B522 INC HL Set into projectile configuration the x-delta
B523 LD A,(HL)
B524 LD (IY+$04),A
B527 INC HL Set into A the y-delta
B528 LD A,(HL)
B529 INC HL Increment HL
B52A PUSH HL Save HL
B52B CALL $B530 Computes offset into room graphic data based on projectile y-delta
B52E POP HL Restore HL
B52F RET
Prev: B49C Up: Map Next: B530