Routines |
Prev: D90C | Up: Map | Next: D94C |
Used by the routine at D90C.
|
||||
D940 | LD A,($EAE0) | Check Maroc's energy | ||
D943 | CP $00 | Is it zero? | ||
D945 | JR NZ,$D94C | |||
D947 | LD A,$01 | If so, Maroc is out of energy - set room number to 1 ready to send Maroc back to the start room. Another check for Maroc's energy (which triggers the 'death' sequence if zero) is made shortly at DA42. | ||
D949 | LD ($EAB0),A |
Prev: D90C | Up: Map | Next: D94C |