![]() |
Routines |
| Prev: 39629 | Up: Map | Next: 39702 |
|
Used by the routines at Turn_GateTheMessage and Object_MoveContents.
The empty action. Records where the player is and does nothing else. Reached through the action table at ActionTable, dispatched by Turn_RunTheHandlerIfPresent.
|
||||
| Action_None | 39682 | LD A,0 | Call ObjectFirstLocation for 0 - "You". | |
| 39684 | CALL ObjectFirstLocation | |||
| 39687 | LD (46837),A | Write A to 46837. | ||
| 39690 | CALL LocationLit | Call LocationLit to test whether the location is lit. | ||
| 39693 | LD A,0 | Start from zero. | ||
| 39695 | JR NC,Action_None_StoreTheDarkFlag | If it is light jump to Action_None_StoreTheDarkFlag. | ||
| 39697 | INC A | Make it 1 when the location is dark. | ||
| Action_None_StoreTheDarkFlag | 39698 | LD (38924),A | Write A to 38924. | |
| 39701 | RET | Return. | ||
| Prev: 39629 | Up: Map | Next: 39702 |