Blue rooms and Blue Key: GridEntity_Door::TryUnlock 0x710480 forces key/coin doors (variant 1/2) open for free and marks the target room (flag 0x40000), StartRoomTransition 0x6fd7c0 -> Level::prepare_blue_room 0x74d4a0 (target DecorationSeed RNG 5/27/28, Init3's three draws, shape 6/7 or 4/5, GetRandomRoom type 28 then any shape, doors to target and source), Level::ChangeRoom 0x73fc80 clearing the mark through the entered room's doors, load_room 0x73e0a0's dead end to negative rooms, SetRoomTypes' unlocked doors in room -16, backdrop 13 (LoadBackdropGraphics 0x7f1380), the blue door light, SpawnClearAward's multiplier; Level::get_door_slot 0x73d9b0 named

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-30 18:41:32 -04:00
1 parent ea42962f58
commit 43b608e25f
2 files changed
+79 -1

No files matched your search

+2 -1
View File
@@ -1154,7 +1154,7 @@
009446e0 Camera::update_follow Camera::DoUpdate non-override branch: computes target, ring_buffer_push ('Cannot erase from empty buffer'), Camera::ClampedToRoom
00732fa0 ItemPool::pick_weighted_item ? (pool, rng float) weighted pick with repicks, Item::IsAvailable, RemoveCollectible; '[warn] item pool ran out of repicks'; GetCollectible calls it
00581430 NpcAI::rotgut_fire_projectiles ENTITY_ROTGUT calls on Shoot event; ProjectileParams + Entity_NPC::FireBossProjectiles toward GetPlayerTarget
0074d4a0 Level::prepare_blue_room ? StartRoomTransition: when target room flag 0x40000, builds RoomDescriptor DAT_00c81090 via RoomConfig::GetRandomRoom type 0x1c (ROOM_BLUE), caller sets room idx -0x10
0074d4a0 Level::prepare_blue_room StartRoomTransition 006fdb78 pushes (currentRoomIdx, roomIndex, direction): when the target room has flag 0x40000 (Blue Key, set by GridEntity_Door::TryUnlock), builds the blue room descriptor (Level +0x17744, dummy past dimension 2) seeded from the target's DecorationSeed (shifts 5,27,28; Seeds::Init3 draws 3), shape 6/7 across (1/4 long closet) or 4/5 up-down (RandomInt(4)==0: IIV), GetRandomRoom type 0x1c no weight reduction diff 1-10 doors 5/10, else shape 13 (any); doors[direction]=target, doors[opposite]=source; caller sets room idx -0x10 (notes/items/parity_blue_rooms.md)
005911b0 NpcAI::siren_release_stolen_items ENTITY_SIREN_main state 0x12: 'Death', AnimateCollectible 'Pickup'/'PlayerPickupSparkle' on owner +0xf40, RemoveCollectible 0x51/0xb, Spawn 0x388
00a13750 kage_graphics_flush ? compares global render state DAT_00c79900.., 00a670c0/00a66e30 submit; called from Entity::PostRender after shader set and 00a11080
00824800 Room::update_ambient_spawns ? Room::Update tail: Room::GetTimeScale, random SpawnEx(1000,0x87) at clamped positions
@@ -3490,3 +3490,4 @@
006073f0 Entity_Effect::moonlight_timer_callback Luna moonlight 1000.39.1 touch: 30-tick CreateTimer callback (case 39 @0x5f2433): sound 0x84, colour flash, null item 74 (luna secondary), AnimateCollectible(0x24d), AddSoulHearts(1)
007cbcb0 Entity_Player::resolve_tainted_soul returns +0x1e68 (the Forgotten body) when the player type is 0x28 (Tainted Soul) and it is set, else the player itself
007d4340 Entity_Player::get_salvation_scale clamp(GetCollectibleEffect(0x2b8).count * 0.1 + 1, 1, 2) (asm; returns in XMM0); x1.2 is the halo's _scale (Entity_Player::Update, update_effects 0x799548)
0073d9b0 Level::get_door_slot GetTargetSlot 0073da40's helper: the door slot on a side of roomIdx for the cell roomIdx names (slot +4 for a second row/column), -1 when the room data lacks it (parity_blue_rooms)
Can't render this file because it is too large.