Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Touhou Mother: Party members become solid after battles or scene transitions #1344
Name of the game:
Touhou Mother (http://vgperson.com/games/touhoumother.htm)
Windows 64 bit
Attach files (as a .zip archive or link them)
Describe the issue in detail and how to reproduce it:
Sometimes after scene transitions or battles the party members following you become solid and block your path which causes you to get stuck sometimes. Battles and scene transitions sometimes fix it though. In the RM2k player they always remain walkthruable. This happens at any point in the game so don't really need a save file to see it.
My guess is that is caused by #1300 because the condition depends on the screen coordinate.
Btw I think the Switch names are wrong purpose, they contain nonsense names. E.g. the variable that receives the X/Y coordinates is "RaimuHP" and is compared to "RaimuHP100" o.O
The game has multiple HP variables, I have found that in a hex editor because it uses a system where it stores your current and "target" health, so if you have 450 HP and take 400 damage the "target" HP will be 50 and your current HP will be 399 and start counting down around 10 per second, that way you can take 1 hit KO moves and keep going (which is the only way to win some battles since all moves are 1 hit KOs)
The problem is the assignment to "max_stop_count" in "Game_Event::Setup".
The "max_stop_count" causes issues in multiple games.