Dynamite Dan | Routines |
Prev: F3E0 | Up: Map | Next: F410 |
Used by the routine at CBBD.
|
||||||||||
F3EC | LD A,(IX+$0B) | Get bit flags for this room. | ||||||||
Check for an oxygen tank.
|
||||||||||
F3EF | BIT 0,A | Is bit 0 set? | ||||||||
F3F1 | JR Z,$F3F7 | No, so skip this. | ||||||||
F3F3 | LD C,$CD | Draw an oxygen tank. (8A01) | ||||||||
F3F5 | JR $F404 | |||||||||
Check for a bank card.
|
||||||||||
F3F7 | BIT 1,A | Is bit 1 set? | ||||||||
F3F9 | JR Z,$F3FF | No, so skip this. | ||||||||
F3FB | LD C,$CB | Draw a bank card. (89C7) | ||||||||
F3FD | JR $F404 | |||||||||
Check for an aerosol.
|
||||||||||
F3FF | BIT 2,A | Is bit 2 set? | ||||||||
F401 | RET Z | Return if not, there are no special objects here. | ||||||||
F402 | LD C,$CC | Otherwise draw aerosol. (89ED). | ||||||||
Now draw the object.
|
||||||||||
F404 | LD A,B | Get the special object location for this room. | ||||||||
F405 | CALL $F3E0 | |||||||||
F408 | LD A,C | Convert the UDG type to a graphic address. | ||||||||
F409 | CALL $F3D3 | |||||||||
F40C | CALL $E84E | Draw the object and return. | ||||||||
F40F | RET |
Prev: F3E0 | Up: Map | Next: F410 |