Lately, I noticed some strange behaviors when playing several credits in same game session by resetting the game using Start + ABC
First of those is sometimes in the first stage I obtained the Search special option Formation which is virtually impossible in stage 1, as it's not possible to leave 5 option items. That makes me suspect that the count of option items not collected was not re-initilized when resetting the game.
So, after some investigation, I could find the memory positions where item not collected counts are stored for: small shot, small bomb, option and medal items, and using mame cheats to print their values at screen while playing, I could check that only small shot items not collected count is reset between credits.
Then, I investigated more and taking a look at the patch file from zakk and original source code, I could manage to update the patch to add the reset for the other 3 non collected item counts.
I was able to check it in mame and original PCB and it works fine.
I created a pull-request for adding it in the original github repository:
https://github.com/zakk4223/battle-gare ... hes/pull/2Quote:
There are 4 bytes in memory where non collected items counts are stored. They are important to activate special option formations.
In original code, not all of these counts are reset in every credit (only small shot count is), so previous credit state of non collected items affects the new one.
- $109CB9 is the small shot items non collected count
- $109CBA is the small bomb items non collected count
- $109CBB is the option items non collected count
- $109CBC is the medal items non collected count
patch.s file is updated to reset all these counts in every credit.
Original code has these instructions:
- $B86: clr.b $109CB8 ; reset unknown count
- $B8C: clr.b $109CB9 ; reset small shot items count
it could be changed to:
- $B86: clr.l $109CB8 ; reset unknown, small shot, small bomb and option items counts
- $B8C: clr.b $109CBC ; reset medal items count
Only prg1.bin file is affected to these changes.
Second strange behaviour is that I noticed that speed of ship (I usually play with Golden Bat) it's gradually slower and slower after some manual Start+ABC resets were done, specially when I reach later stages in previous runs. That makes me suspect that there is some count over there that also affects to the speed of the ship. When hard resetting the PCB (turning off the cab) I notice that the ship has the original speed (a little faster than previous run).
Did you guys ever noticed something similar?
