![]() |
Routines |
| Prev: CE57 | Up: Map | Next: CE83 |
|
Used by the routine at DispatchCharacterScript.
Turns the command's parameter into a character, clears both room parameters, and runs the display action.
|
||||
| RunSimpleAction | CE6A | LD A,(IX+$01) | Read the command's parameter and call ProcessRoomDisplayParameter to turn a special value into a room or a character. | |
| CE6D | CALL ProcessRoomDisplayParameter | |||
| CE70 | LD ($A033),A | Record the saved character. | ||
| CE73 | LD A,$FF | Write FF to . | ||
| CE75 | LD ($A034),A | |||
| CE78 | LD ($A035),A | |||
|
The display record has bit 7 set, so the script resumes.
|
||||
| CE7B | CALL ProcessDisplayAction | Return if the display record has bit 7 set, so the script resumes. | ||
| CE7E | RET C | |||
| CE7F | JR Z,ProcessScriptCommandWithCounter | Go to ProcessScriptCommandWithCounter if the display action matched. | ||
| CE81 | JR ContinueScriptExecution | Jump ahead to ContinueScriptExecution to resume script execution. | ||
| Prev: CE57 | Up: Map | Next: CE83 |