Tater Trooper dying

Request patches for Keen Dreams.
User avatar
szemigi
Posts: 682
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Tater Trooper dying

Post by szemigi » Tue Oct 29, 2019 3:45 am

Hey, my request is the following:


1. The Tater Trooper takes 12 shots to kill (exactly like King Boobus Tuber).
2. The Tater Trooper exactly dies like King Boobus Tuber (exploding, smokes, etc.; you know what I mean) except you don't win the game after beating the Tater Trooper.
3. Tater Trooper can jump and chase Keen (like King Boobus).


I want it like this if you ask anything.

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

Re: Tater Trooper dying

Post by levellass » Tue Oct 29, 2019 6:20 am

1.) Does King Boobus ALSO do these things?

2.) Will there be a level that has both King Boobus AND Tater Troopers in it?

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

Re: Tater Trooper dying

Post by szemigi » Tue Oct 29, 2019 1:33 pm

1.) Tater Trooper and King Boobus take 12 shots to kill (separatedly; 12-12 shots) and dies the same way, except - like I said - the Tater Trooper doesn't win the game after beating it.

2.) Yeah, level 16.

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

Re: Tater Trooper dying

Post by levellass » Wed Oct 30, 2019 2:06 pm

A side question, Boobus Tuber also gives 100'000 points when killed and makes Flower Power do the explosion thing. Do you want Tater Troopers to do this too?

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

Re: Tater Trooper dying

Post by szemigi » Wed Oct 30, 2019 2:26 pm

Exactly. Tater Trooper gives 100,000 points as well as King Boobus.


And keep in mind that King Boobus and Tater Trooper can be beaten by Flower Power only.

King Boobus takes 24 Flower Powers to kill (I already have this patch, don't worry), then you won the game.
Tater Trooper (since its replacement will be Queen Bustling Tuberina) takes 24 Flower Powers to kill as well (this patch what I want), but you don't win the game, you can continue to play.


Both die the same way, except Tater Trooper (now Queen Bustling Tuberina) doesn't win the game, so you can continue to play.


Oh, and both appears in level 15 (sorry).

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

Re: Tater Trooper dying

Post by levellass » Thu Oct 31, 2019 8:59 am

This should work:

Code: Select all

#Dying Trooper action, makes smoke
%patch $25EF8 $011CW $011CW $0000W $0000W $0000W $0004W $0000W $0000W
              $08680CD4RL   $00000000L    $00000000L    $2488W

#Tater trooper has Boobus-like death
%patch $65CE $06F5W #Tater Trooper
%patch $65E6 $06FFW #Boobus Tuber
%patch $6575 $FF $4C $44 $75 $2E $B8 $2488W  $EB $08
             $FF $4C $44 $75 $24 $B8 $246AW  $50 $56 $9A $07C50255RL     $B8
             $C350W  $50 $9A $044D090ERL     $83 $C4 $06 $9A $044D090ERL
             $C7 $04 $0019W  $C7 $44 $3E $0000W  $B8 $0015W  $50 $9A
             $10BB1282RL     $B8 $0C4AW  $50 $57 $9A $07C50255RL     $83 $C4
             $06 $5F $5E $5D $CB

#Tater Trooper's health (24)
%patch $86D0 $44 $0018W

#Boobus and Trooper share a death, Boobus wins game
%patch $9354 $55 $8B $EC $56 $8B $76 $06 $FF $44 $3E $8B $44 $3E $3D $003CW
             $7E $22 $8B $44 $20 $3D $0125W  $7D $07 $C7 $44 $1E $24C4W  $EB
             $05 $C7 $44 $1E $24A6W  $8B $C6 $05 $0046W  $50 $9A $0E450F7ARL
             $44 $44 $90
I was surprised I could do this, it took a lot of fiddling to fit everything in.

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

Re: Tater Trooper dying

Post by szemigi » Fri Nov 01, 2019 1:14 am

I want a little tweak: 7SPR0285.BMP is the death sprite of the Tater Trooper. (I hope it's possible as I haven't said it.)

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

Re: Tater Trooper dying

Post by levellass » Fri Nov 01, 2019 5:32 am

The first part should be changed to this:

Code: Select all

#Dying Trooper action, makes smoke
%patch $25EF8 $011DW $011DW $0000W $0000W $0000W $0004W $0000W $0000W
              $08680CD4RL   $00000000L    $00000000L    $2488W

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

Re: Tater Trooper dying

Post by szemigi » Fri Nov 01, 2019 7:59 am

Doesn't work. It still shows a sprite of the walking frame after beating the Trooper instead of 7SPR0285.BMP (which would be the first frame of the Trooper's stabbing). No matter which direction Keen faces (to the left or to the right). So it needs bigger tweaking.

