Add a constant for creating a poisoned mushroom.

This commit is contained in:
Jeremy Rand 2020-07-22 01:47:59 -04:00
parent b3da2023e4
commit 78f439d248
2 changed files with 3 additions and 1 deletions

View File

@ -240,7 +240,7 @@ updateScorpion_maybePoison anop
cmp #TILE_MUSHROOM4+1
bge updateScorpion_done
ora #32
ora #TILE_POISON_A_MUSHROOM
sta tiles+TILE_TYPE_OFFSET,x
rtl

View File

@ -108,6 +108,8 @@ TILE_SOLID3 gequ 51*4
TILE_PLAYER gequ 52*4
TILE_POISON_A_MUSHROOM gequ TILE_POISON_MUSHROOM4-TILE_MUSHROOM4
TILE_DIRTY_OFFSET gequ 0
TILE_SCREEN_OFFSET_OFFSET gequ 2
TILE_TYPE_OFFSET gequ 4