Prev: 42233 Up: Map Next: 42266
42251: Set a drip's (level 4) stage to A
Used by the routine at 42064.
Input
A Index of drip state (0-8)
IX Address of complex state data for a drip (level 4)
42251 ADD A,A Double index of drip state...
42252 LD C,A ...and load into BC...
42253 LD B,0 ...
42255 LD HL,42233 Point HL at start of table of addresses of graphic layout data for drips (level 4)
42258 ADD HL,BC Add BC to HL as offset
42259 LD C,(HL) Load address (of graphic layout data) at this location into BC...
42260 INC HL ...
42261 LD B,(HL) ...
42262 CALL 42512 Set drip's graphic layout data address to BC
42265 RET Return
Prev: 42233 Up: Map Next: 42266