From 7ea12c236e4e32987905e034b7e5c114cea3a1c4 Mon Sep 17 00:00:00 2001 From: shweet Date: Sun, 25 Oct 2026 21:38:17 -0400 Subject: [PATCH] notes: pass 7 monster fidelity (engine leftovers, groups i1-i7, push-order audit a1) --- notes/README.md | 45 ++++++++++ notes/entities/pass7_a1.md | 143 ++++++++++++++++++++++++++++++++ notes/entities/pass7_engine.md | 88 ++++++++++++++++++++ notes/entities/pass7_i1.md | 112 +++++++++++++++++++++++++ notes/entities/pass7_i2.md | 111 +++++++++++++++++++++++++ notes/entities/pass7_i3.md | 120 +++++++++++++++++++++++++++ notes/entities/pass7_i4.md | 139 +++++++++++++++++++++++++++++++ notes/entities/pass7_i5.md | 109 ++++++++++++++++++++++++ notes/entities/pass7_i6.md | 125 ++++++++++++++++++++++++++++ notes/entities/pass7_i7.md | 146 +++++++++++++++++++++++++++++++++ 10 files changed, 1138 insertions(+) create mode 100644 notes/entities/pass7_a1.md create mode 100644 notes/entities/pass7_engine.md create mode 100644 notes/entities/pass7_i1.md create mode 100644 notes/entities/pass7_i2.md create mode 100644 notes/entities/pass7_i3.md create mode 100644 notes/entities/pass7_i4.md create mode 100644 notes/entities/pass7_i5.md create mode 100644 notes/entities/pass7_i6.md create mode 100644 notes/entities/pass7_i7.md diff --git a/notes/README.md b/notes/README.md index ef18278..0e6dc16 100644 --- a/notes/README.md +++ b/notes/README.md @@ -63,6 +63,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | abyss locusts | 0x61da10 0x72b230 | abyss locusts (familiar 3.231; Entity_Familiar::Update 0x61da10; locusts.xml loader 0x72b230) | [characters/characters_9.md](characters/characters_9.md) | | abyss | 0x5c3df7 | abyss (UseActiveItem 0x2c2, `case 99:` in the dump, 0x5c3df7) | [items/items_verify.md](items/items_verify.md) | | aces | 0x7b25a3 | aces (UseCard 0x1b-0x1e, 0x7b25a3) | [items/items_verify.md](items/items_verify.md) | +| adult_leech | 0x4d9000 | adult_leech (004d9000). charge_ramp within 500 (push grows only within 500 along x) and wall_next_speed 10 (the ring | [entities/pass7_engine.md](entities/pass7_engine.md) | | adult_leech | 0x4d9000 | adult_leech: NpcAI::ENTITY_ADULT_LEECH 004d9000 (854.0). Changed | [entities/pass6_h2.md](entities/pass6_h2.md) | | angelic_baby_small | 0x52ae30 | angelic_baby_small: NpcAI::ENTITY_BABY 0052ae30 (38.1.1). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | Angry Fly | 0x633500 | Angry Fly (Entity_Familiar::update_angry_fly 0x633500, 3.118) | [items/items_sweep_14.md](items/items_sweep_14.md) | @@ -71,6 +72,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | army_fly | 0x54ad80 | army_fly: NpcAI::ENTITY_ARMYFLY 0054ad80 (868.0). Changed | [entities/pass7_i2.md](entities/pass7_i2.md) | | army_fly | 0x54ad80 | army_fly: NpcAI::ENTITY_ARMYFLY 0x54ad80 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | baby_begotten | 0x4e8380 | baby_begotten: ENTITY_BABY_BEGOTTEN 004e8380. Changed | [entities/pass3_a.md](entities/pass3_a.md) | +| baby_begotten | 0x4e8380 | baby_begotten: NpcAI::ENTITY_BABY_BEGOTTEN 004e8380 (883.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | baby_begotten | 0x4e8380 | baby_begotten: NpcAI::ENTITY_BABY_BEGOTTEN 004e8380 (883.0). Changed | [entities/pass7_i6.md](entities/pass7_i6.md) | | baby_long_legs | 0x531ab0 | baby_long_legs: ENTITY_BABY_LONG_LEGS 00531ab0 (206.0). Changed | [entities/pass4_00.md](entities/pass4_00.md) | | baby_plum | 0x43f0c0 | baby_plum: NpcAI::ENTITY_BABY_PLUM 0043f0c0 (908.0). Changed (pass 4 skipped it as matching) | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | @@ -83,6 +85,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | big_bony | 0x5041d0 | big_bony (NpcAI::ENTITY_BIG_BONY 005041d0) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | big_corn | 0x534860 | big_corn (NpcAI::ENTITY_DIP 00534860, 217.3) | [entities/pass3_d.md](entities/pass3_d.md) | | big_corn | 0x534860 | big_corn: NpcAI::ENTITY_DIP 00534860 (217.3). Changed | [entities/pass7_i6.md](entities/pass7_i6.md) | +| big_corn | 0x534860 | big_corn: NpcAI::ENTITY_DIP 00534860 (217.3). Skipped (matches) | [entities/pass7_a1.md](entities/pass7_a1.md) | | big_horn + holes | 0x453140 | big_horn + holes (NpcAI::ENTITY_BIG_HORN 00453140; variant 1 = holes, subtype = role) | [entities/pass2_bosses4.md](entities/pass2_bosses4.md) | | big_horn | 0x453140 | big_horn: NpcAI::ENTITY_BIG_HORN 00453140, an empty hole (subtype 0, state 3) | [entities/boss_approx_2.md](entities/boss_approx_2.md) | | bishop | 0x4e7ea0 | bishop: NpcAI::ENTITY_BISHOP 004e7ea0 (805.0). Skipped (matches) | [entities/pass7_i3.md](entities/pass7_i3.md) | @@ -93,6 +96,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | black_globins_body | 0x50af90 | black_globins_body: NpcAI::ENTITY_GUSHER 0050af90 (280.0). Changed | [entities/pass7_i4.md](entities/pass7_i4.md) | | black_globins_head | 0x512110 | black_globins_head: ENTITY_BRAIN 00512110 (279). Changed | [entities/pass4_02.md](entities/pass4_02.md) | | black_goat | 0x4f2c20 | black_goat: NpcAI::ENTITY_GOAT 004f2c20 (891.1). Changed (brought in line with goat, pass3_b, plus its own volleys/laser) | [entities/pass5_g6.md](entities/pass5_g6.md) | +| black_knight / bone_knight / loose_knight / brainless_knight | 0x5135d0 | black_knight / bone_knight / loose_knight / brainless_knight: NpcAI::ENTITY_KNIGHT 005135d0. Skipped (matches) | [entities/pass7_a1.md](entities/pass7_a1.md) | | black_knight | 0x5135d0 | black_knight: NpcAI::ENTITY_KNIGHT 005135d0 (41.4) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | black_maw | 0x53b2f0 | black_maw: ENTITY_BLACK_MAW 0053b2f0. Changed (partly) | [entities/pass4_01.md](entities/pass4_01.md) | | blaster | 0x4fcc20 | blaster (821) — NpcAI::ENTITY_BLASTER 004fcc20 | [entities/pass2_misc3.md](entities/pass2_misc3.md) | @@ -102,8 +106,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | bloaty | 0x563da0 | bloaty: NpcAI::ENTITY_BLOATY 00563da0 | [entities/pass3_c.md](entities/pass3_c.md) | | blood_cultist | 0x4ed840 | blood_cultist (NpcAI::ENTITY_CULTIST 004ed840, 885.1) | [entities/pass3_d.md](entities/pass3_d.md) | | blood_cultist | 0x4ed840 | blood_cultist: NpcAI::ENTITY_CULTIST 004ed840 (885.1) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | +| blood_puppy_802_0 / _1 | 0x552d30 | blood_puppy_802_0 / _1: NpcAI::ENTITY_BLOOD_PUPPY 00552d30 (802.0 / 802.1). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | blood_puppy_802_0 / _802_1 | 0x552d30 | blood_puppy_802_0 / _802_1: NpcAI::ENTITY_BLOOD_PUPPY 00552d30 (802.0/1). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | bloodfly | 0x54bca0 0x506bd0 | bloodfly: NpcAI::ENTITY_BULB 0054bca0 (61.6, via ENTITY_FLY 00506bd0). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | +| bloodfly | 0x54bca0 | bloodfly: NpcAI::ENTITY_BULB 0054bca0 (61.6). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | blubber / half_sack / splasher | 0x50af90 | blubber / half_sack / splasher: NpcAI::ENTITY_GUSHER 0050af90 | [entities/pass3_b.md](entities/pass3_b.md) | | blue_boil | 0x4be6f0 | blue_boil: ENTITY_HUSH_BOIL 004be6f0 (298.0). Changed | [entities/pass4_02.md](entities/pass4_02.md) | | blue_conjoined_fatty | 0x508f40 | blue_conjoined_fatty: NpcAI::ENTITY_GAPER 00508f40 (257.1). Changed | [entities/pass5_g1.md](entities/pass5_g1.md) | @@ -120,9 +126,11 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | brimstone_deaths_head | 0x532cf0 | brimstone_deaths_head (212.3) / redskull (212.4): ENTITY_DEATHS_HEAD 00532cf0. Changed | [entities/pass4_00.md](entities/pass4_00.md) | | brimstone_head | 0x520c60 | brimstone_head: NpcAI::ENTITY_STONEHEAD 00520c60 (203.0). Changed (offset only) | [entities/pass7_i5.md](entities/pass7_i5.md) | | brimstone_head_203_0_1 / _0_2 / _0_3 | 0x520c60 | brimstone_head_203_0_1 / _0_2 / _0_3: ENTITY_STONEHEAD 00520c60 (203, subtypes 1-3). Changed | [entities/pass4_02.md](entities/pass4_02.md) | +| brimstone_head_203_0_1 / _2 / _3 | 0x520c60 | brimstone_head_203_0_1 / _2 / _3: NpcAI::ENTITY_STONEHEAD 00520c60. Changed (_1, _2) | [entities/pass7_a1.md](entities/pass7_a1.md) | | broken_gaping_maw | 0x520c60 | broken_gaping_maw: 00520c60 (236.0). Changed | [entities/pass7_i5.md](entities/pass7_i5.md) | | brownie spin shots | 0x48d480 | brownie spin shots (asm 0048d480..) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | brownie_corn | 0x534860 | brownie_corn (217.2): NpcAI::ENTITY_DIP 00534860. Changed | [entities/pass4_03.md](entities/pass4_03.md) | +| brownie_corn | 0x534860 | brownie_corn: NpcAI::ENTITY_DIP 00534860 (217.2). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | bubbles | 0x55ad20 | bubbles: NpcAI::ENTITY_BUBBLES 0055ad20 (806.0). Changed (partial) | [entities/pass7_i3.md](entities/pass7_i3.md) | | bubbles | 0x55ad20 | bubbles: NpcAI::ENTITY_BUBBLES 0x55ad20 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | bulb | 0x54bca0 | bulb: NpcAI::ENTITY_BULB 0054bca0 (61.5, from ENTITY_FLY). Skipped (needs a feature) | [entities/pass7_i2.md](entities/pass7_i2.md) | @@ -134,6 +142,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | camillo_jr | 0x518e20 | camillo_jr: NpcAI::ENTITY_SWARMER 00518e20 (230.0). Changed | [entities/pass6_h1.md](entities/pass6_h1.md) | | candler | 0x4e4970 | candler: NpcAI::ENTITY_CANDLER 004e4970 (833.0). Changed | [entities/pass7_i2.md](entities/pass7_i2.md) | | candler | 0x4e4970 | candler: NpcAI::ENTITY_CANDLER 0x4e4970 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | +| carrion_princess | 0x52db50 | carrion_princess (23.3) / dank_charger (23.2): NpcAI::ENTITY_MAGGOT 0052db50. Skipped (matches) | [entities/pass7_a1.md](entities/pass7_a1.md) | | Champion roll | 0x6bb790 | Champion roll (0x6bb790, ZHL-misnamed Game::RestoreState; it is the NPC init champion roll) | [items/trinkets_cards.md](items/trinkets_cards.md) | | chimera / chimera_body / chimera_head | 0x49d130 0x49cd90 | chimera / chimera_body / chimera_head: NpcAI::ENTITY_CHIMERA_body 0049d130, ENTITY_CHIMERA_head_update 0049cd90 (910.x). Partial | [entities/boss_fidelity_2.md](entities/boss_fidelity_2.md) | | clickety_clack | 0x4efb90 | clickety_clack: ENTITY_CLICKETY_CLACK 004efb90. Changed | [entities/pass4_00.md](entities/pass4_00.md) | @@ -152,8 +161,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | conjoined_spitty | 0x52db50 | conjoined_spitty: ENTITY_MAGGOT 0052db50 (243). Changed | [entities/pass4_00.md](entities/pass4_00.md) | | constant_stone_shooter | 0x506320 | constant_stone_shooter: NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320 (202.0). Changed | [entities/pass7_i5.md](entities/pass7_i5.md) | | constant_stone_shooter_202_0_1 / _0_2 | 0x506320 | constant_stone_shooter_202_0_1 / _0_2: 00506320. Changed (same fixes pass 2 made to subtype 0) | [entities/pass4_00.md](entities/pass4_00.md) | +| constant_stone_shooter_202_0_1 / _2 / _3 | 0x506320 | constant_stone_shooter_202_0_1 / _2 / _3: NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320. Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | constant_stone_shooter_202_0_3 | 0x506320 | constant_stone_shooter_202_0_3 (NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320, subtype 3 = down) | [entities/pass3_d.md](entities/pass3_d.md) | | corn | 0x534860 | corn: ENTITY_DIP 00534860 (type 217 variant 1). Changed | [entities/pass4_01.md](entities/pass4_01.md) | +| corn | 0x534860 | corn: NpcAI::ENTITY_DIP 00534860 (217.1). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | corn_mine | 0x48ee30 | corn_mine: ENTITY_CORN_MINE 0048ee30. Changed | [entities/pass4_03.md](entities/pass4_03.md) | | crackle | 0x51aaa0 | crackle — NpcAI::ENTITY_GURGLE @0051aaa0 (variant 1) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | crackle | 0x51aaa0 | crackle: NpcAI::ENTITY_GURGLE 0051aaa0 (87.1). Changed | [entities/pass7_i4.md](entities/pass7_i4.md) | @@ -164,6 +175,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | cross_stone_shooter_202_10_1 | 0x506320 | cross_stone_shooter_202_10_1: ENTITY_CONSTANT_STONE_SHOOTER 00506320 (202.10.1). Changed | [entities/pass4_02.md](entities/pass4_02.md) | | cross_stone_shooter_always_on_202_11_1 | 0x506320 | cross_stone_shooter_always_on_202_11_1: ENTITY_CONSTANT_STONE_SHOOTER 00506320. Changed | [entities/pass4_03.md](entities/pass4_03.md) | | cultist | 0x4ed840 | cultist: NpcAI::ENTITY_CULTIST 004ed840 (885.0). Changed (partly) | [entities/pass6_h1.md](entities/pass6_h1.md) | +| cultist | 0x4ed840 | cultist: NpcAI::ENTITY_CULTIST 004ed840. Changed (engine: spot around always, spawn_vulnerable_after) | [entities/pass7_engine.md](entities/pass7_engine.md) | | cursed_deaths_head | 0x532cf0 | cursed_deaths_head: NpcAI::ENTITY_DEATHS_HEAD 00532cf0 (variant 2) | [entities/pass3_c.md](entities/pass3_c.md) | | cursed_globin | 0x50e4d0 | cursed_globin (24.3) / dank_globin (24.2) — NpcAI::ENTITY_GLOBIN 0050e4d0 | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | cursed_globin | 0x50e4d0 | cursed_globin: NpcAI::ENTITY_GLOBIN 0050e4d0 (24.3). Partial (matches what ground_chaser holds) | [entities/pass7_i4.md](entities/pass7_i4.md) | @@ -201,6 +213,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | dingle / dangle | 0x4855b0 | dingle / dangle: NpcAI::ENTITY_DINGLE 004855b0 (261.0 / 261.1; subtype 1 red, 2 black). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | | dingle | 0x4855b0 | dingle: NpcAI::ENTITY_DINGLE 004855b0 | [entities/pass3_c.md](entities/pass3_c.md) | | dip | 0x534860 | dip: NpcAI::ENTITY_DIP 00534860 (217.0). Changed | [entities/pass5_g5.md](entities/pass5_g5.md) | +| dip | 0x534860 | dip: NpcAI::ENTITY_DIP 00534860 (217.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | diplopia / crooked_penny / jera | 0x5bbb61 0x5bf22e 0x7b4033 | diplopia / crooked_penny / jera (UseActiveItem 0x15b 0x5bbb61, 0x1e5 0x5bf22e; UseCard 0x21 0x7b4033) | [items/items_verify.md](items/items_verify.md) | | dogma angel | 0x4ae4d0 | dogma angel (NpcAI::ENTITY_DOGMA_angel 0x4ae4d0, 950.2) | [entities/dogma.md](entities/dogma.md) | | Dogma to the Beast room | 0x4ae4d0 | Dogma to the Beast room (NpcAI::ENTITY_DOGMA_angel 0x4ae4d0, 950.2) | [entities/beast.md](entities/beast.md) | @@ -215,12 +228,14 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | dogma_projectile_flags | 0x653070 | dogma_projectile_flags (Entity_Projectile::Update 00653070, 9.0 from 950.0) | [entities/dogma_effects.md](entities/dogma_effects.md) | | dragon_fly / dragon_fly_x | 0x50f280 | dragon_fly / dragon_fly_x (NpcAI::ENTITY_BOOMFLY 0050f280, variant 3) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | dragon_fly | 0x50f280 | dragon_fly: NpcAI::ENTITY_BOOMFLY 0050f280 (25.3). Skipped (matches) | [entities/pass7_i4.md](entities/pass7_i4.md) | +| drip | 0x534860 | drip: NpcAI::ENTITY_DIP 00534860 (0x366 = 870.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | drip | 0x534860 | drip: NpcAI::ENTITY_DIP 00534860 (870.0). Changed | [entities/pass7_i2.md](entities/pass7_i2.md) | | drip | 0x534860 | drip: NpcAI::ENTITY_DIP 0x534860 (type 0x366); was bouncing_fly, now scripted | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | drowned_boom_fly | 0x50f280 | drowned_boom_fly: ENTITY_BOOMFLY 0050f280 (25.2) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | drowned_boom_fly | 0x50f280 | drowned_boom_fly: ENTITY_BOOMFLY 0050f280 (25.2). Changed | [entities/pass4_02.md](entities/pass4_02.md) | | drowned_charger | 0x52db50 | drowned_charger (NpcAI::ENTITY_MAGGOT 0052db50, 23.1; corridor_walker kept) | [entities/pass3_d.md](entities/pass3_d.md) | | drowned_charger | 0x52db50 | drowned_charger: ENTITY_MAGGOT 0052db50 (23.1). Converted corridor_walker -> scripted roam (like dank_charger) | [entities/pass4_00.md](entities/pass4_00.md) | +| drowned_charger | 0x52db50 | drowned_charger: NpcAI::ENTITY_MAGGOT 0052db50 (23.1). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | drowned_hive | 0x50c370 | drowned_hive: ENTITY_HIVE 0050c370 (type 22 variant 1). Changed | [entities/pass4_01.md](entities/pass4_01.md) | | dukie | 0x541810 | dukie: NpcAI::ENTITY_DUKIE 00541810 (288.0). Changed (partial) | [entities/pass7_i3.md](entities/pass7_i3.md) | | dukie | 0x541810 | dukie: NpcAI::ENTITY_DUKIE 0x541810 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | @@ -256,12 +271,14 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | Familiar tears | 0x639750 | Familiar tears (Entity_Familiar::FireProjectile 0x639750) | [items/items_verify_2_passives_flash.md](items/items_verify_2_passives_flash.md) | | Familiars | 0x6261f0 0x62aab0 0x61da10 | Familiars (Entity_Familiar::HandleCollision 0x6261f0, TriggerRoomClear 0x62aab0, Update 0x61da10) | [items/items_verify_2_passives_rif_a.md](items/items_verify_2_passives_rif_a.md) | | Famine fly | 0x447180 | Famine fly (NpcAI::ENTITY_BEAST_ultra_famine_fly 0x447180, 951.11) | [entities/beast.md](entities/beast.md) | +| fanatic | 0x4faad0 0x4ec240 0x4b0200 | fanatic (004faad0 via 004ec240), dogma_angel_baby (004b0200). hover_point (turning point round Isaac) and a blind | [entities/pass7_engine.md](entities/pass7_engine.md) | | fanatic | 0x4faad0 0x4ec240 | fanatic: NpcAI::ENTITY_FACELESS 004faad0 (832.1, via ENTITY_EXORCIST 004ec240). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | fat_bat | 0x540510 | fat_bat: NpcAI::ENTITY_FAT_BAT 00540510 (258.0). Changed | [entities/pass5_g2.md](entities/pass5_g2.md) | | fat_sack / evis | 0x530a80 0x4df3f0 | fat_sack / evis: NpcAI::ENTITY_FAT_SACK 00530a80, NpcAI::ENTITY_EVIS 004df3f0. Changed (engine) | [entities/pass6_engine.md](entities/pass6_engine.md) | | fat_sack | 0x530a80 | fat_sack: NpcAI::ENTITY_FAT_SACK 00530a80 (209.0). Skipped (matches) | [entities/pass5_g5.md](entities/pass5_g5.md) | | fatty | 0x508f40 | fatty: NpcAI::ENTITY_GAPER 00508f40 (208.0). Changed | [entities/pass5_g1.md](entities/pass5_g1.md) | | festering_guts | 0x4e0dd0 | festering_guts: NpcAI::ENTITY_GUTTED_FATTY 004e0dd0 variant 20 (831.20). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | +| fetal_demon | 0x4ea3d0 | fetal_demon (004ea3d0). range_from_partner: its 240 is measured from its Vis Fatty. | [entities/pass7_engine.md](entities/pass7_engine.md) | | fetal_demon | 0x4ea3d0 | fetal_demon: NpcAI::ENTITY_VIS_FATTY 004ea3d0 (886.1). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | Fight order | 0x592460 | Fight order (NpcAI::ENTITY_BEAST 0x592460, 951.0) | [entities/beast.md](entities/beast.md) | | fire_worm | 0x500990 | fire_worm: NpcAI::ENTITY_FIRE_WORM 00500990 (825.0). Changed | [entities/pass7_i6.md](entities/pass7_i6.md) | @@ -278,6 +295,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | flesh_maiden | 0x502980 | flesh_maiden: NpcAI::ENTITY_FLESH_MAIDEN 00502980. Partial (data matches, engine note) | [entities/pass7_i4.md](entities/pass7_i4.md) | | floast | 0x5111b0 | floast (NpcAI host 005111b0, labelled Entity::TeleportToRandomPosition; 859.0 = type 0x35b) | [entities/pass3_d.md](entities/pass3_d.md) | | floast | 0x5111b0 | floast: 005111b0 (type 0x35b). Changed | [entities/pass4_00.md](entities/pass4_00.md) | +| floating_knight | 0x5135d0 | floating_knight: NpcAI::ENTITY_KNIGHT 005135d0 (254.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | floating_knight | 0x5135d0 | floating_knight: NpcAI::ENTITY_KNIGHT 005135d0 (254.0). Changed | [entities/pass7_i5.md](entities/pass7_i5.md) | | fly_bomb | 0x506bd0 | fly_bomb: NpcAI::ENTITY_FLY 00506bd0 (819.0, 0x333). Changed | [entities/pass5_g2.md](entities/pass5_g2.md) | | fly_trap | 0x560ca0 | fly_trap (NpcAI::ENTITY_FLY_TRAP 00560ca0) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | @@ -296,6 +314,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | Glowing Hourglass | 0x5bd61f 0x7911f0 | Glowing Hourglass (UseActiveItem case 0x21 @0x5bd61f, GetCollectibleMaxCharge 0x7911f0) | [items/items_sweep_14.md](items/items_sweep_14.md) | | goat | 0x4f2c20 | goat: NpcAI::ENTITY_GOAT 004f2c20 | [entities/pass3_b.md](entities/pass3_b.md) | | Godhead's glow | 0x66e5f9 | Godhead's glow (Entity_Tear::Update, tear flag bit 31 = 0xc34920, test at 0x66e5f9) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| Gravity cells | 0x7f2800 0x7f448b 0x7f46bf 0x99b520 0x99b980 | Gravity cells (Room::Init 0x7f2800, its tail at 0x7f448b..0x7f46bf; GridEntity_Gravity 0x99b520/0x99b980) | [systems/side_view.md](systems/side_view.md) | | great_gideon | 0x4b1ee0 | great_gideon: NpcAI::ENTITY_GIDEON 004b1ee0 (907.0). Skipped (matches within its listed approximations) | [entities/pass6_h4.md](entities/pass6_h4.md) | | greed_gaper | 0x5a6b80 | greed_gaper: NpcAI::ENTITY_GREED_GAPER 005a6b80 (299.0). Changed (Flash ground_chaser -> scripted path) | [entities/pass5_g6.md](entities/pass5_g6.md) | | grilled_clotty | 0x50d370 | grilled_clotty (ENTITY_CLOTTY 0050d370): walking resets V1.X = 30 (45 type 282, 15 for 15.3) each tick; | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | @@ -305,6 +324,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | grub | 0x46a0f0 | grub: NpcAI::ENTITY_LARRYJR 0046a0f0 (239.0). Changed | [entities/pass7_i4.md](entities/pass7_i4.md) | | grudge | 0x4e6570 | grudge: NpcAI::ENTITY_GRUDGE 004e6570 (877.0). Changed | [entities/pass7_i3.md](entities/pass7_i3.md) | | grudge | 0x4e6570 | grudge: NpcAI::ENTITY_GRUDGE 0x4e6570 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | +| gurgling | 0x52db50 | gurgling: NpcAI::ENTITY_MAGGOT 0052db50 (0xed = 237.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | gurgling | 0x52db50 | gurgling: NpcAI::ENTITY_MAGGOT 0052db50 (237.0). Changed | [entities/pass5_g4.md](entities/pass5_g4.md) | | gurgling_boss | 0x52db50 | gurgling_boss: ENTITY_MAGGOT 0052db50 (237.1). Changed | [entities/pass4_00.md](entities/pass4_00.md) | | gurgling_boss | 0x52db50 | gurgling_boss: NpcAI::ENTITY_MAGGOT 0052db50 (237.1; subtype 1 yellow, 2 black). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | @@ -313,6 +333,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | gyro | 0x4ff620 | gyro: ENTITY_GYRO 004ff620 (824.0). Changed | [entities/pass4_00.md](entities/pass4_00.md) | | hard_host | 0x5111b0 | hard_host (27.3): Host routine 005111b0 (it's listed as Entity::TeleportToRandomPosition) | [entities/pass2_misc1.md](entities/pass2_misc1.md) | | hard_host | 0x5111b0 | hard_host: Host routine 005111b0 (27.3; ICF-named Entity::TeleportToRandomPosition). Skipped (matches) | [entities/pass7_i1.md](entities/pass7_i1.md) | +| hardy | 0x500f70 | hardy (+ hardy_2, hardy_3): NpcAI::ENTITY_HARDY 00500f70 (826.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | hardy | 0x500f70 | hardy: NpcAI::ENTITY_HARDY 00500f70 | [entities/pass3_b.md](entities/pass3_b.md) | | haunt | 0x481410 | haunt: NpcAI::ENTITY_THE_HAUNT 00481410 (260.0; subtype 1 black, 2 pink). Changed (pass 2's leftovers) | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | | head_of_krampus | 0x5ba07f | head_of_krampus (UseActiveItem 0x125, `case 10:`, 0x5ba07f) | [items/items_verify.md](items/items_verify.md) | @@ -336,6 +357,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | Item pools and the Bag of Crafting | 0x735a30 0x732fa0 0x7340b0 | Item pools and the Bag of Crafting (ItemPool 0x735a30 loader, 0x732fa0 pick, 0x7340b0 ResetCollectible) | [characters/characters_9.md](characters/characters_9.md) | | kidney_bean | 0x5bd491 0x703f90 | kidney_bean (0x5bd491) / Game::CharmFart 0x703f90 | [items/items_verify_2_actives_rif.md](items/items_verify_2_actives_rif.md) | | kineti | 0x55d230 | kineti (NpcAI::ENTITY_POLTY 0055d230, 816.1) | [entities/pass3_d.md](entities/pass3_d.md) | +| kineti | 0x55d230 | kineti: NpcAI::ENTITY_POLTY 0055d230 (816.1). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | knife pieces, Full Knife | 0x763570 0x6174c0 | knife pieces, Full Knife (Entity_Player::EvaluateItems 0x763570, Entity_Familiar::ai_charger 0x6174c0) | [systems/alt_path.md](systems/alt_path.md) | | Knockback | 0x6b7a80 0x6ae820 | Knockback (Entity::AddKnockback 0x6b7a80, Entity::Update 0x6ae820) | [characters/characters_9.md](characters/characters_9.md) | | lamb_body | 0x483710 | lamb_body: NpcAI::ENTITY_THE_LAMB 00483710 variant 10 (273.10). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | @@ -403,8 +425,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | mother | 0x569170 | mother: NpcAI::ENTITY_MOTHER 00569170 | [entities/boss_approx_2.md](entities/boss_approx_2.md) | | Mother's Shadow | 0x56ffa0 | Mother's Shadow (NpcAI::ENTITY_MOTHERS_SHADOW 0x56ffa0, type 867) | [systems/room_features.md](systems/room_features.md) | | mother_2 | 0x56cd60 | mother_2: 0056cd60 (912.10) | [entities/boss_approx_3.md](entities/boss_approx_3.md) | +| mother_ball / medium / small | 0x566810 0x567d50 | mother_ball / medium / small (00566810, 00567d50, boss). bounce_heading .125 / .1 (heading 2 / 1 kept along the throw | [entities/pass7_engine.md](entities/pass7_engine.md) | | mother_ball | 0x566810 | mother_ball (912.100), mother_ball_medium (.1), mother_ball_small (.2): NpcAI::ENTITY_MOTHER_ball 00566810. Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | mother_worm | 0x565e00 | mother_worm: 00565e00 (912.30) | [entities/boss_approx_3.md](entities/boss_approx_3.md) | +| mothers_shadow | 0x56ffa0 | mothers_shadow: 0056ffa0 (boss). speed_near {span 600, stop 80}, hover speed 6: Rep's 6 * clamp(d / 600) beyond 80. | [entities/pass7_engine.md](entities/pass7_engine.md) | | mothers_shadow | 0x56ffa0 | mothers_shadow: NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0 (867.0). Changed | [entities/pass6_h2.md](entities/pass6_h2.md) | | movable_tnt | 0x6d6690 | movable_tnt: NpcAI::ENTITY_MOVABLE_TNT 006d6690 (292.0). Changed (partly) | [entities/pass6_h1.md](entities/pass6_h1.md) | | Moveable fires spawned by War | 0x6d0ec0 | Moveable fires spawned by War (NpcHelper::fireplace_moveable_update 0x6d0ec0, 33.10) | [entities/beast_war_death.md](entities/beast_war_death.md) | @@ -412,6 +436,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | moveable_fireplace | 0x6d0ec0 | moveable_fireplace: NpcHelper::fireplace_moveable_update 006d0ec0 (33.10). Changed (partly) | [entities/pass7_i7.md](entities/pass7_i7.md) | | mr_fred | 0x486db0 | mr_fred: NpcAI::ENTITY_MR_FRED 00486db0 (270.0). Changed (small) | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | | mr_mine | 0x5492c0 | mr_mine — @005492c0 (dispatch named Entity_Familiar::Render by ICF; strs DigIn/DigOut/Shoot confirm it) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | +| mr_mine | 0x5492c0 | mr_mine: NpcAI::ENTITY_MR_MINE 005492c0 (311.0). Changed (partly) | [entities/pass7_a1.md](entities/pass7_a1.md) | | mr_red_maw | 0x517de0 | mr_red_maw: NpcAI::ENTITY_MRMAW 00517de0 (35.2 body; head 35.3, neck 35.10). Changed | [entities/pass7_i2.md](entities/pass7_i2.md) | | mr_red_maw | 0x517de0 | mr_red_maw: NpcAI::ENTITY_MRMAW 0x517de0 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | mullighoul | 0x50c370 | mullighoul: ENTITY_HIVE 0050c370 (817.1). Changed (kind) | [entities/pass4_02.md](entities/pass4_02.md) | @@ -447,19 +472,24 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | Pestilence maggot | 0x44b6f0 | Pestilence maggot (NpcAI::ENTITY_BEAST_ultra_pestilence_maggot 0x44b6f0, 951.22) | [entities/beast.md](entities/beast.md) | | Pestilence maggot | 0x44b6f0 | Pestilence maggot (NpcAI::ENTITY_BEAST_ultra_pestilence_maggot 0x44b6f0, 951.22) | [entities/beast_famine_pestilence.md](entities/beast_famine_pestilence.md) | | pickups 5.380 | 0x6e8ae0 | pickups 5.380 (Entity_Pickup::HandleCollision 0x6e8ae0) | [systems/room_features.md](systems/room_features.md) | +| pitfalls 291.x | 0x492550 | pitfalls 291.x (00492550). grab squash 2 (SizeMulti (1, .5)), aura pull -1.5 within 40 until Swallow. | [entities/pass7_engine.md](entities/pass7_engine.md) | | plan_c | 0x5bdf35 | plan_c (0x5bdf35, asm) | [items/items_verify_2_actives_rif.md](items/items_verify_2_actives_rif.md) | | planetoid | 0x518e20 | planetoid (ENTITY_SWARMER 00518e20, type 0xe5) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | Player active update 0x791a40 | 0x791a40 | Player active update 0x791a40 | [items/trinkets_cards.md](items/trinkets_cards.md) | +| Player movement | 0x779b40 | Player movement (Entity_Player::update_body_animations 0x779b40, the movement/velocity update) | [systems/side_view.md](systems/side_view.md) | | player update FUN_007826d0 0x7826d0 | 0x7826d0 | player update FUN_007826d0 0x7826d0 | [items/items_verify_2_passives_rif_b.md](items/items_verify_2_passives_rif_b.md) | | Pocket slots | 0x7ad440 | Pocket slots (Entity_Player::GetMaxPocketItems 0x7ad440) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| poison_mind | 0x512110 | poison_mind: NpcAI::ENTITY_BRAIN 00512110 (0x12d = 301.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | poison_mind | 0x512110 | poison_mind: NpcAI::ENTITY_BRAIN 00512110 (301.0). Changed | [entities/pass5_g3.md](entities/pass5_g3.md) | | polty | 0x55d230 | polty: NpcAI::ENTITY_POLTY 0055d230 (816.0). Changed (partial) | [entities/pass7_i3.md](entities/pass7_i3.md) | +| polty | 0x55d230 | polty: NpcAI::ENTITY_POLTY 0055d230 (816.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | polty | 0x55d230 | polty: NpcAI::ENTITY_POLTY 0x55d230 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | polycephalus | 0x489ca0 | polycephalus: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (269.0). Changed | [entities/pass5_g7.md](entities/pass5_g7.md) | | pon | 0x526470 | pon: NpcAI::ENTITY_HOPPER 00526470 (840.0). Skipped (matches) | [entities/pass5_g3.md](entities/pass5_g3.md) | | poofer | 0x4f64e0 | poofer: ENTITY_POOFER 004f64e0. Changed | [entities/pass4_00.md](entities/pass4_00.md) | | poops | 0x714770 0x715330 0x7178c0 | poops (GridEntity_Poop::Update 0x714770, Hurt 0x715330, drops 0x7178c0 misnamed MenuManager::Render) | [systems/room_features.md](systems/room_features.md) | | poot_mine | 0x562290 | poot_mine: NpcAI::ENTITY_POOT_MINE 00562290 (875.0). Changed (poots only when hit) | [entities/pass5_g6.md](entities/pass5_g6.md) | +| poot_mine | 0x562290 | poot_mine: NpcAI::ENTITY_POOT_MINE 00562290 (875.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | portal | 0x543720 | portal: NpcAI::ENTITY_PORTAL 00543720 (306.0). Changed | [entities/pass5_g5.md](entities/pass5_g5.md) | | portal | 0x543720 | portal: NpcAI::ENTITY_PORTAL 00543720. Changed (engine) | [entities/pass6_engine.md](entities/pass6_engine.md) | | Post active use 0x7abf80 | 0x7abf80 | Post active use 0x7abf80 | [items/trinkets_cards.md](items/trinkets_cards.md) | @@ -476,8 +506,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | pustule | 0x4dea40 | pustule: ENTITY_PUSTULE 004dea40. Changed | [entities/pass4_01.md](entities/pass4_01.md) | | quake_grimace_804_0_3 | 0x4f8960 | quake_grimace_804_0_3 (and 804.0.0/.1/.2): NpcAI::ENTITY_QUAKE_GRIMACE 004f8960 (804.0.subtype). Changed (timing) | [entities/pass5_g6.md](entities/pass5_g6.md) | | quakey | 0x4fd540 | quakey (NpcAI::ENTITY_QUAKEY 004fd540, 823.0) | [entities/pass3_d.md](entities/pass3_d.md) | +| quakey | 0x4fd540 | quakey: NpcAI::ENTITY_QUAKEY 004fd540 (823.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | quest doors | 0x8279d0 | quest doors (Room::TrySpawnSpecialQuestDoor 0x8279d0) | [systems/alt_path.md](systems/alt_path.md) | | rag_man | 0x493200 | rag_man: NpcAI::ENTITY_RAG_MAN 00493200 (405.0). Changed | [entities/pass5_g7.md](entities/pass5_g7.md) | +| rag_mans_head | 0x493200 | rag_mans_head (00493200). steer at_player + ease [10, 2, 8, 60] at retention .8. | [entities/pass7_engine.md](entities/pass7_engine.md) | | rag_mans_head | 0x493200 | rag_mans_head: NpcAI::ENTITY_RAG_MAN 00493200 (405.1). Changed | [entities/pass6_h5.md](entities/pass6_h5.md) | | rag_mega | 0x495610 | rag_mega: NpcAI::ENTITY_RAG_MEGA 00495610 variant 0 (409.0). Changed | [entities/boss_fidelity_2.md](entities/boss_fidelity_2.md) | | rag_megas_rebirth_pillar | 0x495610 | rag_megas_rebirth_pillar: NpcAI::ENTITY_RAG_MEGA 00495610 variant 2 (409.2). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | @@ -499,11 +531,13 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | room backdrops | 0x7f1380 | room backdrops (Room::LoadBackdropGraphics 0x7f1380) | [entities/dogma.md](entities/dogma.md) | | Room enter 0x7a6c50 and the Twins duplicator 0x7dbeb0 | 0x7a6c50 0x7dbeb0 | Room enter 0x7a6c50 and the Twins duplicator 0x7dbeb0 (ZHL-misnamed HistoryHUD::RecomputeAll) | [items/trinkets_cards.md](items/trinkets_cards.md) | | room spawns | 0x7ed310 | room spawns (Room::SpawnEntry 0x7ed310) | [systems/room_features.md](systems/room_features.md) | +| Room | 0x813520 | Room::FindFreePickupSpawnPosition 00813520 (Wizoob, Red Ghost: teleport mode player). Exact now | [entities/pass7_engine.md](entities/pass7_engine.md) | | Rotgut maggot | 0x57e4a0 | Rotgut maggot (NpcAI::ENTITY_ROTGUT_maggot 0x57e4a0, 911.1) | [entities/rotgut.md](entities/rotgut.md) | | Rotgut's crawl space | 0x57bec0 | Rotgut's crawl space (NpcAI::ENTITY_ROTGUT_face 0x57bec0, 911.0) | [entities/beast.md](entities/beast.md) | | rotgut_heart | 0x581730 | rotgut_heart: NpcAI::ENTITY_ROTGUT 00581730 (911.2). Changed | [entities/pass6_h4.md](entities/pass6_h4.md) | | rotten_gaper | 0x4da590 | rotten_gaper: NpcAI::ENTITY_ROTTEN_GAPER 004da590 (10.3.0). Skipped (matches) | [entities/pass7_i7.md](entities/pass7_i7.md) | | rotten_gaper_10_3_* | 0x4da590 | rotten_gaper_10_3_*: NpcAI::ENTITY_ROTTEN_GAPER 004da590 (10.3.1-5). Changed | [entities/pass5_g1.md](entities/pass5_g1.md) | +| rotten_gaper_10_3_3 / _5 | 0x4da590 | rotten_gaper_10_3_3 / _5: NpcAI::ENTITY_ROTTEN_GAPER 004da590. Changed (engine: evade, speed_near, hover_side, hover_blind_path) | [entities/pass7_engine.md](entities/pass7_engine.md) | | rotty | 0x538b70 | rotty: NpcAI::ENTITY_SKINNY 00538b70 (226.1). Changed | [entities/pass5_g2.md](entities/pass5_g2.md) | | round_worm family / wizoob | 0x53e4a0 0x5374a0 | round_worm family / wizoob: NpcAI::ENTITY_ROUND_WORM 0053e4a0, NpcAI::ENTITY_WIZOOB 005374a0. Changed (engine) | [entities/pass6_engine.md](entities/pass6_engine.md) | | round_worm | 0x53e4a0 | round_worm: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (244.0). Skipped (matches) | [entities/pass5_g4.md](entities/pass5_g4.md) | @@ -520,6 +554,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | secret_room_keeper | 0x6c2220 | secret_room_keeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.1). Skipped (matches) | [entities/pass7_i6.md](entities/pass7_i6.md) | | shady BACKSPLIT | 0x653070 0x654569 0x657df8 | shady BACKSPLIT (Entity_Projectile::Update 00653070, asm 00654569.., 00657df8..) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | sharp_straw | 0x5c03d3 0x5c0556 | sharp_straw (0x5c03d3, asm 0x5c0556) | [items/items_verify_2_actives_rif.md](items/items_verify_2_actives_rif.md) | +| shopkeeper | 0x6c2220 | shopkeeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.0). Changed (restored) | [entities/pass7_a1.md](entities/pass7_a1.md) | | shopkeeper | 0x6c2220 | shopkeeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.0). Changed | [entities/pass6_h1.md](entities/pass6_h1.md) | | sick_boom_fly | 0x50f280 | sick_boom_fly: ENTITY_BOOMFLY 0050f280 (variant 5). Changed | [entities/pass4_01.md](entities/pass4_01.md) | | Side charges | 0x77b020 | Side charges (Entity_Player::update_shooting, 0077b020 in the redump) | [items/items_sweep_13.md](items/items_sweep_13.md) | @@ -533,6 +568,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | sisters_vis | 0x496fb0 | sisters_vis: NpcAI::ENTITY_SISTERS_VIS 00496fb0 (410.0, the sister spawned 40 px off at a random angle). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | | skinny | 0x538b70 | skinny: NpcAI::ENTITY_SKINNY 00538b70 (226.0). Changed | [entities/pass5_g2.md](entities/pass5_g2.md) | | slog | 0x5153b0 | slog: ENTITY_GUTS 005153b0 (type 40 variant 2). Changed | [entities/pass4_01.md](entities/pass4_01.md) | +| slog | 0x5153b0 | slog: NpcAI::ENTITY_GUTS 005153b0 (40.2). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | small_baby_long_legs | 0x531ab0 | small_baby_long_legs: ENTITY_BABY_LONG_LEGS 00531ab0 (206.1). Changed | [entities/pass4_02.md](entities/pass4_02.md) | | small_crazy_long_legs | 0x531ab0 | small_crazy_long_legs: ENTITY_BABY_LONG_LEGS 00531ab0 (207.1). Changed | [entities/pass4_00.md](entities/pass4_00.md) | | small_leech | 0x55b740 | small_leech (810.0): 0055b740 | [entities/pass2_misc1.md](entities/pass2_misc1.md) | @@ -554,6 +590,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | splurt | 0x535280 | splurt: NpcAI::ENTITY_SQUIRT 00535280 (871.0). Changed | [entities/pass7_i3.md](entities/pass7_i3.md) | | splurt | 0x535280 | splurt: NpcAI::ENTITY_SQUIRT 0x535280 (type 0x367) | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | squirt / dank_squirt | 0x535280 | squirt / dank_squirt: NpcAI::ENTITY_SQUIRT 00535280 (220.0 / 220.1). Changed | [entities/pass5_g5.md](entities/pass5_g5.md) | +| squirt / dank_squirt | 0x535280 | squirt / dank_squirt: NpcAI::ENTITY_SQUIRT 00535280 (220.0 / 220.1). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | stalactite | 0x596120 | stalactite (NpcAI::ENTITY_BEAST_stalactite 0x596120, 951.1) | [entities/beast.md](entities/beast.md) | | stalactite | 0x596120 | stalactite (NpcAI::ENTITY_BEAST_stalactite 0x596120, 951.1) | [entities/beast_fight.md](entities/beast_fight.md) | | stat pills | 0x763570 | stat pills (UsePill cases 6, 7, 0xb..0x12, 0x2f, 0x30; EvaluateItems 0x763570) | [items/items_verify_2_pills.md](items/items_verify_2_pills.md) | @@ -564,6 +601,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | stoney | 0x508f40 | stoney: NpcAI::ENTITY_GAPER 00508f40 (302.0). Changed | [entities/pass5_g1.md](entities/pass5_g1.md) | | strider | 0x55c810 | strider (NpcAI::ENTITY_STRIDER @0055c810) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | strider | 0x55c810 | strider: NpcAI::ENTITY_STRIDER 0055c810 (814.0). Changed | [entities/pass7_i4.md](entities/pass7_i4.md) | +| sub_horf / tainted_sub_horf | 0x55fb60 | sub_horf / tainted_sub_horf: NpcAI::ENTITY_SUB_HORF 0055fb60. move spin + spin_slide | [entities/pass7_engine.md](entities/pass7_engine.md) | | sub_horf | 0x55fb60 | sub_horf (812.0): 0055fb60 | [entities/pass2_misc1.md](entities/pass2_misc1.md) | | suction_pitfall | 0x492550 | suction_pitfall: NpcAI::ENTITY_PITFALL 00492550 (291.1). Changed | [entities/pass6_h1.md](entities/pass6_h1.md) | | suicide_king | 0x7b375e 0x7b7d38 | suicide_king (0x7b375e) / soul_of_eve (0x7b7d38) / others | [items/items_verify_2_cards.md](items/items_verify_2_cards.md) | @@ -584,12 +622,15 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | tainted_faceless | 0x4faad0 | tainted_faceless: NpcAI::ENTITY_FACELESS 004faad0 (827.1) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | tainted_hopper | 0x526470 | tainted_hopper: NpcAI::ENTITY_HOPPER 00526470 (29.3). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_magdalene hug | 0x78e1f0 | tainted_magdalene hug (Entity_Player::HandleCollision 0x78e1f0, type 0x16) | [characters/characters_9.md](characters/characters_9.md) | +| tainted_mole | 0x4fdf80 | tainted_mole (004fdf80). trail {spacing 12, a still rock bolt radius 20, 10 enemy damage, half a heart}. | [entities/pass7_engine.md](entities/pass7_engine.md) | | tainted_mole | 0x4fdf80 | tainted_mole: NpcAI::ENTITY_MOLE 004fdf80 (829.1). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_mulligan | 0x50c370 | tainted_mulligan (22.3): NpcAI::ENTITY_HIVE 0050c370. Changed | [entities/pass4_03.md](entities/pass4_03.md) | | tainted_pooter | 0x506bd0 | tainted_pooter: NpcAI::ENTITY_FLY 00506bd0 (14.2). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | +| tainted_round_worm | 0x53e4a0 | tainted_round_worm (+ butt) (0053e4a0). shared_health "chain" (the spawn chain's one pool, one death) and | [entities/pass7_engine.md](entities/pass7_engine.md) | | tainted_round_worm | 0x53e4a0 | tainted_round_worm: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (244.2.0). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_round_worm_butt | 0x53e4a0 | tainted_round_worm_butt: NpcAI::ENTITY_ROUND_WORM 0053e4a0 (244.2.1). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_soy_creep | 0x53c0d0 | tainted_soy_creep: NpcAI::ENTITY_WALL_CREEP 0053c0d0 (240.3). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | +| tainted_spitty | 0x52db50 | tainted_spitty (0052db50). posed_by_facing (Attack Hori/Down/Up by its walk), shots along_facing | [entities/pass7_engine.md](entities/pass7_engine.md) | | tainted_spitty | 0x52db50 | tainted_spitty: NpcAI::ENTITY_MAGGOT 0052db50 (31.1). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_sub_horf | 0x55fb60 | tainted_sub_horf: NpcAI::ENTITY_SUB_HORF 0055fb60 (812.1). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | | tainted_sucker | 0x506bd0 | tainted_sucker: NpcAI::ENTITY_FLY 00506bd0 (61.7). Changed | [entities/pass6_h3.md](entities/pass6_h3.md) | @@ -625,8 +666,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | the_gate | 0x45fc00 | the_gate: NpcAI::ENTITY_GATE 0045fc00 (263.0; subtype 1 red, 2 black). Changed | [entities/boss_fidelity_1.md](entities/boss_fidelity_1.md) | | the_heretic | 0x4b43c0 | the_heretic: NpcAI::ENTITY_HERETIC 004b43c0 (905.0). Changed (below-half phase) | [entities/pass6_h4.md](entities/pass6_h4.md) | | the_high_priestess_reversed | 0x795097 | the_high_priestess_reversed (UseCard 0x3a; Entity_Player::update_effects 0x795097) | [items/items_verify.md](items/items_verify.md) | +| the_matriarch | 0x4c59d0 | the_matriarch (004c59d0, boss). spawn_cost {health 80, floors [.8, .65, .5, .35]}: never below the next mark + 1. | [entities/pass7_engine.md](entities/pass7_engine.md) | | the_matriarch | 0x4c59d0 | the_matriarch: NpcAI::ENTITY_MATRIARCH 004c59d0 (413.0). Changed | [entities/pass6_h2.md](entities/pass6_h2.md) | | the_pile | 0x5983f0 | the_pile: NpcAI::ENTITY_POLYCEPHALUS_the_pile 005983f0 (269.1). Changed (restructured) | [entities/pass6_h2.md](entities/pass6_h2.md) | +| the_pile | 0x5983f0 | the_pile: NpcAI::ENTITY_POLYCEPHALUS_the_pile 005983f0 (boss). teleport mode around (best of ten spots round Isaac at | [entities/pass7_engine.md](entities/pass7_engine.md) | | the_scourge | 0x587aa0 0x5864b0 | the_scourge: NpcAI::ENTITY_SCOURGE 00587aa0 (909.0), pick NpcAI::ENTITY_SCOURGE_main 005864b0. Changed | [entities/pass6_h4.md](entities/pass6_h4.md) | | the_shell | 0x59a2d0 | the_shell: NpcAI::ENTITY_TUFF_TWINS 0059a2d0 (19.3). Changed | [entities/pass6_h2.md](entities/pass6_h2.md) | | the_stain | 0x489ca0 | the_stain: NpcAI::ENTITY_POLYCEPHALUS 00489ca0 (401.0). Changed | [entities/pass5_g7.md](entities/pass5_g7.md) | @@ -664,6 +707,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | ultra_greed | 0x59edb0 | ultra_greed: NpcAI::ENTITY_ULTRA_GREED 0059edb0 | [entities/boss_approx_2.md](entities/boss_approx_2.md) | | ultra_greed_coin_* | 0x5a4820 | ultra_greed_coin_*: NpcAI::ENTITY_ULTRA_COIN 005a4820 (293.0-3). Changed | [entities/pass7_i7.md](entities/pass7_i7.md) | | unborn | 0x4dca90 | unborn: ENTITY_UNBORN 004dca90 (860). Changed | [entities/pass4_02.md](entities/pass4_02.md) | +| unborn | 0x4dca90 | unborn: NpcAI::ENTITY_UNBORN 004dca90 (860.0). Changed | [entities/pass7_a1.md](entities/pass7_a1.md) | | undefined | 0x5b7c3d | undefined (UseActiveItem table B, 0x5b7c3d) | [items/items_verify_2_actives_rif.md](items/items_verify_2_actives_rif.md) | | Ventricle Razor | 0x5bcec7 | Ventricle Razor (UseActiveItem case 0x1d @0x5bcec7) | [items/items_sweep_13.md](items/items_sweep_13.md) | | vis_fatty | 0x4ea3d0 | vis_fatty — NpcAI::ENTITY_VIS_FATTY @004ea3d0 | [entities/pass2_misc3.md](entities/pass2_misc3.md) | @@ -674,6 +718,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | wall_hugger | 0x5153b0 | wall_hugger: NpcAI::ENTITY_GUTS 005153b0 (218.0). Skipped (matches) | [entities/pass7_i2.md](entities/pass7_i2.md) | | wall_hugger | 0x5153b0 | wall_hugger: NpcAI::ENTITY_GUTS 0x5153b0 (type 0xda) | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | War bomb | 0x44f2b0 | War bomb (NpcAI::ENTITY_BEAST_ultra_war_bomb 0x44f2b0, 951.31) | [entities/beast.md](entities/beast.md) | +| We Need To Go Deeper | 0x5b83e0 | We Need To Go Deeper (UseActiveItem case 0x54, 0x5b83e0) | [systems/side_view.md](systems/side_view.md) | | whipper | 0x4e5170 | whipper (834.0) / snapper (834.1): 004e5170. No data change | [entities/pass2_misc1.md](entities/pass2_misc1.md) | | whipper | 0x4e5170 | whipper: NpcAI::ENTITY_WHIPPER 004e5170 (834.0). Changed | [entities/pass7_i1.md](entities/pass7_i1.md) | | white_fire_place | 0x6d18d0 | white_fire_place: NpcAI::ENTITY_FIREPLACE 006d18d0 (33.4). Skipped (matches) | [entities/pass6_h1.md](entities/pass6_h1.md) | diff --git a/notes/entities/pass7_a1.md b/notes/entities/pass7_a1.md new file mode 100644 index 0000000..32678ea --- /dev/null +++ b/notes/entities/pass7_a1.md @@ -0,0 +1,143 @@ +# 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. diff --git a/notes/entities/pass7_engine.md b/notes/entities/pass7_engine.md new file mode 100644 index 0000000..2676027 --- /dev/null +++ b/notes/entities/pass7_engine.md @@ -0,0 +1,88 @@ +# Pass 7 engine work (2026-10-25) + +isaac-classic branch rif/monster-fidelity-10. The pass-6 leftovers (pass6_engine.md "Left from the proposals") built +as generic engine fields, the three approximations made exact, the shot-boost finding, and the cheap proposals of the +pass-7 groups (pass7_i1..i7.md, pass7_a1.md). The data side is in each record's reference note (monster-fidelity-10). + +## rotten_gaper_10_3_3 / _5: NpcAI::ENTITY_ROTTEN_GAPER 004da590. Changed (engine: evade, speed_near, hover_side, hover_blind_path) +- Subtype 3 does NOT follow a partner (pass5_g1 misread it): with Isaac farther than 80 (6400 squared) it latches + (QueryRadius 60, asm 004da8f1: DAT_00baa950 = 60) the first rotten gaper of the same type and variant but another + subtype, i1 = rand%15 + 30, and while latched runs PathFinder::EvadeTarget 007e4940 from it (push 1.5 * speedMult / + f, f then *.8: net 1.2 under .8). Field evade {types, beyond 80, radius 60, retention .8, push 1.2, ticks [30, 15]}. +- Subtype 5: aiFloat .6 * 1.9 times .75 + .25 clamp((d - 80) / 100) (speed_near {80, 100, .75}); Room::CheckLine + clear: aim = Isaac + Resized(target -> (pos + Resized(rotate(v, rand*40-20 deg), d)), 60) (hover_side {60, 20}), + v += speed * unit, f *= .9; blocked: FindGridPath(Isaac, aiFloat, -1) (hover_blind_path true). + +## mothers_shadow: 0056ffa0 (boss). speed_near {span 600, stop 80}, hover speed 6: Rep's 6 * clamp(d / 600) beyond 80. + +## cultist: NpcAI::ENTITY_CULTIST 004ed840. Changed (engine: spot around always, spawn_vulnerable_after) +- State 3: friction *.75; v += unit(heading) * (.7 + 1.7 rand), the heading eased by approach_angle; arrival 10 + (100 squared; variant 1: 24). Picks: cooldown out, rand&3 == 0 and corpses (Room+0x7300 list, not 885.0) -> their + centroid within 160 of the nearest, I1 2 (Respawn on arrival). Else: when the room's enemy list is non-empty, 50 px + past the enemy nearest Isaac (on the line from him) plus RandomVector * 40 rand (not ported); else Isaac's offset + turned rand*240-120 deg, resized 50 + 40 rand; clamped 60 into the room; variant 0 always armed (I1 1). +- Purple Ball (RAG_MEGA 00495610 state 4): only a ball whose V2.y the Cultist set (210) counts it down; below 15 + (V2.y / 30 < .5) its colour goes black and _isInvicible = 0: 195 ticks. Rag Mega's balls (V2.y 0) never. + +## movable_tnt / hornfel_decoy. hit_health {steps, heavy, heavy_above, blast}: a set loss a hit (TNT 1 or 2, blast 4; + decoy 1 or 2, past 10 damage 2 or 3) and remains (TNT's Blown rubble as a held look). TNT hp 4 -> 3 (Rep floors at 1 + and blows at 1). + +## pitfalls 291.x (00492550). grab squash 2 (SizeMulti (1, .5)), aura pull -1.5 within 40 until Swallow. + +## adult_leech (004d9000). charge_ramp within 500 (push grows only within 500 along x) and wall_next_speed 10 (the ring + of 12 at 10, FallingAccel .08, fires at the wall hit; 12 ticks at .9 in MoveHori). + +## the_matriarch (004c59d0, boss). spawn_cost {health 80, floors [.8, .65, .5, .35]}: never below the next mark + 1. + +## the_pile: NpcAI::ENTITY_POLYCEPHALUS_the_pile 005983f0 (boss). teleport mode around (best of ten spots round Isaac at + (.8 + .2 rand) * 120, in the room, over 80 from him, scored min(d_self^2, 22500) + 2 d_isaac^2), and the dive as + GoUnder -> DirtShrink (untouchable, chase {speed 2, to_teleport}) -> ComeUp snapping on Start. + +## Room::FindFreePickupSpawnPosition 00813520 (Wizoob, Red Ghost: teleport mode player). Exact now +- Arguments (pos, radius start, ...). 125 tries; each: radius += 5 (reset to 0 past 500), angle from its OWN xorshift + (s ^= s >> 1; s ^= s << 9; s ^= s >> 29) seeded 0x441c1dfd every call (the same angle sequence each time), + point = pos + (cos, sin) * radius; accepted when GetClampedPositionImpl leaves it unchanged (inside the room), the + cell's grid path value is under 600..1000 (rising as tries run out) and its collision 0, no pickup (4/5/6) or (flag) + NPC within 20. None: the clamped input. Wizoob calls it with (Isaac, 120): first spot from 125 out. + +## tainted_spitty (0052db50). posed_by_facing (Attack Hori/Down/Up by its walk), shots along_facing + (GetAxisAlignedUnitVectorFromDir), turn_jitter i on shot i. + +## tainted_round_worm (+ butt) (0053e4a0). shared_health "chain" (the spawn chain's one pool, one death) and + kin_attack {Next, DigOut, 4} (its butts surface one after another). + +## tainted_mole (004fdf80). trail {spacing 12, a still rock bolt radius 20, 10 enemy damage, half a heart}. + +## sub_horf / tainted_sub_horf: NpcAI::ENTITY_SUB_HORF 0055fb60. move spin + spin_slide +- A pending hit: velocity = unit(pos - last damage source), raised to 8 when slower, stateFrame 15. Angle V1.x (degrees, + heading (cos, sin)(V1.x + 90)); pose Shake00..11 = floor((wrap(V1.x - 180) + 180) * 12 / 360). +- Variant 1 unhit (stateFrame < 1): v += .2 unit(target) / f, V1.x = atan2 - 90, f *= .9; above 8 stateFrame 15. +- Else: V1.x += 2 * speed (negative when vx < 0); speed >= 1 keeps stateFrame 15, else it counts down; speed > .01: + i1 > 2 * max(1, int(K / speed)) (K 5 variant 1, 20 variant 0) fires FireProjectiles mode 0 heading * 10 with + VelocityMulti .7 (variant 1 Scale 1.4, FallingAccel -.1), sound 0x99; f *= .97. Knock direction ported from Isaac. + +## rag_mans_head (00493200). steer at_player + ease [10, 2, 8, 60] at retention .8. +## fanatic (004faad0 via 004ec240), dogma_angel_baby (004b0200). hover_point (turning point round Isaac) and a blind + path speed (Fanatic .6). +## mother_ball / medium / small (00566810, 00567d50, boss). bounce_heading .125 / .1 (heading 2 / 1 kept along the throw + and reflected), wall_attack top (6 at 8 scale 2 accel -.08 + 6 at 6 scale 1.5), death_spawn even (8 at 45, 6 at 60 + degrees, speed 10; the free-ray tests not ported). +## fetal_demon (004ea3d0). range_from_partner: its 240 is measured from its Vis Fatty. + +## Every ported Rebirth monster: shots_still +- Entity_NPC::FireProjectiles (006cb2e0) spawns each projectile at exactly the velocity given (mode 0; modes 1-9 the + rotated copies); FireBossProjectiles (006ccdd0) likewise. Nothing adds the shooter's velocity, no x1.2, no extra rise. + isaac-classic's Flash ffmo() boost (entities.json boost_speed_scale 1.2, boost_shooter_velocity .4, boost_rise 1) ran + on every scripted shot without `still`: 470 of 495 Rebirth shots flew 20% fast. behaviour shots_still on 112 records. + +## Second round (pass-7 group proposals built) +- swarm (00540df0): brood {4, 10} (each placed swarm makes 4 more: a cell is five), hover_swirl {.8, 5, 25}. +- flesh_maiden swing share .7; cloggy shot angle_alternate; bloaty direction_mirrored; lil_haunt lead_per_distance .5; + wrinkly_baby hover_standoff 120; small_leech hover speed_ramp {.0154, .336}; splurt/squirt along_push; needle/pasty + teleport range [120, 240] in mode room; splasher turret cooldown_random 30, first [20, 20]; willo attacks moving; + blurb/faceless transformation alternate pacer (11.1, now a create type) 1 in 3; whipper/snapper lane charge cone .9 and + stall {.5, 20}; ring_fly orbit limit [10, 6] and radius_wave [40, 70, .5]. +- Engine bug fixed (pass7_a1 #1): an attack's impulse on frame 1 never fired (attack_begin plays frame 1 without the + move, the next tick is frame 2), and end_below cut the Dip family's hop on its first step. Now the impulse lands on + the first handled tick and end_below waits past it. diff --git a/notes/entities/pass7_i1.md b/notes/entities/pass7_i1.md new file mode 100644 index 0000000..39069cc --- /dev/null +++ b/notes/entities/pass7_i1.md @@ -0,0 +1,112 @@ +# Group i1 notes (pass 7, 2026-10-25) + +Tier-b records first read in pass 2 (pass2_misc1.md), re-read for isaac-classic branch rif/monster-fidelity-10. +Speed convention as pass6_engine.md: the scripted engine brakes (the playing attack's or the behaviour's retention) +before the move and the attack's pushes run, so an engine push is Rep's net push (x / f times f, or x * f for a push +without / f), and a velocity the AI sets is moved times its friction (engine: charge_speed = set value * f). +Engine proposals: MF/engine_i1.md. + +## nerve_ending: NpcAI::ENTITY_NERVE_ENDING 00537e20 (231.0). Skipped (matches) +- State 0 sets TargetPosition to its spawn spot; every tick velocity = target - pos, friction *.5; variant 0 just + plays Idle (the SwingLeft/Right whip with its 80x20 tear rect is variant 1). Move anchor matches. + +## small_leech: NpcAI::ENTITY_SMALL_LEECH 0055b740 (810.0). Changed +- Wet (Room+0x7240 > 0): V1.X += .016 * speedMult a tick, capped .35; velocity += V1.X * unit(Isaac) (no / friction); + friction *.96; off the room edge (x 10 in, top 20, bottom 4) velocity *= -.6; |v| capped 10 / f. + Rep v' = .96 (v + .35) = .96 v + .336 (terminal 8.4): hover speed **.35 -> .336**, retention .96 kept. +- Dry: friction *.7; per tick ~rand & 1 -> v += unit(target) * (2 + 2 rand) / f, Hop clip (state 7), *.7 after + Land. Subtype 1 pushes * .75. Parent orbit branch (V1.Y radius = parent size + 20 + 40 rand, V2 angle step 4-5 deg) + is small_leech_orbit's. +- Not expressible: the .016 ramp (speed_ramp is chase/path only), the edge bounce, the dry form (no room water state). + +## needle: NpcAI::ENTITY_NEEDLE 0054eb80 (881.0). Changed +- State 0: invisible, no collision, StateFrame -30 - rand%60. State 3 friction *.95; StateFrame counts up to 0; then + each tick a spot: room centre + RandomVector * (60 + 250 rand), GetClampedPosition 20, FindFreePickupSpawnPosition, + taken when rand & 1 == 0 and 14400 < d^2 < 57600 to the nearest player (120-240). Then DigOut there (sound 2, + visible, collision 4), anchored (velocity = target - pos). +- DigOut done: velocity = 8 * unit(CalcTargetPosition), V2 = that unit, V1 = (vz -5, height 2), state 6, sound 0x1d0, + ProjectileDelay 4. State 6: friction *.6, v += 3.2 / f * V2 (net 3.2, terminal 8); vz += .4, height += vz; touchable + only while height <= -6 (ticks 3-23); dirt effect 1000.146 each time it crosses -6; lands when height > 8 (tick 26): + invisible, StateFrame -20 - rand%40. A grid hit turns V2 to the velocity's way. A hit (I1 out): I1 = 10, vz -= 3, + V2 *= .8; touching a bomb (type 4, aiCallPhase 3): I1 = 30, vz -= 4, V2 = .4 length. +- Changed: lunge **5.333 -> 3.2** (pass 2 took x / f), impulse **4.8** (tick 1 at 8: 0 + 4.8 + 3.2, then .6 * 8 + 3.2), + ticks **26** + ticks_held (the leap outlasts the 24-frame Idle; held so the impulse does not repeat). +- Not expressible: the room-centre spot with a 120-240 band (teleport mode near kept; proposal 1), the hurt kick and + bomb bump, the airborne touch window. + +## pasty: NpcAI::ENTITY_NEEDLE 0054eb80 (881.1). Changed +- As Needle (flag 0x10000 at init). The volley: ProjectileDelay 4 from the leap's start, run out on the 5th leap tick + -> FireProjectiles mode 7 (diagonal four) at 7, default params. Not on DigOut's Shoot event. +- Changed: diagonal volley moved from DigOut's release to the leap attack (shots[] on frame 5); lunge 3.2, impulse 4.8, + ticks 26 held. + +## whipper: NpcAI::ENTITY_WHIPPER 004e5170 (834.0). Changed +- Friction *.8. State 4: I1 = way of its velocity (0 left, 1 up, 2 right, 3 down), ProjectileDelay = 10 on a change. + Walk MoveRandomlyAxisAligned(1.25). Charge test (no charge yet): dot(axis unit of I1, unit to Isaac) > .9 and + CheckLine -> TargetPosition = axis, laugh overlay. Charging: v += axis * 1.75 / f; ProjectileCooldown counts ticks + below speed .5, the charge ends past 20 (Flagellant 60), on a grid hit, or with flags 0x1000a00; mass 80. +- Whip (ProjectileDelay out, else it counts down): QueryRadius 90 (180 Snapper) over entities passing + NpcHelper::whipper_is_target 004e50d0 (players, bombs, familiar variants 62/67/201/228/238/206/237/211; charmed: + vulnerable enemies), dot(facing, way) > .6 (.92) -> state 8 Attack, v += facing * 5 / f, ProjectileDelay 10; + state 8 friction *.9 (.6) on top of .8; Sound event 0x1ee. The Hitbox null capsule breaks grids and hits entities. +- Changed: impulse **6.25 -> 5** (net), lane charge prediction_duration **8 -> 1** (no lead) and lane_retention + **.9 -> 1** (no lane snap in Rep). +- Not expressible: the facing cone .9 for the charge (the corridor band of 20 px stays) and the 20-slow-tick end + (proposal 2). + +## snapper: NpcAI::ENTITY_WHIPPER 004e5170 (834.1). Changed +- As Whipper: range 180, cone .92, attack friction .48. Same three changes. + +## deep_gaper: NpcAI::ENTITY_DEEP_GAPER 00560570 (811.0). Changed +- State 0: subtype 0 morphs on RandomInt(3) == 0 to subtype 1 + RandomInt(6) (heads). Hidden (state 3, invisible, + invincible, no collision, champion colour held in I1) only when spawned on the room's first frame; otherwise it walks. +- Arms when friendly, or (no live enemy and Room+0x11ec clear delay < 9), or a room-desc flag bit 1. Armed: on + IsFrame(4) a rand & 7 == 0 roll, or StateFrame > 90, and IsPlayerInRadius(60) false -> state 8 Ambush1/Ambush2 by + InitSeed & 1, visible, colour back; collision class 4 on the Splash event (effect 1000.132, sounds). +- State 4: FindGridPath(.6, 900) with no friction change (path .6 / retention 1 match); sound on rand%3 with a path. + Death of subtype 6: ThrowLeech from a free spot 80 out. +- Changed: gate + min_range **60**; Ambush1 untouchable to Splash. +- Not expressible: the 90-tick forced emerge (proposal 7), Ambush2, the 1 in 18 leech, the mid-room spawn walking. + +## blurb: NpcAI::ENTITY_BLURB 0055a010 (813.0). Changed +- State 4: HeadFull, FindGridPath(.3, 900). Attack when health share <= .5, or hostile and dist < 100 (no sight test). + State 8: HeadAttack overlay, FindGridPath(.1) (it walks on), StateFrame 4 -> 0 fires. State 16: Head, .72. +- Shot: FireBossProjectiles 006ccdd0 (7 + rand%3, Isaac capped to 100 px, trajectory 3): per shot dir * 7 + random + angle * 3.5 rand, fall accel .32 + .1 * 3 = .62, fall speed 5 - 30 * .8 rand - 3, scale .9 / 1.3 + .05 rand; plus a + 1000.11 (1000.12 in stages 27/28) poof 20 up. +- Dead in state 4 or before the shot -> the same burst. Death with health > -25 and rand & 1: Morph(11, rand%3 == 0). +- Changed: range clause loses sight; attack chase **.1**; volley fall_acceleration **.62**, fall_base **2**. +- Not expressible: the unfired burst on death (proposal 3), the Pacer third (proposal 6). + +## blister: NpcAI::ENTITY_BLISTER 005430d0 (303.0). Changed +- State 0: StateFrame rand%30. State 4: Idle, friction *.6, StateFrame counts down; below 0: vector = clamp(dominant- + axis delta to its child (live dark ball) or else Isaac, +-40) * .2; rand%10 == 0 and no child -> Attack, else (vector + nonzero) Hop. State 6 Hop: velocity SET to (1 - frame / 26) * vector, friction *.9, Land sound 0x45; end -> state 4, + StateFrame rand%30. State 8 Attack: friction *.7; Shoot -> SpawnEx 404.1 with a length-4 velocity, the ball's + spawner and the blister's child linked, sound 0x19e pitch .9 + .2 rand. +- Death: off a grid and not a champion regen -> Boil 30.2 (Sack) at half its max health, control handed over. +- Changed: Hop lunge .9 (Jump..Land) -> charge_speed **7.2** (8 * .9 moved per tick, Isaac's main axis, from frame 1) + + charge_decay share **.074** (geometric for the linear 1 - f/26: ~97 px either way); spawn_cap **own**. +- Not expressible: hopping at its live child (proposal 8), the shorter hop with Isaac within 40 on the axis, the + ball's 4-speed throw, the sack's half health. + +## mushroom: NpcAI::ENTITY_MUSHROOM 00542be0 (300.0). Changed +- State 0: StateFrame (rand%5 + 1) * 30. State 3: Hide once (I1 = 0), then Blocking, StateFrame counting down; all + damage *.25 in state 3. Then state 8 | (rand & 1): Reveal, Shoot -> sound 0x48, FireProjectiles mode 6 (state 8) or 7 + (state 9) at 7. State 16: Revealed (rand%3 + 1) * 30, sound 0x26, Hide, back to state 3 with (rand%5 + 1) * 30. + Friction *.8, pinned to its spawn spot. +- Changed: first_cooldown [30, 121] -> opening **[2, 1]** (the starting Hide; its cooldown 30 + 30 * rand(5) is the + step-exact first wait). Revealed 30 + 30 * rand(3) and the Hide cooldown already matched. +- Not expressible: the opening Hide's 6 frames are unguarded here (Rep is in state 3). + +## hard_host: Host routine 005111b0 (27.3; ICF-named Entity::TeleportToRandomPosition). Skipped (matches) +- Guarded types: 0x35b, or variant != 1 and subtype != 99. Friction *.7 (0x35b *.9 with its drift). Idle: StateFrame + < 1, IsFrame(7, index): ProjectileCooldown < 1 and d^2 < 57600 and CheckLine (mode 0 for variant 3, else 3; colour 8 + skips it) -> cooldown 7, Shoot; else cooldown - 1. StateFrame counts down every 7 ticks. +- Closed (state 3, or before Open / after Close): hit damage zeroed (flags 0x8000 pass, 0x408080 not counted); state 3: + StateFrame += (int)(dmg + .5) / 2, capped 10; V2.X -= dmg * .05; over 20 summed -> Bombed. +- Variant 3 Close: sound 0x34, effect 1000.72 subtype 2 at 20 toward Isaac rotated at him, particles, ShakeScreen 12, + players within 120 get 3 * unit pushed (force 9). Shoot (other variants): mode 5 (variant 1) or 2 at 7, VelocityMulti + 1.07, FallingAccel -.05. +- Record matches (firemode 7 on period 7, range 240, sight, guarded open 11-55, delay_cap 10, bolts + gas push). + Left: the halved delay (pass 2's delay_scale), Bombed. diff --git a/notes/entities/pass7_i2.md b/notes/entities/pass7_i2.md new file mode 100644 index 0000000..e53f0fb --- /dev/null +++ b/notes/entities/pass7_i2.md @@ -0,0 +1,111 @@ +# Group i2 notes (pass 7, 2026-10-25) + +Army Fly, Ring Fly, Drip, Faceless, Candler, Wall Hugger, Ink, Bulb and Mr. Red Maw, re-read for isaac-classic branch +rif/monster-fidelity-10 (their pass-2 reads are in pass2_misc2.md). Speed convention as pass6_engine.md: the scripted +brake runs before the push, so the engine speed is the net push per tick (Rep push / f_call * f_tick). Engine +proposals: the worktree's MF/engine_i2.md. + +## army_fly: NpcAI::ENTITY_ARMYFLY 0054ad80 (868.0). Changed +- friction *.8 every tick. State 0: links behind another army fly within 42 (sqrt) that has no child (a tail), not in + its own line; the last one found in the list wins. State 4 plays Fly. +- Followers: Entity_NPC::FollowParentSegment 006d7df0 with (40, 8): the point 40 px of arc behind the leader along + its position history (a point pushed once it moved 3 px, 64 kept), reached at most 8 px a tick (velocity = step / + friction). A follower whose leader is confused or frozen (flags 0x220) unlinks and becomes a head. +- Head: i1 = a cardinal way (the way away from its child, or random). Each tick v += rotate(way, sin(age * pi / 10) + * 20 deg) * 1.6 (40 deg and * .6 when confused): terminal 6.4 under the .8. A wall cell (collision 4) 40 px ahead + turns it left or right (rand & 1, the open side preferred). Turn timer i2 = 10 at state 0; due with Isaac within + 600: rand%3 == 0 each tick picks the best of left/straight/right by dot with Isaac's offset (not a wall); a new way + sets i2 = 8 + rand%15. Beyond 600 or confused: rand%5 == 0 turns left/right at random, i2 = 8 + rand%15. +- Rejoin: IsFrame(4) and rand & 7 == 0, a head touching (QueryRadius 8) another group's tail links behind it. +- Death with a child: the child heads the rest (PathFinder::Reset, group index handed down): the line splits at the + dead link only. +- Port: link_distance 600 -> 42 (the default; room rows of flies are 40 apart, separate rows now form separate + lines), releasing removed (it broke the whole chain into single heads), follow_index 3 / head_follow_index 2 -> + follow_index 6 (trail points ~6.4 px apart at full speed: ~40 px), snap_distance 8, chase_speed 1 -> 2.12 (the + engine's pathfind push 1.66 a under the .83 calm scale, braked .8 by the chain: terminal 3.02 a = 6.4). +- Not expressible: the cardinal runs with their turn timer and wobble (pathfinding stand-in), rejoining, arc-length + spacing, the confusion unlink. Skatole (item 9) morphs it into a Fly (13). + +## ring_fly: NpcAI::ENTITY_RING_OF_FLIES 0053bae0 (222.0). Changed +- Every ring fly's parent is the room's first ring fly (QuerySublist), so all share one ring of n members. Slot i: + angle 2 pi i / n + rot, place = centre + (sin, cos) * r. The leader: rot -= .0942478 * avg speedMult a tick + (clockwise on screen, y down), r a triangle 40..70 at .5 a tick (starting 40, rising), centre (its targetPosition, + starting at its spawn) moved 2 * speedMult px a tick along the unit from it to Isaac (CalcTargetPosition). +- Each fly: velocity = place - pos when within 10 px, else 6 toward it; friction 1, grid collision none. +- Subtype 1: health above its max drains 4 a tick. +- Port: spin -.0942478 -> +.0942478 (the engine's place is (cos, sin) * r: a growing angle turns clockwise), ring 10 + + ring_step 30 -> ring 32 (one ring, rooms hold up to 14), drift .03 -> .01 (the engine's centre moves ~drift * + distance a tick: 2 px at 200, was 6). speed .3 / retention .7 kept: s = 1 - r gives Rep's one-tick lag. +- Not expressible: the constant-speed centre, the 6 px cap, the radius wave (r held at its mean 55). + +## drip: NpcAI::ENTITY_DIP 00534860 (870.0). Changed +- Idle (state 3): friction *.9; rand%10 a tick hops: (5 + 3 rand) / friction along Isaac's direction on rand%3 == 0, + else a random one (fear: away; minus 8 * the room's water current). State 4 Move: friction *.95 only (its branch + jumps past the .9), at frame 10 rand%3 -> state 16 (next tick hops again from Idle), else back to idle at the end. +- Port: attack retention .855 -> .95. one_in 10, impulse 5 + 3, lunge_aimed_one_in 3, rehop 1 in 3 matched. +- Not expressible: the water current push. + +## faceless: NpcAI::ENTITY_FACELESS 004faad0 (827.0). Changed +- Unaware (stateFrame 0): PathFinder::MoveRandomly(0) at friction 1, then friction *.8: net push .4. Woken for good + by health < max or Isaac within 80: FindGridPath(Isaac, .6, 900, 1) with no brake. The Attack is an overlay + (state 8): it walks on while it plays. +- Attack: per tick random_float <= .008 + .08 sqrt(V1.x) (V1.x += pending damage, -.11 a tick); Shoot: FireProjectiles + mode 9 (7, 6) with CircleAngle 0 (FireProjectiles advances the angle before each shot: 60..360, one shot due right), + effect 1000.11, sound 0xb2, V1.x -= 7. +- Death with health > -25, 1 in 2: Morph(11, rand%3 == 0): Gusher, Pacer one time in three, full health. +- Port: move drift .625 -> hop .4 (MoveRandomly is the engine's hop, and its .8 comes after the call); ring angle 0; + the woken phase's attack chase {speed .6} so it keeps pathing while it shoots. +- Not expressible: the anger term (proposal 4), the 1/3 Pacer (transformation alternate takes an int type), walking + through the unaware Attack. + +## candler: NpcAI::ENTITY_CANDLER 004e4970 (833.0). Changed +- State 0: cooldown 15 + rand%30 + rand%30, velocity a random unit. Every tick (not confused): friction *.8 and + +-1 / f per axis by its velocity's signs (y + when vy >= .1): net 1 a tick, terminal 5 per axis. Clamped into the room. +- Idle: cooldown -1 a tick; at 0 (not feared/confused/charmed) and NpcHelper::candler_is_free_cell 004e4870 (its cell + collision 0 and not a teleporter) and fewer than (W-2)(H-2)/5 (18) fireplaces 33.10 and none within 20 px + (squared 400): Attack. +- Attack (state 8): friction *.8 more (.64), no push. Shoot (frame 12 of 38): state back to 3 while the clip plays on, + velocity = 20 along a random diagonal (12.8 after the tick's .64), the fire 33.10 spawned on a free cell (sound + 0x1d7, size * .666 at scale <= 1), cooldown 15 + rand%30 + rand%30. +- Fear: + clamp((180 - d) * .02, 0, 1) / f away from Isaac a tick. Confusion: MoveRandomly. +- Port: speed 1.25 -> 1 (net push), bounce_random, first_cooldown [15, 59]; attack retention .8 with lunge_brake .8 + (.64 before Shoot, .8 after), impulse 20 -> 12.8; cooldown 15 + 0..58 from the clip's end -> 0 + 0..36 (Rep's + cooldown starts at Shoot, 26 frames earlier: its mean max(0, T - 26) is 18.3). +- Not expressible: the 20 px fireplace clearance (proposal 5), the diagonal-only dash, the bounce push resuming + inside the clip after Shoot. + +## wall_hugger: NpcAI::ENTITY_GUTS 005153b0 (218.0). Skipped (matches) +- No-Spikes while age < 30 frames, the room clear, or anyone holds trinket 0x97, else Spikes. Init: invincible, + flags. Push 3 * aiFloat / f under friction *.6 (net 3), cleared rooms *.9 and grid class 5. +- Data speed 3 / .6, No-Spikes repeat 14 (30 ticks), cleared No-Spikes already match. + +## ink: NpcAI::ENTITY_FLY 00506bd0 (61.3). Skipped (matches) +- Sucker steering (type 0x3d: threshold 15): min((d - 15) * .08, 1.2) toward Isaac with dy * .5, every tick; drift + V1 = (V1 + RandomVector * .6) * .4 on frame % 4 == 1 (as pass2 / pass6). Init colour. +- Death: FireProjectiles mode 7 (four diagonals) at 8 (10 in hard mode) in black (DAT_00c34e54), and black creep + 1000.26 with SpriteScale (4, 4), timeout 450. +- Data (flying_chaser numbers, death_volley diagonal 8, black slowing death_creep) matches; left: steering every tick + (proposal 8), the creep's Rep scale (the engine's puddle scales Flash art) and timeout, hard-mode speed. + +## bulb: NpcAI::ENTITY_BULB 0054bca0 (61.5, from ENTITY_FLY). Skipped (needs a feature) +- Charged = any of the target player's four active slots holds charge (a max-charge-1 item counts 1); charmed, a + forced target or variant 6 count as charged. Skatole: never charged. +- Full dart model in proposal 6 (buzz V1 1..6, timers 10 + rand%60 / 6 + rand%24 / 5 + rand%20 / 30 + rand%50, + uncharged 4 + 2 a tick to 12, charged 8 + 8 a tick to 20, side turns 60 / 75 deg, friction .85). +- The data's wander .5 / .85 uncharged and lane phase charged stay as stand-ins; the charge drain on touch is not in + this AI. + +## mr_red_maw: NpcAI::ENTITY_MRMAW 00517de0 (35.2 body; head 35.3, neck 35.10). Changed +- State 0 (bodies 0/2): spawns head variant + 1 (its child = the body) and 8 neck links 35.10 (V1.x = index). +- Body, head docked (state 4): FindGridPath(Isaac, .8, 900, 1) (Mr. Maw .6), no brake; the head is moved with it + (head velocity = body pos + vel - head pos). Head out (body state 8): friction *.7, FindGridPath(.4) (.3). +- Head: body cooldown (0xba0) -1 a tick, floored -30. Docked: IsFrame(4), not feared/confused/charmed, Isaac + his + velocity * 3 within 130 (squared 16900) and CheckLine mode 2 -> velocity 14 toward that point, sound 0xe2, + cooldown 30, body state 8. Out: docks within 5 once cooldown < 15; else pull (1.4 - .7 clamp((cd + 30) / 45, 0, 1)) + toward the body, then friction *(.9 + .0028 cd). +- rand%1000 == 0 a tick (or the head dying): the body Morphs into a Gusher 11.0 at full health; the head Morphs into + Maw 26.0 / Red Maw 26.1 at full health (a dying red head first fires mode 6 at 8, sound 0x92). A body whose head + is gone becomes a Gusher too. +- Port: tether lead 1.5 -> 3, free_one_in 500 -> 1000 (no variant difference). range 130, speed 14, pull .7, + retention .9 + .0028, return 5 / 15, walk_retention .7, period 4, fire 30, path .8 matched. +- Not expressible: the body pathfinding at .4 while the head is out, the pull ramp, the -30 floor (proposal 7). diff --git a/notes/entities/pass7_i3.md b/notes/entities/pass7_i3.md new file mode 100644 index 0000000..2120fbd --- /dev/null +++ b/notes/entities/pass7_i3.md @@ -0,0 +1,120 @@ +# Group i3 notes (pass 7, 2026-10-25) + +Tier-b records first read in pass 2 (pass2_misc2.md), re-read for isaac-classic branch monster-fidelity-10. Speed +convention as pass4_00.md / pass6_engine.md: friction (+0x36c) is reset to the entities2 value (1 here) every tick, +so an AI's `friction *= f` is the record's retention, and an AddVelocity-style `v += x / f` push is the net push x. +FireBossProjectiles (006ccdd0) with a zero target fires at a random heading at 7; with a target dir * 7 + random * +3.5; fall accel .32 + .1 traj, fall speed 5 - rand * 24 - traj, scale (.9 or 1.3 + rand * .05) * params Scale. + +## soul_sucker: NpcAI::ENTITY_FLY 00506bd0 (61.2). Skipped (matches) +- Steering is not every tick (pass 2 said so): the push runs only when Entity::GetIntervalTicks with interval 2 + (constant 0x00baa630) is non-zero, i.e. every 2nd tick: toward CalcTargetPosition (re-picked on IsFrame(3)), + unit(dx, dy * .5) * min((d - 15) * .08, 1.2) via the friction-dividing AddVelocity 004314b0 (friction is 1 then). +- Drift V1 = (RandomVector * .6 + V1) * .4 on frameCount % 4 == 1. Only on frameCount % 3 == 2 (asm 00508d92: JNZ + past the whole block): edge nudges .06 (x 80..540, y 230..420), v += 2 * V1 * speedMult / f, then friction *= .6. + On the other two ticks friction stays 1: no damping at all. +- isaac-classic's flying_chaser does exactly this (STEERING_PERIOD 2, DAMPING_PERIOD 3 phase 2): nothing to change. +- Death (61.2): Game::Spawn(1000.110 Enemy Brimstone Swirl) at height offset -15, plus four + NpcHelper::spawn_tracer_effect198 0060b9d0 warnings (generic tracer 1000.198, colour .8, scale 4, timeout 24) along + +x, +y, -x, -y. The swirl's own lasers are in Entity_Effect::Update (does not decompile; not read). + +## bubbles: NpcAI::ENTITY_BUBBLES 0055ad20 (806.0). Changed (partial) +- Walk: FindGridPath(.3, 900, 1), no friction change (path .3 / 1 matches); AnimWalkFrame WalkHori/WalkVert. +- Attack gate: stateFrame counts up in state 4 to 100 and is reset to 0 at the attack start and on the return to + state 4, so 100 idle ticks before the first attack and after each one; then Isaac within 200 (40000) and + rand % 120 == 0 -> AttackHori (|vx| > |vy|) or AttackVert, sound 0xa7. State 8: friction *= .4. +- Shoot (frame 21 of 33): Game::ButterBeanFart(pos, 120, npc, 1, 0) and I1 = 12. Every tick while I1 > 0 (the Shoot + tick first): sound 0xb9 and FireBossProjectiles(1, zero, traj 3, Scale .6; variant 4/3 on stages 27/28). +- Changed: ring of 12 at 3 on Shoot -> shots[] boss_volley count 1, spread 0 (random heading at 7), burst ticks 12, + scale .6, volley fall_base 2 / fall_acceleration .62; cooldown 100 and first_cooldown [100, 1]. +- Not expressible: (a) the hit shot: in every state, on a tick with a damage event queued (Entity +0x8 + _damageEvents) and I2 < 1, FireBossProjectiles(1, a point 40..120 px toward the last event's source, traj 1, + Scale .6), I2 = 20 + rand % 20; (b) the death geyser: Entity_Effect::CreateTimer(NpcHelper::bubbles_death_geyser_tick + 0055a850, delay 1, 15 times): each call 2 + 2 projectiles at rand * 2.8, FallingAccel 2, FallingSpeed + -15 - rand * 60, scale rand * 1.4, height -23 - rand * 15 (first pair) / -23 - rand * 1000 (second pair), so 60 + shots raining round the corpse. Also on death: effect 1000.132 and four 1000.2 gib splashes flung upward at 7. + +## bishop: NpcAI::ENTITY_BISHOP 004e7ea0 (805.0). Skipped (matches) +- Init: target = its cell centre, WakeUp. Every tick velocity = (target - pos) / friction (anchored), grid path 900. +- State 3: WakeUp then Idle; on a tick with pendingDamage > 0, rand % 3 != 0 -> Shoot (state 8), also mid-WakeUp. +- Shoot event: FireProjectiles mode 6 (cardinal) at 12 (no VelocityMulti), tinted, sound 0x106; clip end -> state 3. +- The record's hurt + hurt_tick + when chance .6667, cardinal 12 and anchor already say this. + +## polty: NpcAI::ENTITY_POLTY 0055d230 (816.0). Changed (partial) +- Init (room start only, no spawner): if an urn/pot grid (type 6 or 0x1a, state 1) is next to it, else anywhere in + the room (NpcHelper::polty_is_pot_cell 0055d180, NpcHelper::polty_target_set 0055d070 sets I2 = that index), it + moves onto it: state 0x10, invisible, no collision, stateFrame 30 + rand % 30. Otherwise straight to state 3. +- State 0x10: while that grid can still be lifted (NpcHelper::polty_is_target_liftable 0055d0b0) it counts down + with no distance test, then PotAppear (38) -> state 8 PickupFirst (PickupThrow at 11: Room::PickupGridEntity(I2), + the lifted grid becomes its held entity). Variant 1 (Kineti) waits in state 2 instead (SpecialAppear). +- Holding (state 4, PickupIdle; I2 = -1): accel min(d, .7) toward the point 100 px short of Isaac on its line, + friction .95; per tick rand & 3 == 0 and |Isaac - (pos + 4 v)| <= 150 -> Throw (state 10). Throw's PickupThrow + (frame 6): velocity = own v + 10 * unit(Isaac + 4 * his v + 4 * own v - pos) (own v * .2 for a held pickup). +- Empty-handed (state 3, Idle): on IsFrame it scores every liftable cell, distance / (neighbour collisions / 12 + 1), + times .2 pots (6, 0x1a), .4 poop (5) and 0xc, .7 tnt (0xe), 3 rocks (4, 0x16); flies at the best (.7 a tick, + within 40 px 1.4 with friction .7, else .95), Pickup (state 9) once slower than 1 within 8 px. Six empty searches + (or a tinted rock / super-special grabbed: held 1000 subtype 4/0x16) -> I2 = -2: no grid collision, accel .7 away + from Isaac, killed once outside the room. Death: the held rock thrown as a rock projectile at .7 v. +- Changed: hidden-phase gate range 100 -> phase_ticks [30, 30]; PotAppear -> new PickupFirst attack -> PickupIdle -> + Throw (PotAppear used to return to idle). Throw 10 + aim_lead 4 kept. +- Not expressible: real grid lifting and the rock search (pass 3's lift_grid), the 100-short hover and the 1/4 throw + roll while holding (PickupIdle seek .7, repeat 4 kept), the flight off-room, the death drop. + +## grudge: NpcAI::ENTITY_GRUDGE 004e6570 (877.0). Changed +- Init: No-Spikes, invincible (flags 0x40010001), collision damage 0, pinned to its cell (velocity = cell - pos, + friction .8 outside the charge), grid path 900. Killed at once when the room was already cleared on entry. +- State 3: after 5 ticks Wake; its Sound event (frame 4) sound 0xcd, collision damage 1. Then state 4, stateFrame 4. +- State 4: room clear (flag) with no live enemies -> Sleep, state 0x10. Else, once stateFrame < 1, every tick, any + live player with min(|dx|, |dy|) <= 24 < max(|dx|, |dy|) and Room::CheckLine(mode 1, 999) -> state 8, V1 = that + axis, V2.x = 0. No range, no lead. +- State 8: V2.x = min(V2.x + speedMult, 4); friction *= .8; v += V1 * V2.x / f (net .8 v + 1, 2, 3, 4); the cross axis + velocity = cell centre - pos; collision damage 2 once V2.x >= 4; creep splats while V2.y > 0; dust 1000.59 every 2 + ticks. A grid at size + 2 ahead: ShakeScreen 6, sound 0x1e7, state 4, re-anchored, stateFrame 15 (a 15-tick rest). + Enemies in front (QueryRadius) are pushed along and crushed (the record's enemy_contact_damage). +- In states 4 and 8 the Look clip is held on the 8-way frame (atan2 to Isaac / 45 + 8.5) & 7. +- Changed: lane period 3 -> 1; charge acceleration 4 -> 1 with the existing lane ramp {step 1, cap 4}. +- Not expressible: the 15-tick wall rest (lane slam_delay only follows a wall_attack), contact damage 2 at full + speed, the 8-way Look frame. + +## cloggy: NpcAI::ENTITY_CLOTTY 0050d370 (872.0). Changed +- friction *= .9 at the top of every tick; walk = PathFinder::MoveRandomly (.5 * speedMult / f, the f already .9): + net push .5 (hop .556 -> .5, as Dinga). Every arrival -> Attack (no roll, no counter for 0x368). +- Shoot (frame 11): blood explosion at (0, -20), sound 0xa6, FireProjectiles mode 9 (8, 4): a ring of 4 at 8, + Variant 3, CurvingStrength .012, FallingAccelModifier -.02; I1 == 0: BulletFlags CURVE_RIGHT (1 << 19), CircleAngle + -.9425; else CURVE_LEFT (1 << 18), +.9425; I1 = 1 - I1. +- Entity_Projectile::Update 00658ea2 (asm): with either curve flag, v += perp(v) * |v| * CurvingStrength * speedMult + (perp = (-vy, vx), negated for CURVE_LEFT), then resized to the old |v|: turn atan(8 * .012) = .0957 rad a tick, + clockwise on screen for CURVE_RIGHT. +- Changed: curve .03 -> .0957, angle 36 (the cardinal four turned -54 = +36 mod 90), fall_acceleration -.02. +- Not expressible: the start angle flips with the curve (-36 on the CURVE_LEFT volleys); the record keeps 36. + +## vis_versa: NpcAI::ENTITY_VIS 0052c720 (836.0). Changed +- friction *= .8 at the end of every tick in every state; state 4 MoveRandomlyAxisAligned(.7) (roam .7 / .8 match). +- IsFrame(3, index): |dx| < 20 or |dy| < 20 to Isaac, distance < 400, Camera::IsPosVisible -> state 9 (Attack01*), + V1 = Vector::ToCardinal(toward Isaac), a following tracer (SpawnFollowingEffect198, timeout 0x1c). +- State 9 (0x344): once stateFrame > 5 with no target set, TargetPosition = Isaac. Shoot (frame 30): ShootAngle(1) + from pos + V1 * 6, timeout 32 (LaserEnd 62), depth 3000 (-10 aimed up); its end point follows TargetPosition, + which moves 2 px a tick toward Isaac (scaled by dot + 1 when he is behind the beam). Tinted unless stage 0x20. +- Changed: attack retention .5 -> .8 (no extra brake while attacking). Alignment 20, range 400, period 3, laser + Shoot -> LaserEnd and homing already match. Not expressible: the on-camera test. + +## dukie: NpcAI::ENTITY_DUKIE 00541810 (288.0). Changed (partial) +- Init: velocity = random unit, ProjectileCooldown 60. friction *= .9, then v += (+-.3, +-.3) * speedMult / f by the + velocity's signs: net .3 a tick per axis (bounce .333 -> .3). +- State 4: cooldown < 1 and rand % 10 == 0 and GetAliveEnemyCount <= 7 -> Cough (state 8). +- Cough's Shoot (frame 3): sound 0x13e, a Dart Fly (0x100) at pos + (0, 40), velocity RandomVector * 3.5 + Dukie's + own; a second on rand % 3 == 0. Clip end: cooldown 90 + rand % 30. The cooldown counts down in every state. +- Changed: speed .3; spawn_speed 3.5 with spawn_cone 360 (a random heading at 3.5). +- Not expressible: the second fly's 1 in 3 (spawn_count_random 2 = 1 in 2 kept), the (0, 40) point (spawn_cone turns + spawn_at too), the added own velocity. + +## splurt: NpcAI::ENTITY_SQUIRT 00535280 (871.0). Changed +- friction *= .95 every tick; state 3 Idle *.7 more (.665); rand % 5 == 0 and IsFrame(5, index) -> state 8. +- State 8 Attack01 (Slide at 36 of 40): v += unit(Isaac - pos) * 20 / f, sound 0x39; clip end: V1.x = 0, state 6. +- States 6 and 4 (Slide, type 0x367): V1.x += speedMult a tick; while V1.x < 10, v += unit(v) * .5 / f (a push along + its own motion); friction *= .85 more once V1.x > 8 (state 6) or > 40 (state 4); V1.x >= 10 and speed < 3 ends + it: state 6 -> state 9 Attack02 (Slide at 8 of 12, the same 20 lunge) -> state 4; state 4 -> idle. +- Death: two Drips (0x366) 10 px out at a random angle, thrown at (4 + 2 rand) * speedMult / f, state 4. +- Changed: first Slide = ticks 8 at .95, then .8075 with end_below 3; second Slide = ticks 40 at .95, then .8075 with + end_below 3 (was .85 throughout, repeat 10 with speed 3); death_spawn speeds [[4, 6, 1]]. +- Not expressible: the .5 push along its motion for the first 10 slide ticks. diff --git a/notes/entities/pass7_i4.md b/notes/entities/pass7_i4.md new file mode 100644 index 0000000..f192d0f --- /dev/null +++ b/notes/entities/pass7_i4.md @@ -0,0 +1,139 @@ +# Group i4 notes (pass 7, 2026-10-25) + +Tier-b records first read in pass 2 (pass2_misc3.md), re-read for isaac-classic branch rif/monster-fidelity-10. +Speed convention as pass4_00.md / pass6_engine.md: the scripted brake runs before the move, so an +AddVelocity-style `v += x / f` maps to x, a plain `v += x` to x * f. Engine proposals: MF/engine_i4.md. + +## grub: NpcAI::ENTITY_LARRYJR 0046a0f0 (239.0). Changed +- Head walk: MoveRandomlyAxisAligned(2), f *= .8 at the end of the AI (roam 2 / chain retention .8: matches). +- Charge: stateFrame counts walking ticks to 51 (0x33); then each tick (no IsFrame) Isaac + vel * rand * 16 within 20 + of it on an axis, CheckLine mode 0 -> sound 0x73, TargetPosition = ToCardinal(delta), i1 = 1, stateFrame 0. + Charging: f *= .9, v += 3.7 * dir / f, then the closing f *= .8: v' = .72 v + 2.96 (terminal 10.6), until + collidesWithGrid (i1 = 0). The engine charge step is v * .9 + a, then the chain's .8: acceleration 4.625 -> **3.7**. +- Health: each joined segment = config hp + max(parent, child) (a shared pool), equalised every tick to the chain's + lowest (health - pendingDamage) by damaging the others (shared_health). +- Death: the first segment to die collects every segment's position, kills them all (i2 = 1), shuffles the positions + and spawns min(n, 2 + rand%4): per position on a free cell (GetGridCollision 0), rand%3 -> Charger 23 / Spitty 31 / + Maggot 21. Not expressible: ours death_spawns one per segment (engine_i4 #3). + +## strider: NpcAI::ENTITY_STRIDER 0055c810 (814.0). Changed +- Idle: each tick rand&3 == 0, then (not confused) rand&1 == 0 and CheckLine(mode 3) -> walk at Isaac (V2 = 0: the + unit to Isaac is re-taken each tick), else rand%3 == 0 -> V2 = RandomVector. Odds: at Isaac 1/8 with a line; + random 1/24 with a line, 1/12 without. +- Walk (20 frames, Row at 6): on Row v += dir * (6 + 3 rand); f *= .95 every tick; back to idle at the clip's end. +- Changed: three attacks: at Isaac sight one_in 8, random sight one_in **21** (7/8 * 1/21 = 1/24), random **unseen** + one_in **12**; impulse 6 -> **5.7**, spread 3 -> **2.85** (x .95). +- Not expressed: the heading re-taken at Row (ours at the clip start); the tilt angle eased .2 a tick (render only). + +## wrinkly_baby: NpcAI::ENTITY_WRINKLY_BABY 0054fa80 (38.3). Changed +- Init: i2 = 5 + rand%10 (first_cooldown [5, 10] matches); i2 counts down every tick. +- Idle (state 4): f *= .7, v += .33 / f toward CalcTargetPosition; within 120 of it (14400) the target is moved out to + 120 along its side. Hover .471 -> **.33**. +- Roll: i2 <= 0, not feared/charmed/confused, Entity::IsHostileTo (not a line test), rand&3 == 0: d < 120 -> Attack + (SetFrameFloat 3: from frame 3), 120 <= d < 280 -> DashStart. Both **sight removed** (pass 2 read 006d7d60 as a + sight test; it is IsHostileTo). +- DashStart: f *= .7; at its end TargetPosition = Isaac, V1 = unit, Dash. Dash: f *= .85, v += 3.75 V1 (no / f: + net 3.19), velocity projected onto V1 and the side offset to the aim line taken off; ends within 20 along V1 -> + Attack. Lunge 3.75 -> **3.1875**. +- Attack: f *= .7; Shoot (11): FireProjectiles mode 2, Spread .6, at 8 (10 hard), from pos + 4 dir -> fan + [1, 0], [.8649, +-.149], fall_velocity -4 (was count 3 spread .171); then i2 = 15 + rand%30 (matches). +- Not expressible: the 120 standoff (engine_i4 #6), Attack from frame 3 when rolled (#7), hard-mode speed 10. + +## black_globins_body: NpcAI::ENTITY_GUSHER 0050af90 (280.0). Changed +- Init: ProjectileCooldown 20 + rand%20. Move: f *= .75 then PathFinder::MoveRandomly 007e6300 (pass 2 read it as + MoveRandomlyBoss): drift .667 -> **hop .5** / .75. Walk anims by AnimWalkFrame (.1). +- The Spiders clip is a looping overlay shown all the time, never an attack pose. +- Cooldown <= 0 and GetAliveEnemyCount < 5: ThrowSpider(pos, target 0 -> FindFreePickupSpawnPosition(pos, 100), + height -30), sound 0xb5, blood poof, cooldown ((rand&1) + 1) * 90 (matches). Spawn -> **thrown spider shot** + (far radius 100). +- Splat on the interval ticks at .2 + .3 rand (matches). Not expressible: Spiders as an overlay. + +## mole: NpcAI::ENTITY_MOLE 004fdf80 (829.0). Changed +- Underground (state 4): with CheckLine(mode 0) clear, f *= .8 and v += .8 / f toward Isaac + V2 * dist * .4 rand (V2 = + his velocity, sampled on IsFrame(30)); the orbit offset there is always 0 (its radius is clamped to <= 0). Else + FindGridPath(.8, 499, 1). Move chase -> **hover .8 / .8 + hover_blind_path**. +- Surfaces: rand%10 == 0 and (d < 90 or (stateFrame > 90 and d < 200)), stateFrame counting underground ticks since + the last DigOut; snapped to its cell centre, DigOut (DigOut2 in darkness). Added a second DigOut: range_min 90, + range 200, rested 90 after Jump, gated age_at_least 90. +- DigOut: collision back on at Shoot; after the clip, rand%10 a tick -> Shoot: DigOut **ticks 18 + [19, 1], held**. +- Shoot: FireProjectiles mode 2 at 8 toward Isaac, Spread .4 -> fan [1, 0], [.8649, +-.0994], fall -4 (was 3 at .3). +- Jump: 10 tries (1 in 4 CalcTargetPosition, else a random 90 px), FindFreeTilePosition, pathable, HasPathToPos, + < 120, farthest kept; poop grid (state 125 or 250) on the old cell when it moved; JumpBack when the target is + above. Moving: share += .04 a tick, f *= .4, v = (target - pos) * share / f. Shoot2: collision off, underground. +- Not expressible: the lead on the clear-line push, the jump target choice and its ease (glide 90 kept), JumpBack. + +## dragon_fly: NpcAI::ENTITY_BOOMFLY 0050f280 (25.3). Skipped (matches) +- Flight as every Boom Fly: f *= .9, +-.45 / f per axis by the velocity's sign (bouncing_fly .45 / .9). +- Pass 2's "a fire shot every tick" is the _dead branch: on death (no flag 0x1000000) one still FireProjectiles mode 0, + Scale 2, FallingAccel 1, FallingSpeed 0, flags 1 << 35 FIRE_WAVE (1 << 36 FIRE_WAVE_X for subtype 1): the shot + lands at once and starts the cardinal fire wave (the death_effects bolts). + +## bone_fly: NpcAI::ENTITY_BOOMFLY 0050f280 (25.4). Changed +- Flight as above: bounce retention .693 -> **.9** (terminal 4.5 per axis, as Rep). +- IsFrame(3): Isaac + vel * 16 rand clamped 20 into the room; |dx| or |dy| < 20 to it, < 200, CheckLine(3, 999) -> + Attack, f *= .8 more (attack retention **.72**). Shoot: mode 0 at 10 toward Isaac, projectile variant 1 -> + **still**. +- Death: FireProjectiles mode 9 (9, 3) (10 hard), CircleAngle = the cardinal toward Isaac: death_volley 7 -> **9**. +- Not expressible: the random 16-tick lead of the alignment test, the cardinal-snapped ring angle. + +## flesh_maiden: NpcAI::ENTITY_FLESH_MAIDEN 00502980. Partial (data matches, engine note) +- f *= .7. Hop (state 3): a = 110 + 20 rand, b = 110 + 20 rand; aim Isaac + vel * .1 * dist; d >= 1.33 a: landing + a dir + b (dir turned i1 * 90 deg), else sqrt(a^2 + b^2) dir; control point .75 of the way plus the hop vector + turned 90 deg, on the side away from Isaac; SwingRight when landing x >= x; i1 = +-1 from InitSeed & 1, flipped. +- State 4: p += .035, posOffset.y = 9 - 36 (p - .5)^2, angle and radius about the control point eased by + (1 - cos(pi p)) / 2, velocity = curve point - pos; a grid hit clears the target and sets p >= .8; p > 1 -> state 3. +- The swing move holds all of it. Left: Rep keeps .7 of that velocity (it trails its curve), ours none (engine_i4 #4). + +## crackle: NpcAI::ENTITY_GURGLE 0051aaa0 (87.1). Changed +- Walk FindGridPath(.6, 0, 1), no friction of its own: move chase -> **path .6 / 1**. +- Attack: each tick rand%60 == 0, then Isaac within 130 (16900), no line test; f *= .7 while attacking (matches). +- Shoot: FireBossProjectiles(1, Isaac, traj 10) (006ccdd0: velocity 7 unit + random angle * 3.5 rand, FallingAccel + 1.32, FallingSpeed -5 - 24 rand), scale 1.6, flag 1 << 35 FIRE_WAVE; then FallingAccel -= .6, velocity *= .55, + FallingSpeed = .7 fs - 3. Shot 5.5 / -8 / .6 -> **3.85, aim_scatter .5, fall [-23.3, -6.5], accel .72** (lands + 60-140 px out). + +## swarm: NpcAI::ENTITY_SWARM 00540df0 (281.0). Changed (partly) +- State 0: no parent -> 4 more spawned at pos + 10 * a random unit, parented to it (each room cell = 5 flies). +- The leader's TargetPosition moves 5 a tick along unit(CalcTargetPosition - its own pos) (never stops: it leads the + fly by ~42 px and the fly runs through Isaac and back); children read the leader's. Each tick v += V1 (last tick's), + V1 = (point - pos) * .03 + (cos, sin)(frame * +-5 + index * 25 deg) * .8 rand; leaders' points repel within 100 + ((1 - d/100) * .5); QueryRadius(50, enemies): every one with index >= its own pushes both +-(1 - d/50) * .75; f *= .8. +- Changed: hover .6 -> **1.25** (net pull at the ~42 px lead; terminal 5 as the point's speed). Separation (.06 within + 50, the .015 / px push net of .8) kept. +- Not expressible: the 4-fly brood (engine_i4 #1), the rotating circle term (#2), the lagging shared point. + +## nest: NpcAI::ENTITY_HIVE 0050c370 (205.0). Changed +- Hostile: EvadeTarget(CalcTargetPosition), else MoveRandomly; f *= .8. V1.x <= 0 and 4 + rand%5 <= alive enemies -> + V1.x += 20 + rand%50. Evading: V1.x counts down; at 0: Isaac >= 300 (Euclidean) -> 3; no CheckLine(Isaac, it, 2) + -> 7; else HeadAttack overlay, V1.x = 75 + 55 + rand%20 (130-149, cooldown 140 kept). +- Shoot: Game::Spawn spider 85.0 at its own position, zero velocity -> cough speed 7 -> **0**. +- Death (health > -20): 1 - championRegenCount of big spider 94.0 / trite 29.1 (rand&1): matches. +- Not expressible: the Euclidean 300 (cough range is per axis), the 130 + random(20) cooldown. + +## soy_creep: NpcAI::ENTITY_WALL_CREEP 0053c0d0 (240.1). Changed +- Walk: velocity = V1 (5 along its wall) * .7 while more than 10 off Isaac's line: wall .4 / .8 -> **3.5 / 0**. +- Attack: StateFrame < 0 (15 + rand%45, set at the start, counted only in state 4), on camera, no alignment; + pinned (velocity = target - pos). AttackStart's Shoot (10) sets ProjectileCooldown 90; each tick it counts down and + on odd counts fires (45 shots, one per 2 ticks): FireProjectiles mode 0 at 8 straight out, Scale .15 + .15 rand, + HeightModifier +12, FallingSpeedModifier 2 (rand - .5), FallingAccel -.12, variant 4, launch jittered + (rand - .5) * 4 along the wall, a 1000.80 poof; at 0 AttackEnd, then state 4. +- Changed: AttackStart shots from Shoot, burst 6 every 2 (3); AttackLoop 84 ticks, period-2 burst (42); scale .5 -> + [.15, .3], fall [-4, -2], accel -.12, still. +- Not expressible: the on-camera gate, HeightModifier, the launch jitter. + +## scarred_double_vis: NpcAI::ENTITY_VIS 0052c720 (39.3). Skipped (matches) +- MoveRandomlyAxisAligned(.7), f *= .8; IsFrame(3), not confused, |dx| or |dy| < 20, d < 400, on camera -> + V1 = ToCardinal, state 9, Attack04 (Attack02 on the Rebirth sheet); Shoot: Entity_Laser::ShootAngle(1, + pos + 6 V1) along V1, -V1 and both perpendiculars, timeout 3000 (-10 aiming up). +- The routine makes no splat: the record's walking splatter (period 5) is not from it (left alone). + +## cursed_globin: NpcAI::ENTITY_GLOBIN 0050e4d0 (24.3). Partial (matches what ground_chaser holds) +- Walk FindGridPath(.75) (subtype > 0: .65 + .25 RandomFloat(InitSeed)), f *= .97; splat rand%10 at .2 + .5 rand. + ReGen: f *= .7 (variant 1 alone retreats .5 / f within 200). +- Death while walking (no flag 0x200000): RandomInt(100) on its InitSeed > min(99, 15 subtype) (25 in room type 5) + -> split: health = max = max(1, .6 max), subtype + 1, invulnerable 2 ticks (i1 counted in the aiCallPhase 1 pass), + ReGen from frame (4 - subtype) * 10, and a copy (same health and subtype, state 3, ReGen at that frame) pushed + apart at 4 a tick along the perpendicular of its velocity (random unit when still). The roll failing: alone at .6. + Killed during ReGen: splits on the roll (from frame 40), else dies. +- Ours: acceleration .75, recovery 20 (= .6 x 33), retention .7, splatter: match. Not expressible: the split chain, + the shrinking health, the skipped ReGen frames, the subtype speed (engine_i4 #5). diff --git a/notes/entities/pass7_i5.md b/notes/entities/pass7_i5.md new file mode 100644 index 0000000..0896f7d --- /dev/null +++ b/notes/entities/pass7_i5.md @@ -0,0 +1,109 @@ +# Group i5 notes (pass 7, 2026-10-25) + +Read for isaac-classic branch rif/monster-fidelity-10. Rechecks of pass2_haunt.md and pass2_stone.md. Speed convention +as pass4_00.md / pass6_engine.md: Rep v' = (v + push) * f; the engine brakes, then pushes, so its push = Rep push * the +friction left after the push (a push divided by friction maps to the Rep constant). Projectiles: Entity_Projectile::Init +height -23, fall speed ~0; the engine's shot defaults are the same, so FallingAccelModifier maps to fall_acceleration and +HeightModifier to the offset's height. anm2 events load as AtFrame + 1 (engine frames start at 1). + +## floating_knight: NpcAI::ENTITY_KNIGHT 005135d0 (254.0). Changed +- Init: grid collision class 3 (walls only). State 4: stateFrame counts down; at < 1, stateFrame = 30 + rand%15, + i1 = rand & 3 (0 left, 1 up, 2 right, 3 down); v += .75 that way; on a wall hit the way reverses and pos -= v. Then + friction *= .8 (after the push): turns 30 / 15, speed .75, lane retention .8 already match (the walk pushes, then + brakes, as Rep). +- Charge: IsFrame(3, index), not confused/feared; Isaac + vel * rand * 16 clamped to the room (20); its cell centre within + 20 on an axis, dist < 200, CheckLine skipped for 0xfe. State 8: friction *= .8, AddVelocity(unit axis) (00431450: + v += x * speedMult, no friction divide), pos eases .1 a tick to the lane. Net v' = .8 v + .8, terminal 4. +- Changed: charge acceleration 1 -> **.8** (the lane charge does v = .8 v + a). Ends on a wall hit or confusion/fear + (velocity * .01). The rand%100 sound 0x43c is not ported. +- Same convention applied to the other knights (not this group): black_knight's charge acceleration .7 would be .56 and + its ramp step .07 -> .056 if the ramp runs before the brake; the parent should check loose/brainless/bone knights too. + +## constant_stone_shooter: NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320 (202.0). Changed +- Params: FallingAccelModifier -.101, HeightModifier 13, VelocityMulti 1.07; shot v1 * 7 -> 7.49 (matches) from the + Bullet null / .65: ShootLeft's null is (-13, 0) -> -20. +- Changed: offset [-19, 0] -> **[-20, 13]**, **fall_acceleration -.101** (fall speed .9 fs + .1 - .101 -> -.01: level + flight until a wall, as Rep). first_cooldown [20, 0] (never reset) and CloseEyes on plates kept. +- The same fix applies to constant_stone_shooter_202_0_1/2/3 (not this group): offset height 13, fall_acceleration -.101, + x +-20 for the side ones (ShootUp/ShootDown null (0, 0)). +- Rep oddity: at the Shoot clip's end it plays IdleDown/Up/Left/Right for subtypes 0-3 (init: Left/Up/Right/Down); the + next tick replaces it, nothing to port. + +## triple_grimace: NpcAI::ENTITY_STONEHEAD 00520c60 (42.2). Changed +- Cooldown 0x54 = 84 set as the Shoot clip starts; IsTargetInAttackRange(0, 7) 006cae60 with XMM1 = DAT_00baaa94 = + **200** (asm 00521727): IsFrame(7), dist < 200, CheckLine(3, 999). FireProjectiles mode 3 at 7 (10 hard) from pos, + +-24 degrees; params FallingAccelModifier -.101, HeightModifier 13, no VelocityMulti. +- Changed: fall_velocity -6 / fall_acceleration .05 (a Flash lob) -> **fall_acceleration -.101**, starting fall left at 0. + offset [0, 13], spread .419, range 200, firemode 12 x period 7 match. Closes on no live enemies (CloseEyes). +- over_terrain 15 is not from Rep (kept). + +## cross_stone_shooter: 00506320 (202.10). Skipped (matches) +- Init cooldown 22, never reset; ShootAndRotate1/2 with FireProjectiles((10, 0), mode 6 + subtype) and DEFAULT params + (normal fall: no fall fields, as the record). Subtype toggles at the clip end. Closes on plates OR no live enemies. +- Left (as pass 2): the idle/close poses that follow the toggled subtype, and the OR. + +## brimstone_head: NpcAI::ENTITY_STONEHEAD 00520c60 (203.0). Changed (offset only) +- State 3: room byte set, (frameCount - room entry) > 30 and % 90 == 0 -> state 8 and + Entity::SpawnFollowingEffect198(dir, 0x1a, colour .8, 4.0): a 1000.198 warning tracer for 26 ticks, which ends just as + Shoot (frame 26) fires ShootAngle(1, subtype * 90 - 180, timeout 15, offset LaserPos / .65). Laser DepthOffset + (+0x358) is -10 for subtype 1 (up), else 10: draw order. State 8 ends once the clip is over and the laser gone. +- Changed: beam offset [-22, -6] -> **[-23.1, -6.2]** (ShootLeft LaserPos (-15, -4) / .65). The rest matches. +- Not expressible: the warning tracer (engine_i5.md #1). The 203_0_1/2/3 records may want the same offset check. + +## gaping_maw: 00520c60 (235.0). Skipped (matches) +- Pull on players (1), tears (2), projectiles (9) within 300: v += clamp((300 - d) * f / 300, 0, f) * speedMult / their + friction (f .6 player, .9 others); with the physics step's * friction that is a net (300 - d) * f / 300 a tick, as the + engine's pull. A player whose +0x1e68 entity is within 52 is pulled from their midpoint (not ported). TurnOff on plates. + +## broken_gaping_maw: 00520c60 (236.0). Changed +- Clock stateFrame % 240 (from its spawn): 0 TurnOn (28 frames); TurnOn's end -> Effect + Sucking overlay, pulling only + while it plays; 150 TurnOff (overlay cleared). Pulls 122 of every 240 ticks; maws placed together stay in step. +- Changed: Sucking repeat limit 7 (128 ticks) -> **ticks 122**; TurnOn **period_serial false** (room clock). + +## bomb_grimace: NpcAI::ENTITY_BOMB_GRIMACE 004f8df0 (809.0). Partial (no change) +- Init (not in the Abandoned Mineshaft dimension): a 5.41 throwable bomb on the cell below (pos + (0, 40), snapped to the + cell centre), linked as its child, its appear clip advanced to the end. +- State 3: Idle; with stateFrame < 1 it waits while its child lives; once gone, stateFrame = 30, counted down; at 0 state 8. +- State 8: Shoot (43 frames); on Shoot (AtFrame 30) sound 0x106 and a 5.41 at pos + (0, 6), velocity (0, 1.25), linked; + clip end -> state 3. Death: effect 1000.0x77 with callback 004f8cc0, count 10 (the ten bombs). +- Record: when type_count throwable_bomb_pickup below 1, cooldown 30 after the attack, spawn [0, 6] / [0, 1.25]. Not + expressible: the opening bomb, the gate on its OWN bomb (type_count counts every one in the room), the 30-tick wait + counted from the bomb's loss (engine_i5.md #2). + +## lil_haunt_260_10: NpcAI::ENTITY_THE_HAUNT 00481410 (260.10). Changed +- Orbit (state 3): pos = parent + 50 (cos, sin)(i1 / n * 360 + 2 * roomTicks - 40 deg); n = 3 to age 90, 3 - (age - 90) + / 60 to 150, then 2 for a subtype-0 Haunt (the two left spread out), else the parent's live count (parent i1, recounted + every 4 frames from 260.10s whose parent it is, detached ones included). Friction *.5, hits flash and are dropped. +- Detach: ((i1 == 0 or parent subtype != 0) and age > 90) or (parent subtype 0 and parent i1 < 3) or no parent. So the + black (and pink) Haunt's lil haunts all leave at 90 (pass 2 could not read parent +0x30: it is the subtype). +- Chase (state 4): d = Isaac - pos; aim = d + |d| * playerVel * .5; v += unit(aim) * .5 / f; f *= .95 after. No Haunt + *.96 (that is the Haunt's own tail, line 806 of its body). Net v' = .95 v + .475. +- Shoot: stateFrame > 90 (stateFrame starts at 0 on detach and is zeroed every tick of state 8), d^2 < 40000, rand%50; + state 8 plays Shoot (16 frames), friction *.5; on Shoot (AtFrame 4): sound 0x13e, aimed at Isaac + vel * 5, speed 10, + and straight back to state 4 (the clip plays on while it chases). +- Changed: chase speed .5 -> **.475**, retention .912 -> **.95**; Shoot retention .48 -> **.5**; the attack's after_tick + 90 -> phase **first_cooldown [91, 0]**, cooldown 90 -> **80** (counted from the clip end, 11 frames after Shoot); black + colour's when -> **{after_tick 90} or host_absent** (kin_below 2 dropped). +- Not expressible: the distance-scaled lead (lead 8 kept; engine_i5.md #3); the chase resuming at the release. + +## homunculus (228.0) / begotten (251.0): NpcAI::ENTITY_HOMUNCULUS 00539b90. Changed +- Init: Awaken set as an overlay; anchor = nearest wall point (room bounds -20/+20 x, +0/+40 y), else (> 40 away) a rock + (grid type 3) in the four neighbour cells (i1 = its index); eight cord links 228.10/251.10 (the first skipped on a rock). +- State 3: Awaken overlay plays from its start; at its end state 4. Only the final friction *.8 runs: it stands. +- State 4: FindGridPath(CalcTargetPosition, 1.5) (feared: EvadeTarget). pos + vel past 100 from the anchor: friction *.2 + and pos clamped to anchor + 100 * dir (the leash). Free when: clamped this tick AND ((room +0x1bb0 != 0x35 AND old + stateFrame > 60 + rand%30 AND IsFrame(30, index) AND rand%5 == 0) OR I2 >= 1 (Mr. Fred's Cord 00486db0 sets it)), or + the anchor rock is gone. IsControllerActionTriggered (006d8290) only reads a controlling player's input: pass 2's + "hurt 1 in 4" is that, so it is not an AI rule. +- State 8 (free): FireProjectiles at the anchor (wall: clamped; rock: moved 60 toward it) mode 9 (10, 6): six at 10, at + once; Begotten darkness 1.0 for 150, then fades its colour .1 a tick. FindGridPath(2, 900). Variant 0 friction *.8 at + the very end of the AI, after FindGridPath (which itself did *.7 and pushed speed / .7): net 1.5 / .7 * .56 = 1.2. +- Cord links (state 3): placed along parent - anchor by V1.y (with a sag); once the parent is free or gone they go, a + Homunculus link leaving a 1000.22 red creep (scale .25 + rand) within 20. +- Changed (both): speed 1.5 -> **1.2**, free patch speed 2 -> **1.6**; **spawn_clip Awaken**; the patch's opening + [0, 1] -> **[0, 12]** (Awaken's Shoot, AtFrame 11 + 1) so the ring leaves on the first free tick; after_tick 75 -> + **age_at_least 93** (Awaken 18 + 75); the hurt / one_in 4 gate removed. Homunculus keeps the flag gate (Mr. Fred). +- pass6_engine.md listed Begotten's 1.5 / 2.0 as matching; the *.8 is after the call, so by the same rule as Mega + Clotty's MoveRandomly (.5 / .9 * .765) the push is 1.2 / 1.6. +- Not expressible (as pass 2): the leash-taut requirement, the ring from the anchor, the cords' creep (homunculus record + puts scale-2 creep on the ring instead). diff --git a/notes/entities/pass7_i6.md b/notes/entities/pass7_i6.md new file mode 100644 index 0000000..eceb750 --- /dev/null +++ b/notes/entities/pass7_i6.md @@ -0,0 +1,125 @@ +# Group i6 notes (pass 7, 2026-10-25) + +Willo, Ticking / Level 2 / Swarm Spider, Prey, Psychic Horf, Baby Begotten, Secret Room Keeper, Splasher, Big Corn, +Level 2 Charger, Fire Worm, Red Ghost and Bloaty, re-read for isaac-classic branch rif/monster-fidelity-10. Speed +convention as pass6_engine.md: the scripted brake (retention) runs before the attack's push (lunge, impulse), so a push +of x / f in Rep with f set before the call maps to x. + +Cross-group finding: every scripted / aimed_shooter shot that is not `still` goes through enemy_projectile_boost +(ffmo): speed x1.2, + .4 of the shooter's velocity, rise -1. Repentance's FireProjectiles / FireBossProjectiles add +none of that, so a Rebirth shot ported at Rep's speed flies 20% fast unless it is `still`. Records here now use +`still` (aimed_shooter has no such field: Psychic Horf's speed is pre-divided by 1.2). + +## willo: NpcAI::ENTITY_WILLO 005586b0 (808.0). Partial +- Helpers (named): willo_orbit 005581b0, willo_slot 00557f70, willo_attack 005583d0, collect_npcs_with_same_parent + 00557ce0 (spreads the base angles 2pi / n among same-parent Willos, re-spread on a death). +- Slot: Isaac + 120 (v1.x 120 * v1.y 1) at base - (frame + (frame & 1) * .5) * .5pi * .035 (-.055 rad a tick), y * .84. + In state 8 the base is v2.y (frozen at the attack start). +- Orbit: velocity = clamp((slot - pos - 2 pv) * .5, 10) + 2 pv (pv = Isaac's velocity / his friction), divided by + the friction 1: a first-order follow, no spring. +- Attack (state 3): rand%9 == 0, cooldown 0, not raised (posOffset.y), within 20 of its slot (400 squared), in the + room, not feared / charmed (0x1000a00), and no other Willo (variant 0, alive) in state 8 or 9. Subtype 1 skips the + gates. State 8 plays Attack (36 frames, Shoot 24) and keeps orbiting. +- Shoot: one FireProjectiles mode 0 shot at 10 toward Isaac + his velocity, Variant 4, flags 0x2000, a tint; + FallingSpeedModifier +4 when unparented and subtype 0. Sounds 471 on the first event (DAT_00b6166c, Warn) and 153 + on Shoot (pitch 1.5 / .5 for champion colours 18 / 19). +- Changed: speed .25 / retention .7 -> .5 / 0; shot aim_lead 1, fall_velocity 4, still; attack retention .7 (our move + stops while an attack plays). Not expressible: the 10 cap, the 2 pv share, the near-slot and one-at-a-time gates, + orbiting through the clip. + +## ticking_spider: NpcAI::ENTITY_SPIDER 00529da0 (250.0). Changed +- The spider kind matches: push 6 / f then f *= .6; idle stateFrame > 13 picks: Isaac (CalcTargetPosition + vel * 10, + clamped) when nearer than 100 + 100 rand with CheckLine mode 1, else a wander point 70 + 40 rand out with a clear + line (blocked: 1 in 20 if the inner 10-90% segment is clear), stateFrame 15; drop under 14 px, or speed < 3 once + the wait ran out. Types 215 / 250 / 869 then jump on rand%3 to a free cell: Jump clip (event Jump 7, Land 17), + v = v1 = (target - pos) * .08, rise -4, gravity .7, collision off; lands at height > -rise. +- Death (not flag 0x1000000): Game::BombDamage(pos, 40, radius 60), crater, 1000.1. radius_scale -> .8 (60 of 75). +- Not expressed: idle braking .48 (.6 * .8 when no target; ours .6), the 7-frame wind-up before the leap, the + enemy damage 40 (ours 50 + damage). + +## level_2_spider: NpcAI::ENTITY_SPIDER 00529da0 (215.0). Skipped (matches) +- As above without the blast. Same leftovers. + +## prey: NpcAI::ENTITY_HIVE 0050c370 (817.0). Skipped (matches) +- State 4: EvadeTarget (PathFinder::EvadeTarget 007e4940) while hostile, else MoveRandomly; f *= .8. +- EvadeTarget is the Flash angstfind ported: period 14 sight test at 170 / 250, threat memory, 7 - .3 fails tries at + 30 + 450 rand (y * .5) from 30 px off Isaac, escape push 1.5 / f, fails +.35 / halved / limit 20, target re-check + every 10 (200 px, 20 per axis), calm MoveRandomly(.5) with f * .9 and fails * .9; travel FindGridPath(1.079). +- 1.079 = Flash's 1.3 * calm .83: under the AI's .8 the net is .56 v + 1.726, which our navigator (1.3, calm scale, + min(2, d / 10), .7, then .8) reproduces exactly. Cough and death count as pass 3. + +## swarm_spider: NpcAI::ENTITY_SWARM_SPIDER 005505c0 (884.0). Changed (kind) +- State 0: subtype N spawns N copies within +-20, itself moved +-20. +- State 3: f *= .7; the heading is toward Isaac (Bursting Sack: away from the farthest spider), flipped on + rand%(d > 200 ? 20 : 4) == 0 or always within 100: rand&1 -> +-90, else reversed. WeightedOutcomePicker: + HopShort 2 (5 within 100) at 5 + rand turned rand*90 - 45 deg; Hop 3 at 8 + 2 rand, +-20; HopLong (beyond 100) 2 + (9 beyond 200) at 10 + 3 rand, +-10. Stored, state 6 at once. +- State 6: f *= .7 unless airborne; on Jump: velocity = stored, airborne, sound 0x102 (.4, pitch 1.8 + .2 rand); on + Land: grounded; past Land each tick rand&3 == 0 returns to state 3. +- Changed: spider kind -> scripted, move still / .7, immediate, eight hop attacks in three range bands (within 100: + Hop 1 in 3 else HopShort, both away at 9 / 5.5; 100-200: Hop 1/2, HopShort 1/4, HopLong 1/4; beyond 200: HopShort + 1 in 7, Hop 1 in 4, HopLong = 1/7, 3/14, 9/14 exactly); impulse + lunge_spread on Jump, retention 1 to Land, + lunge_brake .7; HopLong cut at 15 ticks for the early exit. +- Not expressible: heading jitter, the flips, the mid band's 2:3:2, subtype spawns, the sound. + +## psychic_horf: NpcAI::ENTITY_HORF 00513080 (248.0). Changed +- f *= .7; ProjectileCooldown 28 (14 hard); attack when < 1 and IsTargetInAttackRange(lead 0, IsFrame 7, range 200 + at DAT_00baaa94, CheckLine mode 3): Attack, on Shoot (frame 4) FireProjectiles mode 0 at 7 (10 hard), BulletFlags + |= 1 for 0xf8, default params. A blood effect 1000.2 at its mouth. +- Changed: aimed_shooter's shot is always boosted: shot_speed 7 -> 5.833 (net 7), fall_velocity -3 -> -2 (with the + boost's -1 and the homing +3: 0), fall_acceleration .1 -> 0, homing scale 1.5 -> 1, height_offset -10 -> 0. + +## baby_begotten: NpcAI::ENTITY_BABY_BEGOTTEN 004e8380 (883.0). Changed +- State 4: f *= .8; beyond 40 px a net 1 push toward Isaac (sidestepped from Isaac's aim when he is a player with a + firing direction); attack on rand&7 == 0 within 100 of a valid target (NpcHelper::is_target_valid 006be7e0), + dir = Vector::ToCardinal(Isaac - pos); skipped when another Begotten in state 8 holds the same side of that target. +- State 8: f *= .7; i1 = 20 of Chase; until the Attack clip's Stop: push clamp((Isaac + vel * 10 - dir * 100 - + pos) * .03, 16) / f. i1 out: Attack + sound 0xa7. From Shoot: f *= .9 more and -dir / f (net .63 v + .7). + Shoot: Entity_Laser::ShootAngle(1, pos + dir.x * 18, height -35, angle(dir), timeout 14), maxDistance 160, scale .6. +- End: state 4, i1 = 30 + rand%60, ProjectileDelay 30 + rand%50; neither is tested anywhere: no cooldown. +- Changed: cooldown 30 + [60, 1] once removed; after Shoot retention .63, lunge -.7 (was .9 / -1: terminal 10 instead + of 1.89), lunge_brake 1.111 (.7 before Shoot); laser aim -> axis; the gurgle on frame 1 (was Stop). +- Not expressible: the 100-px standoff approach on its axis (pass 3's attacks[]/approach), the same-side exclusion. + +## secret_room_keeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.1). Skipped (matches) +- shopkeeper_get_loot 006c1ac0 treats variants 0-2 alike; the record already has pass 9's loot. + +## splasher: NpcAI::ENTITY_GUSHER 0050af90 (238.0, 0xee). Changed +- f *= .75, MoveRandomly (hop .5); first cooldown 20 + rand%20; at < 1 with non-zero velocity: FireProjectiles mode 0 + along its velocity unit * 5, FallingSpeedModifier -5, FallingAccelModifier +.3, BulletFlags |= 2 (EXPLODE), + colorize (.4, 2, .5, 1); cooldown 60 + rand%30. Splats IsFrame(10) .2 + .3 rand. Stage 6 / 0x1b: Variant 4, 0x1c: 3. +- Changed: green lob at Isaac -> aimed along_motion 5, still, fall_velocity -5, fall_acceleration .3, landing + explosion, a green tint (approximate). Left: the cooldown's random part (75 mean) and the first delay. + +## big_corn: NpcAI::ENTITY_DIP 00534860 (217.3). Changed +- State 3: Idle, f *= .8, rand%10 -> velocity += RandomVector * (5 + 5 rand) / f (variant 1 doubled), then .8: net + 4..8. State 4: Move, f *= .95 only (asm 00534ab2 jumps to 00535042, past the .8), idle below speed 1. +- Death (variant 3): FireProjectiles mode 0 at 10 toward Isaac + vel * .1 * dist, Variant 5. +- Changed: impulse / lunge_spread 4.21 -> 4 / 4 (pass 3 assumed the engine braked after the impulse). + +## level_2_charger: NpcAI::ENTITY_CHARGER_L2 004e38c0 (855.0). Changed +- State 8: f *= .8, then velocity += v1 / f (v1 = axis * 1.3): net .8 v + 1.3, terminal 6.5. Ends after 6 ticks + moving under sqrt 2 or on a grid hit. Homing: v2 = 2 - .033 a tick; while > 0 and Isaac + 16 vel is ahead, + v1 += Resized(toward, min(v2, 1) * .1), renormalised. +- Changed: lunge 1.625 -> 1.3. pass4_03's side note took the push as added before the brake; the engine brakes first, + so 1.625 ran a terminal 8.1. Left: the decaying proportional homing (seek .25 stand-in), the axis heading. + +## fire_worm: NpcAI::ENTITY_FIRE_WORM 00500990 (825.0). Changed +- Pit-bound; DigIn -> hidden -> rand&1 (Isaac not on a pit within 100, nearer than 1000) -> FindTargetPit -> + DigOut; on Shoot (frame 38) with CheckLine mode 3: fire 33.10 at pos + dir * 10, velocity dir * 14, sound 0x13e. +- Changed: the fire shot is still (ours was boosted to 16.8 + carry). Left: fire place entity, the surfacing roll. + +## red_ghost: NpcAI::ENTITY_WIZOOB 005374a0 (285). Changed +- Hidden, stateFrame 60 after a Vanish, then rand%30 -> Room::FindFreePickupSpawnPosition(Isaac, 120); i1 = Isaac's + main-axis side; Shoot (frame 14): ShootAngle(1, pos, i1 * 90 - 180, timeout 25); Vanish; f *= .1. +- Changed: teleport mode near -> player (Wizoob's 120-px free spot). + +## bloaty: NpcAI::ENTITY_BLOATY 00563da0 (879.0). Changed +- Walk: f *= .6, velocity += 1.2 * heading (no / f); heading eased to a target by approach_angle 00682a50, 10 deg a + tick (DAT_00baa81c); target redrawn every 45 + rand%120 (confused: rand%5 a tick), a grid hit reflects it on + rand&3 == 0. +- Attack as pass 3 (8-way from velocity +-45, 80 px in-room retries, creep at 25k, shots on even k at 4 + 4 rand + turned +-10 deg). +- Changed: shots still, direction_jitter [4, 2.1] (cardinal) / [3, 3] (diagonal). +- Not expressible: the eased-heading move; the velocity-based pick; left-side ways (a mirrored pose flips the creep + `along` but not a shot's `direction`). diff --git a/notes/entities/pass7_i7.md b/notes/entities/pass7_i7.md new file mode 100644 index 0000000..a9f989f --- /dev/null +++ b/notes/entities/pass7_i7.md @@ -0,0 +1,146 @@ +# Group i7 notes (pass 7, 2026-10-25) + +Props, helpers and records no earlier notes file covered (most were ported from wiki text or an early toolkit), read +for isaac-classic branch monster-fidelity-10. Speed convention as pass4_00.md / pass6_engine.md (the scripted brake +runs before the move, so an AddVelocity push divided by friction maps to the Rep constant). + +## error_room_keeper: NpcAI::ENTITY_SHOPKEEPER 006c2220 (17.2). Skipped (matches) +- Same AI as the shopkeeper, only the animation is "Idle" (no seed%9 look). Pinned (velocity from target), friction + *.8, flags 0x11, collision class 1, sprite offset (0, 8) in room type 16. +- Loot: Entity_NPC::shopkeeper_get_loot 006c1ac0 takes the variants 0-2 branch: rng%100 Steam Sale (0x40), else + RandomInt(100) Head of the Keeper (0x1ad), else RandomInt(100) Coupon (0x209, behind a mode test), else RandomInt(3): + 0 nothing, 1 two spiders (ThrowSpider, the first at a free spot 70 out), 2 two random coins 5.20.0. +- The record carries the thirds, like the shopkeeper record. entities2: radius 1 for every keeper (records keep 13). +- For the parent: the shopkeeper's reference note (monster-fidelity-9) says its Steam Sale / Head of the Keeper + pedestals were added, but the record in this worktree has only the thirds. + +## singes_ball: NpcAI::ENTITY_SINGE_ball 0058d8b0 (915.1). Changed +- Init flags |= 0x50011, invincible, V1.x = a random roll phase. Friction .7 + .29 * clamp((speed - .5) / 3.5) + (fast_retention matches). Roll frame = frames * phase, with the phase advanced by speed * .02 along its axis. +- Subtype 0: Kill once GetAliveEnemyCount < 1 (and a room counter test). Changed: cleared {after 0, RollVert, dies}. +- Blast (pending damage flag 4): velocity += away * 20 * (2 - 2 clamp((v . away + 20) / 40)) * speedMult, and when on + the floor a hop V1.y = -6 (gravity .8 a tick, height in V2.y; landing above speed 4 bounces * -.35 with sound + 0x1e7 at volume clamp(.1 vz + .2, 1.2); landing on a pit cell: grid class 7, falls past 10 -> poof 1000.15, removed). + Grid class 6 airborne (over pits), 5 on the ground; no entity collision above height -50. +- Trinket 0x97 (x2 multiplier): retracted sheet and no contact damage. +- Not expressed: the speed-shaped blast kick and the hop (see MF engine_i7.md #1), the roll frame by distance. + +## rotten_gaper: NpcAI::ENTITY_ROTTEN_GAPER 004da590 (10.3.0). Skipped (matches) +- State 0, subtype 0, type 10: Morph(10, 3, (x ^ x >> 16) % 5 + 1) with x the xorshifted init seed. The record's + uniform choice of 10.3.1-5 matches (the subtype records were not read). + +## minecart: NpcAI::ENTITY_MINECART 004ce8a0 (965.0). Skipped (matches) +- Ridden: mass 10000, collision 4 (0 while the rider's 0x188 flag is set), velocity += heading * 1.3 * V2.x with V2.x + = 1 (Entity::GiveMinecart 006b7be0), friction .8. Riderless: mass 50, friction .9, minecart_break after 3 frames. + Fades within 48 px off the room, removed outside it. Rail 1.3 / .8 matches. + +## moveable_fireplace: NpcHelper::fireplace_moveable_update 006d0ec0 (33.10). Changed (partly) +- Free (target zero): friction *= .95 (not under spawner 0x3b7); a set target pins it (friction *.6). +- 33.10: Disappear once older than 300 ticks, 180 with any grid collision class (entities2 gives walls, so 180). + 33.12 loses 1 hp per 90 ticks, 33.13 never. Flooded room (> .2): self damage every 5 frames. +- Hits: any tear 1 (2/3) or 2 (1/3), above 10 damage 2 or 3; a blast sets 1; below 1.5: Disappear, collision off, + sound 0x105 (steam) unless the hit had flag 0x20000. Flame layer scaled .1 + .9 * hp share. No loot. +- Changed: retention .7 -> .95. +- Not done: the 180-tick life. rebirth_rooms.py (FIRE_RIDERS) also seats this record for Rep's 33.0 fire places + riding carts, which have no life limit (see engine_i7.md #2). Hit-count health and the shrink are not expressible. + +## moms_dresser, moms_vanity, generic_prop: NpcAI::ENTITY_GENERIC_PROP 00551d30 (960.1, 960.2, 960.0). Skipped (matches) +- State 0: its sprite's default animation, flags |= 0x2008 / 0x44250011, invincible; dimension 2 tints it. State 3: + pinned (velocity = target - pos); only 960.3/4 (couch, TV) animate on stage 13 type 1. +- entities2 radii 58 * .32 = 18.6 and 40 * .4 = 16 (the records' 19 and 16). + +## henry: NpcAI::ENTITY_HENRY 00565bc0 (837.0). Changed +- State 0: Entity_NPC::FindTargetPit(pos, pos, -1); none -> removed; placed on the pit cell's centre, grid class 0. +- State 3: Idle; stateFrame += elapsed; past 30 -> sound 0x18c (Flush.wav), Leave, state 8. State 8: a water ripple + 1000.133 every interval tick; removed when Leave ends. Pinned every tick. +- Changed: rebirth/flush.mp3 on Leave's frame 1. Idle 31 and Leave matched; the ripples and the no-pit removal not. + +## vessel (858.0), strifer (839.0). Skipped (no Repentance AI) +- Both types land in the NPC AI dispatcher's default block (NpcHelper::default_case_lua_callback): cut content with + no exe behaviour to check. + +## swinger_head: NpcAI::ENTITY_SWINGER 00536d00 (216.1). Changed +- As pass5_g5.md: velocity = (body + cord point) - pos, friction .7 (cord 100 grown 100/60 a tick, angle pi/50). +- Changed: orbit speed .5 / retention .5 -> .7 / 0, the engine's v = r v + gap * speed matching Rep's .7 * gap. + +## siren_helper_projectile: NpcAI::ENTITY_SIREN 00591460 variant 10 (904.10). Changed +- As boss_approx_3.md: thrown at 10 toward Isaac's lead; on a grid hit (or a carried familiar out after 15 ticks) + FireProjectiles mode 9 of clamp(6 * carried, 6, 18) at 8, shake 5, helpers take 1000, removed. +- Changed: circular_count 12 -> 6 (the port's cluster carries no familiar), mass 3 -> 30 (entities2). +- Not expressed: carrying the charmed familiars, removal with its Siren. + +## peeping_fatty_eye: NpcAI::ENTITY_PEEPER_FATTY 005562b0 variant 10 (835.10). Changed +- Phase 1/2 callbacks: removed without its fatty; past 75 px of cord velocity += dir * (d - 75) * .03. Collision with + its parent is ignored. State 4: friction *.95; it looks along aiFloat (degrees) for Isaac within 200 in a .85 cone, + else (each interval tick, look timer out) another entity more than 120 from the fatty in the cone. +- Target: the seen entity's spot 40 px short of it (toward the eye), else targetPosition = a point 200 out from the + fatty at +-110 deg (rand) on its side (subtype 0 left, 1 right; inside the room within 10 tries), redrawn every + 15 + rand%60; within 9 px of its target (squared 80) a 1 in 20 drops it. AddVelocity(.25 toward it); the look turns toward + its motion; Idle0-7 by look octant. +- Changed: hover .5 / .8 -> .25 / .95, leash 25 -> 75 (the slack length). +- Not expressed: the cone look and the side wander (it hovers at Isaac), the soft pull past 75 (ours a hard limit). + +## tar_boy_mouth: NpcAI::ENTITY_TARBOY 005442a0 subtype 1 (307.0.1). Changed +- Subtype 1: collision class 0; Kill when the parent is gone or dead. Tar Boy (state 3) spawns it at Isaac + vel * + .1 * dist the same tick it plays Attack2 (state 9); in state 9 the mouth's frame follows Tar Boy's, sound 0x107 + (weird worm spit) on Shoot, and between Shoot (13) and ShootEnd (21), every 2 ticks (GetIntervalTicks(2)): + Game::DamageRadius(mouth pos, Tar Boy, flags 0, damage 8, radius 12, 50): Isaac within takes half a heart, NPCs are + spared. Attack2's end removes the mouth. No projectiles. +- Changed: the 4 boss_volley tar shots -> a hidden gas on Shoot (radius 22: 12 plus Isaac's size, since the gas test + takes no player radius; 8 ticks; player_damage .5), the spit sound, leave at the clip end, partner tar_boy dies_with. +- For the parent (tar_boy is not this group's): its Attack2 has spawn_on "Shoot", so the mouth comes 13 frames late; + Rep spawns it with the clip's first frame. + +## maze_roamer_890_0_1: NpcAI::ENTITY_MAZE_ROAMER 004f1ec0 subtype 1 (890.0.1). Skipped (matches) +- Paired: velocity = 2 * room centre - leader pos - pos (grid class 0), facing from the leader's I1 rotated by 2. + Same IsFrame(3) attack test and shot as subtype 0; Transition and the solo FindGridPath(1) as pass4_00.md. + +## exorcist: NpcAI::ENTITY_EXORCIST 004ec240 (832.0). Changed +- Init: state 4, Head overlay, I1 = 15 + rand%30. Sound 0x74 1 in 3 each interval tick. +- Corpse: each interval tick 1 in 3, the room's remains list (+0x1218) for one within 80 of a free spot it can path + to (nearest); FindGridPath(.85) there; within 15 -> state 9 Revive: each remain within 80 becomes a Lil Haunt 260.10 + (sound 0x109, pitch 1.5 / .5 for champions 18 / 19). +- No corpse: no child -> PathFinder::EvadeTarget 007e4940 (a spot 170-250 away, FindGridPath 1.079) then friction *.8; + with its Lil Haunt -> FindGridPath(.85) to haunt + 80 px away from Isaac (clamped 5 in the room). +- I1 < 1, rand%10 == 0, no child -> state 8 Revive: friction *.6; on the Revive event a Lil Haunt 260.10 at a free + spot 40 out (flag 0x400), sound 0x109; I1 = 60 + rand%60. I1 counts down while > 30, or while > 0 with no child. +- Changed: path .5 / 1 at Isaac -> flee .78 / .8 (EvadeTarget: v' = .56 v + 1.73, terminal 3.9, matched at .8); + revive one_in 60 -> 10, cooldown 60 + random 60 drawn once, first_cooldown [15, 30], spawn_cap own 1, offset 40, + retention .6, summonsound.mp3 (was ghost_roar). +- Not expressed: the corpse raising (no remains list), keeping 80 behind its haunt, the 30 ticks after the haunt dies. + +## dead_isaac: NpcAI::ENTITY_ROTTEN_GAPER 004da590, type 0x390 branch (912.20). Skipped (partial, not this record's) +- Mother 00569170 spawns it with zero velocity (Game::Spawn(0x390, 0x14, ...)), target y = Mother's bottom - 40. +- Each tick friction *.75, velocity.y -= 1 (terminal 3 px a tick upward), 1 in 10 sound 0xa5; walk animation. +- Killed with a Mother hit among its damage sources: FireBossProjectiles(4, traj 10, VelocityMulti .4) and a shot at + Isaac + a random 40 offset, speed min(.05 d, 25), variant 15, FallingAccel -.06. +- Ours keeps Mother's spawn_velocity [0, -1.4] at retention 1: Rep's terminal is 3 (Mother's record, a boss's, would + give [0, -3]). The burst is not expressible. + +## coal, coal_33_11_1/2/3: NpcAI::ENTITY_FIREPLACE 006d18d0 -> NpcAI::ENTITY_ROCK_SPIDER 004f9ad0 (33.11). Changed +- 33.11 is the rock spider's routine, type 0x21 branch: subtype 0 -> seed % 3 + 1; state 16 IdleRock; thrown with a + hop (V1.x vertical speed, gravity .5, bounce * -.3 above 1, landing on a grid cell kills it, velocity * .8 a + landing); airborne above -50 no collision; at rest on the floor friction *.9 and its config mass. +- Invincible flag; hits: 1 (2/3) or 2 (1/3), above 10 damage 2 or 3; a blast (0x1000004) sets 1; below 1.5: sound + 0x105 (steam), Kill. Every 30 frames 2/3 a TakeDamage(1) on itself (counted as 1 or 2): about 456 ticks from 15. + Kill once GetAliveEnemyCount < 1 (room counter < 3). Embers 1000.66 1 in 5 a tick; the rock layer scaled by hp. +- Changed: anchor .7 -> still .9, cleared {IdleRock, dies}, an IdleRock die attack at age 456, steam_halfsec death. +- Not expressed: hit-count health (tears take their damage, so ~5 tears), the random self damage (a fixed age), + embers, the shrink. + +## ultra_greed_coin_*: NpcAI::ENTITY_ULTRA_COIN 005a4820 (293.0-3). Changed +- Init: state 2, collision 0, sprite offset (5, -3), max hp and hp * 1.15. Appear then Spinning, collision 4. +- b0 = .5 + .5 * (sum of the room's live enemies' health / their max health), * .9 in a mode test; it shortens every + timer below as the room is hurt. +- Spinner (0): friction *.9; health -= maxhp / 330 a tick (dead below 0); playback 2 + 2 hp share; pushes .12 b0 round + a circle (angle (stateFrame + 0x231d index) / 240 turns, sign by index parity) and .1 b0 along V1 (RandomVector every + 120 frames); a grid hit kicks 9 * rand off the wall. +- Key (1): age > 225 b0 -> KeyChange (state 4, friction *.1); KeyMove: velocity += 2 * unit to the door whose I1 is + its own, turned onto that way; on reaching it the door goes to state 13, sound, removed. +- Bomb (2): age > 60 b0 -> PulseBomb (on SpinningBomb frame 7+, playback 1 / b0); at its end + Game::BombExplosionEffects(damage 40, radius * 1.8); subtype 1: 1 in 2 a coin 5.20; friction *.8. +- Heart (3): age > 150 b0 -> HeartChange; HeartMove to the nearest other (Ultra Greed); on arrival + NpcHelper::UltraGreed_Heal(3) 0059e2a0 = maxhp * .00125 * 3 (I2 += 3, cap 25) and a flash; friction *.8. +- Death: sound, Crumble, removed (no drops). +- Changed: hp 50/60/50/40 -> 57.5/69/57.5/46; spinner drift .4 -> .15 (the .1 drift plus the circle); bomb blast + radius_scale 1.8. Not expressed: b0's scaling, the spinner's circle, the bomb subtype's coin.