Add DontTeleportWithoutFlippers

This commit is contained in:
scawful
2024-06-28 10:46:32 -04:00
parent e539d0e764
commit 196b8dd0c3

View File

@@ -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