|  | Routines | 
| Prev: BE53 | Up: Map | Next: BECB | 
| 
Configure projectile for swing gun left orientation. Used by the routine at BCDD.
 | ||||
| BE5B | PUSH AF | Save AF | ||
| BE5C | LD A,(IX+$00) | Set A093 x-pixel-position for projectile | ||
| BE5F | SUB $18 | |||
| BE61 | LD ($A093),A | |||
| BE64 | LD A,$14 | Set increment for y-pixel-position | ||
| BE66 | CALL $B58E | Draw projectile | ||
| BE69 | LD HL,$FFFF | Base offset into room graphic data for every frame (left) | ||
| BE6C | LD (IY+$04),$F8 | Set the x-delta for the projectile | ||
| BE70 | LD A,$05 | Set A the y-delta for the projectile | ||
| BE72 | JP $BE8C | Jump to finish projectile configuration | ||
| 
Configure projectile for swing gun left orientation. Used by the routine at BCDD.
 | ||||
| BE75 | PUSH AF | Save AF | ||
| BE76 | LD A,(IX+$00) | Set A093 x-pixel-position for projectile | ||
| BE79 | SUB $18 | |||
| BE7B | LD ($A093),A | |||
| BE7E | LD A,$19 | Set increment for y-pixel-position | ||
| BE80 | CALL $B58E | Draw projectile | ||
| BE83 | LD HL,$FFFF | Base offset into room graphic data for every frame (left) | ||
| BE86 | LD (IY+$04),$F8 | Set the x-delta for the projectile | ||
| BE8A | LD A,$08 | Set A the y-delta for the projectile | ||
| BE8C | LD (IY+$07),L | Save offset into projectile configuration | ||
| BE8F | LD (IY+$08),H | |||
| BE92 | LD (IY+$05),$00 | Reset y-delta for the projectile | ||
| BE96 | CALL $B4EA | Computes offset into the room graphic data based on projectile y-delta | ||
| BE99 | POP AF | Restore AF | ||
| BE9A | RET | |||
| 
Configure projectile for swing gun right bottom orientation. Used by the routine at BCDD.
 | ||||
| BE9B | PUSH AF | Save AF | ||
| BE9C | LD A,(IX+$00) | Set A093 x-pixel-position for projectile | ||
| BE9F | LD ($A093),A | |||
| BEA2 | LD A,$19 | Set increment for y-pixel-position | ||
| BEA4 | CALL $B58E | Draw projectile | ||
| BEA7 | LD HL,$0001 | Base offset into room graphic data for every frame (right) | ||
| BEAA | LD (IY+$04),$08 | Set the x-delta for the projectile | ||
| BEAE | LD A,$08 | Set A the y-delta for the projectile | ||
| BEB0 | JP $BE8C | Jump to finish projectile configuration | ||
| 
Configure projectile for swing gun right orientation. Used by the routine at BCDD.
 | ||||
| BEB3 | PUSH AF | Save AF | ||
| BEB4 | LD A,(IX+$00) | Set A093 x-pixel-position for projectile | ||
| BEB7 | LD ($A093),A | |||
| BEBA | LD A,$14 | Set increment for y-pixel-position | ||
| BEBC | CALL $B58E | Draw projectile | ||
| BEBF | LD HL,$0001 | Base Offset into room graphic data for every frame (right) | ||
| BEC2 | LD (IY+$04),$08 | Set the x-delta for the projectile | ||
| BEC6 | LD A,$05 | Set A the y-delta for the projectile | ||
| BEC8 | JP $BE8C | Jump to finish projectile configuration | ||
| Prev: BE53 | Up: Map | Next: BECB |