update goron sprite, include in game

This commit is contained in:
scawful
2024-08-29 21:46:41 -04:00
parent 052036b0f4
commit 3a84630d41
2 changed files with 28 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
; Goron Sprite
!SPRID = $00; The sprite ID you are overwriting (HEX) !SPRID = $F2 ; The sprite ID you are overwriting (HEX)
!NbrTiles = 00 ; Number of tiles used in a frame !NbrTiles = 04 ; Number of tiles used in a frame
!Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless !Harmless = 01 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless
!HVelocity = 00 ; Is your sprite going super fast? put 01 if it is !HVelocity = 00 ; Is your sprite going super fast? put 01 if it is
!Health = 00 ; Number of Health the sprite have !Health = 00 ; Number of Health the sprite have
!Damage = 00 ; (08 is a whole heart), 04 is half heart !Damage = 00 ; (08 is a whole heart), 04 is half heart
@@ -38,7 +39,7 @@ Sprite_Goron_Long:
.kalyxo .kalyxo
JSR Sprite_KalyxoGoron_Draw JSR Sprite_KalyxoGoron_Draw
+ +
JSL Sprite_DrawShadow
JSL Sprite_CheckActive JSL Sprite_CheckActive
BCC .SpriteIsNotActive BCC .SpriteIsNotActive
@@ -64,15 +65,35 @@ Sprite_Goron_Main:
JSL UseImplicitRegIndexedLocalJumpTable JSL UseImplicitRegIndexedLocalJumpTable
dw KalyxoGoron_Main dw KalyxoGoron_Main
dw EonGoron_Main dw EonGoron_Main
dw EonGoron_Sing
dw EonGoron_Punch
KalyxoGoron_Main: KalyxoGoron_Main:
{ {
JSL Sprite_PlayerCantPassThrough
RTS RTS
} }
EonGoron_Main: EonGoron_Main:
{ {
%PlayAnimation(0, 1, 10)
JSL Sprite_PlayerCantPassThrough
RTS
}
EonGoron_Sing:
{
%PlayAnimation(2, 3, 10)
JSL Sprite_PlayerCantPassThrough
RTS
}
EonGoron_Punch:
{
%PlayAnimation(4, 5, 10)
JSL Sprite_PlayerCantPassThrough
RTS RTS
} }
} }

View File

@@ -271,6 +271,9 @@ print "End of eon_owl.asm ", pc
incsrc "Sprites/NPCs/fortune_teller.asm" incsrc "Sprites/NPCs/fortune_teller.asm"
print "End of fortune_teller.asm ", pc print "End of fortune_teller.asm ", pc
incsrc "Sprites/NPCs/goron.asm"
print "End of goron.asm ", pc
; ========================================================= ; =========================================================
; Sprite Recoil and Death ; Sprite Recoil and Death