SpriteSetupHitbox and LinkSetupHitbox long, disable deku mask hover (for now)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
!SmallShadow = 00 ; 01 = small shadow, 00 = no shadow
|
||||
!Shadow = 00 ; 00 = don't draw shadow, 01 = draw a shadow
|
||||
!Palette = 00 ; Unused in this template (can be 0 to 7)
|
||||
!Hitbox = 00 ; 00 to 31, can be viewed in sprite draw tool
|
||||
!Hitbox = $0D ; 00 to 31, can be viewed in sprite draw tool
|
||||
!Persist = 00 ; 01 = your sprite continue to live offscreen
|
||||
!Statis = 00 ; 00 = is sprite is alive?, (kill all enemies room)
|
||||
!CollisionLayer = 00 ; 01 = will check both layer for collision
|
||||
|
||||
@@ -614,10 +614,10 @@ HandleDynamicSwitchTileDirections:
|
||||
JSR CheckSpritePresence : BCC .no_b0
|
||||
|
||||
PHX : LDA $02 : TAX
|
||||
JSR Link_SetupHitBox
|
||||
JSL Link_SetupHitBox
|
||||
|
||||
; X is now the ID of the sprite $B0
|
||||
JSR Sprite_SetupHitBox
|
||||
JSL Sprite_SetupHitBox
|
||||
PLX
|
||||
|
||||
JSL CheckIfHitBoxesOverlap : BCC .no_b0
|
||||
|
||||
@@ -141,7 +141,7 @@ Sprite_Portal_Main:
|
||||
LDA SprTimerD, X : BNE .NoOverlap
|
||||
|
||||
|
||||
JSR Link_SetupHitBox
|
||||
JSL Link_SetupHitBox
|
||||
JSL $0683EA ; Sprite_SetupHitbox_long
|
||||
|
||||
JSL CheckIfHitBoxesOverlap : BCC .NoOverlap
|
||||
@@ -172,7 +172,7 @@ Sprite_Portal_Main:
|
||||
CLC
|
||||
LDA SprTimerD, X : BNE .NoOverlap
|
||||
|
||||
JSR Link_SetupHitBox
|
||||
JSL Link_SetupHitBox
|
||||
JSL $0683EA ; Sprite_SetupHitbox_long
|
||||
|
||||
JSL CheckIfHitBoxesOverlap : BCC .NoOverlap
|
||||
|
||||
Reference in New Issue
Block a user