Routines |
Prev: 62447 | Up: Map | Next: 62516 |
Used by the routine at Handler_Monsters.
|
||||
62490 | LD A,(HL) | Return if *HL is equal to 255. | ||
62491 | CP 255 | |||
62493 | RET Z | |||
62494 | LD A,(DE) | Return if *DE is not zero. | ||
62495 | AND A | |||
62496 | RET NZ | |||
62497 | LD B,(HL) | B=*HL. | ||
62498 | INC HL | Increment HL by one. | ||
62499 | LD C,(HL) | C=*HL. | ||
62500 | PUSH DE | Stash DE on the stack. | ||
62501 | LD A,1 | Write 1 to *54267. | ||
62503 | LD (54267),A | |||
62506 | CALL 62323 | Call 62323. | ||
62509 | XOR A | Write 0 to *54267. | ||
62510 | LD (54267),A | |||
62513 | POP HL | Restore HL from the stack. | ||
62514 | LD (HL),B | Write B to *HL. | ||
62515 | RET | Return. |
Prev: 62447 | Up: Map | Next: 62516 |