Prev: C6E0 Up: Map Next: C700
C6EA: Raise a portcullis
Used by the routine at upd_9.
dz of 2 less one for gravity: one unit a frame upwards.
move_portcullis_up C6EA LD (IX+$0B),$02 dz = 2
C6EE CALL sound_pitch_from_xyz a sound whose pitch follows its height
C6F1 CALL dec_dZ_and_update_XYZ gravity, then move
C6F4 LD A,($5BAE) still at or below the floor + 31: keep going
C6F7 ADD A,$1F
C6F9 CP (IX+$03)
C6FC JR NC,set_wipe_and_draw_flags
C6FE JR stop_portcullis
Prev: C6E0 Up: Map Next: C700