Routines |
Prev: D1BC | Up: Map | Next: E329 |
Used by the routine at B288.
|
||||
E2FC | LD A,(IY+$00) | Jump to E30B if IY+00 is zero. | ||
E2FF | OR A | |||
E300 | JR Z,$E30B | |||
E302 | CP $03 | If it is 03 jump to E30B. | ||
E304 | JR Z,$E30B | |||
E306 | XOR A | Write 00 to IY-19. | ||
E307 | LD (IY-$19),A | |||
E30A | RET | Return. | ||
E30B | LD A,(IY-$19) | Return if IY-19 is not zero. | ||
E30E | OR A | |||
E30F | RET NZ | |||
E310 | LD A,$01 | Write 01 to IY-19. | ||
E312 | LD (IY-$19),A | |||
This entry point is used by the routine at B1A6.
|
||||
E315 | LD A,($B951) | Return if *TempStore_Room and *IY+0F are not equal. | ||
E318 | CP (IY+$0F) | |||
E31B | RET NZ | |||
Play the "walking" sound.
|
||||
E31C | LD BC,$0701 | BC=0701. | ||
E31F | LD DE,$0F01 | DE=0F01. | ||
E322 | LD HL,$0404 | HL=0404. | ||
E325 | CALL PlayWaveSequence | Call PlayWaveSequence. | ||
E328 | RET | Return. |
Prev: D1BC | Up: Map | Next: E329 |