Prev: A334 Up: Map Next: A358
A338: The heavy rock door takes the large key
ROCK_DOOR_KEY A338 LD B,$04
This entry point is used by the routines at SIDE_DOOR_KEY and RED_DOOR_KEY.
KEY_FITS A33A LD A,(INSTRUMENT) The key that fits: LOCK or UNLOCK
A33D CP B
A33E JR NZ,ROCK_DOOR_KEY_0
A340 LD A,(ACTION)
A343 CP $25
A345 JP Z,DO_LOCK
A348 JP DO_UNLOCK
ROCK_DOOR_KEY_0 A34B CP $02 Another key: it does not fit. Anything else: cannot be done
A34D JR Z,NO_KEY_FITS
A34F CP $04
A351 JR Z,NO_KEY_FITS
A353 CP $0F
A355 JP NZ,CANNOT_DO
Prev: A334 Up: Map Next: A358