mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
0917d1ee3b
Based on Sozud's scratch (https://decomp.me/scratch/zVBXP), I got the function to match, and then confirmed that it also matches on PSX. I also discovered a few improvements, especially in changing `D_8016FCC0[entityId];` to instead be `((PfnEntityUpdate*)FAMILIAR_PTR)[entity->entityId - 0xD0];` While I was at it, I also updated the D_80170000 variable from a void* to be g_ServantDesc, just like we have in the servant overlay. The ServantDesc struct only exists in servant.h, so we update that as well. Finally, we move g_Weapon to not be at 80170000, since it doesn't belong there.
3 lines
54 B
Plaintext
3 lines
54 B
Plaintext
g_Weapon = 0x8017A000;
|
|
BottomCornerText = 0x8017AB54;
|