Allow non-rando item recive messages to potentially be disabled

This commit is contained in:
Kevin Cathcart
2018-07-15 15:58:46 -04:00
parent 4c59eeb86b
commit 1f4b4ab5fb
2 changed files with 15 additions and 2 deletions

View File

@@ -255,6 +255,18 @@ DialogResetSelectionIndex:
STZ $1CE8
RTL
;--------------------------------------------------------------------------------
DialogItemReceive:
BCS .noMessage ; if doubling the item value overflowed it must be a rando item
CPY #$98 : !BLT + ;if the item is $4C or greater it must be a rando item
.noMessage
LDA.w #$FFFF
BRA .done
+
LDA Ancilla_ReceiveItem_item_messages, Y
.done
CMP.w #$FFFF
RTL
;--------------------------------------------------------------------------------
DialogFairyThrow:
LDA.l Restrict_Ponds : BEQ .normal
LDA $7EF35C : ORA $7EF35D : ORA $7EF35E : ORA $7EF35F : BNE .normal