From 09d93ae5f2a42a65c30fdd1b3f4f3289f3ed7a10 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Mon, 8 May 2023 05:01:44 -0500 Subject: [PATCH] Apples and Bee Traps now spawn automatically under pots --- keydrop/standing_items.asm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/keydrop/standing_items.asm b/keydrop/standing_items.asm index 12ac19b..6d64aa9 100644 --- a/keydrop/standing_items.asm +++ b/keydrop/standing_items.asm @@ -258,6 +258,10 @@ SaveMajorItemDrop: LDA.w #$0018 : BRA .substitute + CPY.w #$0031 : BNE + ; 10 pack bombs LDA.w #$0019 : BRA .substitute + + CPY.w #$00B1 : BNE + ; Apples + LDA.w #$001A : BRA .substitute + + CPY.w #$00B0 : BNE + ; Bee Trap + LDA.w #$001B : BRA .substitute + STA $0B9C ; indicates we should use the key routines or a substitute RTL .substitute @@ -553,7 +557,9 @@ SubstitionTable: db $DB ; RED RUPEE - 0x16 db $E2 ; ARROW REFILL 10 - 0x17 db $DD ; BOMB REFILL 4 - 0x18 - db $DE ; BOMB REFILL 8 - 0x19 + db $DE ; BOMB REFILL 8 - 0x19 + db $AC ; APPLES - 0x1A + db $79 ; BEE TRAP - 0x1B SubstituteSpriteId: