Prev: 63350 Up: Map Next: 63379
63359: Process: Kill Pig With Sword
Process_KillPigWithSword 63359 LD A,80 Call ValidateItemPresent with item 80: "A dead pig".
63361 CALL ValidateItemPresent
63364 JP Z,Response_YouveDoneThatAlready Jump to Response_YouveDoneThatAlready if A is equal to 80.
Make sure the player is even carrying a sword.
63367 CALL IsPlayerCarryingSword Call IsPlayerCarryingSword.
Change the pig state!
63370 LD BC,20304 Call TransformItem to transform item 79 ("A pig") into item 80 ("A dead pig").
63373 CALL TransformItem
63376 JP Process_KillBear_0 Jump to Process_KillBear_0.
Prev: 63350 Up: Map Next: 63379