PATCH: Allowing the Pogo to always fly.
I've been meaning to ask about a patch like this for a while :D... Although, I was thinking of using the ankh in Keen 3 instead. Not sure exactly how it would work... I suppose you'd make it so that the pogo/jetpack could only be activated when you have ankh. It'd also be nice to have it all in one button (Alt), instead of pressing Alt to turn it on and Ctrl to actually fly. Not sure how well that would work though...
What would be REALLY nice (although probably not possible) is that pogo usually works, except when you have ankh, in which case it'd turn into a jetpack. Even ignoring all the sprite problems, that probably wouldn't work though.
What would be REALLY nice (although probably not possible) is that pogo usually works, except when you have ankh, in which case it'd turn into a jetpack. Even ignoring all the sprite problems, that probably wouldn't work though.
Ringman wrote:I understand the need to only patch and not hex edit, but I don't plan on releasing this to the public.
Thanks for the patch, but I'm still lost as to how to use that in a hex editor as opposed to ckpatching.
I'm sure that $34fe is the address, but what is $90 $90? If I put 9090 in the game crashes when using the pogo. Please explain what value needs to be put here in the exe file.
Code: Select all
// seg000:3F49
if (MEMW(god_mode) != 0 && MEMW(word_1B01C) != 0) {
// seg000:3F57
W_MEMW(keen_pos_y, 0xff38);
}
// http://www.quantumg.net/keen1.c.txt
and at 0x3F49...
Code: Select all
00003f49: cmp word [0x5daa], byte +0x0
00003f4e: jz 0x3f5d
Disclaimer: I know dick all about programming; I am probably not right
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact: