diff --git a/notes/README.md b/notes/README.md index 2bae64b..4e68387 100644 --- a/notes/README.md +++ b/notes/README.md @@ -8,6 +8,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 | +| `items/items_sweep_11.md` | Nancy Bombs flag roll (GetBombFlags) | | `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_11.md b/notes/items/items_sweep_11.md new file mode 100644 index 0000000..042b617 --- /dev/null +++ b/notes/items/items_sweep_11.md @@ -0,0 +1,8 @@ +# Items sweep 11 + +- **Nancy Bombs (563)**: `Entity_Player::GetBombFlags` (0x780560), `HasCollectible(0x233)`. When param_2 is set the + whole roll is gated by `rand%100 <= 50 + luck*8` (luck at player+0x156c); otherwise always. Draw count: + `r = rand % (int)(15 - luck)`; r==0 -> 4, r 1-2 -> 3, r 3-4 -> 2, else 1. Each draw ORs `local_110[(rand & 0xf)]`, + a 16-entry BitSet128 table built from DAT_00c34560..c3464c. Entries identified (TearFlags bit): 2 homing (Bobby), + 4 poison (Bob's Curse), 22 burn (Hot), 23 attractor, 28 sad, 29 butt, 35 glitter, 36 scatter, 37|49 sticky+egg, + 45 cross (Bomber Boy), 63 (?), 72 blood, 75 brimstone, 78 ghost, 125 (?), 126 (?).