![]() |
Routines |
Prev: 61913 | Up: Map | Next: 62060 |
|
||||
61919 | LD HL,58258 | HL=Data_ItemGroup_Sword. | ||
61922 | CALL CheckItemGroupPresent | Call CheckItemGroupPresent. | ||
This entry point is used by the routine at Process_GetSword.
|
||||
61925 | CALL 60789 | Call 60789. | ||
61928 | LD A,B | A=B. | ||
61929 | CP 89 | Compare A with 89. | ||
61931 | JR NZ,61944 | Jump to 61944 if A is not equal to 89. | ||
61933 | LD BC,22872 | Call TransformItem to transform item 89 ("A shimmering stone slab with a sword laying upon it") into item 88 ("A stone slab"). | ||
61936 | CALL TransformItem | |||
61939 | LD B,57 | B=57. | ||
61941 | JP 60838 | Jump to 60838. | ||
61944 | LD HL,54554 | HL=Messaging_ItIsNotOnTheSlab. | ||
61947 | JP 60781 | Jump to 60781. | ||
61950 | LD HL,58219 | HL=Data_ItemGroup_Helmet. | ||
61953 | CALL CheckItemGroupPresent | Call CheckItemGroupPresent. | ||
61956 | CP 32 | Compare A with 32. | ||
61958 | JP NZ,61819 | Jump to 61819 if A is not equal to 32. | ||
61961 | LD BC,8223 | Call TransformItem to transform item 32 ("A bronze helmet (worn)") into item 31 ("A bronze helmet"). | ||
61964 | CALL TransformItem | |||
61967 | LD A,31 | A=31. | ||
61969 | JP 61819 | Jump to 61819. | ||
61972 | LD A,56 | A=56. | ||
61974 | JP 61819 | Jump to 61819. | ||
61977 | LD A,86 | A=86. | ||
61979 | JP 61819 | Jump to 61819. | ||
61982 | LD A,35 | A=35. | ||
61984 | JP 61736 | Jump to 61736. | ||
61987 | LD HL,58219 | HL=Data_ItemGroup_Helmet. | ||
61990 | CALL CheckItemGroupPresent | Call CheckItemGroupPresent. | ||
61993 | CP 32 | Compare A with 32. | ||
61995 | JP NZ,61736 | Jump to 61736 if A is not equal to 32. | ||
61998 | LD BC,8223 | Call TransformItem to transform item 32 ("A bronze helmet (worn)") into item 31 ("A bronze helmet"). | ||
62001 | CALL TransformItem | |||
62004 | LD A,31 | A=31. | ||
62006 | JP 61736 | Jump to 61736. | ||
62009 | LD A,101 | A=101. | ||
62011 | JP 61736 | Jump to 61736. | ||
62014 | LD A,69 | A=69. | ||
62016 | CALL ValidateItemPresent | Call ValidateItemPresent. | ||
62019 | JP Z,Response_DontBeRidiculous | Jump to Response_DontBeRidiculous if A is equal to 69. | ||
62022 | LD A,34 | A=34. | ||
62024 | CALL IsPlayerCarryingItem | Call IsPlayerCarryingItem. | ||
62027 | LD A,E | A=E. | ||
62028 | CALL Handler_DestroyItemEvent | Call Handler_DestroyItemEvent. | ||
62031 | LD HL,42896 | HL=Count_InventoryItems. | ||
62034 | DEC (HL) | Decrease *HL by one. | ||
62035 | LD HL,55063 | HL=Messaging_BearEatsFood. | ||
62038 | JP 60781 | Jump to 60781. | ||
62041 | LD A,34 | A=34. | ||
62043 | CALL IsPlayerCarryingItem | Call IsPlayerCarryingItem. | ||
62046 | LD A,E | A=E. | ||
62047 | CALL Handler_DestroyItemEvent | Call Handler_DestroyItemEvent. | ||
62050 | LD HL,42896 | HL=Count_InventoryItems. | ||
62053 | DEC (HL) | Decrease *HL by one. | ||
62054 | LD HL,55087 | HL=Messaging_WolvesEatTheFood. | ||
62057 | JP 60781 | Jump to 60781. |
Prev: 61913 | Up: Map | Next: 62060 |