Skip to content

Commit

Permalink
Manual commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jakiki6 committed Jun 28, 2020
1 parent e02959c commit 69b861b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ asm
./*.nes
*.lst
DEADJOE
*.orig
*.rej
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ builds:
mv smb.nes builds/$$(echo $$file | cut -d"/" -f2 | cut -d"." -f1).nes ; \
git checkout -- smb.asm ; \
done
for file in $$(find patches/ -type f) ; do \
patch -i $$file smb.asm; \
done
make bin
mv smb.nes builds/all.nes
git checkout -- smb.asm
push: builds
git add .
git commit
Expand Down
Binary file added builds/all.nes
Binary file not shown.
Binary file added builds/nodeath.nes
Binary file not shown.
16 changes: 16 additions & 0 deletions patches/nodeath.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..b150411 100644
--- a/smb.asm
+++ b/smb.asm
@@ -2909,8 +2909,9 @@ PlayerLoseLife:
sta Sprite0HitDetectFlag
lda #Silence ;silence music
sta EventMusicQueue
- dec NumberofLives ;take one life from player
- bpl StillInGame ;if player still has lives, branch
+ nop
+ nop
+ jmp StillInGame ;if player still has lives, branch
lda #$00
sta OperMode_Task ;initialize mode task,
lda #GameOverModeValue ;switch to game over mode

0 comments on commit 69b861b

Please sign in to comment.