Routines

62438: Make ERIC sit in a chair (or on the floor)


Used by routine at 62460

62438 3E04 LD A,4 4: ERIC sitting in a chair

This entry point is used by the routine at 62460 to make ERIC sit on the floor:
62440 F5 PUSH AF
62441 CD5471 CALL 29012 Make a sitting-down sound effect
62444 F1 POP AF
62445 21F37F LD HL,32755
62448 3605 LD (HL),5
62450 26D2 LD H,210 210=ERIC

This entry point is used by the routines at 57637 and 62668:
62452 F5 PUSH AF
62453 CDB461 CALL 25012 Update SRB for character's current animatory state
62456 F1 POP AF
62457 C33061 JP 24880 Update SRB for character's new animatory state