initial checkin

This commit is contained in:
Karkat
2017-05-17 13:00:32 -04:00
parent 81b12bde40
commit f755a63925
78 changed files with 11500 additions and 21 deletions

16
ganonfixes.asm Normal file
View File

@@ -0,0 +1,16 @@
;================================================================================
; Ganon Fixes
;================================================================================
;--------------------------------------------------------------------------------
; GanonWarpRNG
; out: Accumulator - #$00 or #01 randomly, with no repeated #$01s
;--------------------------------------------------------------------------------
GanonWarpRNG:
JSL GetRandomInt : AND.b #$01 : BEQ .zero
LDA !GANON_WARP_CHAIN : EOR #$01 : STA !GANON_WARP_CHAIN
RTL
.zero
STA !GANON_WARP_CHAIN
RTL
;--------------------------------------------------------------------------------