![]() |
Routines |
| Prev: F2AE | Up: Map | Next: F2D4 |
|
Require the sword before combat continues.
|
||||
| Handler_RequireSword | F2C7 | LD A,$0A | Return when the player is carrying object 0A (the sword). | |
| F2C9 | CALL IsObjectCarried | |||
| F2CC | RET Z | |||
| F2CD | LD HL,$DF72 | Print "You're not carrying the sword.". | ||
| F2D0 | POP DE | Discard the return address on the stack. | ||
| F2D1 | JP PrintResponse | Jump back to PrintResponse to return to the game loop. | ||
| Prev: F2AE | Up: Map | Next: F2D4 |