Disable Moosh form indoors
This commit is contained in:
@@ -338,6 +338,10 @@ Link_TransformMask:
|
|||||||
Link_TransformMoosh:
|
Link_TransformMoosh:
|
||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
|
LDA.b $1B : BEQ ++
|
||||||
|
%ErrorBeep()
|
||||||
|
JMP .done
|
||||||
|
++
|
||||||
LDA.w !CurrentMask : CMP.b #$07 : BNE +
|
LDA.w !CurrentMask : CMP.b #$07 : BNE +
|
||||||
%PlayerTransform()
|
%PlayerTransform()
|
||||||
JSL ResetToLinkGraphics
|
JSL ResetToLinkGraphics
|
||||||
@@ -347,7 +351,7 @@ Link_TransformMoosh:
|
|||||||
LDA.b #$33 : STA $BC
|
LDA.b #$33 : STA $BC
|
||||||
%PlayerTransform()
|
%PlayerTransform()
|
||||||
JSL Palette_ArmorAndGloves
|
JSL Palette_ArmorAndGloves
|
||||||
|
.done
|
||||||
PLB
|
PLB
|
||||||
RTL
|
RTL
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -218,6 +218,10 @@ macro SetTimerF(length)
|
|||||||
LDA.b #<length> : STA.w SprTimerF, X
|
LDA.b #<length> : STA.w SprTimerF, X
|
||||||
endmacro
|
endmacro
|
||||||
|
|
||||||
|
macro ErrorBeep()
|
||||||
|
LDA.b #$3C : STA.w $012E ; Error beep
|
||||||
|
endmacro
|
||||||
|
|
||||||
macro NextAction()
|
macro NextAction()
|
||||||
INC $0D80, X
|
INC $0D80, X
|
||||||
endmacro
|
endmacro
|
||||||
|
|||||||
Reference in New Issue
Block a user