Keen 5: Game is completed when entering a level

Request patches for Keens 4-6.
Post Reply
Bubbbatom
Posts: 9
Joined: Thu Dec 28, 2017 8:40 am

Keen 5: Game is completed when entering a level

Post by Bubbbatom » Fri Jul 27, 2018 5:36 am

Hey there,

Wondering if it's possible to have the game end when entering a specific level (in this case level 13) from the world map?

Thanks

User avatar
Nisaba
Posts: 287
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: Keen 5: Game is completed when entering a level

Post by Nisaba » Fri Jul 27, 2018 3:22 pm

what exactly do you have in mind? do you want to have the game end

a) when touching something on the world map, or...
b) after the player finishes a certain level?

User avatar
Nisaba
Posts: 287
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: Keen 5: Game is completed when entering a level

Post by Nisaba » Fri Jul 27, 2018 3:25 pm

...plus, by ending the game you mean running a game over or triggering the win sequence?

Bubbbatom
Posts: 9
Joined: Thu Dec 28, 2017 8:40 am

Re: Keen 5: Game is completed when entering a level

Post by Bubbbatom » Fri Aug 03, 2018 11:04 am

So when entering a level entrance I'd like the win sequence to be triggered. I'm not sure how difficult it would be or if it's even possible to patch this in but it's what I'm after.
Thanks

User avatar
szemigi
Posts: 575
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen 5: Game is completed when entering a level

Post by szemigi » Fri Aug 03, 2018 9:39 pm

Well, I also had Keen 5 requests and as Levellass said to me, she has limited free time and (my) patches are tricky, but possible to make, so she doesn't know when she will be done. So you guess when she will make yours. Just saying.

levellass
Posts: 2886
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen 5: Game is completed when entering a level

Post by levellass » Sun Aug 05, 2018 11:00 am

Thankfully this was made easy while looking for the Shikadi V-card patch. This should do what you want, the level trigger is the $0D in the first line:

Code: Select all

#Automatically win game when entering level 13:
%patch $D2E6 $0F920545RL
%patch $FE65 $55 $8B $EC $56 $8B $76 $06 $83 $3E $6F68W  $0D $75 $06 $C7 $06
             $6F70W $000FW   $EB $0C $B8 $000CW  $50 $9A $196E09EFRL     $83
             $C4 $02 $5E $5D $CB

Bubbbatom
Posts: 9
Joined: Thu Dec 28, 2017 8:40 am

Re: Keen 5: Game is completed when entering a level

Post by Bubbbatom » Mon Aug 06, 2018 12:02 pm

Thanks Levellass! Suburbs has been on hold long enough so I've decided to omit the boss battle and clean up the mod hopefully in preparation for an upcoming release!

levellass
Posts: 2886
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen 5: Game is completed when entering a level

Post by levellass » Tue Aug 14, 2018 2:53 am

Oh wonderful stuff. I have some map tweaks that minimize the music memory errors and a patch that works to make said error unobtrusive. (The big problem is that music loads last, needing twice the song space free. I can circumvent this in Keen 4 but not Keen 5, and I tried.) Everything just went to mush here.

User avatar
szemigi
Posts: 575
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen 5: Game is completed when entering a level

Post by szemigi » Tue Aug 14, 2018 8:33 am

(Minor note/off-topic patch: What about my Keen 5 diagonal shoot and shootable switch patch? Really, just asking. I'm out anyway.)

I can't wait for Suburb mod anyway.

Post Reply