From 49c6420f2e951e2265e62c55df88175c5c0eec65 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 21 Mar 2020 15:13:36 -0400 Subject: [PATCH] mist: meche: can go into basement now --- mist/graphics_meche/Makefile | 3 +- mist/graphics_meche/elevator_basement_e.png | Bin 0 -> 759 bytes mist/graphics_meche/meche_graphics.inc | 1 + mist/init_state.s | 4 ++ mist/leveldata_meche.inc | 12 ++-- mist/meche.s | 73 ++++++++++++++++++++ mist/zp.inc | 2 + 7 files changed, 90 insertions(+), 5 deletions(-) create mode 100644 mist/graphics_meche/elevator_basement_e.png diff --git a/mist/graphics_meche/Makefile b/mist/graphics_meche/Makefile index c860c06d..60ab2cb8 100644 --- a/mist/graphics_meche/Makefile +++ b/mist/graphics_meche/Makefile @@ -31,7 +31,7 @@ meche_graphics.inc: \ red_button_of_oe_w.lzsa red_button_of_ce_w.lzsa \ red_button_cf_oe_w.lzsa red_button_cf_ce_w.lzsa \ basement_controls_w.lzsa \ - elevator_basement_w.lzsa \ + elevator_basement_e.lzsa elevator_basement_w.lzsa \ right_hall2_s.lzsa \ right_hall_corner_n.lzsa right_hall_corner_w.lzsa \ blue_room_center_n.lzsa blue_room_center_s.lzsa \ @@ -85,6 +85,7 @@ meche_graphics.inc: \ echo "red_button_cf_ce_w_lzsa: .incbin \"red_button_cf_ce_w.lzsa\"" >> meche_graphics.inc echo "basement_controls_w_lzsa: .incbin \"basement_controls_w.lzsa\"" >> meche_graphics.inc echo "elevator_basement_w_lzsa: .incbin \"elevator_basement_w.lzsa\"" >> meche_graphics.inc + echo "elevator_basement_e_lzsa: .incbin \"elevator_basement_e.lzsa\"" >> meche_graphics.inc echo "right_hall2_s_lzsa: .incbin \"right_hall2_s.lzsa\"" >> meche_graphics.inc echo "right_hall_corner_n_lzsa: .incbin \"right_hall_corner_n.lzsa\"" >> meche_graphics.inc echo "right_hall_corner_w_lzsa: .incbin \"right_hall_corner_w.lzsa\"" >> meche_graphics.inc diff --git a/mist/graphics_meche/elevator_basement_e.png b/mist/graphics_meche/elevator_basement_e.png new file mode 100644 index 0000000000000000000000000000000000000000..8191832d12f3547b47f8744b104caefa49631684 GIT binary patch literal 759 zcmVEX>4Tx04R}tkv&MmP!xqvQ$>-AgB3&^0#+xBq9Tr3g(6f4wL+^7CNKSiCJjl7 zi=*ILaPVib>fqw6tAnc`2>yULIXWr2NQw6)g%&YBxV(?^-Z|WNA0X69Otad?0Zq5f zWIQIOGpl09D}v~w8pDvxEMrcR67XGL_XzO)F3Pj~@BO*D)vU#UfJi*c4AUmwAfDc| z4bJ<-VOEe;;&b9rlNuy`s0?!PaspLFym{`oWu+qY;U~0ru#1U1~DPKr? zta9Gstd%OP(IKlnXcD>pgeC52)@`-|gz30Yqi@Opy|+Nunm4z`IZhvd6wNAe0~{Oz zBYDbR_jz|`>)igm)0p26dRTI*CoLCE0000pP)t-s0002v9$;Wjz5hi00Ha`>oSYQT z{m{ezU~&WhYCN5to&TWF6!kpN-Hmep(EtDc0001;kA{E%000SaNLh0L02Fip02N>X zmRIYN00007bV*G`2jl}46ABQRUdxUE000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2H zM@dakSAh-}0001@Nklred_button_of_ce_w_lzsa + jmp adjust_basement_door_done + +floor_closed_elevator_on: + +floor_closed_elevator_off: + + ldy #LOCATION_WEST_EXIT + lda #$ff + sta location18,Y + + ldy #LOCATION_WEST_BG + + lda #red_button_cf_ce_w_lzsa + jmp adjust_basement_door_done + + +adjust_basement_door_done: + sta location18+1,Y + rts + +adjust_fortress_rotation: + + rts + + ;========================== ; includes @@ -162,6 +234,7 @@ really_exit: ; linking books .include "link_book_meche.s" + .include "link_book_mist.s" .include "common_sprites.inc" diff --git a/mist/zp.inc b/mist/zp.inc index 5ddab64c..eca1e3f6 100644 --- a/mist/zp.inc +++ b/mist/zp.inc @@ -87,6 +87,8 @@ ROCKET_NOTE1 = $9B ROCKET_NOTE2 = $9C ROCKET_NOTE3 = $9D ROCKET_NOTE4 = $9E +MECHE_ELEVATOR = $9F +MECHE_ROTATION = $A0 ; done game puzzle state