Bridge sign for OWG

This commit is contained in:
sporchia
2018-07-18 20:49:34 -04:00
parent baad336ac9
commit 9063de23d2
4 changed files with 27 additions and 37 deletions

View File

@@ -68,4 +68,16 @@ RTL
.fullCheck
LDA $0112 : ORA $02E4 : ORA $0FFC
RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
; add sign to EDM for OWG people to read
;--------------------------------------------------------------------------------
AddSignToEDMBridge:
LDA $040A : AND #$00FF : CMP #$0005 : BNE .no_changes
LDA #$0101 : STA $7E2D98 ;#$0101 is the sign tile16 id, $7E2D98 is the position of the tile16 on map
.no_changes
LDX.w #$001E ;Restore Previous Code
LDA.w #$0DBE ;Restore Previous Code
RTL
;--------------------------------------------------------------------------------