fix helmet chuchu and manhandla damage flash
This commit is contained in:
@@ -538,7 +538,7 @@ Sprite_Manhandla_Draw:
|
|||||||
|
|
||||||
LDA $0DC0, X : CLC : ADC $0D90, X : TAY;Animation Frame
|
LDA $0DC0, X : CLC : ADC $0D90, X : TAY;Animation Frame
|
||||||
LDA .start_index, Y : STA $06
|
LDA .start_index, Y : STA $06
|
||||||
LDA.w SprMiscA, X : STA $08
|
LDA.w SprFlash, X : STA $08
|
||||||
|
|
||||||
PHX
|
PHX
|
||||||
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
||||||
@@ -678,7 +678,7 @@ Sprite_BigChuchu_Draw:
|
|||||||
|
|
||||||
LDA $0DC0, X : CLC : ADC $0D90, X : TAY ; Animation Frame
|
LDA $0DC0, X : CLC : ADC $0D90, X : TAY ; Animation Frame
|
||||||
LDA.w .start_index, Y : STA $06
|
LDA.w .start_index, Y : STA $06
|
||||||
LDA.w SprMiscA, X : STA $08
|
LDA.w SprFlash, X : STA $08
|
||||||
|
|
||||||
PHX
|
PHX
|
||||||
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ Sprite_HelmetChuchu_Main:
|
|||||||
%StartOnFrame(4)
|
%StartOnFrame(4)
|
||||||
%PlayAnimation(4, 5, 16)
|
%PlayAnimation(4, 5, 16)
|
||||||
JSR Sprite_CheckForHookshot : BCC +
|
JSR Sprite_CheckForHookshot : BCC +
|
||||||
LDA.w SprMiscA, X : BEQ +
|
LDA.w SprFlash, X : BEQ +
|
||||||
%GotoAction(1)
|
%GotoAction(1)
|
||||||
+
|
+
|
||||||
JSL Sprite_CheckDamageFromPlayer
|
JSL Sprite_CheckDamageFromPlayer
|
||||||
@@ -126,7 +126,7 @@ Sprite_HelmetChuchu_Main:
|
|||||||
%StartOnFrame(2)
|
%StartOnFrame(2)
|
||||||
%PlayAnimation(2, 3, 16)
|
%PlayAnimation(2, 3, 16)
|
||||||
JSR Sprite_CheckForHookshot : BCC +
|
JSR Sprite_CheckForHookshot : BCC +
|
||||||
LDA.w SprMiscA, X : BEQ +
|
LDA.w SprFlash, X : BEQ +
|
||||||
%GotoAction(3)
|
%GotoAction(3)
|
||||||
+
|
+
|
||||||
JSL Sprite_CheckDamageFromPlayer
|
JSL Sprite_CheckDamageFromPlayer
|
||||||
@@ -304,7 +304,7 @@ Sprite_HelmetChuchu_Draw:
|
|||||||
|
|
||||||
LDA SprGfx, X : CLC : ADC SprFrame, X : TAY;Animation Frame
|
LDA SprGfx, X : CLC : ADC SprFrame, X : TAY;Animation Frame
|
||||||
LDA .start_index, Y : STA $06
|
LDA .start_index, Y : STA $06
|
||||||
LDA.w SprMiscA, X : STA $08
|
LDA.w SprFlash, X : STA $08
|
||||||
|
|
||||||
PHX
|
PHX
|
||||||
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
||||||
|
|||||||
Reference in New Issue
Block a user