Page 1 of 1

Need help with blue bird and egg

Posted: Mon May 09, 2022 8:55 am
by Dave216
I am working on my own mod currently and I am wondering if there is a patch for making blue bird unstunnable, and if the egg cannot be destroyed with stunner?

Re: Need help with blue bird and egg

Posted: Tue May 10, 2022 5:42 pm
by Fleexy
Welcome to Keen Modding! I've organized this topic into the Galaxy patch requests section for you.
Dave216 wrote: Mon May 09, 2022 8:55 am patch for making blue bird unstunnable, and if the egg cannot be destroyed with stunner?
You can try these patches I made:

Code: Select all

# Active Blue Bird uses Mad Mushroom collision (invincible, deadly)
%patch $31058 $0FA804BERL
%patch $31076 $0FA804BERL
%patch $31094 $0FA804BERL
%patch $310B2 $0FA804BERL
%patch $310D0 $0FA804BERL
%patch $310EE $0FA804BERL
%patch $3110C $0FA804BERL
%patch $3112A $0FA804BERL
%patch $31148 $0FA804BERL

# Harmless Blue Bird collision just destroys Keen's shot
%patch $1030A $90 $90 $90 $90 $90 # Don't change horizontal speed
              $90 $90 $90         # Not changing sprite behavior
              $57 $90 $90         # ExplodeShot just needs the shot object
              $9A $0D8F0D43RL     # Call ExplodeShot
              $83 $C4 $02         # Clean stack (1 parameter)
          
# Egg only hatches upon collision with Keen
%patch $100BA $74 $11             # Skip second shot check for Keen collision
%patch $100BF $57                 # ExplodeShot needs the shot object
              $9A $0D8F0D43RL     # Call ExplodeShot
              $83 $C4 $02         # Clean stack (1 parameter)
              $E9 $2A $01         # Skip rest of collision code

Re: Need help with blue bird and egg

Posted: Wed May 11, 2022 4:59 pm
by Dave216
Exactly what I needed, works great. Thank you.