Parity sweep rooms2 notes: Options? (RoomClear_PickVariant 0x7fa920's lift and force, spawn_options_alternative 0x8276e0, RemoveOtherOptions 0x6ee750), Adoption Papers (0x814a50 slot kinds, category table 0x81516c, 0x816250 price), the angels' key pieces and Filigree Feather (TriggerBossDeath 0x7fec00), A Pound of Flesh (GetShopItemPrice 0x8151e0, can_player_buy 0x6e83a0, Shop Spikes 0x5df70e), Sanguine Bond (0x827bf0, hurt_func 0x709fb0 payout table), Strange Key's Pandora shuffle (0x5ba903, swap_ints 0x5cbf90, pool tables 0xbab230..), Star of Bethlehem and Vanishing Twin anchors

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-30 15:07:00 -04:00
1 parent b79c819475
commit c0cb6dc25d
2 files changed
+88 -1

No files matched your search

+2 -1
View File
@@ -1243,7 +1243,6 @@
0072ece0 ItemConfig::LoadBombCostumes parses bombcostumes.xml (bombcostumes/anm2root/rule/includeFlags/excludeFlags/front/front2/overlay/suffix); ECX=Manager+0x2a404 (ItemConfig in this exe), stores at this+0x110; caller loads all config xmls 0072ece0 ItemConfig::LoadBombCostumes parses bombcostumes.xml (bombcostumes/anm2root/rule/includeFlags/excludeFlags/front/front2/overlay/suffix); ECX=Manager+0x2a404 (ItemConfig in this exe), stores at this+0x110; caller loads all config xmls
004186c0 EntityList::Update "EntityList: e_update is empty!", "EL: invalid index for remove"; iterates update list calling Entity vtable +0xc (Update); callers Room::Update, Game::update_pending_pickup_animations 004186c0 EntityList::Update "EntityList: e_update is empty!", "EL: invalid index for remove"; iterates update list calling Entity vtable +0xc (Update); callers Room::Update, Game::update_pending_pickup_animations
0061a4e0 Entity_Familiar::ai_pickup_sack ? Entity_Familiar::Update cases 0x18/0x40/0x5a/0x66 (Bomb Bag-style pickup spawners): PreSpawn/FloatDown anims, FindFreePickupSpawnPosition, ThrowSpider/spawn_blue_spider, BFFS 0xf7 check 0061a4e0 Entity_Familiar::ai_pickup_sack ? Entity_Familiar::Update cases 0x18/0x40/0x5a/0x66 (Bomb Bag-style pickup spawners): PreSpawn/FloatDown anims, FindFreePickupSpawnPosition, ThrowSpider/spawn_blue_spider, BFFS 0xf7 check
00650610 Entity_Familiar::ai_variant_242 ? Entity_Familiar::Update case 0xf2: "Transform" anim, GetSeededCollectible + MakeShopItem + AssignOptionsIndex, FirstPlayerByType(0x21), RemoveFromFollowers
00440f00 NpcAI::ENTITY_BEAST_ultra_death 951 Beast variant switch case 0x28 (variant 40 Ultra Death) at 006c4186; anims Swing/SwingPrepare(Loop)/SummonStart/Loop/End, spawns 951.41 (scythe) and 951.42 (skull) on "Shoot" event; npc_ai.tsv only lists NpcAI::ENTITY_BEAST 00440f00 NpcAI::ENTITY_BEAST_ultra_death 951 Beast variant switch case 0x28 (variant 40 Ultra Death) at 006c4186; anims Swing/SwingPrepare(Loop)/SummonStart/Loop/End, spawns 951.41 (scythe) and 951.42 (skull) on "Shoot" event; npc_ai.tsv only lists NpcAI::ENTITY_BEAST
0044f2b0 NpcAI::ENTITY_BEAST_ultra_war_bomb ? 951 variant switch case 0x1f (variant 31) at 006c417d; "Pulse" anim, falls until y > room bottom-30 then spawns 1000.181 + Game::BombDamage/BombExplosionEffects, RemoveWithPoof; inlined Game::Spawn pickup randomization 0044f2b0 NpcAI::ENTITY_BEAST_ultra_war_bomb ? 951 variant switch case 0x1f (variant 31) at 006c417d; "Pulse" anim, falls until y > room bottom-30 then spawns 1000.181 + Game::BombDamage/BombExplosionEffects, RemoveWithPoof; inlined Game::Spawn pickup randomization
00447180 NpcAI::ENTITY_BEAST_ultra_famine_fly ? 951 variant switch case 0xb (variant 11); m_Parent downcast, CalcTargetPosition, IsPositionInRoom, 1299 bytes 00447180 NpcAI::ENTITY_BEAST_ultra_famine_fly ? 951 variant switch case 0xb (variant 11); m_Parent downcast, CalcTargetPosition, IsPositionInRoom, 1299 bytes
@@ -3472,3 +3471,5 @@
0072fec0 ItemConfig::trinket_has_tags ? ECX = trinket id (& 0x7fff), (tagsLo, tagsHi): trinket +0xb8/+0xbc tags & mask != 0 0072fec0 ItemConfig::trinket_has_tags ? ECX = trinket id (& 0x7fff), (tagsLo, tagsHi): trinket +0xb8/+0xbc tags & mask != 0
00823be0 Room::is_reachable_from_player ? (Vector* pos, player (null = player 0), useCurrentPos): grid cell of pos must be collision 0 or 5, then Room::is_obstacle_path_valid(pos cell, player cell, 3); ItemInfo::is_pickup_known (cards) 00823be0 Room::is_reachable_from_player ? (Vector* pos, player (null = player 0), useCurrentPos): grid cell of pos must be collision 0 or 5, then Room::is_obstacle_path_valid(pos cell, player cell, 3); ItemInfo::is_pickup_known (cards)
00814980 Room::shop_ware_roll ? (&variant, &subtype, &price, seed): the next shop ware: its shop item id (the restock deque front, else descriptor +0xac cycling 0..7, init_shop_item_slots first), pickup_roll_random_variant, GetShopItemPrice, ResolveHeartSubType; returns the id 00814980 Room::shop_ware_roll ? (&variant, &subtype, &price, seed): the next shop ware: its shop item id (the restock deque front, else descriptor +0xac cycling 0..7, init_shop_item_slots first), pickup_roll_random_variant, GetShopItemPrice, ResolveHeartSubType; returns the id
005cbf90 swap_ints ? (ECX = int*, EDX = int*): swaps the two; UseActiveItem Pandora's Box + Strange Key pool shuffle (0x5ba9fd)
00650610 FamiliarAI::vanishing_twin ? Entity_Familiar::Update case 0xf2 (Vanishing Twin, CheckFamiliar from 0x2b9): Transform, spawns its stored boss type (_coins) / variant (_keys) tied at +0xf54, Larry Jr. / 0xed / 0x38b special shapes, then a seeded collectible made a shop item with AssignOptionsIndex
Can't render this file because it is too large.
+86
View File
@@ -0,0 +1,86 @@
# Parity sweep: rooms cluster, part 2
Repentance+ 1.9.7.17. Follows parity_rooms.md (its findings are not repeated). Ported to isaac-classic where marked.
## Options? (COLLECTIBLE_OPTIONS 670 / 0x29e): ported
- `RoomClear_PickVariant 0x7fa920(rng, isForcePickup)`: roll = RandomFloat; Lucky Foot (0x2e) `* 0.9 + 0.1`; + RandomFloat
* clamp(total luck, 0, 10) * 0.1; Lucky Toe (0x2a) `* 0.9 + 0.1` (`* 0.98 + 0.02` with Lucky Foot and luck > 0); then
Options? held and roll < 0.06: `roll = 1 - clamp(roll / 0.06) * 0.78`; then isForcePickup and roll <= 0.22:
`roll = clamp(roll / 0.22) * 0.7799 + 0.2201`. Thresholds after: < .3 card/pill/trinket band, < .45 coin, < .6 heart,
< .8 key, < .95 bomb, else chest. Guppy's Tail (0x86) at the end: 1/3 a chest (50 / 60), else (not forced) 1/3 nothing.
- `Room::SpawnClearAward 0x7fb250`: after each award pickup spawned, Options? held -> `Room::spawn_options_alternative
0x8276e0(pickup)` (also after Old Capacitor's battery).
- `spawn_options_alternative`: RNG(pickup init seed, 3, 5, 25); up to 10 draws of RoomClear_PickVariant(rng, 1) until
a nonzero variant other than the pickup's (the 10th kept even if equal; 0 -> none); angle RandomFloat * 3.14 * 2;
the new pickup 15 px from the first along it, the first moved 15 px the other way; a 52 / 54 / 57 chest on a cell that
can't hold an obstacle (CanSpawnObstacleAtPosition) morphs to 5.50.1; flag 0x100 (high) copied; both share
`Entity_Pickup::AssignOptionsIndex 0x6eed30`.
- `Entity_Pickup::RemoveOtherOptions 0x6ee750`: every other pickup of the same `_optionsPickupIndex` (+0x528, any
variant) gets a 1000.15 at its pos + (0, 10) and is removed (a pedestal: timeout 4); called from
`Entity_Pickup::Update 0x6e3940` when a chest opens (TryOpenChest) and `HandleCollision 0x6e8ae0` when taken.
## Adoption Papers (TRINKET_ADOPTION_PAPERS 184 / 0xb8): ported (Soul of Lilith slot waits on achievements)
- `pickup_roll_random_variant 0x814a50`: owner in a shop (room 2 / 0x16): slot kind 8 or 0x11 -> 0x12 for good
(GetCollectible(0x1c, babyShop)). Multiplier > 2 with achievement 0x275: the first slot of category 4 (kind 0x15), else
the first consumable (kinds 2, 6), bomb (1), key (3), heart (0) slot becomes 0x15 = card 92 (Soul of Lilith). Category
table `0x81516c` = {0,1,2,3,5,5,2,5, 5 x 12, 5, 4} by kind 0..0x15.
- `_Room::ResolveHeartSubType 0x816250`: a 0x12 slot with an owner: price * 2 / 3 (multiplier < 2), else 6; before the
sale and the restock markup (which use it as the full price).
## Filigree Feather (TRINKET_FILIGREE_FEATHERS 123 / 0x7b) and the key pieces: ported
- `Room::TriggerBossDeath 0x7fec00`, type 0x10f (Uriel) or 0x110 (Gabriel), any variant, in room type 15 / 13 / 8
(angel, sacrifice, super secret), only when Room +0x7300 (the room's killed-NPC list, `Room::record_killed_npc
0x820d30`) has no earlier entry of the type. State flag 0x32 / 0x33 set once (counter +0x2675c). RNG(init seed, 0x1e).
has1/has2 = anyone has 0xee / 0xef; onFloor1/2 = a 5.100.0xee / 0xef in the room.
drop1 = !has1 && !onFloor1 && (!feather || has2); drop2 = !has2 && !onFloor2 && (!feather || has1).
Uriel: drop1 -> 0xee; else [feather: an angel pool (4) item drawn; multiplier 2 -> 5.10.8, 3 -> 5.10.3 at the free spot,
the next free spot taken]; drop2 -> 0xef, else the feather's item. Gabriel the same with the pieces swapped.
## A Pound of Flesh (COLLECTIBLE_A_POUND_OF_FLESH 672 / 0x2a0): ported
- `Room::GetShopItemPrice 0x8151e0`: isKeeperPricing = Keeper / Tainted Keeper, or Keeper's Bargain (0xab) at
multiplier >= 2 or its RandomInt(2) == 0 (RNG seed subtype + variant | desc +0x58 & ~0x7ff, shifts 15,1,29). In a
shop (not devil 14 / angel shop 22 / flag 0x800 / room 5 under level flag 0x20000), with Pound and no Keeper pricing:
wares -5 (PRICE_SPIKES), collectibles -devilprice. In deal rooms, Pound (or Keeper pricing without its exceptions):
15 coins, 30 at devilprice 2; other wares 5.
- `Entity_Pickup::can_player_buy 0x6e83a0`: price -5 -> TakeDamage(2.0, 0x10002080 = SPIKES | INVINCIBLE |
NO_PENALTIES, source, 30); bought only if it lands. (INVINCIBLE only passes the Isaac's Heart / type 0x23 immunity,
`Entity_Player::TakeDamage 0x7729d0`'s 0x2820 mask; damage cooldown still blocks.)
- `Entity_Pickup::update_price_sprite 0x6e2570`: -5 hides the price layers and spawns 1000.174 (Shop Spikes) as its
child; `Entity_Effect::Update` case 0xae (asm 0x5df70e): once the parent is gone (+0x3bc null or dead) state 1 and
Play("Retract").
- HandleCollision counts a devil deal (`_devilRoomDeals`) only in room 14 / flag 0x800 / room 5 + flag 0x20000.
## Sanguine Bond (COLLECTIBLE_SANGUINE_BOND 692 / 0x2b4): ported
- `Room::spawn_sanguine_bond_spikes 0x827bf0(isRoomInit)`: devil room (14) with an owner; cell width * 4 + 7 (width >= 8,
height >= 5); spikes (type 8) variant 100 there already -> nothing; a pit (7): the pits in the 3x3 around and on the
cell are destroyed; spikes (8 / 9) there: path 900, destroyed; placed when `_gridPaths[cell] < 901` (type 8, variant
100, varData 0). Not init (from `Entity_Player::AddCollectible`): every other type 8/9 grid unsummoned, a 1000.15 poof.
`Room::Init 0x7f2800` calls it (init) on a first visit (descriptor +0x40 == 0 sets Room +1).
- `GridEntity::hurt_func 0x709fb0`: pays when room 13 or variant >= 100 (not after descriptor flag 4); variant >= 100:
RandomFloat < .15 six 5.20.1; < .48 AddCollectibleEffect(0x2b4) (EvaluateItems 0x763570: 0.5 a count in the damage
sum; items.xml persistent="true": `TemporaryEffects::ClearEffects 0x9306c0` keeps it through Room::Init); < .58 two
5.10.6; < .63 5.100.0 (room pool); < .65 IncrementPlayerFormCounter(8 Leviathan, 3); else nothing. Each at
FindFreePickupSpawnPosition(spike pos).
## Strange Key (TRINKET_STRANGE_KEY 175 / 0xaf): not ported (see the rooms2 questions)
- `Room::TrySpawnBlueWombDoor 0x820170`: held -> isIgnoreTime (the `_blueWombParTime` test).
- Pandora's Box (UseActiveItem 0x5b39d0, at 0x5ba903): removed; count 6, multiplier 2 -> 8, 3 -> 10; pools 0xbab230 /
0xbab4b0 + {26, 5} = {0, 2, 1, 3, 4, 6, 8, 12, 26, 5}, Greed 0xbab580 / 0xbab5c0 + 26 = {16..20, 6, 8, 21, 26};
forward Fisher-Yates on the Pandora's collectible RNG (`r = i + RandomInt(n - i)`, swap_ints 0x5cbf90); item k from
pools[k] at FindFreePickupSpawnPosition(Isaac, 40).
- HandleCollision 0x6e8ae0: on stage 9 at multiplier >= 2 chests 0x3c / 0x35 / 0x37 open without a key.
## Star of Bethlehem (651 / 0x28b), Vanishing Twin (697 / 0x2b9), Guppy's Eye (665), Blue Key (150): not ported
- Star: CheckFamiliar(0xec, min(n, 1)); `FamiliarAI::star_of_bethlehem 0x64d5f0`, its map walk (formationOffset = map
cell, `_coins` % 13 / 13 and `_hearts` halves as sub-cell), `star_of_bethlehem_get_target_room 0x64d370`,
`Entity_Familiar::update_star_of_bethlehem_speed 0x64d1d0` (0.25 / 0.5 / 1 / 4 / 8 by room-path lengths, 9 rooms
margin), 1000.0x70 aura.
- Twin: CheckFamiliar(0xf2, n + effects); `FamiliarAI::vanishing_twin 0x650610` (see db/names.tsv).
- Blue Key: GridEntity_Door::TryUnlock 0x710480; SpawnClearAward in room -16: count x multiplier.