Prev: F77F Up: Map Next: F7AC
F793: Process: Kill Ox With Sword
Process_KillOxWithSword F793 LD A,$52 Call ValidateItemPresent with item 52: "A wild ox,tethered to the pen by a length of rope".
F795 CALL ValidateItemPresent
F798 JP NZ,Response_YouveDoneThatAlready Jump to Response_YouveDoneThatAlready if A is not equal to 52.
Make sure the player is even carrying a sword.
F79B CALL IsPlayerCarryingSword Call IsPlayerCarryingSword.
Change the ox state!
F79E LD BC,$5253 Call TransformItem to transform item 52 ("A wild ox,tethered to the pen by a length of rope") into item 53 ("A dead ox,tethered by a piece of rope").
F7A1 CALL TransformItem
F7A4 LD A,$04 Call AddToScore to add 04 points to the score.
F7A6 CALL AddToScore
F7A9 JP Process_KillBear_0 Jump to Process_KillBear_0.
Prev: F77F Up: Map Next: F7AC