PT CPU breaks when loadstate using Mash Triggers
Closed this issue · 2 comments
gnaomo commented
e.g. CPU is set to Mash trigger "Always" and Mash Toggle "Fsmash" (or pretty much every move that changes the fighter kind status), we then load state. CPU will respawn from angel plat.
It seems that during the killing process (the very first steps of loading a save state) the code will not get through this statement as usual
but instead the mash trigger will override
status
and the code will see that PT CPU is not 'REBIRTH', messing up everything.Or at least this my interpretation of what is happening....
Normal situation
Bugged out, with Charizard first frame of F-Smash
Next frame will be CPU on angel plat
jugeeya commented
Probably we can just check here if save_state.state == NoAction.
https://github.com/jugeeya/UltimateTrainingModpack/blob/main/src/training/mash.rs#L146
jugeeya commented
Fixed in latest beta.