![]() |
Routines |
Prev: 52344 | Up: Map | Next: 52467 |
Used by the routine at ScriptInterpreter.
|
||||
ExecuteCharacterCommand | 52423 | LD A,(HL) | Get the command byte. | |
52424 | AND %00001111 | Extract the command type. | ||
52426 | CP 7 | Jump to HandleRoomDisplay for command type 7. | ||
52428 | JP Z,HandleRoomDisplay | |||
52431 | CP 6 | Jump to HandleDisplayText for command type 6. | ||
52433 | JP Z,HandleDisplayText | |||
52436 | CP 5 | Jump to 52641 for command type 5. | ||
52438 | JP Z,52641 | |||
52441 | CP 4 | Jump to 52671 for command type 4. | ||
52443 | JP Z,52671 | |||
52446 | CP 1 | Jump to HandleSimpleAction for command type 1. | ||
52448 | JP Z,HandleSimpleAction | |||
52451 | CP 3 | Jump to 52815 for command type 3. | ||
52453 | JP Z,52815 | |||
52456 | CP 8 | Jump to HandlePushStack for command type 8. | ||
52458 | JR Z,HandlePushStack | |||
52460 | CP 9 | Jump to HandlePopStack for command type 9. | ||
52462 | JR Z,HandlePopStack | |||
52464 | JP 52760 | Jump to 52760. |
Prev: 52344 | Up: Map | Next: 52467 |