Merge items/familiars parity notes

# Conflicts:
#	db/names.tsv
This commit is contained in:
shweet committed 2026-10-30 14:17:28 -04:00
commit c4d6807c01
2 files changed
+58 -2

No files matched your search

+3 -2
View File
@@ -1094,7 +1094,7 @@
00919980 Menu_Save::load_slot_data ? called from Menu_Save::Reset for each slot after Manager::SetSaveSlot; constructs a local PersistentGameData, reads "sharedsave%d.dat", logs "Merging eden coins: pdTokens=..."
007b0070 Entity_Player::restore_state_entities called from the player update 00782af0 and the GameState player restore loop 009bd010 with a GameStatePlayer-like record; "m_FamiliarCount does not match m_Familiars.size()" (+0x37c/+0x380), respawns familiars (type 3) and friendly NPCs (+0x22c/+0x244, Entity_NPC::Morph, controllerID), "GhostAppear" for co-op ghost, EvaluateItems
0061d030 FamiliarAI::lil_haunt ? Entity_Familiar::Update case 0x4f (FamiliarVariant 79); FloatDown/FloatDownRage/Rage/RageEnd anims (NPC haunt anm2 set), Entity_Familiar::FollowParent then PickEnemyTarget + EntityList::QueryRadius, "Rage" when its counter runs out, HasCollectible(0xf7 BFFS)
0064f860 FamiliarAI::thrown_familiar_239 ? Entity_Familiar::Update case 0xef (FamiliarVariant 239); thrown/bouncing object: height +0x350 and fall speed +0xd6c (+0.7 gravity), grid collision class +0x184 set 3 in air / 5 on landing, friction +0x36c, spawns effect 1000/0x36 dust and 1000/0x3b on landing
0064f860 FamiliarAI::cube_baby ? Entity_Familiar::Update case 0xef (FamiliarVariant 239, entities2 3.239 Cube Baby); thrown/bouncing object: height +0x350 and fall speed +0xd6c (+0.7 gravity), grid collision class +0x184 set 3 in air / 5 on landing, friction +0x36c, spawns effect 1000/0x36 dust and 1000/0x3b on landing
009d2656 GameStatePlayer::read_part3 not a real function: Ghidra split the tail of GameStatePlayer::read (009d05d0) into FUN_009d16ee and this chunk (no prologue, unaff_EBP/EBX/ESI, reached by fallthrough from 009d16ee); carries the [warn] Invalid pocket item / costume count / familiar count / history count / temporary effect "Save file %s might be corrupt" reads
0077b020 Entity_Player::update_shooting ? called from player Update; reads shoot actions 4-7, GetMouseAimTarget/GetShootingJoystick, Head* anims, LiftItem/HideItem per held active (0x2a,0x2f,0x31,0x121,0x160...), 'No Such State %d'
00635390 FamiliarAI::sprinkler Entity_Familiar::Update case 0x78 (120 SPRINKLER); 'Loki Appear' with 0x57, 'MomsEye Appear' with 0x37; FireTear/FireBomb/FireTechXLaser spin
@@ -1130,7 +1130,7 @@
00638170 FamiliarAI::mystery_egg ? Entity_Familiar::Update case 0x7c (124); 'Crack' event -> SpawnEx enemy, MakeChampion, AddCharmed, BloodExplode; FollowParent
006196e0 FamiliarAI::variant_53 ? Entity_Familiar::Update case 0x35 (53); moves along Entity_Player::GetShootingJoystick *1.25, Float/FloatSide/StoppedDown anims, PlayShootAnim, Room::CheckLine (Robo-Baby 2.0 like)
0061c3f0 FamiliarAI::variant_66 ? Entity_Familiar::Update case 0x42 (66); 'Walking', PathFinder, shoots (apply_tear_modifiers/convert_shot_for_enemy_owner), SpawnEx(3,0x49)
0064fd40 FamiliarAI::variant_241 ? Entity_Familiar::Update case 0xf1 (241); Idle/Move Down/Hori/Up, PickEnemyTarget, FindGridPath, MakeSplat, AddPersistentEntity, cap 5 (10 with Mom's Wig 217)
0064fd40 FamiliarAI::blood_puppy ? Entity_Familiar::Update case 0xf1 (241, entities2 3.241 Blood Puppy); Idle/Move Down/Hori/Up, PickEnemyTarget, FindGridPath, MakeSplat, AddPersistentEntity, cap 5 (10 with Mom's Wig 217)
00644780 FamiliarAI::variant_204 ? Entity_Familiar::Update case 0xcc (204); spawns child effect 1000.166 at +0x3c0 (scale .6, tinted), GetOrbitPosition, HasEntityFlags
00755470 Entity_Player::Init 'Got non existing player type %d in Player::Init!', '[Frame: %d] Initialized player with Variant %d and Subtype %d', Entity::Init, GetGlitchBabySubType; vtable (no direct callers)
00a87300 tdefl_optimize_huffman_table miniz: num_codes[33] memset 0x84, counts m_huff_code_sizes[table][i] when static_table, this=tdefl_compressor, EDX=table_num
@@ -3476,3 +3476,4 @@
0042bc20 is_player_jelly_belly HasCollectible(param_2, 0x2b2) callback (Init, TakeDamage); parity_defensive
00429560 DeathmatchManager::is_mode_4 returns *this == 4 (Game+0x26614 via GetField26614); TakeDamage Jelly Belly odds Random(2 - it); parity_defensive
007d3560 damage_charge_scale no args (ECX unused): 0.1 (0xbaa120) in deathmatch (game +0x26614 >= 2), else 1 / (stage * 20 + 40), stage + 1 on stage types 4/5; update_effects multiplies the frame's damage dealt by it and 50000 for Berserk! and Tainted Samson's charge (0x79c4a0)
00645bc0 FamiliarAI::lost_soul ? Entity_Familiar::Update case 0xd3 (entities2 3.211 Lost Soul); body not read
Can't render this file because it is too large.
+55
View File
@@ -0,0 +1,55 @@
# Parity sweep: familiars cluster
Variants by entities2.xml (3.V): Lil Harbingers 122 (0x7a), Pointy Rib 127 (0x7f), Intruder 200 (0xc8), Lost Soul 211
(0xd3), Isaac's Heart 62 (0x3e), Box Buddy 119 (0x77), Cube Baby 239 (0xef), Blood Puppy 241 (0xf1), blood clot 238
(0xee); Spear of Destiny is effect 1000.83.
## Lil Clot (TRINKET_LIL_CLOT 176) - ported
- Entity_Player::spawn_lil_clot_familiars 0x7d83f0, called from Entity_Player::room_enter 0x7a6c50 and
TriggerTrinketAdded 0x7ad860 (case 0xb0 only): counts this player's 3.238 subtype 7 in the room and spawns more
until there are GetTrinketMultiplier(176), each at Isaac with velocity 2 x (cos a, sin a) (a = Random() x 2.3283e-10
x 3.14 x 2), sound 0x48 (meat jumps) and a 1000.2 subtype 2 blood poof in the clot's splat colour, offset (0, -6).
- The clot table at 0xc34238 (stride 100 bytes, index min(subtype, 7)) is initialised data: [0] floor / health,
[1..2] crop offset, [3..] splat colour. Row 7: 3.0, crop (0, 0) (the red clot's), splat (1, 1, 1, 1).
- Entity_Familiar::Init 0x60de70 case 0xee: subtype 7 health = row 7's 3.0 (x10 in deathmatch); no x1.5/x0.5.
- ai_blood_clot 0x64e0c0: subtype 7 skips the health decay (the others lose 0.2 every 15 frames down to their floor)
and its scale is min(health / 3, 1) x 0.4 + 0.6 (the others sqrt(health / maxHp) x 0.5 + 0.6, plus a colorize).
- Its tears are a red clot's (GetTearHitParams 0x7bf6c0: subtypes 0, 6, 7 get the blood tear look; x0.35 damage).
## Pointy Rib (COLLECTIBLE_POINTY_RIB 544) - ported
- EvaluateItems 0x763570: CheckFamiliar(0x7f, count + effect count).
- Entity_Familiar::Update 0x61da10 case 0x7f: aim = GetAimDirection, else the head direction's axis vector, else (0, 1).
distance = assert_lerp_range(sin(GetFrameCount / 30 x pi), -1, 1, 20, 120, clamped); _orbitAngleOffset =
LerpAngleDeg(it, aim angle, 0.4); velocity = (player + FromAngle(angle) x distance - pos) x 0.8; friction x 0.7.
Layer 0 rotation = angle(pos - player) - 90, flipX = Sprite::Rotation() > 1 (the sprite's own rotation, 0: never).
IsFrame(7, 0): Room::DamageGridWithSource(its grid index, 1).
- Entity_Familiar::HandleCollision 0x6261f0, variant 0x7f: a vulnerable enemy (or type 0x21, 0x124, 0xf5) not on its
hit list is added to it and takes GetTearHitParams(out, 4, 1.0, +-1, null)._tearDamage x (apply_tear_modifiers
(BFFS!...) + clamp(dot(player velocity, rib facing) x 0.1, 0, 1)), facing = FromAngle(layer rotation + 90).
- Not in Entity_Familiar::CanBlockProjectiles 0x60d8e0; Init sets no grid collision (class 0).
- update_shooting 0x77b020: with it (or Lilith + Birthright) player _blinkTime (HeadFrameDelay) = max(.., 7).
## Not ported yet: entry points found
- Spear of Destiny (400): update_shooting 0x77b020 spawns/keeps effect 1000.83 parented to Isaac, rotation eased
(LerpAngleDeg 0.8 firing, 0.5 otherwise) to aim - 90, placed 45 ahead and 10 aside, tinted by his tear colour;
removed when not held. Its damage is in the effect's update (not traced).
- 7 Seals (526): EvaluateItems CheckFamiliar(0x7a); Entity_Familiar::ai_lil_harbingers 0x6378c0.
- Blood Puppy (565): FamiliarAI::blood_puppy 0x64fd40; GetFollowTargetPosition 0x63b4a0 case 0xf1.
- Lost Soul (612): EvaluateItems; Update case 0xd3 -> FamiliarAI::lost_soul 0x645bc0; blocks shots.
- Isaac's Heart (276): EvaluateItems; Update case 0x3e (GetOrbitPosition; challenge 30 parents it to 3.67);
update_effects 0x794e50; take_damage_impl 0x7729d0.
- Buddy in a Box (518), Lil Delirium (519): EvaluateItems only in find.sh item.
- Cube Baby (652): FamiliarAI::cube_baby 0x64f860; HandleCollision variant 0xef; blocks shots.
- Quints (661): Entity_Pickup::Update 0x6bbdc0.
- The Intruder (575): EvaluateItems; Entity_Player::Update 0x782af0.
- Bursting Sack (377): Entity_NPC::HandleCollision 0x6cd410: an NPC whose config tags have bit 2 (spider) skips its
contact damage while anyone holds it (bit 1, fly, with Skatole 9).
- Dirty Mind (576): Entity_Pickup::HandleCollision 0x6e8ae0, spawn_poop_rewards 0x716db0, update_effects 0x794e50,
Room::SpawnEntry 0x7ed310.
- RC Remote (179): FollowParent 0x612bb0 -> predict_player_movement 0x650220 (SimulatePlayerMovement 0x7e8010);
GetFollowTargetPosition 0x63b4a0 adds a random vector when detached; HandleCollision: a familiar with 0 collision
damage deals 2 at multiplier 2, 5 above (4 with trinket 148 at 2+).
- Extension Cord (125): update_effects 0x794e50.