![]() |
Routines |
Prev: 63359 | Up: Map | Next: 63404 |
|
||||
Process_KillOxWithSword | 63379 | LD A,82 | Call ValidateItemPresent with item 82: "A wild ox,tethered to the pen by a length of rope". | |
63381 | CALL ValidateItemPresent | |||
63384 | JP NZ,Response_YouveDoneThatAlready | Jump to Response_YouveDoneThatAlready if A is not equal to 82. | ||
Make sure the player is even carrying a sword.
|
||||
63387 | CALL IsPlayerCarryingSword | Call IsPlayerCarryingSword. | ||
Change the ox state!
|
||||
63390 | LD BC,21075 | Call TransformItem to transform item 82 ("A wild ox,tethered to the pen by a length of rope") into item 83 ("A dead ox,tethered by a piece of rope"). | ||
63393 | CALL TransformItem | |||
63396 | LD A,4 | Call AddToScore to add 4 points to the score. | ||
63398 | CALL AddToScore | |||
63401 | JP Process_KillBear_0 | Jump to Process_KillBear_0. |
Prev: 63359 | Up: Map | Next: 63404 |