Add goldstar sram check to L/R button switch

This commit is contained in:
scawful
2024-12-24 18:02:38 -06:00
parent 3711641e5d
commit de033261ec

View File

@@ -1002,6 +1002,7 @@ ApplyGoldstarDamageClass:
CheckForSwitchToGoldstar: CheckForSwitchToGoldstar:
{ {
%CheckNewR_ButtonPress() : BEQ .continue %CheckNewR_ButtonPress() : BEQ .continue
LDA.l $7EF342 : CMP.b #$02 : BNE .continue
LDA.w GoldstarOrHookshot : CMP.b #$01 : BEQ .set_hookshot LDA.w GoldstarOrHookshot : CMP.b #$01 : BEQ .set_hookshot
LDA.b #$01 : STA.w GoldstarOrHookshot LDA.b #$01 : STA.w GoldstarOrHookshot
JMP .continue JMP .continue