orange potion
This commit is contained in:
@@ -116,7 +116,7 @@ db !TIER_JUNK ; 62 - RNG pool item (single)
|
||||
db !TIER_JUNK ; 63 - RNG pool item (multi)
|
||||
db !TIER_MAJOR ; 64 - Progressive bow
|
||||
db !TIER_MAJOR ; 65 - Progressive bow
|
||||
db !TIER_JUNK ; 66 -
|
||||
db !TIER_HEALTH ; 66 - Potion refill (orange)
|
||||
db !TIER_JUNK ; 67 -
|
||||
db !TIER_JUNK ; 68 -
|
||||
db !TIER_JUNK ; 69 -
|
||||
|
||||
@@ -101,7 +101,7 @@ db $00 ; 62 - RNG pool item (single)
|
||||
db $00 ; 63 - RNG pool item (multi)
|
||||
db $00 ; 64 - Progressive bow
|
||||
db $00 ; 65 - Progressive bow
|
||||
db $00 ; 66 -
|
||||
db $00 ; 66 - Potion refill (orange)
|
||||
db $00 ; 67 -
|
||||
db $00 ; 68 -
|
||||
db $00 ; 69 -
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
CheckOrangePotion:
|
||||
LDA.l BottleContents, X
|
||||
CMP.b #$01
|
||||
BEQ .orange
|
||||
|
||||
; return to vanilla behavior
|
||||
CMP.b #$00
|
||||
RTL
|
||||
|
||||
.orange
|
||||
LDA.l InfiniteMagic
|
||||
BNE .nope
|
||||
|
||||
LDA.b #$02
|
||||
STA.l BottleContents, X
|
||||
|
||||
STZ.w $0301
|
||||
|
||||
LDA.b #$80
|
||||
STA.l MagicFiller
|
||||
|
||||
LDA.b #$01
|
||||
STA.l InfiniteMagic
|
||||
|
||||
JSL RebuildHUD_update_long
|
||||
LDA.b #$00
|
||||
RTL
|
||||
|
||||
.nope
|
||||
JSL Sound_SetSfxPanWithPlayerCoords
|
||||
ORA.b #$3C
|
||||
STA.w SFX2
|
||||
LDA.b #$00
|
||||
RTL
|
||||
Reference in New Issue
Block a user