update zora NPC logic
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
Sprite_Zora_Long:
|
Sprite_Zora_Long:
|
||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
|
print "Sea Zora NPC Handler", pc
|
||||||
; Check what Zora we are drawing
|
; Check what Zora we are drawing
|
||||||
REP #$30
|
REP #$30
|
||||||
LDA.w ROOM : CMP.w #$0105 : BNE .not_princess
|
LDA.w ROOM : CMP.w #$0105 : BNE .not_princess
|
||||||
@@ -11,14 +12,16 @@ Sprite_Zora_Long:
|
|||||||
LDA.b #$01 : STA.w SprMiscG, X
|
LDA.b #$01 : STA.w SprMiscG, X
|
||||||
JMP +
|
JMP +
|
||||||
.not_princess
|
.not_princess
|
||||||
SEP #$30
|
LDA.w WORLDFLAG : AND.w #$00FF : BEQ .eon_draw
|
||||||
LDA.w WORLDFLAG : BNE .eon_draw
|
SEP #$30
|
||||||
JSR Sprite_EonZora_Draw
|
JSR Sprite_EonZora_Draw
|
||||||
LDA.b #$02 : STA.w SprMiscG, X
|
LDA.b #$02 : STA.w SprMiscG, X
|
||||||
JMP +
|
JMP +
|
||||||
.eon_draw
|
.eon_draw
|
||||||
|
SEP #$30
|
||||||
LDA.w SprSubtype, X : BNE .special_zora
|
LDA.w SprSubtype, X : BNE .special_zora
|
||||||
JSR Sprite_Zora_Draw
|
JSR Sprite_Zora_Draw
|
||||||
|
JSL Sprite_DrawShadow
|
||||||
STZ.w SprMiscG, X
|
STZ.w SprMiscG, X
|
||||||
JMP +
|
JMP +
|
||||||
.special_zora
|
.special_zora
|
||||||
|
|||||||
Reference in New Issue
Block a user