(I tried myself to make 7SPR0285.BMP work, yesterday, but since I failed due to this problem, that's why I thought you can tweak it, but like I said, it needs to be tweaked.)

Also, a plus little request: the Tater Trooper is deadly to touch.

Oh, and keep in mind I want 7SPR0285.BMP in all cases. If it's not good, find an other solution, just please make it.

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

Re: Tater Trooper dying

Post by levellass » Sat Nov 02, 2019 1:49 am

I am not sure why the Trooper's animation is stuck, this is a problem.

Code: Select all

#Trooper is always lethal
%patch $791E $19A5W

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

Re: Tater Trooper dying

Post by szemigi » Sat Nov 02, 2019 11:42 am

If you are not sure, then what should I say? Strange. Really. I changed $011C to $0C11D and still nothing happened again. So i'm angry a bit.

Could you check it again? I'm using the following patches for Tater Trooper.

Code: Select all

#Trooper is always lethal
%patch $791E $19A5W

#Trooper doesn't attack Keen
%patch $8735 $5F $5E $5D $CB

#Spawn height:
%patch $86AB $FA80W #88 pixels up

#Dying Trooper action, makes smoke
%patch $25EF8 $011CW $011CW $0000W $0000W $0000W $0004W $0000W $0000W
              $08680CD4RL   $00000000L    $00000000L    $2488W

#Tater trooper has Boobus-like death
%patch $65CE $06F5W #Tater Trooper
%patch $65E6 $06FFW #Boobus Tuber
%patch $6575 $FF $4C $44 $75 $2E $B8 $2488W  $EB $08
             $FF $4C $44 $75 $24 $B8 $246AW  $50 $56 $9A $07C50255RL     $B8
             $C350W  $50 $9A $044D090ERL     $83 $C4 $06 $9A $044D090ERL
             $C7 $04 $0019W  $C7 $44 $3E $0000W  $B8 $0015W  $50 $9A
             $10BB1282RL     $B8 $0C4AW  $50 $57 $9A $07C50255RL     $83 $C4
             $06 $5F $5E $5D $CB

#Tater Trooper's health (24)
%patch $86D0 $44 $0018W

#Boobus and Trooper share a death, Boobus wins game
%patch $9354 $55 $8B $EC $56 $8B $76 $06 $FF $44 $3E $8B $44 $3E $3D $003CW
             $7E $22 $8B $44 $20 $3D $0125W  $7D $07 $C7 $44 $1E $24C4W  $EB
             $05 $C7 $44 $1E $24A6W  $8B $C6 $05 $0046W  $50 $9A $0E450F7ARL
             $44 $44 $90

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

Re: Tater Trooper dying

Post by levellass » Sun Nov 03, 2019 2:35 am

Yes, that should work, but it doesn't and I do not know why. I am going to try changing the patch a bit. You only used two messages for the note thing, yes? I may need the third message space.

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

Re: Tater Trooper dying

Post by levellass » Sun Nov 03, 2019 2:47 am

I have found the error. This is what the dying action lines should be:

Code: Select all

#Dying Trooper actions, makes smoke 2488W
%patch $25EF8 $011CW $011CW $0000W $0000W $0000W $0004W $0000W $0000W
              $08680CD4RL   $00000000L    $07C501DDRL   $2488W

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

Re: Tater Trooper dying

Post by szemigi » Sun Nov 03, 2019 12:03 pm

There are 2 more errors in the patch after testing:

1. King Boobus gave me 82390 points after beating
2. Tater Trooper gave me 79122 points after beating (together, it's 161512 points, not 60,000 + 40,000 = 100000 unfortunately)

And the points they gave me after beating were absolutely random, so after another testing King Boobus and Tater Trooper gave me not the same amount of points again. Whatever, here's the patch that you could tweak.

Code: Select all

%patch $6575 $FF $4C $44 $75 $2E $B8 $2488W  $EB $08
             $FF $4C $44 $75 $24 $B8 $246AW  $50 $56 $9A $07C50255RL     $B8
             $C350W  $50 $9A $044D090ERL     $83 $C4 $06 $9A $044D090ERL
             $C7 $04 $0019W  $C7 $44 $3E $0000W  $B8 $0015W  $50 $9A
             $10BB1282RL     $B8 $0C4AW  $50 $57 $9A $07C50255RL     $83 $C4
             $06 $5F $5E $5D $CB
Could this be solved? My request again is:
King Boobus gives exactly 60,000 and Tater Trooper gives exactly 40,000 points.

(Since in my mod, King Boobus takes 24 flower powers to beat him that would be 60,000 points ; Tater Trooper takes 12 flower powers to beat him that would be 40,000 points, just to get 100,000 separatedly and rightfully, if you get what I mean)


EDIT: The problem influences the number of lives. When I defeat King Boobus or the Tater Trooper, they give me 2 lives (separatedly of course). And this always happens. Always +2 lives after beating one of them. So my request is to not to give any lives for beating the king and the tater trooper.

Also, it came to mind whether my patch (the special item one I created and you said it's very well) causes all the problems I mentioned above. Could you test it with the Tater Trooper patch together? As although I tried to solve the problem by removing my special item patch, but that didn't help either to tell you. Whatever, here you go, test and tweak and make, etc. these, please.

Patches I'm using currently:

Code: Select all

#Trooper is always lethal
%patch $791E $19A5W

#Trooper doesn't attack Keen
%patch $8735 $5F $5E $5D $CB

#Spawn height:
%patch $86AB $FA80W #88 pixels up

#Dying Trooper actions, makes smoke 2488W
%patch $25EF8 $011DW $011DW $0000W $0000W $0000W $0004W $0000W $0000W
              $08680CD4RL   $00000000L    $07C501DDRL   $2488W

#Tater trooper has Boobus-like death
%patch $65CE $06F5W #Tater Trooper
%patch $65E6 $06FFW #Boobus Tuber
%patch $6575 $FF $4C $44 $75 $2E $B8 $2488W  $EB $08
             $FF $4C $44 $75 $24 $B8 $246AW  $50 $56 $9A $07C50255RL     $B8
             $C350W  $50 $9A $044D090ERL     $83 $C4 $06 $9A $044D090ERL
             $C7 $04 $0019W  $C7 $44 $3E $0000W  $B8 $0015W  $50 $9A
             $10BB1282RL     $B8 $0C4AW  $50 $57 $9A $07C50255RL     $83 $C4
             $06 $5F $5E $5D $CB

#Tater Trooper's health (12)
%patch $86D0 $44 $000CW

#Boobus and Trooper share a death, Boobus wins game
%patch $9354 $55 $8B $EC $56 $8B $76 $06 $FF $44 $3E $8B $44 $3E $3D $003CW
             $7E $22 $8B $44 $20 $3D $0125W  $7D $07 $C7 $44 $1E $24C4W  $EB
             $05 $C7 $44 $1E $24A6W  $8B $C6 $05 $0046W  $50 $9A $0E450F7ARL
             $44 $44 $90

#Boobus Bomb is 10K point item
%patch $7787 $B8 $0007W  $50 $9A $10BB1282RL     $44 $44 $C7 $44 $20 $00D1W
             $B8 $2710W  $50 $9A $044D090ERL     $44 $44 $EB $1F

#Sprites used for each item:
%patch $25418 $00ACW #100
              $00AEW #200
              $00B0W #500
              $00B2W #1000
              $00B4W #2000
              $00B6W #5000
              $00B8W #1UP
              $00C5W #Key
              $00A2W #Flower Power
              $00BEW #Flower Pot
              $00C0W #Eye
              $00BAW #Boobus Bomb

#Item(s) that are special
%patch $814D $0A $73

#Change Keen's item collision in case of the Eye and the Key
%patch $7904 $192FW #Eye (At $7709)
%patch $790C $1889W #Key (At $77AF)

Please, say that you can do something for me as I'm seriously tired of not-working/wrong patches and suffering with tweaking.



(Anyway, as for the new messages you mentioned, I managed to squish +2 messages along with the 3 existing you created. I just used the third page of the ending sequence and overwrote an error message that doesn't appear of course. And no crashing, no bug.)

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

Re: Tater Trooper dying

Post by levellass » Mon Nov 04, 2019 2:05 am

A very strange bug. I will investigate.

I am not sure though that I can get two different scores awarded for each enemy, there is only so much difference in their deaths that I can do.

Post Reply