let's dev 6/20/17

(probably) fixed glitched pyramid spawn issue
fixed sanctuary purple chest spawn
added switch to allow tablets to be opened with hammer (graphics not ready but looks ok)
This commit is contained in:
Karkat
2017-06-20 21:55:41 -04:00
parent 9035a9a15d
commit 5feaf1b122
7 changed files with 28 additions and 12 deletions

View File

@@ -17,10 +17,11 @@ OnDungeonEntrance:
PHA : PHP
SEP #$20 ; set 8-bit accumulator
LDA $040C : CMP #$FF : BEQ + ; don't do this unless it's a real dungeon
REP #$20 : LDA $A0 : CMP.w #18 : BEQ + : SEP #$20 ; skip if we're in the sanctuary
LDA $7EF3CC ; load follower
CMP #$0C : BNE + ; skip if not the purple chest
LDA #$00 : STA $7EF3CC
+
+ ; this might get hit from above in either accumulator mode
PLP : PLA
STA $7EC172 ; thing we wrote over
RTL
@@ -77,11 +78,6 @@ PreItemGet:
RTL
;--------------------------------------------------------------------------------
PostItemGet:
;LDA $02D8
;CMP #$70 : !BLT +
;CMP #$B0 : !BGE +
; JSL.l FreeDungeonItemNotice
;+
JSL.l MaybeWriteSRAMTrace
RTL
;--------------------------------------------------------------------------------