Files
alttpr-baserom/accessability.asm
Karkat df99b4bda8 let's dev 3/6/18
fixed fairy fountains to only take bottles
fixed light cone bug in standard escape
fixed mid-arrow bow swap bug
started work on seizure-safe mode
2018-03-06 23:03:35 -05:00

20 lines
717 B
NASM

;================================================================================
; Accessability Fixes
;================================================================================
FlipGreenPendant:
LDA $0C : CMP #$38 : BNE + ; check if we have green pendant
ORA #$40 : STA $0C ; flip it
+
LDA $0D : STA $0802, X ; stuff we wrote over "Set CHR, palette, and priority of the sprite"
LDA $0C : STA $0803, X
RTL
;================================================================================
SetEtherFlicker:
LDA.l Seizure_Safety : BNE +
LDA $031D : CMP.b #$0B : RTL
+ : CMP.b #$01 : BNE +
REP #$02 : RTL
+
RTL
;================================================================================