| Routines

60334: Make a character move right

Used by the routines at 60636, 62926, 62976 and 63209. Turns the character round if he's facing left; otherwise moves him right, or up and to the right, or down and to the right (in that order of preference).
Input
H | Character number (215-230)
60334 | CALL 60293 | Make the character stand up if he's lying down
60337 | RET C | Return if the character was lying down
60338 | BIT 7,(HL) | Is the character facing left?
60340 | JR Z,60358 | Make him turn round if so
60342 | LD DE,41241 | Point DE at the direction indicator table at 41241
60345 | JR 60368 | Move the character and update the SRB accordingly