Prev: 51739 Up: Map Next: 51779
51765: Update state of Drutt
If Drutt is being carried or falling, then he should be prevented from doing anything. This is accomplished by constantly resetting his current script data position to be 51520. This does nothing except redraw Drutt.
Used by the routine at 51739.
Input
IX Address of complex state data (current level) for Drutt
Output
HL Address of next script instruction to execute
51765 LD A,(IX+10) If both Drutt's being carried and can-fall flags are reset...
51768 AND 96 ...
51770 JP Z,48096 ...then jump to 48096 (advance HL to next script instruction and execute)
51773 LD HL,51520 Point HL at script data for Drutt facing out of screen (falling)...
51776 JP 48098 ...and execute
Prev: 51739 Up: Map Next: 51779