Fire: Difference between revisions
Content deleted Content added
Piranhaplant (talk | contribs) No edit summary |
Piranhaplant (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 49:
|}
main() {
{{RAM name|$7E:00DE}} += 8
this.health = 5
{{ROM name|$80:8475}}(
while (this.collidedSpriteType == 0
this.collidedSpriteType = 0
{{ROM name|$80:8353}}(2)
Line 64 ⟶ 63:
if (this.cyclesUntilAnimUpdate < 0) {
this.cyclesUntilAnimUpdate = 2
this.animationFrame = (this.animationFrame + 1) % 4
this.sprite.tileData.lowBytes =
this.sprite.tileData.bank = 0x8F
this.sprite.type =
}
}
Line 104 ⟶ 103:
weaponType = spriteType & 0x7FFF
if (weaponType == FIRE_EXTINGUISHER
weaponType == SODA_POP_CANS
weaponType == SQUIRT_GUN
weaponType == 0x65) {
this.health -= 1
Line 116 ⟶ 115:
return false
}
{{Pseudocode footer}}
[[Category:One-shot monster]]
|