![]() |
Routines |
| Prev: EFBD | Up: Map | Next: EFF8 |
|
Used by the routine at Validate_Take_OpenChest.
Was the player trying to take ... the key?
|
||||
| Validate_Take_Key | EFE8 | LD HL,$E82F | Call Parser_AdvanceToSeparator with E82F. | |
| EFEB | CALL Parser_AdvanceToSeparator | |||
| EFEE | JR NZ,Validate_Take_DeadSpider | Jump to Validate_Take_DeadSpider if the token isn't for the key. | ||
| EFF0 | LD A,$10 | Call Take_IsPlayerHoldingItem with item 10: "A key". | ||
| EFF2 | CALL Take_IsPlayerHoldingItem | |||
| EFF5 | JP TakeItem | Jump to TakeItem. | ||
|
View the equivalent code in;
|
||||
| Prev: EFBD | Up: Map | Next: EFF8 |