![]() |
Routines |
| Prev: C39D | Up: Map | Next: C3BD |
|
Used by the routines at MONSTER112_UPDATE and UPDATE_TOP.
Sixteen single waves whose half-wave count is scrambled from the step count, (C XOR $A5) + C: the same routine as Pentagram's jump warble. Only if the record was drawn last turn (the flag is left for the caller): a monster of 112-127 meeting a wall (MONSTER112_UPDATE), and the knight (UPDATE_TOP).
|
||||||||
| BUMP_SOUND | C3AA | BIT 1,(IX+$07) | not on the screen: silent | |||||
| C3AE | RET Z | |||||||
| C3AF | LD C,$10 | for C = 16 down to 1: one wave at (C XOR $A5) + C | ||||||
| BUMP_SOUND_0 | C3B1 | LD A,C | ||||||
| C3B2 | XOR $A5 | |||||||
| C3B4 | ADD A,C | |||||||
| C3B5 | LD B,A | |||||||
| C3B6 | CALL CLICK | |||||||
| C3B9 | DEC C | |||||||
| C3BA | JR NZ,BUMP_SOUND_0 | |||||||
| C3BC | RET | |||||||
| Prev: C39D | Up: Map | Next: C3BD |