From 737a8679349deaf0b78ccaf7af83a6f2e41ce5be Mon Sep 17 00:00:00 2001 From: shweet Date: Sat, 24 Oct 2026 22:22:08 -0400 Subject: [PATCH] notes: Home's map and night, Dogma, its TV and angel (decompiled for the isaac-classic port) --- notes/README.md | 14 ++++ notes/entities/dogma.md | 118 +++++++++++++++++++++++++++++++++ notes/systems/room_features.md | 5 +- 3 files changed, 135 insertions(+), 2 deletions(-) create mode 100644 notes/entities/dogma.md diff --git a/notes/README.md b/notes/README.md index d797953..8a031a2 100644 --- a/notes/README.md +++ b/notes/README.md @@ -112,6 +112,11 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | 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) | | cyst | 0x5153b0 | cyst: ENTITY_GUTS 005153b0 (type 0x35e). Changed | [entities/pass4_01.md](entities/pass4_01.md) | +| D10 | 0x5ba56f | D10 (UseActiveItem case 2 @0x5ba56f) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| D12 | 0x5bc8cf | D12 (UseActiveItem case 0x1c @0x5bc8cf) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| D7 | 0x5bd779 | D7 (UseActiveItem case 0x24 @0x5bd779) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| D8 | 0x5bd184 | D8 (UseActiveItem case 0x1e @0x5bd184) | [items/items_sweep_13.md](items/items_sweep_13.md) | +| damage | 0x6ace60 | damage (Entity::TakeDamage 0x6ace60) | [entities/dogma.md](entities/dogma.md) | | dangle | 0x4855b0 | dangle (261.1): NpcAI::ENTITY_DINGLE 004855b0. Changed (mirrors pass 3's Dingle) | [entities/pass4_03.md](entities/pass4_03.md) | | dank_charger / carrion_princess | 0x52db50 | dank_charger / carrion_princess (NpcAI::ENTITY_MAGGOT @0052db50, type 23 var 2/3) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | | danny | 0x4fbd10 | danny (NpcAI::ENTITY_DANNY 004fbd10) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | @@ -124,7 +129,10 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | delirium | 0x4a6500 | delirium: NpcAI::ENTITY_DELIRIUM 004a6500 | [entities/boss_approx_2.md](entities/boss_approx_2.md) | | dingle | 0x4855b0 | dingle: NpcAI::ENTITY_DINGLE 004855b0 | [entities/pass3_c.md](entities/pass3_c.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) | +| dogma tv | 0x4b0a30 | dogma tv (NpcAI::ENTITY_DOGMA_tv 0x4b0a30, 950.1) | [entities/dogma.md](entities/dogma.md) | +| dogma | 0x4aafa0 | dogma (NpcAI::ENTITY_DOGMA 0x4aafa0, 950.0) | [entities/dogma.md](entities/dogma.md) | | dogma_blackhole | 0x5dc811 | dogma_blackhole (Entity_Effect::Update case 005dc811, 1000.171) | [entities/dogma_effects.md](entities/dogma_effects.md) | | dogma_brimstone | 0x4ac5e0 | dogma_brimstone (NpcAI::ENTITY_DOGMA ShootAngle call 004ac5e0, laser 7.1) | [entities/dogma_effects.md](entities/dogma_effects.md) | | dogma_brimstone_hits | 0x97e3c0 | dogma_brimstone_hits (Entity_Laser::damage_entity 0097e3c0, laser 7.1) | [entities/dogma_effects.md](entities/dogma_effects.md) | @@ -184,6 +192,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | head_of_krampus | 0x5ba07f | head_of_krampus (UseActiveItem 0x125, `case 10:`, 0x5ba07f) | [items/items_verify.md](items/items_verify.md) | | holy_bony | 0x538b70 | holy_bony: NpcAI::ENTITY_SKINNY 00538b70 (227.1) | [entities/fidelity_leftovers.md](entities/fidelity_leftovers.md) | | holy_mulligan | 0x50c370 | holy_mulligan: ENTITY_HIVE 0050c370 (type 22 variant 2). Changed | [entities/pass4_01.md](entities/pass4_01.md) | +| home level | 0x74de30 | home level (Game::generate_home_level 0x74de30) | [entities/dogma.md](entities/dogma.md) | | hornfel | 0x4b8190 0x4b8a30 | hornfel: NpcHelper::hornfel_minecart 004b8190, hornfel_ride_minecart 004b8a30, room controller FUN_004bc460 | [entities/boss_approx_3.md](entities/boss_approx_3.md) | | hornfel | 0x4b92e0 0x4b8ca0 | hornfel: Entity_NPC::Hornfel_UpdateAI 004b92e0, NpcHelper::hornfel_attack 004b8ca0 | [entities/boss_approx_2.md](entities/boss_approx_2.md) | | hush | 0x4bfd30 0x5d4380 | hush: NpcAI::ENTITY_HUSH 004bfd30, state 400 (laser looks), Entity_Effect::Update 005d4380 variants 96/101 | [entities/boss_approx_3.md](entities/boss_approx_3.md) | @@ -194,6 +203,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | imp | 0x52ae30 | imp: NpcAI::ENTITY_BABY 0052ae30 (type 259 branches) | [entities/pass3_c.md](entities/pass3_c.md) | | 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) | | kineti | 0x55d230 | kineti (NpcAI::ENTITY_POLTY 0055d230, 816.1) | [entities/pass3_d.md](entities/pass3_d.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) | | laser numbers | 0x7009a0 | laser numbers: Game::BombTearflagEffects 007009a0 (brimstone bomb), Mother's Transition laser | [entities/boss_approx_3.md](entities/boss_approx_3.md) | | leper, leper_stage_2 | 0x547b60 | leper, leper_stage_2 (310.0/310.1): 00547b60 (named GameOver::Show). Changed | [entities/pass4_03.md](entities/pass4_03.md) | @@ -233,6 +243,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | needle | 0x54eb80 | needle (881.0) / pasty (881.1): 0054eb80 | [entities/pass2_misc1.md](entities/pass2_misc1.md) | | nerve_ending | 0x537e20 | nerve_ending (231.0): 00537e20. Skipped | [entities/pass2_misc1.md](entities/pass2_misc1.md) | | nest | 0x50c370 | nest (NpcAI::ENTITY_HIVE @0050c370, type 205; fleeing_enemy) | [entities/pass2_misc3.md](entities/pass2_misc3.md) | +| night | 0x9aca90 | night (ItemOverlay::Update 0x9aca90, overlay 0x2c) | [entities/dogma.md](entities/dogma.md) | | paralysis / vurp | 0x7c5fe0 0x7c74ab | paralysis / vurp (UsePill 0x16 0x7c5fe0, 0x2e 0x7c74ab) | [items/items_verify.md](items/items_verify.md) | | pause | 0x5c0971 | pause (UseActiveItem 0x1de, 0x5c0971) | [items/items_verify.md](items/items_verify.md) | | Pestilence fly ball | 0x44aad0 | Pestilence fly ball (NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball 0x44aad0, 951.23) | [entities/beast.md](entities/beast.md) | @@ -241,6 +252,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | pickups 5.380 | 0x6e8ae0 | pickups 5.380 (Entity_Pickup::HandleCollision 0x6e8ae0) | [systems/room_features.md](systems/room_features.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) | +| Pocket slots | 0x7ad440 | Pocket slots (Entity_Player::GetMaxPocketItems 0x7ad440) | [items/items_sweep_13.md](items/items_sweep_13.md) | | polty | 0x55d230 | polty: NpcAI::ENTITY_POLTY 0x55d230 | [entities/pass2_misc2.md](entities/pass2_misc2.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) | @@ -260,6 +272,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | ring_fly | 0x53bae0 | ring_fly: NpcAI::ENTITY_RING_OF_FLIES 0x53bae0 | [entities/pass2_misc2.md](entities/pass2_misc2.md) | | rock projectile | 0x596c60 | rock projectile (NpcAI::ENTITY_BEAST_rock_projectile 0x596c60, 951.2) | [entities/beast.md](entities/beast.md) | | rock_spider | 0x4f9ad0 | rock_spider: NpcAI::ENTITY_ROCK_SPIDER 0x4f9ad0 -- skipped (needs a feature) | [entities/pass2_misc2.md](entities/pass2_misc2.md) | +| 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) | | Rotgut's crawl space | 0x57bec0 | Rotgut's crawl space (NpcAI::ENTITY_ROTGUT_face 0x57bec0, 911.0) | [entities/beast.md](entities/beast.md) | @@ -311,6 +324,7 @@ Generated by `python3 -I scripts/notes_index.py notes` from the `## ` headings; | teleport_2 | 0x5bd5b4 0x740a60 | teleport_2 (UseActiveItem 0x1a3, 0x5bd5b4; Level::GetNonCompleteRoomIndex 0x740a60) | [items/items_verify.md](items/items_verify.md) | | temperance_reversed | 0x794e50 | temperance_reversed (UseCard 0x46; Entity_Player::update_effects 0x794e50) | [items/items_verify.md](items/items_verify.md) | | The arena | 0x8279a0 | The arena (BeastArena at Room+0x776c; Room::IsBeastDungeon 0x8279a0) | [entities/beast.md](entities/beast.md) | +| the living room TV | 0x551d30 | the living room TV (NpcAI::ENTITY_GENERIC_PROP 0x551d30, 960.3 couch, 960.4 TV) | [entities/dogma.md](entities/dogma.md) | | the path | 0x7467c0 | the path (Level::SetNextStage 0x7467c0) | [systems/alt_path.md](systems/alt_path.md) | | the_forgotten knife hits | 0x9666f0 | the_forgotten knife hits (Entity_Knife::HandleCollision 0x9666f0; knife 8.1 club, 8.2 Bone Scythe) | [characters/characters_8.md](characters/characters_8.md) | | the_frail_2 | 0x476860 | the_frail_2: NpcAI::ENTITY_PIN 00476860 (variant 2, state 9: the two beams) | [entities/boss_approx_2.md](entities/boss_approx_2.md) | diff --git a/notes/entities/dogma.md b/notes/entities/dogma.md new file mode 100644 index 0000000..14b7137 --- /dev/null +++ b/notes/entities/dogma.md @@ -0,0 +1,118 @@ +# Home and Dogma (rif/dogma pass, 2026-10-24) + +Read for the isaac-classic port (src/game/enemies/dogma.cpp there). Effects 1000.169-172, 126, 123.4, the shots' flags +and the brimstone's hit numbers are in [dogma_effects.md](dogma_effects.md); the Beast arena in [beast.md](beast.md). + +## home level (Game::generate_home_level 0x74de30) + +Fixed map, LevelGenerator::CreateRoom(x, y, shape, ...) on the 13-wide grid: Isaac's Bedroom (stage 35 type 1 subtype 0, +shape 1) at (6,6) is the start; a Hallway (subtype 1, shape 5 IIV) at (6,7); the Living Room (subtype 3, shape 4) at +(5,8); the Hallway again at (4,7); Mom's Bedroom (subtype 2) at (4,6); Closet R (subtype 10, shape 2) at (7,7). Closet L +(subtype 11) is not placed here. Off-map: an error room (stage 0 type 3), a black market (type 22), a crawl space (type +16) and the Beast room (stage 35 type 16 variant 666) at Level+0x17304 (ROOM_SECRET_EXIT_IDX -10, see beast.md). + +## room backdrops (Room::LoadBackdropGraphics 0x7f1380) + +Stage 35 by room subtype: 0 -> 49 (0Ex_Isaacs_Bedroom), 2 -> 51 (0Gx_Moms_Bedroom), >= 10 -> 52 (house_closet; 53 +house_closet_b with the descriptor's flag 0x400), 3 with descriptor flag 4 (set by Dogma) or 9 -> 54 (house_dogma), +else 50 (0Fx_Hallway; the hallway's narrow floor nfloorgfx). + +## night (ItemOverlay::Update 0x9aca90, overlay 0x2c) + +Mom's Bed at Home (stage 13 type 0) shows ItemOverlay 0x2c (giantbook 44, GiantBook_SleepNightmare.anm2) instead of the +sleep (0x21). On its "Transition" event, in Mom's Bedroom (stage 35 subtype 2) at stage 13 type 0: +Level::SetStage(13, 1) (dark Home) and FUN_007f2070 (the room reloaded). Its "Static" event: sound 81, Room::PlayMusic, +music layer on. Its "SleepFillHP" refills hearts as the plain sleep does. + +## the living room TV (NpcAI::ENTITY_GENERIC_PROP 0x551d30, 960.3 couch, 960.4 TV) + +Init: state 3, its TargetPosition its place (velocity = target - pos every tick: anchored), invincible, flags 0x2008 / +0x44250011. At stage 13 type 1 the TV and couch play "Idle2". The TV (I1 0, the room older than 4 frames): a player of +variant 0, alive, within 120 of the row 100 below it, crossing its column (x - 10 from the left or x + 10 from the right, +from its previous x at +0x38c) or within 80 of the point 60 below it, sets I1 = 1 and spawns Dogma 950.0 at (x - 8, +y + 40), TargetPosition = the TV's place, spawner = the TV; every player's controls off (entity_vector_set_flag_410(0)), +every bomb removed, the doors closed (state 1), music crossfade to 67 (Dogma Intro) at 0.04. + +## damage (Entity::TakeDamage 0x6ace60) + +950 variant 0 with a Parent (its TV) takes no damage: the bishop shield path (sound 501, effect 1000.160). So the TV is +what is shot; Dogma's own health is never used. Entity_NPC::Update calls the AI with +0xb74 = 1 before physics when ++0xf18 & 1 (Dogma sets 3: phases 1 and 2). + +## dogma (NpcAI::ENTITY_DOGMA 0x4aafa0, 950.0) + +- Phase 1 (pre-physics): its tether: anchor = TV + (0, 20), else TargetPosition; past 190 velocity += unit * (d - 190) * + 0.03 * speed. Its cord points (UpdateCordChain) and the distortion null (FUN_004aaef0) are looks. +- Every frame but state 2: static creep 1000.169 every 7 frames (GetIntervalTicks), timeout 60, scale 0.5 + rand. +- No Parent and not in state 0/16/2/7: state 16, "Transition". +- State 0: placed (no spawner): spawns its TV 950.1 at the room's centre (Dogma's Parent, the TV's Child), state 3 + "Idle", collision class 4, cooldown 20, doors removed, room descriptor flags |= 4 | 0x8000, &= ~1, backdrop reloaded + (house_dogma). Spawned by the TV: state 2 "Appear", collision class 0, HUD hidden. +- State 2 (7 = skipped by the menu-confirm input once Dogma is in the bestiary): friction x0.8; Splat: creep 1000.169 + (300/300, scale 1.2, flag 0x10000: decoration) and 1000.132.1; Sound: 541 + shockwave; WasEventTriggered("Sound"): + shake 6. Shoot: the room becomes Dogma's: backdrop; every 960 prop removed (the TV's offset from the room centre + kept), 1000.74 carpets and 1000.169 creep removed; doors removed; the room's config replaced by stage 35 type 1 variant + 1000 (Dogma Test); 30 debris 1000.170 round the room's edge; players within 80 pushed out to 80, every player and + Dogma moved by the TV's offset; its TV spawned at the centre. Appear done: StartBossIntro(99) (or, skipped, controls + on, music, HUD), state 3 "Idle", collision class 4, cooldown 60, camera snapped. +- State 3: friction x0.8. To Isaac (CalcTargetPosition) d; perpendiculars of d and of e = TV - pos. dot(e, d) > 0 and + |dot(e, perp(d))| <= max(TV SizeMulti) * TV size + size: slide: AddVelocity(perp(e) * dot(perp(e), d) resized to + +0xc34), target speed 0.9; else AddVelocity(d resized to +0xc34), target 0.5; with its black hole out (+0xbec) 0.05. + +0xc34 = (+0xc34 - target) * 0.9 + target. Cooldown down by one; at 0 Random() & 3: 0 brimstone, 1 Jacob's Ladder, 2 + cross, 3 Godhead. Each sets V1 = pos, stateFrame 0, cooldown += rand % 30. Case 4 (BlackholeAttack, state 12, cooldown + 150) is in the jump table (0x4ae4bc) but nothing selects it: Random() & 3 (asm 0x4ac49e) and the Jacob's Ladder + follow-up (always 2) are the only selectors. The black hole is dead code. +- State 8 (brimstone; set up: Isaac's dominant axis, i1 0 left / 1 up / 2 right / 3 down, mirrored left, V2.x 0, sound + 547, cooldown 20): see dogma_effects.md's "Dogma's laser"; ends after stateFrame 90 with BrimstoneEnd{Down,Right}. +- State 9 (JacobAttack, cooldown 40): friction x0.6; Shoot: sound 550, 3 + rand&1 LASER_SHOT shots; Splat: stateFrame < 3 + -> SetFrame(6) (three volleys), else TV health < 0.5 and rand&1 == 0 -> the cross straight away. +- State 10 (CrossStart, cooldown 5): friction x0.6, velocity = V1 - pos. Shoot: stateFrame 1; then each frame: f = + stateFrame - 1, f % 5 == 0 and n = f / 5 < 5: sounds 267 (0.5) and 178, each of the four axis ways speed 10 - 0.5n (down + x1.5), n shots fanned 24 degrees ((i - (n - 1) / 2) * 24), FallingSpeed -0.5, FallingAccel -0.098. Past 25: TV >= 0.33 + or rand&1: CrossEnd, else Scream (state 13); stateFrame -1. +- State 11 (GodheadStart, cooldown 60): friction x0.6; each Shoot: sound 549, ring of 8 at 7 (mode 9), CircleAngle pi/8 + on even stateFrames. Each clip done: GodheadShoot again while stateFrame < 3 (4 below half TV), then GodheadEnd. +- State 13 (Scream): see dogma_effects.md (shots within a ring growing 40 a frame from its Shoot turned for 20 frames). +- State 16 (Transition): camera focus, collision 0, friction x0.5; Sound: its shots removed, lasers timed out, Tech Dots + stopped, black hole fizzled, poofs 1000.200 along its cord, sound 30; Splat: 1000.132.2 and sound 226. Done: + Entity_NPC::Morph(950, 2) "Appear", sound 559 (0.6). + +## dogma tv (NpcAI::ENTITY_DOGMA_tv 0x4b0a30, 950.1) + +Init: state 3, anchored (velocity = TargetPosition - pos), Idle, PositionOffset.y 20, depth -500. Dead (+0x173) and not in +state 16: revived, collision off, statuses removed, state 16 "Destroyed"; its Shoot: 1000.1 explosion, 1000.59 dust +(2 + 10 rand scale... lifetime 15 + rand % 15), a sound; Dogma (its Child) not in 16 is set to 16 "Transition". With no +Child left (the angel dead) it goes (FUN_007fec00) and drops its boss flag. + +## dogma angel (NpcAI::ENTITY_DOGMA_angel 0x4ae4d0, 950.2) + +- State 16 (after the Morph): friction x0.6, camera focus; Shoot: sound 560, music; done: Idle, collision on, state 3, + cooldowns 0. +- State 3: friction x0.75; Idle's Shoot: sound 566. Cooldown down; place = Isaac + (cos(f * 0.03) * 280, sin(f * 0.06) * + 110) (f its frame count); velocity += unit(place - pos) * 1.5 * speed. Cooldown out: Isaac far to its side (|dx| > |dy| + and |dx| > 240) and rand % 3 == 0 -> SpreadAttack (state 8, facing him); else, inside the room by 80, rand % 30: 0 -> + NukeStart (state 9), 1 -> RingStart (state 10, sound 554); both hold their place (TargetPosition). +- State 8 / 13 (SpreadAttack): friction x0.7. Shoot: aim at Isaac clamped within 45 degrees of its facing + (approach_angle 0x682a50 from 0 facing right, 180 left); V2 = (aim + 180, 5): from then velocity += dir(V2.x) * V2.y, + V2.y *= 0.8. State 8: 14 feathers (projectile variant 13) speed 7 + 0.6i within aim +- 10, scale 0.8 + 0.4 rand, + FallingAccel -0.15, fired from pos + velocity; 14 more speed 4 + 0.3i within aim +- 60, FallingAccel -0.17; sound 556; + 1000.132.2. State 13: the orb thrown at 15 along aim (its Parent and the angel's ref cleared), sound 562. Done: Idle, + cooldown 90 + rand % 30. +- State 9 (Nuke): friction x0.5, held; Shoot: sound 561, the orb 1000.172 (see dogma_effects.md). NukeLoop while its orb + still has volleys (state >= 0); then SpreadAttack state 13 (the throw); no orb: Idle, cooldown 140 + rand % 30. +- State 10 (Ring): stateFrame 0: friction x0.8 until RingStart's Shoot (stateFrame 1, drift W = 0, flags |= 0x44000000, + I1 0). Then friction x0.8, RingLoop, stateFrame++, to = Isaac - pos: I1 0: W -= rotate(to resized 0.25, 15 deg) * + speed, |W| <= 8, out of the room and 400 from its centre -> I1 1; I1 1: W = W * 0.8 + to resized 0.25, |W| <= 8, + dot(unit W, unit to) > 0.9 -> I1 2; I1 2: W += to resized 0.25, |W| <= 8; dot(to, W) < 0 (passed him): I1 0, sounds 565 + and 267, rings of 12 feathers at 11, 9, 7 (scale 0.6, 0.8, 1; CircleAngle 0, 15, 30 degrees; FallingAccel -0.08); past + 360 frames stateFrame -1, RingEnd. velocity += W * speed; a swirl 1000.172.2 every few frames; QueryRadius(size * 1.6) + hits players and tears for 1 (enemies 100) and throws them aside (rotate(unit(them - pos) * 10, 90 deg)). stateFrame + < 1: friction x0.9 until RingEnd ends: Idle, cooldown 140 + rand % 30. +- Phase 1: its damage history; below 25% health one in (0.02 - 0.06 share) a frame a Glitch0-3 overlay (looks). State + 18 (its death clip): Sound -> BossOverlay::play(2) (Dogma FadeIn); Shoot -> controls off, BossOverlay::play(3) + "Shutdown", music crossfade 48. The overlay's End changes room to the Beast room (beast.md). +- Its death kills its shots (spawned by 950), times out its lasers, fizzles its orb, kills other bosses. + +## not found + +What spawns the Dogma Angel Babies (950.10): no Spawn(950, 10) in the dump; their AI is NpcAI::ENTITY_DOGMA_10 0x4b0200. diff --git a/notes/systems/room_features.md b/notes/systems/room_features.md index 7f5e531..007c59c 100644 --- a/notes/systems/room_features.md +++ b/notes/systems/room_features.md @@ -122,5 +122,6 @@ the prize done, it removes itself and PlayerManager::unlock_completion_mark(0xf) - Rotgut's maggot (911.1): NpcAI::ENTITY_ROTGUT 0x581730 plays the crawl space phases side-view (Heartbeat* for the heart, MoveHori/ComeDown for the maggot; maggots let in from the side walls at Isaac's height, x = room left - 80 or right + 80): needs side-view crawl spaces. -- The Beast (951.0, NpcAI::ENTITY_BEAST 0x596120, 2.8 KB dispatching its parts) and the Ultra Horsemen (951.10-40): - the side-scrolling Home arena; Dogma (950, NpcAI::ENTITY_DOGMA 0x4aafa0, 13.5 KB). +- The Beast (951.0, NpcAI::ENTITY_BEAST 0x592460) and the Ultra Horsemen (951.10-40): the Home arena, see + [../entities/beast.md](../entities/beast.md). Dogma (950, NpcAI::ENTITY_DOGMA 0x4aafa0), the night and Home's map: + [../entities/dogma.md](../entities/dogma.md) (ported in rif/dogma).