![]() |
Routines |
| Prev: 27291 | Up: Map | Next: 27410 |
|
Used by the routine at 27291.
|
||||
| HandlerObjects | 27381 | LD HL,24144 | HL=Object_1_State. | |
| 27384 | LD B,7 | B=7. | ||
| CheckObjectActive | 27386 | BIT 7,(HL) | If bit 7 is not set on the current objects sprite ID value, jump to 27410. | |
| 27388 | JR Z,27410 | |||
| 27390 | RES 7,(HL) | Reset bit 7 of the sprite ID. | ||
| 27392 | JR NextObject | Jump to NextObject. | ||
|
This entry point is used by the routine at 27410.
|
||||
| HandlerObjects_0 | 27394 | PUSH HL | Stash HL on the stack. | |
| 27395 | LD HL,280 | HL=0280. | ||
| ObjectPauseLoop | 27398 | DEC HL | Decrease HL by one. | |
| 27399 | LD A,H | If HL is not zero, jump to ObjectPauseLoop. | ||
| 27400 | OR L | |||
| 27401 | JR NZ,ObjectPauseLoop | |||
| 27403 | POP HL | Restore HL from the stack. | ||
| NextObject | 27404 | INC HL | Increment HL by two. | |
| 27405 | INC HL | |||
|
This entry point is used by the routine at 27410.
|
||||
| NextObject_2 | 27406 | INC HL | Increment HL by one. | |
| 27407 | DJNZ CheckObjectActive | Decrease counter by one and loop back to CheckObjectActive until counter is zero. | ||
| 27409 | RET | Return. | ||
| Prev: 27291 | Up: Map | Next: 27410 |