Merge pull request #212 from cassidoxa/bonkkey
Update HUD when picking up bonk key
This commit is contained in:
@@ -65,6 +65,7 @@ GiveBonkItem:
|
||||
PHY : LDY.b #$24 : JSL.l AddInventory : PLY ; do inventory processing for a small key
|
||||
LDA.l CurrentSmallKeys : INC A : STA.l CurrentSmallKeys
|
||||
LDA.b #$2F : JSL.l Sound_SetSfx3PanLong
|
||||
INC.w UpdateHUDFlag
|
||||
RTL
|
||||
.notKey
|
||||
PHY : TAY : JSL.l Link_ReceiveItem : PLY
|
||||
|
||||
@@ -45,9 +45,11 @@ DrawHeartPieceGFX:
|
||||
LDA.w SpriteControl, X : ORA.b #$20 : STA.w SpriteControl, X
|
||||
PLA
|
||||
JSL.l DrawDynamicTile
|
||||
REP #$21
|
||||
LDA.b Scrap00
|
||||
CLC : ADC.b #$04
|
||||
ADC.w #$0004
|
||||
STA.b Scrap00
|
||||
SEP #$20
|
||||
JSL.l Sprite_DrawShadowLong
|
||||
BRA .done
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user