For the past few days, I have been working on hacking the PC version of Megaman X5. Here are some interesting things I have found. Functions: int PlayBGM(u_int8_t bgmNumber) - 0x49A7C0
int SetupCharacterStart(int* UnknownStructPtr) - 0x464F60 Sets up the player's lives and health, as well as some other variables. This function is called when the player starts a new game or selects the tutorial level.
int CharacterSelectScreenInit(int UnknownArgument) - 0x48A030 Called when the player goes to the character select screen. Variables: Current Character - 0x7929C4 0 for X, 1 for Zero. Do not change this variable while in a stage. Doing so will crash the game when you die.
Player Lives - 0x7929C5 HUD Enable Flag - 0x79299F Player Health - 0x79D97C Stage Number - 0x79298C
BG Layer 0 Flag - 0x7B2943
BG Layer 1 Flag - 0x7B2997
BG Layer 2 Flag - 0x7B29EB