36 KiB
36 KiB
Boss fidelity pass 4 (2026-10-26, isaac-classic branch rif/boss-fidelity-4)
Follows boss_fidelity_3.md. Cut short by a wind-down request: the systematic-bug re-audit of every Rebirth boss record (task 2) is done; of pass 3's leftovers (task 1) only Mega Satan's wide hands were built; task 3 not started.
Engine findings and fields
- FireProjectiles modes 2, 4 and 5 boost (006cb2e0 tail 006cca30..006ccb09): after the modes 0-5 base (fall -3, accel .1, skipped for modes 6-9 and when params +0x98 is set) they take fall -1 more and velocity = 1.2 v + .4 * the shooter's velocity: Flash's ffmo boost exactly. New isaac-classic shot field boost (shots[] and attack level): the shot is boosted even under shots_still. Used on Haunt's spit, Dingle/Dangle's spit, Uriel's SpreadShot, The Pile's dive bones, Sisters Vis' mode-4 shots, Delirium's pattern-10 fan, Siren's slash spread.
- Mode 9 rings never take the -3 / .1 base: records that had -3 + modifier on rings fixed (Mega Maw red -4 -> -1, Gate red -5 -> -2, Mega Satan / Mega Satan 2 rings -5 -> -2, The Stain's spirals).
- MoveRandomly (007e6300, PathFinder::MoveRandomly, ZHL MoveRandomlyBoss): target 40 px off at a random angle, push .5 * speedMult / friction toward it; so drift speed = .5 when the AI's friction multiply comes first (Dark One's .625 and The Adversary's .588 were .5 / f), .5 * the later multipliers when after (Forsaken .45, Clutch .45, Visage .4).
- FindGridPath 007e33c0: friction *.7, then min(.1 d, 2) * speed / friction: a friction after the call scales path speed (The Stain, Rag Man .8 x).
- Entity_Projectile::Update: f = .9 f + .1 + accel(+0x418): the engine's extra fall_acceleration is +0x418 itself.
- New escort field wide_attacks (and ScriptedContext::partnerAttacking): see mega_satans_*_hand below.
mega_satans_right_hand / _left_hand: FUN_004cca10 (274.1 / 274.2). Changed
- State 3 goal = head + (-+120, 100) blended toward (-+35, 120 / 110) by (Isaac.y - head.y - 260) / 70; while the head's state is 8 (the Mega Blast: Charging then Shoot1) the goal is the wide (-+120, 100) whatever Isaac's place.
- Port: escort wide_attacks [0, 1] (the head's Charging and Shoot1 attacks).
mega_satan: NpcAI::ENTITY_MEGA_SATAN 004c8090 (274.0). Changed
- Its pattern rings are mode 9 (no base): fall_velocity -5 -> -2 on all 52.
Left (not done this pass)
- Pass 3's leftovers: the Larry Jr summon weight (1 per Larry Jr, not 4), the summons' room-foot spots (left + 60 to right - 60, bottom - 60), Mama Gurdy's ShakeScreen 8 and room-wide spike spread, Chimera's half-health pin, the body walking at its returning head, the flung head's 1-in-4 shot trail, Mother's Dead Isaac spawn velocity (0, -3), Ultra Greed's open gaps (anger timers, two key coins a beat under 20%, key coin k to door k, slot weights over all coins and Keepers/Greed Gapers, doors 46 px too far out, BreakFreeLong on the first encounter).
- Not audited here: mama_gurdy, chimera / body / head, mother (912.0), ultra_greed / ultra_greedier / ultra_greed_door (kept for the leftovers above), hush (own controller), blue_baby_alt and the background riders (task 3), the Home chain (dogma, beast, ultra horsemen).
- Proposals from the audit: visage_mask's hover 1.2 / .8 and charge 7 undivided need a two-ended tether pull; Delirium's ring table is not delirium_fire_pattern's (needs a re-port); The Matriarch's hop (6 a tick, no friction) and red-creep mode-0 shot; side-view fall records store Rep minus .1 (rotgut_maggot .62 = Rep .72).
FireProjectiles' fall base and boost (Entity_NPC::FireProjectiles 006cb2e0, tail 006cca30..006ccb09)
- Unless params[1].GridCollision (+0x98) is set and for modes other than 6-9: every shot's fall (+0x414) = -3 (0xc0400000) and accel (+0x418) = .1 (0x3dcccccd), then the params' FallingSpeed / FallingAccel / Height add.
- Modes 2, 4 and 5 (asm 006cca58..006ccaf5): fall -= 1 more, velocity = 1.2 v + .4 * the shooter's velocity
(DAT_00baa4b0 1.2, DAT_00baa280 .4), before VelocityMulti. This is Flash's ffmo boost exactly (boost_speed_scale 1.2,
boost_shooter_velocity .4, boost_rise 1): those shots must NOT be still. shots_still on a record forces every shot
still (isStill = shot.still || shots_still); built as shot field
boost(boosted under shots_still), so the mode 2/4/5 shots take boost and fall_velocity -3 + FallingSpeed (the boost adds the -1). - Mode 1 = (.961, +-.276 S); 2 = (1, 0), .9 (.961, +-.276 S); 3 = (1, 0), (.914, +-.407 S); 4 = (.99, +-.139 S), .9 (.914, +-.407 S); 5 = (1, 0), (.978, +-.208 S), (.914, +-.407 S); 8 = the eight fixed ways.
haunt: NpcAI::ENTITY_THE_HAUNT 00481410 (260.0). Changed
- Skin: MoveRandomlyBoss (.5 / f at the base friction), then friction *.9 and the routine's shared *.96: net .432 under .864. speed .5 -> .432.
- No skin: v += targetPosition (.3, flipped on a wall with a 15 kick) undivided, then *.96: line speed .3 -> .288.
- Dash: vx = +-(|vx| + 10 + 5 rand) before the *.96: impulse / lunge_spread 10 / 5 -> 9.6 / 4.8.
- Spit (subtypes 0/1): FireProjectiles mode 5, (0, 10), from pos + vel: boosted. boost (shots_still kept); spit fall_velocity -3, fall_acceleration .1. Pink stream: mode 0, FallingAccel -.1, IsFrame(2): still, fall_velocity -3, fall_acceleration 0 (was -.1).
- Left: the no-skin wall kick (15 undivided, 14.4 net).
dingle: NpcAI::ENTITY_DINGLE 004855b0 (261.0; subtype 1 red, 2 black). Changed
- Slide event: v += unit(Isaac) * 10 (15 black) undivided, then friction *.98: impulse 10 -> 9.8 (black 15 -> 14.7). From the event on v += Resized(v, 1 / 1.5) / f: net 1 / 1.5 (lunge kept). Every other state *.7 last.
- Spit: subtypes 0/1 mode 2 at 10 toward Isaac (boosted): boost, fall_velocity -3, fall_acceleration .1. Black: mode 8 at 10, FallingSpeed -1, FallingAccel .001, variant 3: fall_velocity -4 -> -1, still.
dangle: NpcAI::ENTITY_DINGLE 004855b0 (261.1). Changed
- Same slide: impulse 10 -> 9.8 (both Slide attacks). Spit mode 2 (corn variant 5): boost, fall_velocity -3, fall_acceleration .1.
mega_maw: NpcAI::ENTITY_MEGA_MAW 0045ef20 (262.0). Changed
- Anchored: friction *.8, velocity = target - pos. Spit is FireBossProjectiles(15): no base.
- FireRing (not red): mode 9, HeightModifier 18.5, FallingSpeed -2, FallingAccel -.06, VelocityMulti 1.05 (10 / 7 -> 10.5 / 7.35), flags 0x2080: offset [0, 18.5], fall_velocity -2, fall_acceleration -.06 (had none). Black's rings (not drawn by its choice) the same, plus speed 10 / 7 -> 10.5 / 7.35.
- Red: mode 9, FallingSpeed -1: fall_velocity -4 -> -1 (mode 9 has no -3 base).
the_gate: NpcAI::ENTITY_GATE 0045fc00 (263.0). Changed
- Shooting (every subtype but red): mode 9, HeightModifier 18.5, FallingSpeed -2, FallingAccel -.06, VelocityMulti 1.05, Scale 1.8: base rings offset [0, 18.5], fall_velocity -2, fall_acceleration -.06; black's the same plus 10 / 7 -> 10.5 / 7.35, scale 1.8.
- Red: mode 9 with FallingSpeed -2: fall_velocity -5 -> -2 (FallingAccel -.06 / -.05 kept).
mega_fatty: NpcAI::ENTITY_MEGA_FATTY 00460780 (264.0). Changed
- Puke (not red): mode 0 each tick from Shoot to StopShooting, HeightModifier -300, FallingSpeed -40, FallingAccel 2, velocity RandomVector * rand * (1 + 2 clamp((frame - 10) / 15)) + .025 (Isaac - pos) + .6 Isaac's velocity: fall_velocity -40 -> -43, height -300, volley fall_acceleration 1 -> 2.1 (air time 41 ticks; was 43).
- Red: IsFrame(3) mode 9 (5, 4) from pos - (0, 8), HeightModifier -40, FallingSpeed 1.5, CircleAngle .05 a tick: spiral fall_velocity -8 -> 1.5, height -40, offset_y -8 (it flew ~99 ticks; Rep 54).
- Left: the lob's spread growing 1 -> 3 over frames 10-25 (aimed_spread 2 fixed).
the_cage: NpcAI::ENTITY_CAGE 004878a0 (265.0). Changed
- Puke spokes: mode 0, HeightModifier -30, FallingSpeed +3, FallingAccel -.05: fall_velocity 0 kept, fall_acceleration -.05 -> .05. Roll / friction *.5 as boss_fidelity_1.
dark_one: NpcAI::ENTITY_DARK_ONE 0045d7d0 (267.0). Changed
- friction = .8, then MoveRandomlyBoss (007e6650: .5 * speedMult / friction): drift .625 -> .5.
- Charge: vx = +-22 set each tick before the physics' .8: flyby speed 22 -> 17.6 (both attacks); vy -= clamp(dy / 100, .4) / f: net, kept.
- Attack1: mode 9 (9, 12), HeightModifier -17, FallingSpeed 1.3: fall_velocity 1.3, height -17.
the_adversary: NpcAI::ENTITY_ADVERSARY 0045e050 (268.0). Changed
- friction = .85, then MoveRandomlyBoss: drift .588 -> .5.
- Left: Scream's darkness timeout 0xb4 = 180 (record 210); the Fly event's 1.3 push (undivided, net 1.1) is drawn as a pounce.
polycephalus: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (269.0). Changed
- Attack1 (not red): rand&1: mode 3 at 10 toward Isaac + 10 vel (not boosted): fall_velocity -3, fall_acceleration .1; else mode 8 at 10 (kept). Red: mode 9 (10, 6) kept. Dirt: FindGridPath(1) under *.8 (path convention).
mr_fred: NpcAI::ENTITY_MR_FRED 00486db0 (270.0). Changed
- Appear frame 5: mode 8 at 8 (eight fixed ways): ring 8 -> eight. Squirt frame 15: mode 6 at 10, Scale 2, flags 0x500 (kept). Velocity zeroed each tick (anchor).
gurgling_boss: NpcAI::ENTITY_MAGGOT 0052db50 (237.1). Changed
- Charge (state 8): friction *.9, then AddVelocity 004314b0 (divides by friction) of V1 = cardinal * 1.3, boss subtype 1 (yellow) x1.5: lane charge acceleration 1.17 -> 1.3, yellow 1.95 (colour patch lane.charge).
the_frail: NpcAI::ENTITY_PIN 00476860 (62.2). Skipped (matches)
- 4th segment volley: FireProjectiles mode 7 at 5 (no base); Attack1 FireBossProjectiles(1) lob.
turdling: NpcAI::ENTITY_MAGGOT 0052db50 (237.2). Skipped (matches)
- Charge 1.3 via 004314b0 under *.9; Stop *.85; no FireProjectiles.
Shared findings (group G2)
- FireProjectiles modes 2, 4 and 5 boost their shots (Entity_NPC::FireProjectiles 006cb2e0, after the -3 / .1
base block): each shot's FallingSpeed -1 more and velocity = .4 * npc velocity + 1.2 * velocity. That is exactly
Flash's ffmo boost (shared projectiles boost_speed_scale 1.2, boost_shooter_velocity .4, boost_rise 1). So a mode
2/4/5 shot should NOT be still; shots_still (boss_fidelity_3) has no per-shot opt-out. Proposal: shot
still: falseoverriding shots_still. Built as shot fieldboost. Modes: 0 one; 1 two at (.961, +-.276 Spread); 2 one plus .9 (.961, +-.276 S); 3 (1, 0), (.914, +-.407 S); 4 (.99, +-.139 S), .9 (.914, +-.407 S); 5 (1, 0), (.978, +-.208 S), (.914, +-.407 S). The base block is skipped when params[1].GridCollision (+0x98) is set or for modes 6-9. - Mode 9 never takes the -3 base: a ring's fall is Init's +-.1 plus FallingSpeedModifier, accel 0 + the modifier. Records that put -3 + modifier on a mode-9 ring were wrong (Gabriel, the Stain).
- FindGridPath 007e33c0 (main branch, its tail): friction *= .7, then v += dir * min(.1 d, 2) * speed / friction. With the AI's friction multiplied before the call this is the engine's path (keep .7, accel = speed); when the AI multiplies friction after the call (Rag Man, the Stain, Polycephalus: their *.8 sits at the routine's end) the engine accel is speed x those later multipliers.
- MoveRandomly 007e6300 pushes .5 * speedMult / friction; a friction multiplied after it scales the net (Forsaken).
uriel / fallen_uriel: NpcAI::ENTITY_URIEL 0051e0f0 (271.0 / 271.1). Changed
- Friction .8 set each tick; Float: v += unit(d) * 1.5 * speedMult, undivided: net 1.2 a tick. hover speed 1.5 -> 1.2.
- SpreadShot: FireProjectiles mode 5 at 8 along Isaac, HeightModifier -17, FallingSpeedModifier 1.3: fall -3 - 1 + 1.3, accel .1, boosted: boost, fall_velocity -1.7 (the boost takes 1 more), fall_acceleration .1, height -17.
- Left: the .4 of its own velocity in the boost; choice one_in 90 a tick (Rep: StateFrame crossing a multiple of 30, rand%3: the same mean).
gabriel / fallen_gabriel: NpcAI::ENTITY_URIEL 0051e0f0 (272.0 / 272.1). Changed
- v += unit(d) * 1.65 undivided under .8: hover 1.65 -> 1.32 (pass6_h4 took 1.65 as net).
- Ring: FireProjectiles mode 9 (10, 12), HeightModifier -17, FallingSpeedModifier 1.3: fall_velocity -1.7 -> [1.2, 1.4], height -17.
the_lamb: NpcAI::ENTITY_THE_LAMB 00483710, NpcHelper::the_lamb_pattern 004830e0 (273.0). Changed
- Friction 1 (entities2), never changed. Idle: v = aiFloat (2) * unit(target) set each tick; Swarm2 (state 10): v = .333 * 2 * unit; state 8 (Swarm): v = 0; dash (state 9): v = V1 (7.5, 10 or 12 on its axis) + 2 * aiFloat * unit.
- Patterns 0-9 (Swarm2Loop / HeadShoot2Loop), all FireProjectiles mode 9 with HeightModifier 5, Scale 1.8, FallingSpeedModifier -2, FallingAccelModifier -.06 (pattern 2: 0 / 0, flag 0x10000): 0 / 1 five at 12 every 3 ticks turning +-.02618 a tick; 2 three at 8 every 22; 3 ten at 9 every 22; 4-7 seven at 9 every 8 (homing .3, direction limit .4 toward Isaac; 5/6/7 turned by aim / random / sine); 8 eight at 9 every 13 (dot 0); 9 three at 9 every 10, homing .65.
- fall_velocity [-2.1, -1.9], fall_acceleration -.06, height 5 on all ten (both copies); pattern 2 height 5.
- Swarm (state 8): FireBossProjectiles(12, zero, 0) with flags 2 only: the record's fall_velocity -8 / fall_acceleration .5 dropped (the volley's own 5 - 24 rand / .32).
- HeadShoot: FireBossProjectiles(15, Isaac, 0), SMART, Scale 1.5.
- Left: hover 1 / .5 for the set velocity (terminal 2 matches), HeadShoot's aim 7 + 3.5 (record 9 / 3), Swarm's speed 7 and scale (record 8 / .8), the ring scale 1.8, the dash's +4 toward Isaac.
lamb_body: NpcAI::ENTITY_THE_LAMB 00483710 (273.10). Skipped (matches)
- Still; BodyAttack: FireBossProjectiles(12, zero, 0) and rand%5 Attack Flies at 10 on Shoot.
the_stain: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (401.0). Changed
- State 4 underground: FindGridPath(jittered target, 1.0) early in the tick; friction *.8 at LAB_0048adbd, the end of the routine: net push .8. path speed 1 -> .8. (Polycephalus 269 shares this: its record is group G1's.)
- Attack2 spirals: FireProjectiles mode 9, FallingSpeedModifier -2, FallingAccelModifier -.06: fall_velocity -5 -> [-2.1, -1.9] (both). (Polycephalus' Attack1 mode 3 at 10 takes the -3 / .1 base: G1.)
brownie: NpcAI::ENTITY_BROWNIE 0048c3b0 (402.0). Changed
- State 10: friction *.7 at its top, then on each Shoot frame v += 2.5 * heading * speedMult / friction: net 2.5. lunge 3.5714 -> 2.5 (attacks 0 and 8; rif/brownie divided where the engine needs the net).
- DashStart: the Dash push 2.5 / friction runs with the friction still at its base 1; then friction *.88 (local_101 = WasEventTriggered(Dash)): net 2.2. impulse 3.5714 -> 2.2. Before the event the friction is .7.
- Dashing / Spinning: friction *.88, then vel += (want - vel) * .2 (want = unit(v + .15 s (unit(to) + unit(v))) * s), the .88 applied by the physics after: v = .704 v + .176 want. The engine brakes first (.704 v + .2 want), so steer speed x .88: [5, 10] -> [4.4, 8.8] (Dashing, Spinning), [2.5, 5] -> [2.2, 4.4] (Spinning 11). Exact: want's blend is invariant under that scaling.
- Spin shots: mode 0, FallingSpeedModifier 4 (fall 1 kept), fall_acceleration .1; dash burst: mode 0 default params (fall -3 kept), fall_acceleration .1.
- Left: retention .7 for the whole DashStart (Rep .88 from the Dash on, 2 frames).
the_forsaken: NpcAI::ENTITY_FORSAKEN 0048f110 (403.0). Changed
- Every state but the blast falls to LAB_004905ca: MoveRandomlyBoss(0) (.5 / friction 1), then friction *.9: net .45. drift .5 -> .45.
- State 8: BlastStart / BlastEnd friction .7 * .9 = .63, Blasting .9 * .7 * .9 = .567, no movement. Added retention .63 / .567 / .63 (base attacks and the phase copy; were the behaviour's .9).
little_horn: NpcAI::ENTITY_LITTLE_HORN 00490680 (404.0). Changed
- Friction *.8 each tick before the state switch; no other friction in 404.0. Attack retention .6 dropped (all 30 attacks, so .8).
- Shoot (plain / black): v.y -= 3.5 * speedMult / friction after the .8: net 3.5 up as the Dark Ball (0, 4) leaves. Added impulse 3.5, lunge_random, lunge_ways 0, -1, lunge_from Shoot on attack 22.
- Left: the idle drift (target pos + v1 (1.2 rand, every 50 ticks) + repulsions, accel min(.8, |..|) / friction): flee .55 kept.
rag_man: NpcAI::ENTITY_RAG_MAN 00493200 (405.0). Changed
- State 4: FindGridPath(target, 1.05, 900), friction *.8 at LAB_00494d31 after it: path speed 1.05 -> .84.
- State 3 (headless): friction *.75, MoveRandomly(0) (.5 / .75), v *= 1.1, then the physics .75 (state 3 skips the final *.8): v = .825 v + .55. retention .75 -> .825, lunge .25 -> .55.
- Headless shot: mode 0 along its velocity at 5, SMART, FallingSpeedModifier -5, FallingAccelModifier .3: fall -8 kept, fall_acceleration .3 -> .4.
- Shooting1/3/5: mode 0 at 7 from pos +-16 x, SMART, HomingStrength 1, default fall: fall_velocity -3, fall_acceleration .1 on attacks 8-14.
- Black Revive: FireBossProjectiles(3, player, 10) (volley 1.32 / -5 matches).
- Left: the headless drift's 40-px hops (one random heading here), the +-16 launch offset.
rag_mega: NpcAI::ENTITY_RAG_MEGA 00495610 (409.0). Skipped (matches)
- Friction *.8, then v += (sign vx, vy < .1 ? -1 : 1) * .4 / friction: bounce .4 / .8. Subtype 2's *.9 after the push (net .36 / .72) has no record form. Left: the drift runs in every state (the attacks hold still).
big_horn: NpcAI::ENTITY_BIG_HORN 00453140 (411.0). Skipped (matches)
- Still, retention 0, no projectiles; every spawn attack has its release (Shoot, Spawn).
hush_skinless: (408.0). Skipped (matches)
- Dispatched to NpcHelper::default_case_lua_callback 00860ac0: no AI.
Fall base and the ffmo tail in Entity_NPC::FireProjectiles 006cb2e0 (checked for group G3)
- After spawning, unless params +0x98 is set (ctor 0043ef30 clears it; Delirium's inline params write 0 there too), every mode except 6-9 sets FallingSpeed -3 and FallingAccel .1. Modes 2, 4 and 5 then take one more step: FallingSpeed -1 and velocity = velocity * 1.2 + shooter velocity * .4, which is exactly the engine's enemy_projectile_boost (boost_rise 1, boost_speed_scale 1.2, boost_shooter_velocity .4). Then the params' Height / FallingSpeed / FallingAccel modifiers add.
- So a mode 0/1/3 shot is fall_velocity -3 + FallingSpeedModifier, fall_acceleration .1 + FallingAccelModifier; a mode 2/4/5 shot is speed x1.2, fall_velocity -4 + FallingSpeedModifier, fall_acceleration .1 + modifier, plus .4 of the shooter's velocity (lost under shots_still, which every Rebirth boss sets); modes 6-9 are FallingSpeedModifier alone.
- docs/fields entities.behavior shots[]/fall_acceleration says "mode 2 one less": it is modes 2, 4 and 5, with the x1.2.
- Built: shot field
boost(boosted under shots_still).
the_shell: NpcAI::ENTITY_TUFF_TWINS 0059a2d0 (19.3). Changed
- GutsAttack: FireProjectiles mode 3 at 8, FallingAccel -.075: fall_velocity -3, fall_acceleration .025 (were defaults).
- Head: heading push v1.x * speedMult / f after friction * .8 * .85: net v1.x (the Hollow diagonal stands in, as before).
tuff_twin: NpcAI::ENTITY_TUFF_TWINS 0059a2d0 (19.2). Skipped (matches)
- friction * .8 then MoveRandomlyAxisAligned(1.8 - .8 clamp((sum - 2) / 18)) (speed / f inside): net, roam 1 / 1.3 stand-in.
- Bare middle: FireBossProjectiles(2 + rand%3, Isaac (zero beyond 160), 10): no fall base.
the_pile: NpcAI::ENTITY_POLYCEPHALUS_the_pile 005983f0 (269.1). Changed
- Charge: friction * .8 at the top, then Entity::AddVelocity 004314b0 (v1 = 4 axis, divided by friction): net 4, terminal 20. ChargeBegin / ChargeLoop lunge 3.2 -> 4 (pass6 read it undivided).
- Dive bones: FireProjectiles mode 5 at 10, Variant 1: boost, fall_velocity -3, fall_acceleration .1.
- Idle MoveRandomlyAxisAligned(.3) after .8 and underground FindGridPath 2 match.
lil_blub: NpcAI::ENTITY_LIL_BLUB 00450da0 (901.0). Changed
- Every state's tail: GetClampedPositionImpl 40 (an axis set +-1 at the edge), friction * .8 (subtype 2 * .9 more), then (sign vx, vy < .1 ? -1 : 1) * .5 / friction: bounce .25 / .9 -> .5 / .8 (same 2.5 terminal per axis, quicker turn).
- Attack03 streams: FireProjectiles mode 0 at 10 (.8 + .2r), FallingAccel -.08 + .05 rand, Height -10: fall_velocity -3, fall_acceleration -.055 -> .045. Landing cardinal / diagonal are modes 6 / 7 (no base).
- Left: the streams' +-6 deg turn (turn_random 6), the hop's velocity = V2 / (f * .9).
rainmaker: NpcAI::ENTITY_RAINMAKER 00578a70 (902.0). Changed
- friction * .7 first every tick; FUN_005784e0(speed in xmm1) adds unit(target - pos) * speed * speedMult undivided: state 3 .5 (DAT_00baa2d0), Attack2Loop 1.3 (DAT_00baa4cc). Net .35 / .91 under .7: hover .5 -> .35, Attack2Loop seek .4 -> .91.
- Shots: Attack2End mode 8, Attack3 FireBossProjectiles, drops Game::Spawn(9, 4): no fall base.
reap_creep: NpcAI::ENTITY_REAP_CREEP 00579890 (900.0). Changed
- All its Entity_NPC::FireProjectiles calls push mode 0 (asm). The -3 was in the fall speeds, the .1 gravity was not: Attack1Fire and Attack2 kind 0 fall_acceleration .1; kind 1 .3 -> .4; Dash rocks (57ba5a, Height -400, FallingAccel 2, FallingSpeed rand * 10) fall_velocity [0, 10] -> [-3, 7], fall_acceleration 2 -> 2.1.
- Drive: velocity.x += dir * accel * 5 then friction * .6: net, as ported.
sisters_vis: NpcAI::ENTITY_SISTERS_VIS 00496fb0 (410.0). Changed
- LaserLoop shots (V1.x = rand%100 on LaserStart's end): FireProjectiles mode 1 (< 33, every 7 / 5 raging), 3 (< 66, 8 / 6), 4 (else, 9 / 7), at 6 (8 raging), default params, from pos + (+-30, -15). Modes 1 / 3: fall_velocity -3, fall_acceleration .1; mode 4: boost, fall_velocity -3, fall_acceleration .1 (all four copies: base, rage phase, form 2 and its phase).
- Roll: velocity = unit * 16 (24 raging) a tick, then the unconditional friction * .5 at the end: 8 / 12 a tick, as The Cage's convention already gives (lunge 16 on Roll, braked .5 on RollEnd, RollLoop retention 1). Matches.
the_visage: NpcAI::ENTITY_VISAGE 005a7b20 (903.0). Changed
- State 100 (chained): MoveRandomlyBoss(0) before friction * .8: .5 / 1 then * .8 = net .4: drift .5 -> .4. Freed (0x69) friction * .8 comes first (net .5); that phase is still here.
- Tether: .2 * min(d - V1.y, 15) / f toward the mask (net .2 * min(...)); here a hard 150 leash. Left.
visage_mask: FUN_005ab4d0, FUN_005aae10 (903.1). Skipped (left)
- State 100: unit(Isaac) * 1.5 undivided (or (1.5 + 2.5 rand) along a heading eased .05 toward Isaac for 30-89 ticks after a 1 in 40 once its cooldown passes -89), then FUN_005aae10: friction * .8 and min(d - heart's V1.y, 15) / f back toward the heart while the heart's state < 0x69. Net hover 1.2 / .8, not a path.
- Charge (0x66): + targetPosition * 7 a tick undivided under .8 (terminal 28; charge_speed 10 here); grid hit with |n . v| >= .5: ChargeHit, ShakeScreen 15, FireBossProjectiles(10 + rand&3) variant 9 Height -10.
- Not changed: without the mask-side tether pull these speeds would let the mask drag the heart at 6-28 px a tick.
Proposal: a leash pull on the partner side (
leash.pull {share, cap}applied to both ends).
delirium: NpcHelper::delirium_fire_pattern 004a8b70 (412.0). Changed (fall only)
- Every pattern: params (+0x98 = 0, +0x9c = -1) Height 5, FallingSpeed -3.2, FallingAccel -.06, Scale 1.5 + rand, HomingStrength 1, CurvingStrength .005, Acceleration 1.01, CircleAngle (byte/255) 2pi + table; flags per pattern; patterns 0-9 FireProjectiles mode 9 ((speed, count)): 0 20 at 2.5, 1 8 at 4, 2 6 at 4.5, 3 x12 streams of 1 at 4, 4 20 at 5, 6 / 7 14 at 5, 8 10 at 4, 9 14 at 4; pattern 10 mode 5 at unit(Isaac) * 4.
- Rings / spiral: fall_velocity -3.2, fall_acceleration -.06, offset [0, 5]. Fan (attack 8 = pattern 10): speed 8 -> 4 with boost, spread .25 -> .2094, fall_velocity -6.2, fall_acceleration .04, offset [0, 5].
- Left: the record's ring table is not the routine's (counts, speeds, Acceleration 1.01, scale, flags); its single aimed shot and boss volley have no pattern there. Needs a re-port of delirium_fire_pattern.
mega_satan_2: NpcAI::ENTITY_MEGA_SATAN 004c8090 (275.0). Changed (fall only)
- streamProjectileParams: HeightModifier 5, FallingSpeedModifier -2, FallingAccel -.06 / -.085; FireProjectiles mode 9, which skips the -3 / .1 base: fall_velocity -5 -> -2 on all 114 rings (offset [0, 5] already the height).
- The head (mega_satan 274) has the same -5 on its 52 rings: should be -2 too (not in this group).
the_matriarch: NpcAI::ENTITY_MATRIARCH 004c59d0 (413.0). Skipped (matches, left)
- Idle friction * .5: retention .5 matches; no push.
- Left: the hop sets velocity unit * 6 at Jump (45 deg off when a free spot needs it) with no friction until Land (leap 10 here); the shot is FireProjectiles mode 0 at 10 (+-45 deg of her facing), Scale 2, flags 0x500 (ACID_RED | RED_CREEP): fall -3, gravity .1; the green lob stands in.
wormwood: NpcAI::ENTITY_WORMWOOD_main 005af800 (62.3). Skipped (matches)
- No FireProjectiles at all (its spit: FireBossProjectiles(13, Isaac + .02 d vel)); frictions .96 / .95 / .85 / .4 by state live in the pin controller code, not data.
FireProjectiles' fall base and modes 2/4/5 (Entity_NPC::FireProjectiles 006cb2e0, re-read)
- Unless params +0x98 (params[1].GridCollision) is set, modes 0-5 set every shot's FallingSpeed -3 and FallingAccel .1, then modes 2, 4 and 5 take one more off the fall (-4) and set each shot's velocity to 1.2 x its own + .4 x the shooter's velocity (006cca4b..). Then HeightModifier, FallingSpeedModifier, FallingAccelModifier are added. Modes 6-9 skip both. So a mode 4/5 fan leaves 20% faster than its speed argument: the Flash ffmo boost, without its rise.
- Entity_Projectile::Update 00653070: f = .9 f + .1 + accel (accel = +0x418); the engine's extra fall_acceleration is that accel itself. In a side view it also adds accel to vel.y when accel >= .001 (the engine adds .1 + extra there).
siren: NpcAI::ENTITY_SIREN_main 0058ec70 (904.0). Changed
- Friction *.8 every tick before the state switch; idle MoveRandomlyBoss (.5 / f): drift .6 -> .5.
- Slash (11) and cluster slash (5): from Shoot (frame 18) 4 ticks of v += dir * 6 * speedMult undivided: lunge 6 -> 4.8, lunge_end Shoot -> 22 (from Shoot to Shoot never lunged); after, friction x(1.1 - .01 (n - 4)) floored 1 (left).
- Slash shots: FireProjectiles mode 5 at 15, Spread .7, from pos + 10 dir: fan (1, 0), (.978, +-.146), (.914, +-.285) at 15 with boost, fall -3 / .1, rim 10 (was count 5 spread .2 rad at 15).
- Scream rings: mode 0 at 5, FallingSpeed -.1, Accel -.14: -3.1 / -.04. Left: their 16-tick period (Fire every 12).
the_heretic: NpcAI::ENTITY_HERETIC 004b43c0 (905.0). Changed
- Friction *.8 before the switch; idle MoveRandomlyBoss: drift .6 -> .5.
- Passes (states 9-13): every push v += x * speedMult undivided: exit 2.4 t^2 + .1, charge 6 with .3 steer, bite 6.5 then .3; FUN_004b3d50 sets the entry velocity +-10. All x.8 net: gain 1.92, base .08, entry 8, speed 4.8, steer .24, bite 5.2, drift .24.
- Lob: mode 0 with FallingSpeed -60 / Accel 1.5 (so -63 / 1.6) then solved to land on Isaac; left as before.
hornfel / hornfel_decoy: Entity_NPC::Hornfel_UpdateAI 004b92e0 (906.0 / 906.1). Skipped (matches)
- On foot friction *.8, FindGridPath(1.08) to its door (path convention); ChargeFinish lob FireBossProjectiles (no base). Left: off the path it heads on 1.2 undivided (.96 net).
great_gideon: NpcAI::ENTITY_GIDEON 004b1ee0 (907.0). Changed
- Attack1: the two side shots at +-20 deg are mode 0 at 10, default params: fall -3 / .1 added. Big one FireBossProjectiles, fall set 0 / 0 (unchanged).
baby_plum: NpcAI::ENTITY_BABY_PLUM 0043f0c0 (908.0). Changed
- Attack1 (friction *.8): v += TargetPosition (4, x.93 a tick) undivided: lunge 4 -> 3.2.
- Attack3Loop (friction set .98): v += heading * .4 undivided: lunge .4 -> .392.
- Spiral (Attack1) and back spray (Attack3Loop): mode 0, FallingAccel -.099: fall 0 / -.099 -> -3 / .001. Attack2's mode 9 ring and mode 8 eight keep -.099 (no base).
the_scourge: NpcAI::ENTITY_SCOURGE_main 00587aa0 (909.0). Changed
- Idle (3): friction *.8, v += clamp(.1 (spot - pos), 1) * 1.2 undivided: drift .8 / .85 -> .96 / .8.
- States 6-11 (hover, traps, slices, broccoli): friction *.6: attack retention .6 on every attack (inherited .85).
- TrapLoop ring mode 9, accel -.12: matches. Hover streams are SpawnEx'd projectiles (no FireProjectiles base). Left: the hover's 1.2 seek of its spot, the trap's upward recoil min(delay, 4).
rotgut: NpcAI::ENTITY_ROTGUT_face 0057bec0 (911.0). Changed
- Attack1 patterns (8-rings, cross, fans): mode 0, FallingAccel -.12: fall -3 / -.02 added.
- Attack2 puke: mode 0, FallingSpeed -60, Accel 2: -20 / .8 -> -63 / 2.1 (height -8 rand left).
- Munch cough (i1 1): 40 mode-0 shots at 20 rand, FallingSpeed -4 rand, Accel .2: -4 / .4 -> [-7, -3] / .3.
- Left: the bone Munch (i1 0) is mode 9 rings (18 at 5 scale 1.5, then 9 at 10, accel -.12) and 15 spawned shots at 15 rand (fall -22 - 8 rand, accel -.06 - .03 rand), not boss volleys.
rotgut_maggot: NpcAI::ENTITY_ROTGUT_maggot 0057e4a0 (911.1). Skipped (matches)
- Lobs and bubbles FireBossProjectiles with fall set after (0 / .72, 0 / -.1); the side view's .62 + engine .1 = .72.
rotgut_heart: NpcAI::ENTITY_ROTGUT 00581730, rotgut_fire_projectiles 00581430 (911.2). Changed
- Beats: FireBossProjectiles with _fallingAccel set -.1: level flight (.9 f + .1 - .1). fall_acceleration -.2 -> -.1 (monster-fidelity-9 took -.1 as the net and made them climb).
min_min: NpcAI::ENTITY_MIN_MIN 004cf690 (913.0). Skipped (matches)
- Friction *.7, FindGridPath(.6) (.5 to a random spot when few Willos: left). No shots of her own.
clog: NpcAI::ENTITY_CLOG 004a12f0 (914.0). Changed
- Bullet hell: mode 9 (no base), FallingAccel -.1 (slow, 4) / -.05 (fast, 6): fall_acceleration -.1 / -.05 added.
Proposals
- Modes 2/4/5 boost: a shot field to undo shots_still per shot (or
boost[1.2, .4] without the rise), so mode 4/5 fans carry .4 of the shooter's velocity. Siren's slash uses speed x1.2 meanwhile. Applies to every record with a mode 2/4/5 fan (monsters too: check Ultra Greed's 3/4/5 fans, Mama Gurdy's mode-5 waves). - Side view: Rep adds only accel (+0x418) to vel.y; the engine adds the shared .1 + extra, so side-view records carry Rep - .1 (rotgut_maggot's .62) unlike the normal-view mapping (extra = +0x418).
FireProjectiles fall base and boost (Entity_NPC::FireProjectiles 006cb2e0, rechecked for group G5)
- Unless params +0x98 (GridCollision slot of params[1]) is set and the mode is 0-5: every shot's FallingSpeed = -3 (0xc0400000) and FallingAccel = .1 (0x3dcccccd); then the params' Height / FallingSpeed / FallingAccel modifiers are added. Modes 6-9 keep Entity_Projectile::Init's fall.
- Modes 2, 4 and 5 also take FallingSpeed -1 more and velocity = 1.2 v + .4 x the shooter's velocity: Flash's ffmo boost, in Repentance too for those three spreads. shots_still (set on every Rebirth boss) drops that for them.
singe: NpcAI::ENTITY_SINGE_body 0058aed0 (915.0). Changed
- SuperFart (state 0xb): v += -2 x heading x speedMult undivided each tick, then the post-switch friction *.6: net -1.2. lunge -2 -> -1.2 (base attack and the phase copy).
- Its fire (IsFrame(2), rand%3 != 0): FireProjectiles mode 0 at 8 + 2 rand, Variant 2, HIT_ENEMIES, FallingSpeedModifier rand*2 - 1, FallingAccelModifier -.05: fall_velocity [-4, -2], fall_acceleration .05.
- Walk FindGridPath .8 under *.8: matches. Left: the shot speed 8-10 (record 9).
bumbino: NpcAI::ENTITY_BUMBINO 00499de0 (916.0). Changed
- Calls only Entity::AddVelocity 004314b0 (divided by friction). Charge (state 10): friction *.7, then AddVelocity (0, 10) down / (0, -8) up each tick (twice that on Shoot): net 10 / 8 under .7, terminals 33.3 / 26.7. charge_speed 21 (pass2's undivided reading, 23.3 / 18.7) -> 30.
- Walk (state 4): FindGridPath .8 every tick; friction *.4 on each Walk Step event (frames 9, 21 of 24) and the 2 ticks after: per tick .4^(3/12) = .795: chase .8 / .8 matches.
- Left: Swipe's v1 (clamp(dx/20, 4..12), x.75 a tick, net under .8) as leap 6; the Dizzy rocks (mode 0 from height -400, accel 2) as bolts.
colostomia: NpcAI::ENTITY_COLOSTOMIA 004a3040 (917.0). Changed
- Charge (state 8) from ChargeStart's Shoot (WasEventTriggered): v += 2 x (axis + perp x clamp(.002 x offset, +-.2)) undivided, tail friction *.95 (local_180; .65 otherwise): net 1.9, terminal 38. ChargeLoop charge_speed 12 / retention 1 -> charge_ramp {1.9, 0, 1.9}, retention .95.
- Every 4 ticks two shots: FireProjectiles mode 0 at 6 + 2 rand, +-110 deg off its velocity, Variant 3, Acceleration .96, FallingSpeedModifier -2 rand, FallingAccelModifier -.093: fall_velocity [-5, -3], fall_acceleration .007.
- Dive / Pop: mode 8 at 10 (no base). Left: the steer, the shots' speed spread and .96 decay.
turdlet: NpcAI::ENTITY_TURDLET 0059c830 (918.0). Skipped (matches)
- Head: friction *.85, v += 1.2 x heading / friction: thrust 1.2 / .85. Flung: Resized 12, friction *.98.
horny_boys: NpcAI::ENTITY_HORNY_BOYS 004bd2a0 (920.0). Changed
- Idle (state 3): friction *.8, then PathFinder::MoveRandomlyBoss 007e6650 (.5 x speedMult / friction): net .5. drift .6 -> .5.
- Dance (state 0xb): every beat FallingAccelModifier -.05; beats 0/2/17/19 mode 6 at 10, 1/8/18 mode 7, 3/11 mode 8, 4/15 mode 9 (12 at 10, CircleAngle 15 deg), 5 three rings of 8, 6/7 rings with flags 0x40000 / 0x80000, 9/10 four mode-3 fans, 12 four mode-5 fans, 13 ring 6 at 10, 14 mode 8 at 8, 16 ring 12 at 8. The record's one pattern per clip (modes 6-9): fall_acceleration -.05 on them.
- Left: the per-beat patterns (mode 3 / 5 fans), the dance's friction .7 and its pull clamp((room clamp - pos) x .01, 3) undivided.
clutch: NpcAI::ENTITY_CLUTCH 00573030 (921.0). Changed
- States 3 / 4: MoveRandomlyBoss first (friction still 1), friction *.9 after it: net .5 x .9. drift .5 -> .45.
- Quarter rings: FireProjectiles mode 9 (no base): match.
dark_esau / darker_esau: NpcAI::ENTITY_DARK_ESAU 005542e0 (866.0, 866.0.1). Changed
- Stalk (state 3, idle playing): friction *.8 *.8, then v += resized(goal - him, 3 x clamp(|goal - him| / 200)) / friction, the goal 40 off Isaac toward him: hover 2 -> 3, speed_near {from 40, span 200}.
- Charge (state 8/9 before the dash loop): friction *.8, v += resized(him - target, .8) undivided: lunge -.8 -> -.64.
- Dash (looping clip): friction *.8, v += 6 x dir undivided: lunge 6 -> 4.8 (both dashes). Appear ring: mode 9, FallingAccel .3: matches.
- Left: Charge's AddVelocity 004314b0 pull resized(.01 (target - pos), .2) when it has a _target.
mothers_shadow: NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0 (867.0). Changed
- Attack (state 8): friction *.8 throughout; Shoot..ShootEnd v += 6 x dir undivided: lunge 6 -> 4.8, retention .64 -> .8 (.64 is the chase's two *.8s). Chase 6 x clamp(d/600) / friction beyond 80: matches.
mother_2: 0056cd60 (912.10). Changed
- Spin (state 8, friction set .7): arms of 4 shots, FireProjectiles mode 0 at 4 (2.8 every 12th tick), FallingAccelModifier -.095, Acceleration 1.03: fall_velocity -3, fall_acceleration .005.
- Left: idle FindGridPath(.2) at friction 1 (hover .08 / .9); the charge (state 6: 4.5 a tick undivided under .85, net 3.83, off screen) as charge_speed 14; the inhale's FireBossProjectiles ball at 14 (record 9); the swipe lunge 10.
mother_ball / mother_ball_medium / mother_ball_small: NpcAI::ENTITY_MOTHER_ball 00566810 (912.100.0/1/2). Changed
- friction *.85 (small: x (1 - .3 clamp(age / 60)) before), then v += targetPosition (heading 2 big, 1 others) undivided: net .85 x heading (big 1.7, terminal 11.3; others .85). bounce_heading (|launch| x share as the net push) .125 -> .10625 (16 x .10625 = 1.7), .1 -> .085 (10 x .085 = .85); speed 1.414 -> 1.202, .707 -> .601.
- Top-wall rings: mode 9, FallingAccel -.08 / 0: match.
mother_worm (00565e00), mother_arm (912.0 subtypes 2/3). Skipped (nothing to fix)
- The worm lays its own shots (Game::SpawnEx 9), no FireProjectiles; the arm is a still hurt_link hitbox.