From 9568afcd6a26003a14face2ec63fcc520fc8535a Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 10 Aug 2020 15:01:47 -0400 Subject: [PATCH] mist: stoney: properly turn off lights in the airlock areas --- mist/TODO | 19 ++++--------------- mist/stoney.s | 10 ++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/mist/TODO b/mist/TODO index b5f4d1d7..f24f41f4 100644 --- a/mist/TODO +++ b/mist/TODO @@ -20,18 +20,10 @@ For release 1.0 -- Lights out + currently if you turn around from open airlock they aren't blacked out - - -- fix colors on gangplanks -- allow coming at steps from an angle -- if space allows, lighten floor of compass rose when right button pressed - -- hook up key/trunk puzzle - -- outside looking in can see trunk if up - (either add support or remove graphic) - -- if click on steps when looking N, move to look at steps - -- stop holding key if leave the two rooms where matters - [actual game it drops to floor of basement?] - -- rotate plug when open/closed + + CHANNEL -- from path can still see down elev1 even if up @@ -108,12 +100,9 @@ Channelwood: Stoneship age: -+ Implement floating chest puzzle -+ Implement compass rose light puzzle -+ Implement raising/lowering water -+ Implement telescope -+ Hook up tunnels into compass room properly -+ Spheres in red room play animations ++ When standing at door to lighthouse should be able + to see trunk is up ++ Spheres in red room should play animations Ending: + Atrus at end -- hires? diff --git a/mist/stoney.s b/mist/stoney.s index 9f512241..c236e492 100644 --- a/mist/stoney.s +++ b/mist/stoney.s @@ -122,6 +122,16 @@ check_tunnel_lights: cmp #STONEY_CRAWLWAY_ENTRANCE_LEFT beq turn_off_the_lights cmp #STONEY_CRAWLWAY_ENTRANCE_RIGHT + beq turn_off_the_lights + + cmp #STONEY_LEFT_AIRLOCK_OPEN + beq open_airlock_check + cmp #STONEY_RIGHT_AIRLOCK_OPEN + bne dont_touch_lights +open_airlock_check: + ; lights only off if facing tunnel + lda DIRECTION + cmp #DIRECTION_S bne dont_touch_lights turn_off_the_lights: