Disable Moosh form indoors

This commit is contained in:
scawful
2024-11-28 19:33:47 -05:00
parent 81084c0aba
commit e9e8944f96
2 changed files with 9 additions and 1 deletions

View File

@@ -338,6 +338,10 @@ Link_TransformMask:
Link_TransformMoosh:
{
PHB : PHK : PLB
LDA.b $1B : BEQ ++
%ErrorBeep()
JMP .done
++
LDA.w !CurrentMask : CMP.b #$07 : BNE +
%PlayerTransform()
JSL ResetToLinkGraphics
@@ -347,7 +351,7 @@ Link_TransformMoosh:
LDA.b #$33 : STA $BC
%PlayerTransform()
JSL Palette_ArmorAndGloves
.done
PLB
RTL
}

View File

@@ -218,6 +218,10 @@ macro SetTimerF(length)
LDA.b #<length> : STA.w SprTimerF, X
endmacro
macro ErrorBeep()
LDA.b #$3C : STA.w $012E ; Error beep
endmacro
macro NextAction()
INC $0D80, X
endmacro