Prev: 9ACD Up: Map Next: 9B16
9B02: Action: None
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 9B02 LD A,$00 Call ObjectFirstLocation for $00 - "You".
9B04 CALL ObjectFirstLocation
9B07 LD ($B6F5),A Write A to B6F5.
9B0A CALL LocationLit Call LocationLit to test whether the location is lit.
9B0D LD A,$00 Start from zero.
9B0F JR NC,Action_None_StoreTheDarkFlag If it is light jump to Action_None_StoreTheDarkFlag.
9B11 INC A Make it 01 when the location is dark.
Action_None_StoreTheDarkFlag 9B12 LD ($980C),A Write A to 980C.
9B15 RET Return.
Prev: 9ACD Up: Map Next: 9B16