Update Sprite_Kydreeok_Draw formatting
This commit is contained in:
@@ -435,6 +435,7 @@ StopIfOutOfBounds:
|
||||
RTS
|
||||
}
|
||||
|
||||
; =========================================================
|
||||
|
||||
Sprite_ApplySpeedTowardsPlayerXOrY:
|
||||
{
|
||||
@@ -529,6 +530,8 @@ Sprite_ApplySpeedTowardsPlayerXOrY:
|
||||
RTS
|
||||
}
|
||||
|
||||
; =========================================================
|
||||
|
||||
ApplyPalette:
|
||||
{
|
||||
REP #$20 ;Set A in 16bit mode
|
||||
@@ -554,20 +557,20 @@ ApplyPalette:
|
||||
RTS
|
||||
}
|
||||
|
||||
; =============================================================================
|
||||
; =========================================================
|
||||
|
||||
Sprite_Kydreeok_Draw:
|
||||
{
|
||||
JSL Sprite_PrepOamCoord
|
||||
JSL Sprite_OAM_AllocateDeferToPlayer
|
||||
|
||||
LDA $0DC0, X : CLC : ADC $0D90, X : TAY;Animation Frame
|
||||
LDA .start_index, Y : STA $06
|
||||
|
||||
|
||||
PHX
|
||||
LDX .nbr_of_tiles, Y ;amount of tiles -1
|
||||
LDY.b #$00
|
||||
.nextTile
|
||||
.next_tile
|
||||
|
||||
PHX ; Save current Tile Index?
|
||||
|
||||
@@ -605,7 +608,7 @@ Sprite_Kydreeok_Draw:
|
||||
|
||||
PLY : INY
|
||||
|
||||
PLX : DEX : BPL .nextTile
|
||||
PLX : DEX : BPL .next_tile
|
||||
|
||||
PLX
|
||||
|
||||
@@ -636,3 +639,4 @@ Sprite_Kydreeok_Draw:
|
||||
db $02, $02, $02, $02, $02, $02, $02, $02, $02, $02
|
||||
db $02, $02, $02, $02, $02, $02, $02, $02, $02, $02
|
||||
db $02, $02, $02, $02, $02, $02, $02, $02, $02, $02
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user