| Routines

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

Used by the routine at 62460.
62438 | LD A,4 | 4: ERIC sitting in a chair
This entry point is used by the routine at 62460 (with A=5/133) to make ERIC sit on the floor.
62440 | PUSH AF | Save ERIC's new animatory state briefly
62441 | CALL 29012 | Make a sitting-down sound effect
62444 | POP AF | Restore ERIC's new animatory state to A
62445 | LD HL,32755 | Initialise ERIC's main action timer at 32755 to 5
62448 | LD (HL),5
62450 | LD H,210 | 210=ERIC
This entry point is used by the routines at 57637 and 62668.
62452 | PUSH AF | Save the character's new animatory state briefly
62453 | CALL 25012 | Update the SRB for the character's current animatory state
62456 | POP AF | Restore the character's new animatory state to A
62457 | JP 24880 | Update the character's animatory state and update the SRB