let's dev 1/5/18

added condition to only display medallion pads when active
This commit is contained in:
Karkat
2018-01-05 23:26:15 -05:00
parent 4868a003de
commit d233a5d516
3 changed files with 6 additions and 3 deletions

View File

@@ -62,12 +62,15 @@ macro DrawBombosPlatform(roomX, roomY, quadX, quadY)
endMacro
IcePalaceBombosSE:
LDA AllowSwordlessMedallionUse : BNE + : RTL : +
%DrawBombosPlatform(14, 18, 1, 1)
RTL
IcePalaceBombosSW:
LDA AllowSwordlessMedallionUse : BNE + : RTL : +
%DrawBombosPlatform(14, 18, 0, 1)
RTL
IcePalaceBombosNE:
LDA AllowSwordlessMedallionUse : BNE + : RTL : +
%DrawBombosPlatform(14, 18, 1, 0)
RTL

View File

@@ -120,7 +120,7 @@ GetSmithSword:
;================================================================================
CheckMedallionSword:
PHB : PHX : PHY
LDA.l AllowSwordlessEntranceMedallion : BNE +++ : BRL + : +++
LDA.l AllowSwordlessMedallionUse : BNE +++ : BRL + : +++
LDA $1B : BEQ .outdoors
.indoors
REP #$20 ; set 16-bit accumulator

View File

@@ -156,8 +156,8 @@ PreopenCurtains:
db #$00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $308041 ; PC 0x180041
AllowSwordlessEntranceMedallion:
db #$00 ; #$00 = Off (default) - #$01 = On
AllowSwordlessMedallionUse:
db #$00 ; #$00 = Off (default) - #$01 = Medallion Pads - #$02 = Always (Not Implemented)
;--------------------------------------------------------------------------------
org $308042 ; PC 0x180042
PermitSQFromBosses: