![]() |
Routines |
Prev: F69F | Up: Map | Next: F703 |
|
||||
Process_KillHareWithSword | F6E1 | LD A,$26 | Call ValidateItemPresent with item 26: "A dead hare,caught in a trap". | |
F6E3 | CALL ValidateItemPresent | |||
F6E6 | JP Z,Response_YouveDoneThatAlready | Jump to Response_YouveDoneThatAlready if A is equal to 26. | ||
F6E9 | CALL CheckUserInput_Sword | Call CheckUserInput_Sword. | ||
F6EC | JR NZ,Process_KillHareWithSword_0 | Jump to Process_KillHareWithSword_0 if A is not equal to 26. | ||
F6EE | LD HL,$E392 | Call CheckItemGroupPresent with Data_ItemGroup_Sword. | ||
F6F1 | CALL CheckItemGroupPresent | |||
F6F4 | CALL IsPlayerCarryingItem | Call IsPlayerCarryingItem. | ||
Change the hare state!
|
||||
Process_KillHareWithSword_0 | F6F7 | LD BC,$1326 | Call TransformItem to transform item 13 ("A hare,caught by the leg,in a trap") into item 26 ("A dead hare,caught in a trap"). | |
F6FA | CALL TransformItem | |||
Print "O.K. It no longer suffers.".
|
||||
F6FD | LD HL,$DDDF | HL=Messaging_NoLongerSuffers. | ||
F700 | JP PrintStringAndNewline_Duplicate | Jump to PrintStringAndNewline_Duplicate. |
Prev: F69F | Up: Map | Next: F703 |