Ok, here's patch that changes ammo tile to increase pogo value by one instead of adding some amount of shots to ammo counter.
Correct me if I'm wrong, but I think this is the way those booleans there on Keen exe work. They consist of 2 bytes, so they're words. When they are false, the value is 00 00. When they are true, the value is 01 00. But it could be for example 8423, E7 20 too -- the game checks only that boolean is false if it's 00 00 and true when it's other than 00 00 (I guess). And 01 00 just happens to be simplest way to mark some other than 00 00. :)
So, this patch, used with the patch on the posts above, can allow pogo being toggled on and off. You can use pogo tile to set pogo off, and this ammo tile to give Keen the pogo. That could be used on some tricky mazes or something.
If Keen already has pogo and he gets ammo tile that gives him pogo, he can keep the pogo since the value 01 00 just changes to 02 00 which is 'true' also. (Again, correct me if I'm not right..)
Also, if I remember correct; when you're pogoing and get pogo tile while you're pogoing, and it changes pogo to zero, you can bounce until you toggle pogo off. After that you can't start pogoing.
And, as that pogo tile changes pogo value to zero, it always works (if it would only decrease pogo value by one, and pogo value would happen to be 03 00 for example, it wouldnt' work -- but since it goes to zero every time, it works).
I probably use this, unless I don't find any better use for pogo and ammo tiles.
Code: Select all
# Make raygun tile increase pogo counter by one in Keen 2 v. 1.31
%patch $728A $B0 $9A $01
Also, I still couldn't hit any other patch from the forum that changes pogo to go zero when getting ammo tile....