Prev: 42314 Up: Map Next: 42409
42319: Routine at A54F
42319 LD A,(38659) A=38659.
42322 CP (IX+1)
42325 JP NZ,42131
42328 LD A,23 Write 23 to 38573.
42330 LD (38573),A
42333 CALL StoreEntity Call StoreEntity.
42336 LD A,(38658) A=ImmortalData.
42339 SUB 16
42341 CP 32
42343 JP NC,42150
42346 DEC (IX+2)
42349 CALL Z,42445
42352 LD A,(IX+6) A=IX+6.
42355 OR (IX+7)
42358 JR Z,42397
42360 CALL 42059 Call 42059.
42363 BIT 0,B
42365 JR NZ,42435
42367 BIT 1,B
42369 JR NZ,42440
This entry point is used by the routines at 42435 and 42440.
42371 LD BC,5911 BC=5911.
42374 CALL 47132 Call 47132.
42377 CALL 43757 Call 43757.
42380 CALL Z,42445
42383 LD A,(IX+0) A=IX+0 (sprite reference).
42386 XOR %00000001
42388 LD (IX+0),A
42391 LD (IX+3),E
42394 LD (IX+4),D
42397 LD BC,4883 BC=4883.
42400 CALL 43830 Call 43830.
42403 JP NC,44381
42406 JP 42150 Jump to 42150.
Prev: 42314 Up: Map Next: 42409