![]() |
Routines |
| Prev: 6A9B | Up: Map | Next: 6B12 |
|
Used by the routine at 6A9B.
|
||||
| HandlerObjects | 6AF5 | LD HL,$5E50 | HL=Object_1_State. | |
| 6AF8 | LD B,$07 | B=07. | ||
| CheckObjectActive | 6AFA | BIT 7,(HL) | If bit 7 is not set on the current objects sprite ID value, jump to 6B12. | |
| 6AFC | JR Z,$6B12 | |||
| 6AFE | RES 7,(HL) | Reset bit 7 of the sprite ID. | ||
| 6B00 | JR NextObject | Jump to NextObject. | ||
|
This entry point is used by the routine at 6B12.
|
||||
| HandlerObjects_0 | 6B02 | PUSH HL | Stash HL on the stack. | |
| 6B03 | LD HL,$0118 | HL=0118. | ||
| ObjectPauseLoop | 6B06 | DEC HL | Decrease HL by one. | |
| 6B07 | LD A,H | If HL is not zero, jump to ObjectPauseLoop. | ||
| 6B08 | OR L | |||
| 6B09 | JR NZ,ObjectPauseLoop | |||
| 6B0B | POP HL | Restore HL from the stack. | ||
| NextObject | 6B0C | INC HL | Increment HL by two. | |
| 6B0D | INC HL | |||
|
This entry point is used by the routine at 6B12.
|
||||
| NextObject_2 | 6B0E | INC HL | Increment HL by one. | |
| 6B0F | DJNZ CheckObjectActive | Decrease counter by one and loop back to CheckObjectActive until counter is zero. | ||
| 6B11 | RET | Return. | ||
| Prev: 6A9B | Up: Map | Next: 6B12 |