Routines |
Prev: 5D37 | Up: Map | Next: 5D63 |
5D4F | CALL $6E50 | Is ERIC on a staircase? | ||
5D52 | RET C | Return if so | ||
5D53 | LD HL,$7FFB | Set bit 0 of ERIC's status flags at 7FFB, triggering a jump to 5D63 next time we deal with ERIC | ||
5D56 | INC (HL) | |||
5D57 | LD H,$D2 | 0xD2=ERIC | ||
5D59 | CALL $61B4 | Update the SRB for ERIC's current animatory state and location | ||
5D5C | AND $80 | A=0x07 or 0x87: animatory state of ERIC jumping | ||
5D5E | ADD A,$07 | |||
5D60 | DEC D | ERIC will rise one level | ||
5D61 | JR $5D81 | Update ERIC's animatory state and location and update the SRB |
Prev: 5D37 | Up: Map | Next: 5D63 |