Greed doors/button/music and the Mega Satan door (rif/secret-doors)
This commit is contained in:
1 parent
eb5089408c
commit
5e054d502a
3 files changed
+26
-1
No files matched your search
@@ -15,3 +15,25 @@
|
||||
- 0x59e2a0 heal: hp += maxhp*0.00125*n, i2 += n (cap 25).
|
||||
- `NpcAI::ENTITY_ULTRA_COIN` 0x5a4820: timers 225/60/150 * (0.5+0.5*UG hpfrac) (x0.9 hard); spinner decays mhp/330 a tick.
|
||||
- `NpcAI::ENTITY_ULTRA_DOOR` 0x5a5b60: state 13 open, greed gaper (299) every 10 ticks for 80; 8/9 laser angle slot*90.
|
||||
|
||||
## Doors, button, saves (found 2026-10-24, rif/secret-doors)
|
||||
|
||||
- Door setup `GridEntity_Door::LoadSprite` 0x70d3f0: a treasure door uses Door_31_TreasureRoomDoorGreed (silver, KeyClosed
|
||||
lock) in Greed unless its room or the current room is `_greedModeTreasureRoomIdx` (that one keeps Door_02, opens free).
|
||||
Target room type 0x17 (greed exit) uses Door_32_ExitDoor. Port: stages.json greed/rooms[]/open and /door.
|
||||
- Button 0x9839f0 (`GridEntity_PressurePlate::update_greed_button`): within 25 px while the wave timer (room+0x723c) > 0:
|
||||
health type 2 (Lost) or HasInstantDeathCurse -> state flag 11 (0x1839c |= 0x800), else TakeDamage(1.0, 0x10000080).
|
||||
SpawnGreedModeWave subtracts one coin while that flag is set and clears it. Port: GreedWaveState isPressDocked
|
||||
(the coin deduction belongs in the wave-coins code of rif/ultra-greed).
|
||||
- SpawnGreedModeWave music in full: normal waves EnableLayer(0) (stage 0x18: Crossfade 0x26); the last wave
|
||||
((Greedier)+0xb) Crossfade 0x17 (Satan boss); boss waves Crossfade 0x29 on stage types 4/5, else 9 (0x1a if the room
|
||||
descriptor flag 0x40). Port: music.json rules[]/when/waves (boss_wave -> boss, final -> boss_satan).
|
||||
|
||||
# Mega Satan door
|
||||
|
||||
- `Room::TrySpawnMegaSatanRoomDoor` 0x7f9df0: only in the start room of stage 11 (Chest/Dark Room), not Greed, with
|
||||
the challenge flag (+0xe7) or the unlock; logs "[warn] no space for Mega Satan door" when the slot is taken.
|
||||
Room index -7 (off grid) is the Mega Satan room; its door anm2 is Door_24_MegaSatanDoor ("Closed").
|
||||
- Opened by `Entity_Familiar::ai_key_full` 0x61d6b0 (Key Piece 1+2 = Key Full familiar flies into it, both pieces
|
||||
removed) or by `GridEntity_Door::TryUnlock` 0x710480 forced (Dad's Key): state 5 sets level flag 0x20000 as the
|
||||
familiar does. Port: stages.json chapters[]/linked_rooms (LINKED_ROOM_INDEX 170, lock_items, Dad's Key via all_open).
|
||||
Reference in new issue
Block a user