Update Goron sprite interaction logic

This commit is contained in:
scawful
2024-12-02 11:46:59 -05:00
parent 4e448d5ab3
commit 39854cabf8

View File

@@ -51,6 +51,13 @@ Sprite_Goron_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
LDA.w WORLDFLAG : BEQ + LDA.w WORLDFLAG : BEQ +
LDA AreaIndex : CMP.b #$55 : BNE .not_sing
LDA.b #$04 : STA.w SprAction, X
.not_sing
JSL GetRandomInt : AND.b #$01 : BEQ .rand
LDA.b #$05 : STA.w SprAction, X
JMP ++
.rand
LDA.b #$03 : STA.w SprAction, X LDA.b #$03 : STA.w SprAction, X
JMP ++ JMP ++
+ +
@@ -116,18 +123,21 @@ Sprite_Goron_Main:
EonGoron_Main: EonGoron_Main:
{ {
%PlayAnimation(0, 1, 10) %PlayAnimation(0, 1, 10)
%ShowSolicitedMessage($01B0)
RTS RTS
} }
EonGoron_Sing: EonGoron_Sing:
{ {
%PlayAnimation(2, 3, 10) %PlayAnimation(2, 3, 10)
%ShowSolicitedMessage($01B2)
RTS RTS
} }
EonGoron_Punch: EonGoron_Punch:
{ {
%PlayAnimation(4, 5, 10) %PlayAnimation(4, 5, 10)
%ShowSolicitedMessage($01B1)
RTS RTS
} }
} }