From deb52e2df7df6d8d0ad5ab5dfe57adb1b6130fc9 Mon Sep 17 00:00:00 2001 From: shweet Date: Mon, 26 Oct 2026 13:31:51 -0400 Subject: [PATCH] notes: shared items (baby fire delays, sack chances, orbit layers, pickup items, 3 Dollar Bill, Black Bean, luck terms) --- notes/README.md | 1 + notes/items/shared_items.md | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 notes/items/shared_items.md diff --git a/notes/README.md b/notes/README.md index 90cbd42..470396f 100644 --- a/notes/README.md +++ b/notes/README.md @@ -28,6 +28,7 @@ stored here: `./decompile.sh 0xADDR` prints it from the dump, with the current n | `items/items_sweep_13.md` | Pocket slots (GetMaxPocketItems, AddPocketItem, drop-key rotation), D7, D8 modifiers, D10 DevolveEnemy, D12 outcome table | | `items/items_sweep_14.md` | Familiar AIs (Bob's Brain, Lost Fly, Angry Fly, Boiled Baby, Lil Abaddon, Bumbo), room systems | | `items/items_sweep_15.md` | Genesis, GB Bug, Fruity Plum, Worm Friend, Bird Cage, Lil Portal, Lil Spewer, Lil Dumpy AI, misc passives | +| `items/shared_items.md` | Items both games have, for isaac-classic's Items option: baby fire delays (Entity_Familiar::Shoot), sack drop chances (TriggerRoomClear), orbit layers and table, AddCollectible pickup items (Pageant Boy, Box, purses), 3 Dollar Bill table, Black Bean farts, Whore of Babylon, 9 Volt, Battery overcharge, Mitre, Pinky Eye/Push Pin luck | | `items/items_verify_2.md` (+ `items_verify_2_{actives_flash,actives_rif,cards,pills,trinkets,passives_flash,passives_rif_a,passives_rif_b}.md`, one per batch: UseActiveItem/UseCard/UsePill cases, Tarot Cloth's boosted takes, EvaluateItems stat groups, GetTearHitParams chances, trinket sites) | second verify pass: coin trinkets' per-coin rolls (pow(0.75, worth)), Mega Bean's wave and Game::ButterBeanFart, Tear Detonator's Belial branch, False PHD's UsePill tail and damage, Tarot Cloth's boost flag | | `characters/` | Rebirth behaviour + port design for tainted characters and Jacob & Esau; `characters_8.md`: T??? poop throw/nuggets/hallowed ground, T.Cain burst tables, T.Eve clot order and tears; `characters_9.md`: AddKnockback, T??? death spill and poop flight, T.Cain burst caller/Daemon's Tail, item pool weights vs crafting, Dark Arts snares, T.Maggy hug, T.Isaac inventory, Flip ghosts, Abyss locusts, T.Lilith cord, Dark Esau; `characters_10.md`: sound ids by id, Berserk!'s stacking/death deferral/sounds/bar, T.Bethany familiar drops x0.75, ShakeScreen and the camera shake, Weapon_Bone charge/throw (Knife::Shoot) and swing reflect, eternal heart on a last soul heart, Anima Sola's 1000.193 chain (Effect::Update by objdump), Dark Esau passes and Chained state, umbilical cord points/hits, Dark Snare timing, liquid poop creep, T.Azazel Birthright sneeze; `characters_11.md`: Dark Arts snare pitch, Dark Esau appear/pit/collision/Birthright split, umbilical baby drift, rope RK4 and hit pass, Lilith Birthright clinging, laser gore and the mark burst's status copy, FireBrimstone timeout, Weapon_Bone partial throws and Tiny Planet, Forgotten Chain 1000.114 tether, T.Maggy kill drop, T??? death spill, 1000.195 brown creep and the player creep pass | | `_tools/` | the one-shot port-side patch scripts those passes used (they edit isaac-classic data; kept for reference, not maintained) | diff --git a/notes/items/shared_items.md b/notes/items/shared_items.md new file mode 100644 index 0000000..f6cc7b3 --- /dev/null +++ b/notes/items/shared_items.md @@ -0,0 +1,67 @@ +# Shared items (isaac-classic rif/shared-items) + +Items, trinkets and cards both games have, read for isaac-classic's Items = Repentance+ option. Port-side results are in +isaac-classic's tools/reference/rebirth/{items,trinkets,cards}.json comments. Earlier passes: items_verify_2_*.md. + +## Shooting babies (Entity_Familiar::Shoot 0x614b10) + +- fireDelay 22 (0x16) for every baby but Brother Bobby (variant 1) and Abel (8): 16; Mongo Baby (0x4a) 11; Fate's Reward + (0x51) 44; flag 0x100 x1.4; Forgotten Lullaby (trinket 0x8d) runs the cooldown down twice a tick. Each baby is its own + follower; it fires while Isaac fires and its cooldown is out, then restarts it. +- FireProjectile 0x639750 by variant: 4 Little Gish every tear slowing (no roll), 6 (Robo-Baby's rainbow pick) 5 x1.06, + 7 Sister Maggy 6, 10 Harlequin 4 x0.9 scale; speed 10. fire_robo_baby_laser 0x613c20: ShootAngle(2) timeout 3, + 3.5 x modifiers. +- Demon Baby (ai_auto_shooter 0x619270): IsFrame(10) (Forgotten Lullaby'd), enemies within 150 with CheckLine, the last + found is shot at speed 8, falling 1.2, damage 3 x modifiers, scale 0.55 + 0.35 x modifiers. + +## Sacks (Entity_Familiar::TriggerRoomClear 0x62aab0) + +- _roomClearCount + 1 each clear; drop when (int)((n + 1) x chance) > (int)(n x chance) (n the count after the + increment); Tainted Bethany x0.75. Bomb Bag 0x14 .35 (BFFS .42) 5.40.0; Sack of Pennies 0x15 .5 (.57) 5.20.0; Little + C.H.A.D. 0x16 .35 (.42) 5.10.2; The Relic 0x17 .125 (.166) 5.10.3; 0x39 .18 (.166 + 5.69 with BFFS). Daemon's Tail + (trinket 0x16) skips a heart drop unless Random() % 5 == 0. Juicy Sack 0x34: 2 blue spiders (3 BFFS). + +## Orbitals + +- Entity_Familiar::Init 0x60de70 orbit layers: 0 Guardian Angel 0x20, Fly Orbital 0x21, Sacrificial Dagger 0x23, Cube + of Meat L1/L2 0x2c/0x2d, 0x32, 0x45, 0x46, 0x53, 0x7e, 0xe2; 1 Attack Fly 0x2b; 2 Distant Admiration 0x1f, 0xda; + 3 Forever Alone 0x1e, 0x3c; 4 0x54, 0x7b; 5 0x41, 0x44, 0x74, 0x75, 0x79, 0x80; 6 0xcc, 0xd8, 0xd9. +- GetOrbitDistance table 0xc34130 (x, y, speed, guardian, phase): 0 25 20 .045 2 1.5; 1 35 30 .045 1.5 .5; 2 60 45 -.03 + 1.5 2; 3 110 90 .02 1.5 1.2. GetOrbitPosition 0x6139b0: angle = offset - (frame + parity x .5) x speed x pi / 2. +- Halo of Flies (EvaluateItems ~line 3902): 2 Fly Orbitals a copy plus Pretty Fly pill uses, min(.., 10), less 2 a null + effect 0x6b. HandleCollision 0x6261f0: the fly orbital kills fly enemies on touch and is never used up. + +## Pickup items (Entity_Player::AddCollectible 0x75f0e0, first pickup) + +- 0x8b Mom's Purse: a random trinket 5.350. 0x8d Pageant Boy: one penny trinket drawn from the available of 24, 49, 50, + 51, 52, 126, 131, 147, 172, put among 7 coins 5.20.0. 0xc3 Mom's Coin Purse: 4 x 5.70. 0xc4 Squeezy: 2 x 5.10.3. + 0xc6 Box: table 0xb67400 = 350, 70, 20, 10, 300, 30, 40 (subtype 0 each). + +## Other items + +- 3 Dollar Bill (update_effects 0x794e50): room frame % 180 == 0 -> AddDollarBillEffect 0x7c9000: Random() % 38 of the + table 0xb6bb50 (1 2 3 5 6 46 53 110 115 143 150 153 104 201 261 257 259 317 237 245 228 213 200 221 224 358 359 369 + 373 374 379 401 443 459 461 462 496 503) is the one lent effect, the last one's cache flags re-evaluated. +- The Black Bean (TakeDamage 0x7729d0 adds effect 0xb4, cooldown 30; update_effects ~line 763): on the effect's counter + % 5 == 0: Game::Fart(pos, 100, ..) + ButterBeanFart(pos, 120) + 1000.141 (timeout 0x5a). Game::Fart: each vulnerable + enemy in radius: AddPoison 200, TakeDamage 5.0 (flags 0x1e), knockback 8 and confusion 90 for some subtypes; spawns + 1000.34. +- Whore of Babylon (UpdateHeartDependentEffects 0x7c9ea0): effect 0x7a added while red hearts <= 1 (2 for Eve); + EvaluateItems ~1139: damage + n^2 x 1.5; ~2188 the 0.3 speed group. +- 9 Volt (DischargeActiveItem 0x7ac7e0): after a use, charge + 1 when that stays under the max (one charge kept). +- The Battery (AddActiveCharge 0x7915a0): charge past the max goes to _batteryCharge (up to the max again) while it is + held or overcharge is asked; 1000.49 subtype 1 effect and sound 0xaa. +- Mitre (Pickup_PickVariant 0x6ddcd0 ~line 738): a heart is a soul heart RandomInt(10) == 0, or with Mitre + RandomInt(3) == 0 (then 1 in 4 half soul (8), 1 in 20 bone...). +- Guppy's Tail (RoomClear_PickVariant 0x7fa920 ~line 382): Random % 3 == 0 -> chest 50 or 60 by the next bit; else + (not forced) Random % 3 != 0 keeps the reward, else none. +- Magneto (Entity_Pickup::update_magnet_attraction 0x6ed690): no range limit (closest player), velocity = + (dir x .5 + velocity) x .8; hearts only when the kind can be taken, batteries when NeedsCharge. +- Lil Chubby (ai_charger 0x6174c0 variant 3): launched at 10 (0x41200000) the fire way; cooldown 0x1e once it stops. +- 1up! (TriggerDeath 0x7a1090): removed, then Revive 0x7a2220 (_redHearts 1, or _soulHearts 1 without containers). + +## Tear chances (Entity_Player::GetTearHitParams 0x7bf6c0, GetMultiShotParams 0x781b90) + +- Pinky Eye (trinket 0x1e) and Push Pin (0x1f): RandomInt(100) < 10 (20 x2, 0x21 x3) + (unsigned)(luck x 5.0) + (0xbaa784, luck at +0x156c). The Peeper (0x9b): a left-eye tear's damage x1.35. +- Mom's Eye: RandomFloat < 0.5 + 0.1 luck; Loki's Horns: < 0.25 + 0.05 luck.