Added flute cancel X gfx to flute map
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
16
owrando.asm
16
owrando.asm
@@ -78,6 +78,8 @@ org $8ab7af ;LDA $F2 : ORA $F0 : AND #$C0
|
|||||||
jml OWFluteCancel2 : nop
|
jml OWFluteCancel2 : nop
|
||||||
org $8ab90d ;JSL $02E99D
|
org $8ab90d ;JSL $02E99D
|
||||||
jsl OWFluteCancel
|
jsl OWFluteCancel
|
||||||
|
org $8ab816
|
||||||
|
JSL OWMapFluteCancelIcon
|
||||||
|
|
||||||
; allows Frog sprite to spawn in LW and also allows his friend to spawn in their house
|
; allows Frog sprite to spawn in LW and also allows his friend to spawn in their house
|
||||||
org $868a76 ; < 30a76 - sprite_prep.asm:785 (LDA $7EF3CA : AND.w #$40)
|
org $868a76 ; < 30a76 - sprite_prep.asm:785 (LDA $7EF3CA : AND.w #$40)
|
||||||
@@ -334,6 +336,20 @@ OWFluteCancel2:
|
|||||||
lda.b #$01 : sta.w RandoOverworldTargetEdge
|
lda.b #$01 : sta.w RandoOverworldTargetEdge
|
||||||
+ rtl
|
+ rtl
|
||||||
}
|
}
|
||||||
|
OWMapFluteCancelIcon:
|
||||||
|
{
|
||||||
|
STA.b Scrap0B : LDX.b #$10 ; what we wrote over
|
||||||
|
LDA.l OWFlags+1 : AND.b #$01 : BEQ .return
|
||||||
|
LDA.b GameSubMode : CMP.b #$0A : BNE .return
|
||||||
|
LDA.b FrameCounter : AND.b #$10 : BNE .return
|
||||||
|
LDA.b #$7E : STA.b Scrap0D
|
||||||
|
LDA.b #$34 : STA.b Scrap0C
|
||||||
|
STZ.b Scrap0B
|
||||||
|
LDA.b Scrap0E : CLC : ADC.b #$04 : STA.b Scrap0E
|
||||||
|
LDA.b Scrap0F : CLC : ADC.b #$04 : STA.b Scrap0F
|
||||||
|
.return
|
||||||
|
RTL
|
||||||
|
}
|
||||||
OWSmithAccept:
|
OWSmithAccept:
|
||||||
{
|
{
|
||||||
lda.l FollowerIndicator : cmp.b #$07 : beq +
|
lda.l FollowerIndicator : cmp.b #$07 : beq +
|
||||||
|
|||||||
Reference in New Issue
Block a user