Prev: AD13 Up: Map Next: AD66
AD54: A thud, once, when it lands
Used by the routine at CEILING_DROP.
Used by CEILING_DROP. +F remembers whether it was standing last time; the crash sound (CRASH_SOUND) plays when it changes to standing.
THUD_ON_LANDING AD54 LD A,(IX+$0C) not standing on anything
AD57 AND $04
AD59 LD C,A
AD5A RET Z
AD5B LD A,(IX+$0F) standing now and not before: the sound
AD5E CP C
AD5F LD (IX+$0F),C
AD62 CALL NZ,CRASH_SOUND
AD65 RET
Prev: AD13 Up: Map Next: AD66