Prev: 45074 Up: Map Next: 45107
45084: Step Display State
Advances the room-display state when the parser flag at 40985+1 is 1 builds the character record, and copies the display. Reached through the standard command table at Table_CommandHandlerLookup_Standard, dispatched by 45024.
StepDisplayState 45084 LD A,(40986) Jump to CopyBytes_ReportSuccess if the parser is not 1.
45087 CP 1
45089 JP NZ,CopyBytes_ReportSuccess
45092 LD A,2 Store 2 at 40985+1 and call InitialiseCharacterDataStructure to initialise the character.
45094 LD (40986),A
45097 CALL InitialiseCharacterDataStructure
45100 SET 6,(IY+1) Jump back to CopyDisplayIfNeeded to copy display if needed.
45104 JP CopyDisplayIfNeeded
Prev: 45074 Up: Map Next: 45107