![]() |
Routines |
| Prev: 9039 | Up: Map | Next: 9059 |
|
Used by the routine at Validate_Take_LaserPistol.
Was the player trying to take the coin?
|
||||
| Validate_Take_Coin | 9049 | LD HL,$8960 | Call Parser_AdvanceToSeparator with 8960. | |
| 904C | CALL Parser_AdvanceToSeparator | |||
| 904F | JR NZ,Validate_Take_CrystalRod | Jump to Validate_Take_CrystalRod if the token isn't for the coin. | ||
| 9051 | LD A,$02 | Call Take_IsPlayerHoldingItem with item 02: "A coin.". | ||
| 9053 | CALL Take_IsPlayerHoldingItem | |||
| 9056 | JP TakeItem | Jump to TakeItem. | ||
| Prev: 9039 | Up: Map | Next: 9059 |