Files
isaac-port/notes/items/items_sweep_12.md
T

3.1 KiB

Items sweep 12

  • Ghost Bombs (727): flag from Entity_Player::GetBombFlags (0x780560, HasCollectible(0x2d7); placed bombs always, else rand%100 <= 33 + luck*8). On explosion Entity_Bomb::Update (0x6a24d0, ~line 358957 of all.c) tests the flag (BitSet DAT_00c34640): bomb scale > 0.75 spawns effect 1000.186 (Hungry Soul) subtype 1, timeout fields [0x117]/[0x118] = 360 ticks (180 when field_0x448, a Dr. Fetus bomb), scaled by the bomb; smaller bombs spawn 1000.189 (Purgatory soul) subtype 1 instead. The soul's own update is in Entity_Effect::Update (0x5d4380, does not decompile; --asm). Hungry Soul subtype 0 also spawns from Entity_Pickup::Update (Hungry Soul item, 1 in 3 by seed, timeout 180).
  • Purgatory (634): no HasCollectible(0x27a) in the dump; the rift/soul logic sits in Entity_Effect::Update (asm only). Purgatory soul anm2 (1000.189): Appear 39 frames, Charge 6. Around 0x5e4d98: after Appear finishes it plays Charge, targets the nearest enemy (radius 5000) else a random room point (20 from the wall), speed rand*6+4.
  • Rocket in a Jar (583): FUN_00780f40 (bomb placement) HasCollectible(0x247): with a fire input (player [0x58b] != -1, aim [0x58c..]) the bomb is variant 0x13 (19), velocity = normalized aim * 10 + GetTearMovementInheritance, angle = atan2 aim; else plain. Entity_Bomb::Update variant 19/20: rocketSpeed += speedMultiplier each tick, push = clamp(rocketSpeed * 0.125, 0, 1) * 2 (variant 20 giga: clamp(rs0.0625).19 path), velocity += (cos,sin)(angle)
    • push; _collidesWithGrid zeroes explosionCountdown1 (explodes); drawn rotated, flipped (180 - angle) past +-90. Homing flag (DAT_00c34860) steers rocketAngle toward the target by min((speed-1)/9,1)*0.5 of the gap.
  • Angelic Prism (528): familiar 3.123; Entity_Familiar::Init case 0x7b orbit layer 4; Entity_Familiar::Update case 0x7b: each live tear (type 2) within distance^2 < 625 not already prism-split (FUN_0060cd80) is removed and respawned 4 times (static Colors at 0xc7fc60, 0x2c apart), velocity rotated 30 - i20 degrees (or, flagged, i90); Dr. Fetus bombs (type 4, IsFetus) split the same way.
  • Orbit table GetOrbitDistance @0xc34130, 5 floats per layer = x radius, y radius, angular speed, guardian speed, phase: layer 0 25,20,.045,2,1.5; 4 85,67.5,.02,1.5,.8; 5 35,30,.045,1.5,.5; 6 50,42,.03,1.5,0.
  • Tinytoma (645): familiars 3.216 (hp 10) / 3.217 small (hp 5), collisionDamage 3.5 interval 14; Init case 0xd8/0xd9 orbit layer 6; Update -> FUN_00642cb0: the small one pairs with a parent (+0x3bc), the 0xd88 counter (150) brings the big one back (AddToOrbit(6), grow-in scale +0.03 a tick, collisions from 0.8); damage entries capped at 3.5.
  • Daemon's Tail (trinket 22) in Pickup_PickVariant (0x6ddcd0): the *param_1 != 3 coin test follows *param_1 = 0, so the coin (20) is always in the redraw; the black subtype is skipped only in room type 8.
  • Guillotine (206): Entity_Familiar::Update case 0x44 only orbits the head and hides it (collision class 0, invisible) under a temporary collectible effect / IsFullSpriteRendering; no costume in costumes2.xml.