Prev: 37753 Up: Map Next: 37792
37778: Script routine: (40) Move spider down one character, and if at bottom, advance it to bounce / climb up mode
Used by the routine at 48096.
Input
IX Address of complex state data for an entity
Output
HL New address in script data
37778 LD A,(IX+6) If entity's bottom y-coordinate is less than 119...
37781 CP 119 ...
37783 JP C,48567 ...then move entity down one character and process next script data
37786 LD HL,37816 Point HL at script data for bounce / climb up mode...
37789 JP 48098 ...and execute
Prev: 37753 Up: Map Next: 37792