73 lines
7.0 KiB
Markdown
73 lines
7.0 KiB
Markdown
# 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(rs*0.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 - i*20 degrees (or, flagged, i*90);
|
|
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.
|
|
- **Mom's Key (199)**: FUN_006dae40 (chest open): `FirstCollectibleOwner(199)` doubles the drawn pickup count.
|
|
- **Gnawed Leaf (210)**: FUN_00782af0: `_lastActionTriggers` bit 2 move, bit 4 fire (others: bombs, actives); with it 0,
|
|
`_gnawedLeafTimer` counts, past 60 (`0x3c < t`) he becomes a statue (mass 0x37c = 1000, null costume 4, sound
|
|
0x35a); Entity_Player::HasInvincibility honours it unless the damage flags carry 0x20.
|
|
- **Monstro's Lung (229)**: Weapon_MonstrosLung::Fire 00a07d50 / GetMaxCharge 00a08c80 (max fire delay, x2.5 with
|
|
modifier 1): fires only full; per multishot way FUN_00a08700 fires `12 + 12/5 * tears` (12 = float bits 1.68e-44;
|
|
Haemolacria 5/7, Dr. Fetus 5): vel + rand dir * rand * 3.5, scale (coin*0.4 + 0.9 + rand*0.05), fall speed
|
|
-(5 + rand*15) - height, fall accel +0.5. EvaluateItems: HasWeaponType(7) fire rate / 4.3.
|
|
- **Abaddon (230)**: GetTearHitParams fear roll `rand % max(1, 100 - luck) < 15` shared with Mom's Perfume (0xe4).
|
|
- **Contract from Below (241)**: Room::SpawnClearAward 007fb250: count = N + 1, zeroed on RandomFloat() < pow(.666, N) * .5;
|
|
not for variant 350 (trinkets).
|
|
- **Tech.5 (244)**: FUN_0077b020 @0x77e1b1: counter player+0x1468 reset 15 (16-tick period) while firing, then
|
|
Isaac::Random(3) != 0 -> FireTechLaser(pos, 2, aim, ..., 1.0).
|
|
- **Starter Deck / Little Baggy (251/252)**: Pickup_PickVariant: pill 70 -> card 300 (Deck), card -> pill (Baggy);
|
|
both held cancel.
|
|
- **Missing Page 2 (262)**: take_damage_impl: (red - dmg + bone + soul) <= threshold < before -> sound 0x21, overlay
|
|
0x1f, UseActiveItem(0x23); once-flag field 0x82c.
|
|
- **Clear Rune (263)**: UseActiveItem case 0x107: Card::IsRune on the held card, then its use.
|
|
- **Leech (270)**: FUN_00616db0 (also 0x47/0x48): target within 65 + 15 * scale, FindGridPath at 2.2 * 0.83.
|
|
- **BBF (272)**: Familiar::Update case 0x3a (MoveDiagonally; subtype 1 hidden, 0xda8 counter); HandleCollision: room
|
|
frame > 20, blast (scale - 1) * 25 + 100 with bomb flags, counter 300.
|
|
- **Dark Bum (278)**: FUN_0061a4e0: hearts subtype 1/2/5/9; tally 0xd80 >= 3 pays (-3, and -1 on 1/10 without BFFS);
|
|
%5: 0 spider (blue or ThrowSpider), 1 pill, 2 card, 3-4 black heart.
|
|
- **Sissy Longlegs (280)**: FUN_0061c3f0: spider timer 0xd88 = 150 + rand%300 (BFFS 120 + rand%210), <= 4 spiders (9 Hive
|
|
Mind), wanders to random points via FindGridPath 0.8.
|
|
- **D4 (284)**: FUN_005c88a0 + Entity_Player::CanRerollCollectible 007ce2a0 (not 0x102/0x290, quest, challenge items,
|
|
character items); new items from ItemPool::GetCollectible of each item's source pool.
|
|
- **Missing No. (258)**: FUN_007a4ba0 (new floor) -> UseActiveItem(0x11c) and the Glitch animation.
|
|
- **Libra (304)**: EvaluateItems' 0x130 block averages transformed stats ((speed + range + 2 * damage-tears)/4); the
|
|
transforms FUN_009bfc00..bfd20 are pow()s whose constants only the asm shows.
|
|
- **Flush! (291)**: Room::Update reads temporary effect 0x123 (water +0.1/tick to .9, pits filled).
|
|
- **Hushy (470)**: Familiar::Update case 0x6b: MoveDiagonally until Isaac fires; then still (v*0.85), 8 projectiles 45
|
|
deg apart every 31 ticks.
|
|
- **Adrenaline (493)**: EvaluateItems: N = (bone*2 - red + max)/2, damage += (2N)^1.6 * 0.1 (pow arg from the wiki).
|
|
- **Dog Tooth (445)**: +0.3 in the flat damage sum, +0.1 speed. **Bozo (513)**: +0.1 damage after multipliers.
|
|
- **Shard of Glass (448)**: take_damage_impl: flag 4 + 600 timer (bleed), RandomInt(4) == 0 -> heart 10.1.
|
|
- **Hypercoagulation (724)**: take_damage_impl: heart 10 subtype 2 (or 1 for > half a heart), flung; Daemon's Tail 4/5 black.
|
|
- **Cracked Orb (675)**: take_damage_impl -> FUN_007d7c30 each hit. **Dream Catcher (566)**: FUN_007a4ba0 AddSoulHearts(1).
|
|
- **Hungry Soul (684)**: kill handler 006bbdc0 (dump label Entity_Pickup::Update, ICF?): seed % 3 == 0 -> 1000.186.0, timeout 180.
|
|
- Note: in this dump UseActiveItem's case labels cover low ids only (a second switch on an offset id), so
|
|
`find.sh active` misses most Rebirth+ actives.
|