From 196b8dd0c3e5e9162685f0e451c8e5c53d13ceda Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 28 Jun 2024 10:46:32 -0400 Subject: [PATCH] Add DontTeleportWithoutFlippers --- Sprites/all_sprites.asm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Sprites/all_sprites.asm b/Sprites/all_sprites.asm index a8f6e8f..4f9f43e 100644 --- a/Sprites/all_sprites.asm +++ b/Sprites/all_sprites.asm @@ -121,6 +121,16 @@ print "End of goriya.asm ", pc incsrc "Sprites/Enemies/darknut.asm" print "End of darknut.asm ", pc +DontTeleportWithoutFlippers: +{ + LDA.l $7EF356 : BNE + + RTL + + + #_1EEEE4: LDA.b #$2E + #_1EEEE6: STA.b $11 + RTL +} + PutRollerBeneathLink: { JSL Sprite_OAM_AllocateDeferToPlayer @@ -129,6 +139,9 @@ PutRollerBeneathLink: RTL } +org $1EEEE4 + JSL DontTeleportWithoutFlippers + ; SpriteDraw_Roller org $058EE6 JSL PutRollerBeneathLink