Routines
Prev:
AEDA
Up:
Map
Next:
AEE7
AEE0: 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 00).
Input
A
Item/ event ID
Set the item ID and location (which will be 00 to deactivate it).
Handler_DestroyItemEvent
AEE0
LD B,A
Load the item/ event ID into
B
.
AEE1
LD C,$00
Set the room ID to 00 which will deactivate the item/ event.
AEE3
CALL
Handler_UpdateItemLocation
Call
Handler_UpdateItemLocation
.
AEE6
RET
Return.
View the equivalent code in
The Jewels Of Babylon
.
Prev:
AEDA
Up:
Map
Next:
AEE7