From bb68e5726f9e00254ecdaf965c1cabfaed2dbaa3 Mon Sep 17 00:00:00 2001 From: shweet Date: Sat, 24 Oct 2026 13:23:27 -0400 Subject: [PATCH] Notes: items sweep 10 (Smelter, Daemon's Tail, I'm Drowsy, Guillotine orbit, Converter) --- db/names.tsv | 2 ++ notes/README.md | 1 + notes/items/items_sweep_10.md | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100644 notes/items/items_sweep_10.md diff --git a/db/names.tsv b/db/names.tsv index 1f9926b..0e6d800 100644 --- a/db/names.tsv +++ b/db/names.tsv @@ -244,3 +244,5 @@ 006a9320 Entity::SetTarget EntityPtr set on Entity+0x3c4 (_target) 009e24a0 std::map::find lower_bound + 64-bit key compare, returns end() on miss 00415bc0 std::_Xlen throws "vector too long" +007fa920 RoomClear_PickVariant room clear award variant: Smelter 1/50 trinket, Guppy's Tail chests (items sweep 10) +006ddcd0 Pickup_PickVariant random pickup variant/subtype picker; Daemon's Tail reroll (items sweep 10) diff --git a/notes/README.md b/notes/README.md index 35578dc..8f5670f 100644 --- a/notes/README.md +++ b/notes/README.md @@ -7,6 +7,7 @@ stored here: `./decompile.sh 0xADDR` prints it from the dump, with the current n |---|---| | `entities/` | per-entity findings from the monster-fidelity passes (state machines, timings, speeds, what the port changed or skipped) | | `systems/greed_mode.md` | Greed waves' coins and music, Ultra Greed/coins/doors states, donation machine spawn | +| `items/items_sweep_10.md` | Smelter/Guppy's Tail room drop variant, Daemon's Tail pickup picker, I'm Drowsy slowdown, Guillotine orbit layer + orbit distance table, Converter | | `characters/` | Rebirth behaviour + port design for tainted characters and Jacob & Esau | | `_tools/` | the one-shot port-side patch scripts those passes used (they edit isaac-classic data; kept for reference, not maintained) | | `../src/anm2`, `../src/rooms` | reimplementations of the anm2 player and .stb/RoomConfig loader, with their own decompile docs and tests | diff --git a/notes/items/items_sweep_10.md b/notes/items/items_sweep_10.md new file mode 100644 index 0000000..9c63267 --- /dev/null +++ b/notes/items/items_sweep_10.md @@ -0,0 +1,7 @@ +# Item findings (items sweep 10) + +- **Smelter (479) room drops**: `RoomClear_PickVariant` @0x7fa920 (FUN). After the base variant, with Smelter `rng % 50 == 0` turns it into a trinket (variant 350). Guppy's Tail (134) follows: 1 in 3 a chest (50) or locked chest (60, coin flip), else (param_2 == 0) 1 in 3 nothing. +- **Daemon's Tail (trinket 22)**: `Pickup_PickVariant` @0x6ddcd0 (FUN). A rolled heart (variant 10) stays a heart 1 in 5; otherwise redrawn by WeightedOutcomePicker over coin 20 (skipped when *param_1 == 3), key 15, bomb 15, heart 15. The heart subtype roll later gives black (6) whenever Daemon's Tail is held and the room is not type 8 (Super Secret). +- **I'm Drowsy (pill 41)**: UsePill case 0x29: `Room::SetBrokenWatchState(1)` + `Room::SetSlowDown(0x7fffffff)` (horse: Level state flag 0x18). SlowDown is Room+0x722c (decremented in Room::Update); `Entity_Tear::Update` multiplies the tear's speed by 0.75 while it is above 0. BrokenWatchState (Room+0x1210) is read by NPC and projectile time scaling (FUN_00652df0, FUN_006b99e0); no player movement read found. +- **Guillotine (206)**: `Entity_Familiar::Init` case 0x44 (familiar 3.68) sets orbit layer (field [0x35c]) 5. `Entity_Familiar::GetOrbitDistance` @0x612850 reads a table at 0xc34130, 5 floats a layer: x,y radii 0:25,20 1:35,30 2:60,45 3:110,90 4:85,67.5 5:35,30 6:50,42 7:28,21 8:40,30 9:64,50 10:40,36. entities2: damage 7, interval 4, radius 13. +- **Converter (296)**: UseActiveItem uses item 35 (Necronomicon) for each black heart removed.