Prev: D12A Up: Map Next: D169
D161: The saved legs record: bytes 0 to 7
This block and the next four, up to plyr_spr_init_data, are two 32-byte object records -- the player's legs and head -- that lose_life copies over records 0 and 1 to start a life. init_start_location fills them at the start of a game; each time the player leaves a room, exit_screen saves the live records here, with the type moved to +$10 and the materialising type 120 put in its place. So after a death the player reappears in the room he last entered, where he entered it.
This block is bytes 0 to 7 of the legs: type, X, Y, Z, the X and Y half-sizes, height, flags.
plyr_spr_1_scratchpad D161 DEFB $00,$00,$00,$00,$00,$00,$00,$00
Prev: D12A Up: Map Next: D169