Skip to content

Commit

Permalink
Add slide patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jakiki6 committed Aug 19, 2020
1 parent 8e42b44 commit f3f6c18
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified builds/all.nes
Binary file not shown.
Binary file added builds/slide.nes
Binary file not shown.
16 changes: 16 additions & 0 deletions patches/slide.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f3f6c18

Please sign in to comment.