diff --git a/Makefile b/Makefile index 63680ed..f8cddb7 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ builds: make bin mv smb.nes builds/all.nes git checkout -- smb.asm - for file in $$(find patches/ -type f | grep -v jump.patch | grep -v scroll.patch | grep -v sonic.patch) ; do \ + for file in $$(find patches/ -type f | grep -v jump.patch | grep -v scroll.patch | grep -v sonic.patch | grep -v slide.patch) ; do \ patch -i $$file smb.asm; \ done make bin diff --git a/builds/all.nes b/builds/all.nes index 320bc62..b74245d 100644 Binary files a/builds/all.nes and b/builds/all.nes differ diff --git a/builds/slide.nes b/builds/slide.nes new file mode 100644 index 0000000..f050ab4 Binary files /dev/null and b/builds/slide.nes differ diff --git a/patches/slide.patch b/patches/slide.patch new file mode 100644 index 0000000..4b84ceb --- /dev/null +++ b/patches/slide.patch @@ -0,0 +1,16 @@ +diff --git a/smb.asm b/smb.asm +index e5ef1ad..918ce39 100644 +--- a/smb.asm ++++ b/smb.asm +@@ -12271,9 +12271,8 @@ HandlePipeEntry: + lda Up_Down_Buttons ;check saved controller bits from earlier + and #%00000100 ;for pressing down + beq ExPipeE ;if not pressing down, branch to leave +- lda $00 +- cmp #$11 ;check right foot metatile for warp pipe right metatile +- bne ExPipeE ;branch to leave if not found ++ jsr PlayerEndLevel ; ### ++ jsr Setup_Vine + lda $01 + cmp #$10 ;check left foot metatile for warp pipe left metatile + bne ExPipeE ;branch to leave if not found