# Group a1 notes (pass 7, 2026-10-25) Push-order audit for isaac-classic branch rif/monster-fidelity-10. Engine order (scripted_enemy_think): the playing pose's or the behaviour's retention brakes first. Then come the attack's pushes (impulse, lunge, seek, charge_ramp, along_push). An attack's move_retention / lunge_brake multiplies after its lunge (no Rebirth monster record uses move_retention). So a Rep push divided by the friction at the call, with every friction multiplier before it, is the engine push x. An undivided push (v += x, then friction f) is x * f. A push divided by a friction that is multiplied again after it is x * (the later multipliers). Two AddVelocity functions exist: **Entity::AddVelocity 00431450** (v += x * speedMult, undivided) and **004314b0** (the Lua binding: v += x * speedMult / friction). Check `find.sh callees` for which one an AI calls. Knight, Maggot, Faceless, Fly, Chub, Bumbino, Dogma and the_pile call 004314b0. Vis Fatty, Peeper Fatty and Ultra Greed call 00431450. Engine finding (MF/engine_a1.md #1): an impulse on frame 1 (no lunge_from / release) never fires, because the clip is on frame 2 when move() first runs. end_below then cuts the Dip family's hop on its first tick. ## dip: NpcAI::ENTITY_DIP 00534860 (217.0). Changed - Hop: v += RandomVector * (5 + 5 rand) / f with f the base 1, then friction *= .8 at LAB_00535017, after the push. The hop tick moves .8 of it. State 4 is .95 only. - impulse / lunge_spread 4.21 / 4.21 -> **4 / 4**. Pass 5 assumed a brake after the push. ## corn: NpcAI::ENTITY_DIP 00534860 (217.1). Changed - Variant 1 doubles the hop: (10 + 10 rand) / f, then *.8. impulse / lunge_spread 10 / 10 -> **8 / 8**. ## brownie_corn: NpcAI::ENTITY_DIP 00534860 (217.2). Changed - Not doubled (outside fear only variant 1 is). impulse / lunge_spread 5 / 5 -> **4 / 4**. ## big_corn: NpcAI::ENTITY_DIP 00534860 (217.3). Skipped (matches) - 4 / 4 (pass7_i6) is the net .8 * (5 + 5 rand). ## drip: NpcAI::ENTITY_DIP 00534860 (0x366 = 870.0). Changed - (5 + 3 rand) / f at the base friction, then *.9 after the push. impulse / lunge_spread 5 / 3 -> **4.5 / 2.7**. pass7_i2 kept 5 / 3. ## squirt / dank_squirt: NpcAI::ENTITY_SQUIRT 00535280 (220.0 / 220.1). Changed - friction *.95 runs first. Slide's v += unit * 20 / f is net 20. The slide's v += Resized(v, .5) / f (while V1.x < 10: 9 ticks) is net .5 along its own velocity. - impulse 21.05 -> **20**. Slide lunge .526 (9 ticks, along the aim) -> **along_push {.5, 9}**. ## gurgling: NpcAI::ENTITY_MAGGOT 0052db50 (0xed = 237.0). Changed - State 8: friction *.9, then AddVelocity **004314b0** of v1 = cardinal * 1.3: net 1.3 under .9. lunge 1.17 -> **1.3**. ## drowned_charger: NpcAI::ENTITY_MAGGOT 0052db50 (23.1). Changed - friction *.8, then AddVelocity 004314b0 of axis * 1.3 * .9: net .8 v + 1.17, terminal 5.85 (pass 4 said 4.68). - charge_speed 4.68 -> **charge_ramp {from 1.17, step 0, cap 1.17}** under retention **.8**: it builds from walking speed as Rep does. ## carrion_princess (23.3) / dank_charger (23.2): NpcAI::ENTITY_MAGGOT 0052db50. Skipped (matches) - 23.3: lunge 1.3 under .8 is the net AddVelocity push. - 23.2: friction set 1, v = .2 v + .8 v1 with v1 = 18.2 decaying (1 - .06 * clamp((sf - 10) / 70)). charge_speed 18.2 with charge_decay {10, 70, .06, least 2} is the same. ## poison_mind: NpcAI::ENTITY_BRAIN 00512110 (0x12d = 301.0). Changed - Charge: friction *.8, then v += unit / f: net 1, terminal 5. lunge 1.25 -> **1**. The walk (velocity *.8 then +.5 diagonal, physics friction 1) matches bounce .3536 / .8. ## slog: NpcAI::ENTITY_GUTS 005153b0 (40.2). Changed - friction *.6, then v += unit(target - pos) * 2.45 * aiFloat / f: net 2.45 * aiFloat. ChargeLoop sets aiFloat 1.8: .6 v + 4.41, terminal 11.03. Its walk terminal is 6.1. charge_speed 4.41 was slower than its walk. - -> **charge_ramp {from 4.41, step 0, cap 4.41}** under **.6**. - Left: the wind-up's aiFloat - .1 a tick. ## hardy (+ hardy_2, hardy_3): NpcAI::ENTITY_HARDY 00500f70 (826.0). Changed - friction *.95 first. Attack's Slide v += unit * 20 / f is net 20 (matches). - Slide (state 4): v += unit(v) * .7 / f a tick (while I2 < 1 or I1 < 30): net .7, terminal 14. The Slide attacks had no push: added **along_push {.7, 100000}** to Slide1/2/3. ## quakey: NpcAI::ENTITY_QUAKEY 004fd540 (823.0). Changed - Jump event: v += targetPosition (unit * 12), undivided. The target is cleared, so that tick's friction is .9: net 10.8. impulse 12 -> **10.8** in both attacks. The .6 before Jump and from Shoot (lunge_brake .667) matches. ## kineti: NpcAI::ENTITY_POLTY 0055d230 (816.1). Changed - Moves with min(d, .7) * unit undivided, then friction *.95: net .665. wander .5 / .9 -> **.665 / .95**. PickupIdle seek .7 -> **.665**. ## polty: NpcAI::ENTITY_POLTY 0055d230 (816.0). Changed - Same push as kineti. Phase wander .7 -> **.665**, PickupIdle seek .7 -> **.665**. pass7_i3 took the .7 as net. ## poot_mine: NpcAI::ENTITY_POOT_MINE 00562290 (875.0). Changed - friction *.7 first, then v += unit * V1.y / f with V1.y = 4, *.8 a tick: net 4 * .8^n. - lunge -2 -> **-4** with **lunge_decay .8** (10 ticks kept). ## bloodfly: NpcAI::ENTITY_BULB 0054bca0 (61.6). Changed - The dash adds 8 * V1 undivided, then friction *.85: net 6.8. The cap 20 comes before the friction (17). lunge 8 -> **6.8**. ## blood_puppy_802_0 / _1: NpcAI::ENTITY_BLOOD_PUPPY 00552d30 (802.0 / 802.1). Changed - The dash adds v1 * axis undivided (v1 from 5, easing .1 a tick to 3), then *.85: net .85 v1. lunge 4 -> **3.4**. ## unborn: NpcAI::ENTITY_UNBORN 004dca90 (860.0). Changed - From Effect, friction = .97 (set) and v += .29 * (unit + .3 Isaac vel) undivided, cap 12. lunge .29 -> **.2813**. ## baby_begotten: NpcAI::ENTITY_BABY_BEGOTTEN 004e8380 (883.0). Changed - After Shoot: friction *= .9, v -= dir / f, then goto 004e872b past the .7. That is retention .9 and net -1. pass7_i6 applied .7 on top. - retention .63 -> **.9**, lunge -.7 -> **-1**, lunge_brake 1.111 -> **.7778** (.7 before Shoot). ## floating_knight: NpcAI::ENTITY_KNIGHT 005135d0 (254.0). Changed - The charge call at 00514083 is AddVelocity **004314b0** (divides by friction), right after friction *= [EBP-0x60] (.8). The net push is the unit axis: charge acceleration .8 -> **1**. pass7_i5's .8 assumed 00431450. ## black_knight / bone_knight / loose_knight / brainless_knight: NpcAI::ENTITY_KNIGHT 005135d0. Skipped (matches) - Same call. targetPosition * .7 for 41.4, + .07 a tick while |target| < 4: acceleration .7, ramp .07 / cap 4. - The others push 1. Brainless's friction is .88. ## mr_mine: NpcAI::ENTITY_MR_MINE 005492c0 (311.0). Changed (partly) - Lunge: v = 14 * unit / f (base friction): impulse 14 matches. - State 8: v += .7 * unit(home - pos) / f, toward its pit, not Isaac. Then friction *= .9 + .0028 * cooldown (30 counting down: .984 -> .9), after the push: about -.68 along the lunge under about .97. - lunge .7 -> **-.68**, retention .95 -> **.97**. - Left: it ends within 5 of home. The impulse on frame 1 fires only on repeats (engine #1). ## one_tooth (234.0), goat / black_goat (891.0/1), gyro / grilled_gyro (824.0/1), fistuloid (308.0), cohort (857.0), flagellant (834.2). Skipped (matches) - One Tooth: lerp v += (3u - v) * .1 and dash 3.5 / f under .6: hover .3 / .9 and lunge 3.5 match. - Goat 004f2c20: case 6 friction *.7, v += v1 * 10 undivided: lunge 7 / .7 matches. - Gyro 004ff620: walk += 1.2 heading undivided under .8 (.96). Dash += .9 (1 for 824.1) undivided under .96: .864 / .96 match. - Fistuloid 00545f70: friction set .9; pushes .7 and recoil 1.2 undivided: .63 and -1.08 match. - Cohort: v = .9 v + 1.5 (pass 6 read), not re-decompiled. Flagellant: FindGridPath(1.9) under .8, path convention. ## Pass-7 records rechecked for the conversion. Skipped (matches) - level_2_charger 1.3 / .8, strider 5.7, whipper / snapper 5 net, needle / pasty 4.8 + 3.2, candler 12.8 (velocity set then .64), splurt 20 + along_push .5, wrinkly_baby 3.1875 (undivided * .85), blister 7.2 (set * .9), swarm_spider (set, airborne). All follow the brake-then-push order. ## constant_stone_shooter_202_0_1 / _2 / _3: NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320. Changed - Subtype 0 left, 1 up, 2 right, 3 down (v1). The shot leaves from the Bullet null / .65 with HeightModifier 13 and FallingAccelModifier -.101. - Bullet null: ShootUp (0, 0), ShootRight (13, 0), ShootDown (0, 0). offset [0, 0] / [19, 0] / [0, 0] -> **[0, 13] / [20, 13] / [0, 13]**, plus **fall_acceleration -.101** on all three. - Side note (not changed): after a shot the idle names are subtype 0 IdleDown, 1 IdleUp, 2 IdleLeft, 3 IdleRight. ## brimstone_head_203_0_1 / _2 / _3: NpcAI::ENTITY_STONEHEAD 00520c60. Changed (_1, _2) - ShootAngle from LaserPos / .65. LaserPos: ShootUp (0, -10), ShootRight (14, -4), ShootDown (0, 0). - Beam offset [0, -15] -> **[0, -15.4]**, [21, -6] -> **[21.5, -6.2]**. [0, 0] matches. ## shopkeeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.0). Changed (restored) - The pass-6 loot (pass6_h1) was missing from the record: thirds only. - Restored random_choice weights: Steam Sale 100 and Head of the Keeper 99 (item_give pedestals), then nothing, two coins and two spiders at 3267 each. - special_shopkeeper (17.3) also lacks its pass-6 loot (still 33/33/34 nickel / sticky nickel / nothing). Not restored: it needs a Greed spawn and a penny-trinket pick.