diff --git a/notes/items/parity_familiars2.md b/notes/items/parity_familiars2.md index 5a57671..97a0565 100644 --- a/notes/items/parity_familiars2.md +++ b/notes/items/parity_familiars2.md @@ -64,7 +64,12 @@ Lost Soul (612, 0xd3) at min(count, 1), Blood Puppy (565, 0xf1) and Cube Baby (6 true. Entity_Player::TryHoldEntity 0x7d2170 (Mom's Bracelet, moms_bracelet_grab) lifts it; room_enter puts it 15 from Isaac toward the entry door. -## Blood Puppy (COLLECTIBLE_BLOOD_PUPPY 565) - first form ported +## Effect 1000.2 (blood explosion) subtypes + +- Entity_Effect::Init's variant 2 case (0x5ce43f): subtype 1..5 picks the animation from the table at 0xb63b48 + + subtype x 4: 1 Poof_Small, 2 Poof, 3 Poof_Large1, 4 Poof_Large2, 5 Poof_Alt. + +## Blood Puppy (COLLECTIBLE_BLOOD_PUPPY 565) - ported, grown forms as allies - FamiliarAI::blood_puppy 0x64fd40: see names.tsv. Entity_Familiar::PickEnemyTarget 0x615030 (flags 0): a held vulnerable enemy is kept; else on IsFrame(6) the best enemy within 120 of it or of the player: max(0, 800 - dist) + @@ -76,3 +81,14 @@ Lost Soul (612, 0xd3) at min(count, 1), Blood Puppy (565, 0xf1) and Cube Baby (6 player target while its _projectileDelay runs, else paths to it; damage from Isaac's side cut to 1% / 10%; _i2 growth Spawn at 25, 35, then each 10). store_backup 0x630450 keeps its HP; room_enter / level_start move it. Not ported: see the familiars2 questions. + +- NpcAI::ENTITY_BLOOD_PUPPY 0x552d30 more: aiCallPhase 1: _i2 = parent _coins in its first 5 frames; no parent -> + Kill. State 3: GetPlayerTarget; an enemy target is led by its velocity x distance x 0.1 and jittered (1 in 15: + RandomVector x rand x 18, v2); a player target (no enemy left) is chased and lunged at unless his controls are off + (then _projectileDelay 15 and it keeps 80 away). Path speed (1.2 - variant x 0.15) x 0.83. Attack start 1 in 4 when + within (target size + 18) of an axis and CheckLine: AttackStartQuick for an unfriendly enemy, AttackStart else; + state 8: sound 0x73 (pitch 1.1 / 0.9), v1 5 easing 0.1 a tick to 3 along the axis, friction x0.85, pushing what is + ahead (velocity blended 0.6), ends after 6 stalled frames; 802.1 bridges rocks and stops (AttackStop, 1 in 8) when + its enemy is 80 behind. _i2 marks 25, 35 then each 10 (not 40): Spawn, and on its Shoot sound 268 and a 5.10 + subtype 2 (802.0) or 1 (802.1) heart thrown out (RandomVector + (0, -5)). Damage pass: explosion/laser-ish flags from + a non-player source -> 0; a projectile, 3.241 or 802 source x 0.01; an NPC source x 0.1.