clear pyramid flag
This commit is contained in:
Karkat
2017-07-01 01:55:16 -04:00
parent c2af675e47
commit b97435d4a1

View File

@@ -39,6 +39,7 @@ DarkWorldFlagSet:
PLA
RTL
.pyramid
LDA !FORCE_PYRAMID : AND.b #$F7 : STA !FORCE_PYRAMID ; clear pyramid flag
LDA #$40 : STA $7EF3CA ; set flag to dark world
LDA $7EF3CC : CMP #$08 : BNE + : LDA.b #$07 : STA $7EF3CC : + ; convert dwarf to frog
PLA