-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize code to split mods into their components
Rename files to try to be more clear what is used for what.
- Loading branch information
Showing
11 changed files
with
121 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
; | ||
; Mod that allows pressing start to skip legal screen | ||
; | ||
|
||
.include "ips.inc" | ||
|
||
.segment "SKIP_LEGALHDR" | ||
.import __SKIP_LEGAL_RUN__, __SKIP_LEGAL_SIZE__ | ||
.byte 0 | ||
.dbyt __SKIP_LEGAL_RUN__-IPSPRGOFFSET | ||
.dbyt __SKIP_LEGAL_SIZE__ | ||
|
||
.segment "SKIP_LEGAL" | ||
|
||
; Allow skipping legal screen | ||
lda #$00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
; | ||
; Custom high scores | ||
; | ||
|
||
.include "ips.inc" | ||
|
||
.segment "DEFAULT_HIGH_SCORESHDR" | ||
.import __DEFAULT_HIGH_SCORES_RUN__, __DEFAULT_HIGH_SCORES_SIZE__ | ||
.byte 0 | ||
.dbyt __DEFAULT_HIGH_SCORES_RUN__-IPSPRGOFFSET | ||
.dbyt __DEFAULT_HIGH_SCORES_SIZE__ | ||
|
||
.segment "DEFAULT_HIGH_SCORES" | ||
|
||
; replace defaultHighScoresTable | ||
; NAME | ||
; # Convert ALPHA string to hex: | ||
; list(map(lambda x: hex(ord(x)-64), "CHEATR")) | ||
.byte $01,$13,$08,$01,$12,$01 ; "ASHARA" | ||
.byte $05,$0D,$2A,$0A,$2B,$2B ; "EM.J " | ||
.byte $05,$12,$09,$03,$2B,$2B ; "ERIC " | ||
.byte $00,$00,$00,$00,$00,$00 | ||
.byte $01,$0C,$05,$18,$2B,$2B | ||
.byte $14,$0F,$0E,$19,$2B,$2B | ||
.byte $0E,$09,$0E,$14,$05,$0E | ||
.byte $00,$00,$00,$00,$00,$00 | ||
; SCORE, in BCD | ||
.byte $39,$97,$72 | ||
.byte $29,$51,$88 | ||
.byte $17,$30,$68 | ||
.byte $00,$00,$00 | ||
.byte $00,$20,$00 | ||
.byte $00,$10,$00 | ||
.byte $00,$05,$00 | ||
.byte $00,$00,$00 | ||
; LV, in binary | ||
.byte $13,$12,$09,$00 | ||
.byte $09,$05,$00,$00 | ||
.byte $FF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IPSPRGOFFSET = -16+$8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
; | ||
; IPS file boilerplate | ||
; | ||
|
||
.segment "IPSHEADER" | ||
.byte 'P', 'A', 'T', 'C', 'H' | ||
|
||
.segment "IPSEOF" | ||
.byte 'E', 'O', 'F' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.