Routines
Prev:
44762
Up:
Map
Next:
44775
44768: Handler: Destroy Item/ Event
Used by the routines at
Event_Roman
,
Event_Boar
,
Event_FurtiveFigure
,
Event_Rats
,
Event_Woman
,
Event_WomanGuidesThroughSwamp_North
,
Event_WomanGuidesThroughSwamp_East
,
Event_WomanGuidesThroughSwamp_South
,
Event_WomanGuidesThroughSwamp_East_2
,
Event_Druid
,
Process_EnterForestPath
,
Process_EnterCauseway
,
Process_GetLadder
,
Process_ThrowMeatToBear
,
Process_ThrowMeatToWolves
,
Process_GiveAcornsToRaven
,
Process_GiveSaltToGuard
,
Process_BuyMeatFromTraderWithIron
,
Process_GiveIronToTrader
,
Process_GiveRomanToDruid
,
Process_ThrowFoodToBear
,
Process_ThrowFoodToWolves
,
Process_FreeHare
,
Process_ThrowUrnIntoFire
,
Process_EatFood
,
Process_EatMeat
,
Process_CaptureRoman
,
Process_PlaceLadderAgainstPlatform
,
Process_PlaceSwordOnSlab
,
Process_KillRomanWithSword
,
Process_LoseSalt
and
Action_Sleep
.
Updates a given item/ event ID so it's then "inactive" (has a location ID of 0).
Input
A
Item/ event ID
Set the item ID and location (which will be 0 to deactivate it).
Handler_DestroyItemEvent
44768
LD B,A
Load the item/ event ID into
B
.
44769
LD C,0
Set the room ID to 0 which will deactivate the item/ event.
44771
CALL
Handler_UpdateItemLocation
Call
Handler_UpdateItemLocation
.
44774
RET
Return.
View the equivalent code in
The Jewels Of Babylon
.
Prev:
44762
Up:
Map
Next:
44775