![]() |
Routines |
| Prev: C6B5 | Up: Map | Next: C6CC |
|
Used by the routine at START.
Clears the screen buffer, builds the room's object records (BUILD_ROOM), puts the player in the doorway he came in by if he came through one (ADJUST_PLYR_UVZ_FOR_ROOM_SIZE), marks the room seen (MARK_ROOM_SEEN) and sets NEW_ROOM for the main loop (OBJECT_DONE), which redraws the panel and clears it.
|
||||
| ENTER_ROOM | C6B6 | LD IX,OBJECTS | IX = the player's legs, whose room is the one to build | |
| C6BA | CALL CLEAR_BUFFER | |||
| C6BD | CALL BUILD_ROOM | |||
| C6C0 | CALL ADJUST_PLYR_UVZ_FOR_ROOM_SIZE | |||
| C6C3 | CALL MARK_ROOM_SEEN | |||
| C6C6 | LD A,$01 | The room is new: NEW_ROOM | ||
| C6C8 | LD (NEW_ROOM),A | |||
| C6CB | RET | |||
| Prev: C6B5 | Up: Map | Next: C6CC |