![]() |
Routines |
Prev: 44808 | Up: Map | Next: 44849 |
Used by the routines at 60578, Process_GetCloak, Process_DropTorc, Process_DropHelmet, Process_DropCloak, Process_BuyMeatFromTraderWithIron, 61817, 61919, 62060, 62099, Process_WearTorc, Process_WearHelmet, Process_WearAmulet, Process_DropAmulet, 62649, Process_WearCloak, 62788 and 63008.
Rather than use item properties, the game just has separate objects that don't exist until an action is performed.
An example is:
|
||||||||||||||||
TransformItem | 44830 | LD A,B | A=B. | |||||||||||||
44831 | CALL ItemLocator | Call ItemLocator. | ||||||||||||||
44834 | PUSH BC | Stash BC and AF on the stack. | ||||||||||||||
44835 | PUSH AF | |||||||||||||||
44836 | LD C,0 | C=0. | ||||||||||||||
44838 | CALL 44808 | Call 44808. | ||||||||||||||
44841 | POP AF | Restore AF and BC from the stack. | ||||||||||||||
44842 | POP BC | |||||||||||||||
44843 | LD B,C | B=C. | ||||||||||||||
44844 | LD C,A | C=A. | ||||||||||||||
44845 | CALL 44808 | Call 44808. | ||||||||||||||
44848 | RET | Return. | ||||||||||||||
View the equivalent code in The Jewels Of Babylon.
|
Prev: 44808 | Up: Map | Next: 44849 |