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 .fullCheck
LDA $0112 : ORA $02E4 : ORA $0FFC LDA $0112 : ORA $02E4 : ORA $0FFC
RTL 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
;--------------------------------------------------------------------------------

View File

@@ -1171,6 +1171,14 @@ JSL.l GetAgahnimLightning
org $0287E0 ; <- 107E0 - Bnak02.asm:1507 (LDA $0112 : ORA $02E4 : ORA $0FFC : BEQ .allowJoypadInput) org $0287E0 ; <- 107E0 - Bnak02.asm:1507 (LDA $0112 : ORA $02E4 : ORA $0FFC : BEQ .allowJoypadInput)
JSL.l AllowJoypadInput : NOP #5 JSL.l AllowJoypadInput : NOP #5
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
; OWG sign on EDM
;--------------------------------------------------------------------------------
org $02EC2E ; Bank02.asm : 11919 LDX.w #$001E
JSL AddSignToEDMBridge : NOP #$02
;--------------------------------------------------------------------------------
org $02ED51 ; Bank02.asm : 12113 LDX.w #$001E
JSL AddSignToEDMBridge : NOP #$02
;--------------------------------------------------------------------------------
;================================================================================ ;================================================================================
; Half Magic Bat ; Half Magic Bat

Binary file not shown.

View File

@@ -503,43 +503,13 @@ db $16, $16
org $02D592+$37 org $02D592+$37
Music_GTower: Music_GTower:
db $16 db $16
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
; THIS ENTIRE TABLE IS DEPRECATED ; OWG EDM bridge sign text pointer (Message id of the map05)
;Map Crystal Locations ;--------------------------------------------------------------------------------
;org $0AC5B8 ; PC 0x545B8 org $07F501
;PendantLoc_Eastern: ; Green/Courage/Eastern Palace dw #$018E
;db $04 ; 04
;PendantLoc_Hera: ; Red/Wisdom/Hera
;db $01 ; 01
;PendantLoc_Desert: ; Blue/Power/Desert
;db $02 ; 02
;
;org $0AC5D1 ; PC 0x545D1
;CrystalLoc_Darkness:
;db $02
;CrystalLoc_Skull:
;db $40 ; 40
;CrystalLoc_TRock:
;db $08 ; 08
;CrystalLoc_Thieves:
;db $20
;CrystalLoc_Mire:
;db $01
;CrystalLoc_Ice:
;db $04
;CrystalLoc_Swamp:
;db $10
;
;Pendant 1: $04
;Pendant 2: $02
;Pendant 3: $01
;Crystal 1: $02
;Crystal 2: $10
;Crystal 3: $40
;Crystal 4: $20
;Crystal 5: $04
;Crystal 6: $01
;Crystal 7: $08
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
;Map Pendant / Crystal Indicators ;Map Pendant / Crystal Indicators