Prev: 49975 Up: Map Next: 50084
50071: Move Sun Moon
Used by the routine at DrawChangedObjects.
Moves the sun or moon along the arc in the window of the panel by one pixel, on one frame in eight, and shows it.
MoveSunMoon 50071 LD A,(23458) Fetch the frame counter from FrameCounter.
50074 AND %00000111 Keep the lowest three bits.
50076 RET NZ Return unless it is one frame in eight.
50077 LD IX,50253 Point IX at SunMoonObject.
50081 INC (IX+26) Move the sun/moon one pixel to the right.
Prev: 49975 Up: Map Next: 50084