Hmm, there's some memory leak here. I was keeping pagedown on for a longer while when trying to skip conversations and the game ran out of memory and crashed on getImage call during trying to prove guiltiness
I literally hate the sneaky sequence. Totally disappointed, I was looking forward to more clues and arguments and this sequence looks frustrating enough I'm about to give up altogether
Please make settings (eg fps) survive soft reset. Also don't re-show the warning about exports not working after every soft reset, this gets irritating fast
Btw, the game pretty much always fails to progress if I suspend browser with game open. I suspect it's some clock glitch. I strongly recommend everyone to close browser/tab before suspending to avoid running into this
As a continuation to the pause bug: if you paused during special in battle so pause wasn't effective and don't close it at the end of battle, the next battle will be started with the ineffective pause as well.
Possibly overkill but in case floating point error is the problem, you could calculate epsilon (http://en.wikipedia.org/wiki/Machine_epsilon#How_to_determine_machine_epsilon) and test if (price - resource) < epsilon
It wouldn't work. There is another problem. The indicated price isn't always the real price. Flash only supports 32 bit numbers, so after ~ 2 billion, the numbers start to go negative. I've had to pass every number through a function that puts all numbers in arrays of numbers and includes commas. This includes all prices and all resources on hand. In turn, the default function for displaying numbers stops displaying anything at 15 numbers. To push it past that limit, each price and each displayed number is actually a combination of two instances of windows displaying numbers and there is a carefully written function that determines when one display takes over the other. That costs me a bit of precision when numbers start going over 15 digits. The point is: I wouldn't touch these now if you paid me to do it... way too much of a headache for a tiny problem.
FWIW could you please check if you have a comparison off in the game? Looks like requirement for materials might be greater than when it's supposed to be greater or equal to. In other words when something says it requires x resources, it will actually need x+y resources where y can be arbitrarily small.
:D Yes mate! :D You catched the references! :D :D Porkiin YEEEEEEEAH!