- Code: Select all
VOID Lock ( MHS_ADDRESS aAddress, INT iItemSize )
{
extern INT p2buttons = { "", aAddress }; // This is the address of the joystick that's plugged into the computer that the emulator picks up. A PRIVATE address that moves when I reboot the emulator.
extern BYTE P2facing = { "", ssf.exe + 6473071 }; // This is a variable that tells me if the player is facing right or left (0 or 1).
// I put no code here yet
}
I get a compile error when I press ok. My question is how do I get the script to calculate addresses across modules? It doesn't seem as simple as it is when using the expression evaluator.