forked from KatDevsGames/z3randomizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed zore ledge heart graphic bug changed seed hash to be manually settable added more seizure safety
- Loading branch information
1 parent
b90c3d0
commit 151098b
Showing
10 changed files
with
92 additions
and
128 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
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
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 |
---|---|---|
@@ -1,34 +1,34 @@ | ||
;-------------------------------------------------------------------------------- | ||
; GenerateSeedTags | ||
;-------------------------------------------------------------------------------- | ||
GenerateSeedTags: | ||
PHA : PHX : PHY : PHP | ||
REP #$20 ; set 16-bit accumulator | ||
LDA $00 : PHA | ||
LDA $02 : PHA | ||
LDA $04 : PHA | ||
LDA $06 : PHA | ||
JSL.l NameHash ; get the titlecard hashes | ||
|
||
LDA $00 : AND.w #$1F1F : STA $00 ; keep it under 0x20 or we'll run out of items | ||
LDA $02 : AND.w #$1F1F : STA $02 | ||
LDA $04 : AND.w #$1F1F : STA $04 | ||
LDA $06 : AND.w #$1F1F : STA $06 | ||
|
||
REP #$30 ; set 8-bit accumulator & index registers | ||
|
||
LDY #$08 | ||
- | ||
|
||
|
||
DEY : BNE - | ||
|
||
|
||
REP #20 ; set 16-bit accumulator | ||
PLA : STA $06 | ||
PLA : STA $04 | ||
PLA : STA $02 | ||
PLA : STA $00 | ||
PLP : PLY : PLX : PLA | ||
RTL | ||
;GenerateSeedTags: | ||
; PHA : PHX : PHY : PHP | ||
; REP #$20 ; set 16-bit accumulator | ||
; LDA $00 : PHA | ||
; LDA $02 : PHA | ||
; LDA $04 : PHA | ||
; LDA $06 : PHA | ||
; JSL.l NameHash ; get the titlecard hashes | ||
; | ||
; LDA $00 : AND.w #$1F1F : STA $00 ; keep it under 0x20 or we'll run out of items | ||
; LDA $02 : AND.w #$1F1F : STA $02 | ||
; LDA $04 : AND.w #$1F1F : STA $04 | ||
; LDA $06 : AND.w #$1F1F : STA $06 | ||
; | ||
; REP #$30 ; set 8-bit accumulator & index registers | ||
; | ||
; LDY #$08 | ||
; - | ||
; | ||
; | ||
; DEY : BNE - | ||
; | ||
; | ||
; REP #20 ; set 16-bit accumulator | ||
; PLA : STA $06 | ||
; PLA : STA $04 | ||
; PLA : STA $02 | ||
; PLA : STA $00 | ||
; PLP : PLY : PLX : PLA | ||
;RTL | ||
;-------------------------------------------------------------------------------- |
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