set the link form id for gbc link

This commit is contained in:
scawful
2024-05-27 22:54:52 -04:00
parent 9b62e05f08
commit 81d579a78b

View File

@@ -172,7 +172,8 @@ RunClock:
; GBC Link code ; GBC Link code
LDA $0FFF : CMP #$00 : BEQ .light_world LDA $0FFF : CMP #$00 : BEQ .light_world
JSL UpdateGbcPalette JSL UpdateGbcPalette
LDA #$3B : STA $BC ; change link's sprite LDA.b #$3B : STA $BC ; change link's sprite
LDA.b #$06 : STA $02B2 ; set the form id
.light_world .light_world
RTS RTS
@@ -539,6 +540,8 @@ RestoreTimeForDungeonMap:
RTL RTL
} }
pushpc
org $0ED956 org $0ED956
JSL FixDungeonMapColors JSL FixDungeonMapColors