Ganon invulverable with a mushroom in the room

This commit is contained in:
2023-03-19 00:43:52 -05:00
parent 1efd8f0f3d
commit 8b1f6b9074
4 changed files with 19 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
GoalItemGanonCheck:
LDA.w SpriteTypeTable, X : CMP.b #$D6 : BNE .success ; skip if not ganon
JSL.l CheckGanonVulnerability
BCS .success
BCC .fail
JSL.l CheckMushroom
BCC .success
.fail
LDA.w SpriteActivity, X : CMP.b #17 : !BLT .success ; decmial 17 because Acmlm's chart is decimal