I think I've found the code block that controls the camera movement. It's just over 400 operations in length, so it may take a while to find out exactly what's happening in there.
The code contains all the write operations to the camera position addresses, including the robot boss cam controls. So this is probably the place to be to gain control of JJ2's camera!
UPDATE: I've looked into the half of the code that controls the camera for the EOL animation and the Robot Boss. It's not difficult to keep the camera at a specific place, or to have it move in 30 equally-sized steps frome one place to another. There's also code for doing a similar slide to the player's location, after which the camera will follow the player again.
The code that has the camera follow the player is left to be investigated. As of now, I haven't found any obvious way to have the camera follow another player. But I have good hopes I'll find that in the other half.
__________________
Last edited by Jerrythabest; Jul 5, 2012 at 01:16 PM.
|