Small fixes

This commit is contained in:
cassidoxa
2023-08-01 20:30:15 -04:00
parent 8ed4cbda1d
commit ddfb8eed0f
5 changed files with 13 additions and 36 deletions

View File

@@ -473,6 +473,7 @@ ItemBehavior:
.free_map
REP #$20
LSR
AND.w #$000F : ASL : TAX
LDA.w DungeonItemIDMap,X : TAX
LDA.l DungeonMask,X : ORA.l MapField : STA.l MapField
@@ -485,6 +486,7 @@ ItemBehavior:
.free_compass
REP #$20
LSR
AND.w #$000F : ASL : TAX
LDA.w DungeonItemIDMap,X : TAX
LDA.l DungeonMask,X : ORA.l CompassField : STA.l CompassField
@@ -497,6 +499,7 @@ ItemBehavior:
.free_bigkey
REP #$20
LSR
AND.w #$000F : ASL : TAX
LDA.w DungeonItemIDMap,X : TAX
LDA.l DungeonMask,X : ORA.l BigKeyField : STA.l BigKeyField
@@ -509,6 +512,7 @@ ItemBehavior:
.free_smallkey
REP #$20
LSR
AND.w #$000F : TAX
ASL : CMP.w DungeonID : BEQ .same_dungeon
LSR : TAX