![]() |
Routines |
Prev: 27909 | Up: Map | Next: 27932 |
Used by the routine at 24843. Returns with the base address of the graphic data in HL.
|
||||||
27914 | LD L,A | L=sprite UDG reference | ||||
27915 | EXX | |||||
27916 | LD A,H | A=character number (152-172) | ||||
27917 | CP 163 | Is it a little boy? | ||||
27919 | JR C,27927 | Jump if so | ||||
27921 | CP 167 | Is it a teacher? | ||||
27923 | LD A,201 | |||||
27925 | JR C,27929 | Jump if so | ||||
27927 | LD A,185 | |||||
27929 | EXX | |||||
27930 | LD H,A | H=201 if the character is a teacher, 185 otherwise | ||||
27931 | RET |
Prev: 27909 | Up: Map | Next: 27932 |