![]()  | 
Routines | 
| Prev: A33A | Up: Map | Next: A42F | 
| 
 
Used by the routines at Handler_RoomExits and MovePlayer.
 
  | 
||||||||
| GetRoomPointer | A41C | PUSH DE | Stash DE on the stack. | |||||
| A41D | LD A,($A106) | Load the *CurrentRoom into HL. | ||||||
| A420 | LD L,A | |||||||
| A421 | LD H,$00 | |||||||
| A423 | LD DE,$0006 | DE=0006. | ||||||
| A426 | CALL $A16D | Call A16D. | ||||||
| A429 | LD DE,$B8DD | Add the result to the base address Table_RoomMap and store the result in HL. | ||||||
| A42C | ADD HL,DE | |||||||
| A42D | POP DE | Restore DE from the stack. | ||||||
| A42E | RET | Return. | ||||||
| 
 
View the equivalent code in;  
  | 
||||||||
| Prev: A33A | Up: Map | Next: A42F |