fix goldstar damage class applying to other items
This commit is contained in:
@@ -1027,10 +1027,16 @@ MaybeUploadBirdGraphicsToOam:
|
|||||||
|
|
||||||
ApplyGoldstarDamageClass:
|
ApplyGoldstarDamageClass:
|
||||||
{
|
{
|
||||||
; If the goldstar is active swap in the damage class
|
PHA
|
||||||
LDA GoldstarOrHookshot : CMP #$02 : BNE .return
|
LDA $0202 : CMP.b #$03 : BNE .return
|
||||||
LDA #$03
|
; If the goldstar is active swap in the damage class
|
||||||
|
LDA GoldstarOrHookshot : CMP #$02 : BNE .return
|
||||||
|
PLA
|
||||||
|
LDA #$03
|
||||||
|
JMP .apply
|
||||||
.return
|
.return
|
||||||
|
PLA
|
||||||
|
.apply
|
||||||
JSL $06ED25 ; .apply
|
JSL $06ED25 ; .apply
|
||||||
RTL
|
RTL
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user