So, in summary:
C(5)
seems to contain the amount of gold the player hasPW()
seems to contain the count of various items the player hasThe index of PW()
seems to range over:
0
= FOOD1
= RAPIER2
= AXE3
= SHIELD4
= BOW5
= AMULETOn the screen:
(16, 10)
seems to hold the amount of gold(5 + z, 25 - len(PW(z)))
holds PW(z)