update bean vendor
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
; =========================================================
|
||||
|
||||
!SPRID = $07 ; The sprite ID you are overwriting (HEX)
|
||||
!NbrTiles = 00 ; Number of tiles used in a frame
|
||||
!NbrTiles = 04 ; Number of tiles used in a frame
|
||||
!Harmless = 01 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless
|
||||
!HVelocity = 00 ; Is your sprite going super fast? put 01 if it is
|
||||
!Health = 00 ; Number of Health the sprite have
|
||||
@@ -29,6 +29,7 @@
|
||||
!ImperviousArrow = 00 ; 01 = Impervious to arrows
|
||||
!ImpervSwordHammer = 00 ; 01 = Impervious to sword and hammer attacks
|
||||
!Boss = 00 ; 00 = normal sprite, 01 = sprite is a boss
|
||||
|
||||
%Set_Sprite_Properties(Sprite_BeanVendor_Prep, Sprite_BeanVendor_Long)
|
||||
|
||||
; =========================================================
|
||||
@@ -88,11 +89,7 @@ Sprite_BeanVendor_Main:
|
||||
JSL Sprite_PlayerCantPassThrough
|
||||
|
||||
%ShowSolicitedMessage($142) : BCC .no_message
|
||||
LDA $1CE8 : BNE .player_said_no
|
||||
%GotoAction(3)
|
||||
RTS
|
||||
.player_said_no
|
||||
%GotoAction(4)
|
||||
.no_message
|
||||
RTS
|
||||
}
|
||||
@@ -121,12 +118,12 @@ Sprite_BeanVendor_Main:
|
||||
SpawnMagicBean:
|
||||
{
|
||||
%PlayAnimation(0,0,1)
|
||||
|
||||
LDA $1CE8 : BNE .player_said_no_or_not_enough_rupees
|
||||
REP #$20
|
||||
LDA.l $7EF360
|
||||
CMP.w #$64 ; 100 rupees
|
||||
SEP #$30
|
||||
BCC .not_enough_rupees
|
||||
BCC .player_said_no_or_not_enough_rupees
|
||||
|
||||
REP #$20
|
||||
LDA.l $7EF360
|
||||
@@ -146,7 +143,7 @@ Sprite_BeanVendor_Main:
|
||||
%ShowUnconditionalMessage($145)
|
||||
%GotoAction(0)
|
||||
RTS
|
||||
.not_enough_rupees
|
||||
.player_said_no_or_not_enough_rupees
|
||||
%GotoAction(4)
|
||||
RTS
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user