Routines |
Prev: AE4B | Up: Map | Next: AE8F |
Used by the routines at HandlerYellowOrchid_StandUp and GamePlay_Start.
|
||||
HandlerOrchidTimer | AE7A | LD A,($5C78) | A=FRAMES. | |
AE7D | AND %00000001 | Keep only bit 0. | ||
AE7F | RET NZ | Return every other FRAME. | ||
AE80 | LD A,($96B0) | A=OrchidEffectTimer. | ||
AE83 | AND A | Return if OrchidEffectTimer is zero. | ||
AE84 | RET Z | |||
AE85 | DEC A | Decrease A by one. | ||
AE86 | LD ($96B0),A | Write A back to OrchidEffectTimer. | ||
AE89 | RET NZ | Return if A is not zero. | ||
AE8A | LD (IX+$05),$47 | Set IX+05 (entity colour) to 47 (white). | ||
AE8E | RET | Return. |
Prev: AE4B | Up: Map | Next: AE8F |