npc housekeeping

This commit is contained in:
scawful
2025-01-19 13:30:19 -05:00
parent a9d42e398f
commit 236e888bdb
13 changed files with 15 additions and 23 deletions

View File

@@ -84,7 +84,7 @@ Sprite_EonOwl_Prep:
Sprite_EonOwl_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw EonOwl_Idle
dw EonOwl_IntroDialogue

View File

@@ -9,7 +9,7 @@ Sprite_EonZora_Main:
JSL Sprite_BounceFromTileCollision
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw EonZora_Forward
dw EonZora_Left

View File

@@ -3,7 +3,7 @@
Sprite_EonZoraElder_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw EonZoraElder_Idle
dw EonZoraElder_Surprised

View File

@@ -71,7 +71,7 @@ STORY_STATE = $B6
Sprite_Farore_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw IntroStart
dw MoveUpTowardsFarore
@@ -195,10 +195,8 @@ Sprite_Farore_Main:
MakuArea_FaroreWaitForKydrog:
{
%PlayAnimation(5, 5, 8)
RTS
}
}
Sprite_Farore_Draw:

View File

@@ -81,7 +81,7 @@ Sprite_Goron_Main:
JSL Sprite_PlayerCantPassThrough
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw KalyxoGoron_Main
dw KalyxoGoron_OpenMines

View File

@@ -70,7 +70,7 @@ KorokWalkSpeed = $02
Sprite_Korok_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Sprite_Korok_Idle
dw Sprite_Korok_WalkingDown

View File

@@ -1,6 +1,5 @@
; =========================================================
; Sprite Properties
; =========================================================
; Maku Tree
!SPRID = Sprite_MakuTree
!NbrTiles = 00 ; Number of tiles used in a frame
@@ -32,8 +31,6 @@
%Set_Sprite_Properties(Sprite_MakuTree_Prep, Sprite_MakuTree_Long)
; =========================================================
Sprite_MakuTree_Long:
{
PHB : PHK : PLB
@@ -43,7 +40,6 @@ Sprite_MakuTree_Long:
PLB
RTL
}
; =========================================================
Sprite_MakuTree_Prep:
{
@@ -56,8 +52,6 @@ Sprite_MakuTree_Prep:
RTL
}
; =========================================================
PaletteFilter_StartBlindingWhite = $00EEF1
ApplyPaletteFilter = $00E914
@@ -66,7 +60,7 @@ Sprite_MakuTree_Main:
JSL Sprite_PlayerCantPassThrough
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw MakuTree_Handler
dw MakuTree_MeetLink

View File

@@ -53,7 +53,7 @@ Sprite_MaskSalesman_Main:
JSL Sprite_PlayerCantPassThrough
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw InquiryHandler
dw NoOcarina

View File

@@ -79,7 +79,7 @@ Sprite_Mermaid_Prep:
Sprite_Mermaid_Main:
{
LDA.w SprMiscE, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw MermaidHandler
dw MapleHandler

View File

@@ -56,7 +56,7 @@ Sprite_Piratian_Main:
JSR Sprite_Piratian_Move
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Piratian_MoveDown
dw Piratian_MoveUp
@@ -123,7 +123,7 @@ Sprite_Piratian_Move:
JMP .return
.no_aggro
JSR Sprite_Pirate_Friendly
JSR Sprite_Piratian_Friendly
.return
RTS
}

View File

@@ -54,7 +54,7 @@ Sprite_Tingle_Main:
{
JSL Sprite_PlayerCantPassThrough
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Tingle_Forward
dw Tingle_Right

View File

@@ -64,7 +64,7 @@ Sprite_Vasu_Main:
JSL Sprite_PlayerCantPassThrough
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Vasu_Idle
dw Vasu_MessageHandler

View File

@@ -88,7 +88,7 @@ LiftOrTalk:
Sprite_VillageDog_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Dog_Handler ; 00
dw Dog_LookLeftAtLink ; 01