The one that reads it in the journal (mov r8d,[rdx+0c]) seems to pass in the two "idDeclCurrency" (pointer in rdx+00) for adventure points and local currency. It also seems to shift them around while in the same level, as every now and then my table stops working since I store the pointers instead of reading them every time. Should probably change it to that, but disable/enable script makes them work again so I haven't bothered.濒危物种猫咪 wrote: ↑Tue Dec 10, 2024 7:33 amThis is really strange, my script only gives two possibilities. Either point to adventure points, or point to others
A script I made before points coins to +24, which is valid in Vatican, but I now find that this does not work in Egypt, but the script I made later still works (viewtopic.php?p=384044#p384044)
The only explanation is that in subsequent games, mov r8d,[rdx+0C] cannot scan the coins value, or a third data appears.
[ChangeCoins/AdventurePoints] in the script I posted was added to prepare for this situation. Doesn't this also change coins?
In Himalaya and Shanghai there are no currency afaik, so the pointers won't be sent in. In Sukhothai they are back, and if you look at the memory area, you can see the 4 instances for currency, which I assume are the adventure points, and 3 actual currencies (for the different actual currencies in the Vatican, Egypt and Sukhothai). So I assume only the two needed for the display is passed in to that function.