![]() |
Routines |
| Prev: 39682 | Up: Map | Next: 39748 |
|
Used by the routine at Turn_GateTheMessage.
Climbs the current object.
|
||||
| ActionClimb | 39702 | LD A,255 | Write 255 to *46825. | |
| 39704 | LD (46825),A | |||
| 39707 | LD A,(IX+1) | Read where this object is from the object record. | ||
| 39710 | LD (46824),A | Update *CurrentObject. | ||
|
Find the object's record.
|
||||
| 39713 | CALL LocateObject | Call LocateObject to locate object. | ||
| 39716 | BIT 3,(IX+7) | Jump back to Turn_GateTheMessage_1 if the object is broken. | ||
| 39720 | JP NZ,Turn_GateTheMessage_1 | |||
| 39723 | BIT 6,(IX+7) | Jump back to Turn_GateTheMessage_1 if the object is an animal. | ||
| 39727 | JP NZ,Turn_GateTheMessage_1 | |||
| 39730 | BIT 5,(IX+7) | Jump back to Turn_GateTheMessage_StepThePointerOnBySevenBytes if the object is not open. | ||
| 39734 | JP Z,Turn_GateTheMessage_StepThePointerOnBySevenBytes | |||
| 39737 | LD A,55 | Write 55 (climb out) to *CurrentAction. | ||
| 39739 | LD (46823),A | |||
| 39742 | CALL Turn_ApplyTheSavedMatch | Call Turn_ApplyTheSavedMatch to build the action sentence from the saved match. | ||
| 39745 | JP Turn_GateTheMessage_StepThePointerOnBySevenBytes | Jump back to Turn_GateTheMessage_StepThePointerOnBySevenBytes to clear *38923. | ||
| Prev: 39682 | Up: Map | Next: 39748 |