Add BananaBeanSwapDynamicGfx
This commit is contained in:
@@ -3,8 +3,6 @@ incsrc "Items/bottle_net.asm"
|
|||||||
|
|
||||||
; Starts Expanded Bank 0x2B
|
; Starts Expanded Bank 0x2B
|
||||||
incsrc "Items/ocarina.asm"
|
incsrc "Items/ocarina.asm"
|
||||||
print "End of Items/ocarina.asm ", pc
|
|
||||||
|
|
||||||
incsrc "Items/jump_feather.asm"
|
incsrc "Items/jump_feather.asm"
|
||||||
incsrc "Items/book_of_secrets.asm"
|
incsrc "Items/book_of_secrets.asm"
|
||||||
incsrc "Items/sword_collect.asm"
|
incsrc "Items/sword_collect.asm"
|
||||||
@@ -12,6 +10,27 @@ incsrc "Items/goldstar.asm"
|
|||||||
incsrc "Items/portal_rod.asm"
|
incsrc "Items/portal_rod.asm"
|
||||||
incsrc "Items/fishing_rod.asm"
|
incsrc "Items/fishing_rod.asm"
|
||||||
|
|
||||||
|
BananaBeanGfx:
|
||||||
|
incbin "gfx/banana_bean.bin"
|
||||||
|
|
||||||
|
BananaBeanSwapDynamicGfx:
|
||||||
|
{
|
||||||
|
PHX
|
||||||
|
PHP
|
||||||
|
|
||||||
|
REP #$30
|
||||||
|
|
||||||
|
LDX #$01BE
|
||||||
|
--
|
||||||
|
LDA.l BananaBeanGfx, X : STA.l $7EA480, X
|
||||||
|
DEX : DEX
|
||||||
|
BPL --
|
||||||
|
|
||||||
|
PLP
|
||||||
|
PLX
|
||||||
|
RTL
|
||||||
|
}
|
||||||
|
|
||||||
; League of its own
|
; League of its own
|
||||||
incsrc "Items/ice_rod.asm"
|
incsrc "Items/ice_rod.asm"
|
||||||
print "End of Items/ice_rod.asm ", pc
|
print "End of Items/ice_rod.asm ", pc
|
||||||
|
|||||||
@@ -272,6 +272,7 @@ Sprite_BeanVendor_Main:
|
|||||||
|
|
||||||
ReleaseMagicBean:
|
ReleaseMagicBean:
|
||||||
{
|
{
|
||||||
|
JSL BananaBeanSwapDynamicGfx
|
||||||
; X is the bottle ID
|
; X is the bottle ID
|
||||||
LDA.b $8A : CMP.b #$00 : BNE .not_the_ranch
|
LDA.b $8A : CMP.b #$00 : BNE .not_the_ranch
|
||||||
LDA.b #$07
|
LDA.b #$07
|
||||||
|
|||||||
Reference in New Issue
Block a user