Loreinator / Shuffle-Move

Program to help choose moves in the Pokemon Shuffle puzzle game
GNU General Public License v3.0
95 stars 18 forks source link

Account for strange mega & multi-match behaviour #155

Open Loreinator opened 8 years ago

Loreinator commented 8 years ago

From /u/AvengahM

I just saw some very strange behaviour with Mega Rayquaza, but it likely applies to every Mega.

I had this setup:

r - - r - - R B B

Where B is a barriered Rayquaza and R is the icon I placed.

So only one icon was required to make Rayquaza evolve, and since R was at an intersection, it remained after the match. Then, after evolving, instead of the vertical match taking place as you'd expect, the horizontal match happened again! Of course, now that Rayquaza's evolved, the vertical match doesn't happen.

I can only assume that when Rayquaza evolved, the game forgot that icon had already been used for the horizontal match. It would probably work the same way with the vertical match instead in this situation:

B - - R r r B - - B - -

Due to the game's priority system.

This will likely require a rework of the whole active/inactive erasure system to ensure this behaviour is allowed.

avengah commented 8 years ago

Sorry about that... :(

Loreinator commented 8 years ago

Its no problem, it'll just remain as a known bug until I can figure out how to redesign the simulation system to accommodate this quirk. Either that, or find an acceptable hack to make mega effects handled appropriately (i.e. if their activation caused mega progress to cap out, then instead of putting an erase effect, put a make-active effect and remove all claims for the combo). Actually... that might just work. I'll have to experiment with it to see how well the simulation handles it.